OCPBUGS-11146: update cloud provider flags on vSphere for storage options#3655
Conversation
|
@elmiko: This pull request references OCPCLOUD-2027 which is a valid jira issue. DetailsIn response to this:
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. |
|
Skipping CI for Draft Pull Request. |
|
i am still working on this but wanted to start sharing for others to see what we are proposing. |
|
i think this PR is ready for review, i am going to begin manually testing it. |
bringing in the updates storage operator field.
|
@elmiko: This pull request references OCPCLOUD-2027 which is a valid jira issue. DetailsIn response to this:
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. |
|
@elmiko: No Bugzilla bug is referenced in the title of this pull request. DetailsIn response to this:
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. |
|
switched to the release-4.13 branch and rebased this PR to match. also added a commit to handle the i am still wrestling with the unit tests. |
|
updated with latest comments
|
|
updated to fix up the unit tests and add tests for the new logic. |
|
i am manually testing this on a 4.13 cluster with the other storage related changes and it looks like it is doing what we want on a default install. i can see that the kubelet has |
There was a problem hiding this comment.
We should get a test here that storage object is populated and passed correctly.
There was a problem hiding this comment.
sounds like a good upgrade, i'll take a look
|
i was wrong about the expected default condition, and it looks like we might have hit a condition where the Storage object is nil going into the logic. i have added the Storage lister to the function that caches the informer, i am going to test manually. |
|
updated to add rbac for the storage object to the machine-config-controller |
|
/label backport-risk-assessed |
|
@knobunc: Can not set label backport-risk-assessed: Must be member in one of these teams: [openshift-patch-managers] DetailsIn response to this:
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. |
|
@knobunc: Can not set label cherry-pick-approved: Must be member in one of these teams: [] DetailsIn response to this:
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. |
|
@elmiko: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
yuqi-zhang
left a comment
There was a problem hiding this comment.
It sounds like this was tested extensively, so I think I am fine giving the approval. The general workflow lgtm although I haven't personally tested on vsphere. So long as we don't break any use cases (which CI should cover) I think this is fine
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dobsonj, elmiko, yuqi-zhang 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 |
|
/unhold |
|
@elmiko: Jira Issue OCPBUGS-11146: Some pull requests linked via external trackers have merged: The following pull requests linked via external trackers have not merged: These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with Jira Issue OCPBUGS-11146 has not been moved to the MODIFIED state. DetailsIn response to this:
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. |
|
Fix included in accepted release 4.13.0-0.nightly-2023-04-27-232707 |
- What I did
- How to verify it
there are 3 main conditions to verify with this change:
--cloud-provider=vsphereflag on the kubelet while using--cloud-provider=externalon the kube-apiserver and kube-controller-manager.--cloud-provider=external.--cloud-provider=external.- Description for the changelog
Update external cloud provider check for vSphere to observe the CSI migration status and properly configure the cluster for in-tree storage and out-of-tree cloud providers.