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

csi: add VolumeContext to NodeStage/Publish RPCs #8239

Merged
merged 1 commit into from
Jun 22, 2020

Conversation

tgross
Copy link
Member

@tgross tgross commented Jun 22, 2020

Fixes #7771

In #7957 we added support for passing a volume context to the controller RPCs.
This is an opaque map that's created by CreateVolume or, in Nomad's case,
in the volume registration spec.

However, we missed passing this field to the NodeStage and NodePublish RPC,
which prevents certain plugins (such as MooseFS) from making node RPCs.

@tgross tgross force-pushed the b-csi-volume-context-missing-for-node-api branch from 49dc29b to cdc5431 Compare June 22, 2020 15:09
@tgross tgross requested review from langmartin and removed request for langmartin June 22, 2020 15:15
@tgross tgross marked this pull request as ready for review June 22, 2020 15:32
@tgross tgross requested review from langmartin and shoenig June 22, 2020 15:32
plugins/csi/plugin.go Show resolved Hide resolved
@tgross tgross added this to the 0.12.0-beta2 milestone Jun 22, 2020
@tgross tgross force-pushed the b-csi-volume-context-missing-for-node-api branch 2 times, most recently from 139bba1 to 66c6ba9 Compare June 22, 2020 17:17
In #7957 we added support for passing a volume context to the controller RPCs.
This is an opaque map that's created by `CreateVolume` or, in Nomad's case,
in the volume registration spec.

However, we missed passing this field to the `NodeStage` and `NodePublish` RPC,
which prevents certain plugins (such as MooseFS) from making node RPCs.
@tgross tgross force-pushed the b-csi-volume-context-missing-for-node-api branch from 66c6ba9 to 901664f Compare June 22, 2020 17:36
@tgross tgross merged commit ffd783e into master Jun 22, 2020
@tgross tgross deleted the b-csi-volume-context-missing-for-node-api branch June 22, 2020 17:54
@github-actions
Copy link

github-actions bot commented Jan 2, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CSI: implement VolumeContext (support moosefs plugin)
2 participants