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
Thanks @Johnny Liu I'll take a look at this.
https://github.com/openshift/openshift-ansible/issues/8528 This should address the issue
https://github.com/openshift/openshift-ansible/pull/8530 Oops!
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