Bug 1572873
| Summary: | installer does not configure vsphere cloudprovider in master service. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Johnny Liu <jialiu> | ||||
| Component: | Installer | Assignee: | davis phillips <dphillip> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Gan Huang <ghuang> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 3.10.0 | CC: | aos-bugs, ghuang, jokerman, mmccomas, scollier, wmeng | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.10.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | No Doc Update | |||||
| Doc Text: |
undefined
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-06-27 20:29:24 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | 1586366, 1588281 | ||||||
| Bug Blocks: | 1548163 | ||||||
| Attachments: |
|
||||||
Thanks @Johnny Liu I'll take a look at this. https://github.com/openshift/openshift-ansible/issues/8528 This should address the issue The referenced PR hasn't merged yet, once it does we'll move this to MODIFIED then once it's built it will automatically go ON_QA. Fixed in openshift-ansible-3.10.0-0.66.0.git.79.68197f9.el7.noarch.rpm |
Created attachment 1428021 [details] installation log with inventory file embedded Description of problem: Enable vsphere cloudprovider, after installation, config is not shown in kubernetesMasterConfig.apiServerArguments of master-config.yaml Version-Release number of the following components: openshift-ansible-3.10.0-0.30.0.git.0.4f02952.el7.noarch How reproducible: Always Steps to Reproduce: 1. enable vsphere cloudprovider in inventory file 2. trigger installation 3. Actual results: vsphere cloudprovider setting is enabled in node service, but did not enabled in master service. That would cause all dynamic pv failure. # cat /etc/origin/master/master-config.yaml <--snip--> kubernetesMasterConfig: apiServerArguments: storage-backend: - etcd3 storage-media-type: - application/vnd.kubernetes.protobuf controllerArguments: cluster-signing-cert-file: - /etc/origin/master/ca.crt cluster-signing-key-file: - /etc/ # cat /etc/origin/node/node-config.yaml <--snip--> kubeletArguments: pod-manifest-path: - /etc/origin/node/pods bootstrap-kubeconfig: - /etc/origin/node/bootstrap.kubeconfig feature-gates: - RotateKubeletClientCertificate=true,RotateKubeletServerCertificate=true rotate-certificates: - "true" cert-dir: - /etc/origin/node/certificates cloud-config: - /etc/origin/cloudprovider/vsphere.conf cloud-provider: - vsphere node-labels: - "node-role.kubernetes.io/master=true" enable-controller-attach-detach: - 'true' <--snip--> Expected results: # cat /etc/origin/master/master-config.yaml <--snip--> kubernetesMasterConfig: apiServerArguments: cloud-config: - /etc/origin/cloudprovider/vsphere.conf cloud-provider: - vsphere storage-backend: - etcd3 storage-media-type: - application/vnd.kubernetes.protobuf controllerArguments: cloud-config: - /etc/origin/cloudprovider/vsphere.conf cloud-provider: - vsphere cluster-signing-cert-file: - /etc/origin/master/ca.crt cluster-signing-key-file: - /etc/origin/master/ca.key <--snip--> Additional info: Please attach logs from ansible-playbook with the -vvv flag