Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add providerID not set issue and fix to troubleshooting guide #6685

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

jiayiwang7
Copy link
Member

Issue #, if available:

Description of changes:

Testing (if applicable):

Documentation added/planned (if applicable):

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@eks-distro-bot eks-distro-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Sep 15, 2023

The VM can be created in the provider infrastructure with proper IP assigned but running `kubectl get machines -n eksa-system` indicates that the machine is in `Provisioned` state and never gets to `Running`.

Check the CAPI controller manager log with `kubectl logs -f capi-controller-manager-7f754cf76b-g92ht -n capi-system`:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how do we usually show things like this where the deployment name will be somewhat random? do we just assume they know to find their specific one?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated to use label filter

@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (fc3f71b) 75.62% compared to head (f8a329f) 75.62%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6685   +/-   ##
=======================================
  Coverage   75.62%   75.62%           
=======================================
  Files         474      474           
  Lines       38213    38213           
=======================================
+ Hits        28897    28900    +3     
+ Misses       7714     7712    -2     
+ Partials     1602     1601    -1     

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jiayiwang7 jiayiwang7 force-pushed the troubleshoot-providerid branch from 92849cc to f8a329f Compare September 15, 2023 14:07
@jiayiwang7
Copy link
Member Author

/approve
/cherry-pick release-0.17

@eks-distro-pr-bot
Copy link
Contributor

@jiayiwang7: once the present PR merges, I will cherry-pick it on top of release-0.17 in a new PR and assign it to you.

In response to this:

/approve
/cherry-pick release-0.17

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Member

@jaxesn jaxesn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jaxesn, jiayiwang7

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@eks-distro-bot eks-distro-bot merged commit 8c28422 into aws:main Sep 15, 2023
@eks-distro-pr-bot
Copy link
Contributor

@jiayiwang7: #6685 failed to apply on top of branch "release-0.17":

Applying: Add providerID not set issue and fix to troubleshooting guide
.git/rebase-apply/patch:24: trailing whitespace.
When inspecting the CAPI `machine` object, you may find out that the `Node.Spec.ProviderID` is not set. 
.git/rebase-apply/patch:28: trailing whitespace.
* [Requirements for EKS Anywhere on VMware vSphere]({{< relref "../getting-started/vsphere/vsphere-prereq" >}}) 
.git/rebase-apply/patch:29: trailing whitespace.
* [Network Requirements for EKS Anywhere on Bare Metal]({{< relref "../getting-started/baremetal/bare-prereq" >}}) 
.git/rebase-apply/patch:30: trailing whitespace.
* [Requirements for EKS Anywhere on CloudStack]({{< relref "../getting-started/cloudstack/cloudstack-prereq" >}}) 
.git/rebase-apply/patch:31: trailing whitespace.
* [Prerequisite Checklist for EKS Anywhere on Snow]({{< relref "../getting-started/snow/snow-getstarted/#prerequisite-checklist" >}}) 
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.
Using index info to reconstruct a base tree...
M	docs/content/en/docs/troubleshooting/troubleshooting.md
Falling back to patching base and 3-way merge...
Auto-merging docs/content/en/docs/troubleshooting/troubleshooting.md
CONFLICT (content): Merge conflict in docs/content/en/docs/troubleshooting/troubleshooting.md
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Add providerID not set issue and fix to troubleshooting guide
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/approve
/cherry-pick release-0.17

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@chrisnegus
Copy link
Member

/cherry-pick release-0.17

@eks-distro-pr-bot
Copy link
Contributor

@chrisnegus: new pull request created: #6753

In response to this:

/cherry-pick release-0.17

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/docs Documentation documentation lgtm size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants