Retrieve node name from metadata service#2279
Conversation
Undo the changes except line 762 Fix unit tests
|
Not clear of what error will this cause, because we can use the long name as the fully qualified name. /hold |
|
A sample error is: We should fix the regex instead? |
|
We don't want to change the regex for GCE API here. The real issue is that
|
|
/unhold |
|
/lgtm |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cemakd, sunnylovestiramisu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Use the MetadataServer to retrieve Node name similar to #2277
Which issue(s) this PR fixes:
Fixes #2276
Without this fix we see:
For GCE operations like attach, it is still using the short name as identifier for the operation, which is what we got from the nodeID. We need to switch this back to use the short name instead of the long name case.
Special notes for your reviewer:
Does this PR introduce a user-facing change?: