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

Bind mount /etc/origin/kubelet-plugins for flex volumes #20095

Merged

Conversation

gnufied
Copy link
Member

@gnufied gnufied commented Jun 26, 2018

This goes hand-in-hand with openshift/openshift-ansible#8964 for fixing flex volume plugin when kubelet runs as system container.

We will have to cherry-pick this to 3.10 too.

cc @jsafrane
/sig storage

@openshift-ci-robot openshift-ci-robot added sig/storage size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jun 26, 2018
@jsafrane
Copy link
Contributor

/retest

@gnufied
Copy link
Member Author

gnufied commented Jun 26, 2018

/assign @sdodson @smarterclayton

@smarterclayton
Copy link
Contributor

smarterclayton commented Jun 27, 2018 via email

@gnufied
Copy link
Member Author

gnufied commented Jun 27, 2018

@smarterclayton The location I chose to match the default location for flex volumes as documented - https://docs.openshift.com/container-platform/3.9/install_config/persistent_storage/persistent_storage_flex_volume.html

I think it is bit of unfortunate side effect that plugin directory is still called kubelet-plugins even though for flex plugins that support attach/detach - it must be available from same location in controller-manager too.

@smarterclayton
Copy link
Contributor

Ok. Thats' fine.

@avysk
Copy link

avysk commented Jun 28, 2018

@gnufied If I may ask -- the documentation you link to gives /usr/libexec/kubernetes/kubelet-plugins as the path for plugins, not /etc/origin/kubelet-plugins. Do I miss something?

@gnufied
Copy link
Member Author

gnufied commented Jun 28, 2018

@avysk That currently documents flexvolume installation in non-containarized installation of openshift 3.9.

In Openshift-3.10, since we are moving to all control-plane components running as static pods and on atomic hosts kubelet running as a system container, the document needs to be updated to reflect the correct behaviour.

@sdodson
Copy link
Member

sdodson commented Jun 28, 2018

/skip

@sdodson
Copy link
Member

sdodson commented Jun 28, 2018

/retest

@sdodson
Copy link
Member

sdodson commented Jun 28, 2018

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 28, 2018
@sdodson
Copy link
Member

sdodson commented Jun 28, 2018

/approve

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gnufied, sdodson

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 28, 2018
@gnufied
Copy link
Member Author

gnufied commented Jun 29, 2018

/test unit
/test gcp

@openshift-ci-robot
Copy link

openshift-ci-robot commented Jun 29, 2018

@gnufied: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/prow/unit d6759b8 link /test unit

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. I understand the commands that are listed here.

@sdodson
Copy link
Member

sdodson commented Jun 29, 2018

There's no way that this change is breaking those tests. This is a 3.10 blocker, merging.

@sdodson sdodson merged commit a4d2237 into openshift:master Jun 29, 2018
@sdodson
Copy link
Member

sdodson commented Jun 29, 2018

/cherrypick release-3.10

@openshift-cherrypick-robot

@sdodson: new pull request created: #20153

In response to this:

/cherrypick release-3.10

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 Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. sig/storage 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.

8 participants