-
Notifications
You must be signed in to change notification settings - Fork 40.4k
Cinder volumes attacher uses NodeName instead of instanceID #39978
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
Labels
area/provider/openstack
Issues or PRs related to openstack provider
kind/bug
Categorizes issue or PR as related to a bug.
sig/storage
Categorizes an issue or PR as relevant to SIG Storage.
Comments
It seems to be a bug, would you like to send a PR to fix it please? |
I think we will focus on this issue and leave node structure refactoring to further issue. |
k8s-github-robot
pushed a commit
that referenced
this issue
Feb 10, 2017
Automatic merge from submit-queue (batch tested with PRs 41246, 39998) Cinder volume attacher: use instanceID instead of NodeID when verifying attachment **What this PR does / why we need it**: Cinder volume attacher incorrectly uses NodeID instead of openstack instance id, so that reconciliation fails. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #39978 **Special notes for your reviewer**: **Release note**: ```release-note ```
dims
pushed a commit
to dims/kubernetes
that referenced
this issue
Feb 8, 2018
Automatic merge from submit-queue (batch tested with PRs 41246, 39998) Cinder volume attacher: use instanceID instead of NodeID when verifying attachment **What this PR does / why we need it**: Cinder volume attacher incorrectly uses NodeID instead of openstack instance id, so that reconciliation fails. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes kubernetes#39978 **Special notes for your reviewer**: **Release note**: ```release-note ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/provider/openstack
Issues or PRs related to openstack provider
kind/bug
Categorizes issue or PR as related to a bug.
sig/storage
Categorizes an issue or PR as relevant to SIG Storage.
Is this a request for help?: No
What keywords did you search in Kubernetes issues before filing this one?: openstack cinder volume instanceid nodename
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Kubernetes version (use
kubectl version
): v1.5.1Environment:
uname -a
): 3.10.0-327.36.2.el7.x86_64 Unit test coverage in Kubelet is lousy. (~30%) #1 SMPWhat happened: The Cinder volume was not remounted to other node after POD was rescheduled.
What you expected to happen: Cinder volume is detached from previous node mounted on a new one.
How to reproduce it (as minimally and precisely as possible):
Anything else do we need to know:
Logs showing that attachment succeeds, but when attacher performs rechecking during reconciliation cycle, it incorrectly decides that volume is not attached any longer:
Later analysis showed that Cinder attacher uses NodeName, instead of instanceID, compare e.g. with Attach operation and DisksAreAttached
The text was updated successfully, but these errors were encountered: