-
Notifications
You must be signed in to change notification settings - Fork 373
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 PublishedNodes field to ListVolumes Response #374
Add PublishedNodes field to ListVolumes Response #374
Conversation
Can you make sure the protobuf file is also updated accordingly. There's a makefile target for the generation. |
f91bed5
to
1f3fea5
Compare
How do we feel about adding something like:
|
@davidz627 that sounds reasonable to me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM based on discussion during CSI meeting.
One (tangential) q I have around this: Is there a reason NodeGetInfoResponse
does not report the list of volumes that has been published to the node?
817e7dd
to
417ad69
Compare
I don't think that there's a particular reason it doesn't. But for this proposal IMO it is more efficient to have the one list volumes call give back all volumes and where they're attached. Also for some reason it states specifically: |
417ad69
to
9fec488
Compare
LGTM apart from the minor nit above. |
9fec488
to
7b15d3e
Compare
41dbb3a
to
f9402a6
Compare
@jdef @jieyu @julian-hj @ddebroy @saad-ali |
One thing worth mentioning here is - depending on SP, the published_node_ids field value might be out of date(stale). For example - on AWS because of eventual consistent nature of read api calls, the describe_volume API calls could return stale attachment information. In kubernetes - we handle this by processing out of band attach/detaches as "uncertain", because only a mutable api call guarantees that volume information was accurate. So, if a CSI driver returns stale data in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
This looks reasonable to me.
If there are no other objections, I'll go ahead and merge this.
…ode_ids into a VolumeStatus message
f9402a6
to
97b40cb
Compare
According to [1], this "helps the CO [container orchestrator] reconcile the actual state when the volume may have been Unpublished from the node out of band from the CO". [1] container-storage-interface/spec#374
According to [1], this "helps the CO [container orchestrator] reconcile the actual state when the volume may have been Unpublished from the node out of band from the CO". [1] container-storage-interface/spec#374
Helps the CO reconcile the actual state when the volume may have been Unpublished from the node out of band from the CO.
/assign @saad-ali
/cc @xing-yang @gnufied @julian-hj
/cc @msau42
PTAL Discussion: https://docs.google.com/document/d/1-oiNg5V_GtS_JBAEViVBhZ3BYVFlbSz70hreyaD7c5Y/edit#heading=h.z24362cngqjs