https://github.com/openshift/openshift-ansible/pull/10496
Install ocp 3.9, and check the master-config.yaml file: kubernetesMasterConfig: apiServerArguments: cloud-config: - /etc/origin/cloudprovider/gce.conf cloud-provider: - gce runtime-config: - apis/settings.k8s.io/v1alpha1=true Upgrade to ocp 310: v3.10.68 successfully, and check the master-config.yaml: kubernetesMasterConfig: apiServerArguments: ....... runtime-config: - apis/settings.k8s.io/v1alpha1=true atomic-openshift-hyperkube-3.10.68-1.git.0.0481810.el7.x86_64
There is still problem in upgrade.yml, : ######################################################################## - name: Find current value for runtime-config yedit: src: "/tmp/master-config.yaml" ====>It should be '{{ openshift.common.config_base }}/master/' key: "kubernetesMasterConfig.apiServerArguments.runtime-config" state: list register: runtime_config - name: Set the runtime-config to exclude pod presets #################################################################### "/tmp/master-config.yaml" is a wrong directory, so it will not list the runtime_config, then the next steps will be skill by playbook, so this error need to be executed.
https://github.com/openshift/openshift-ansible/pull/10595 should've fixed this That's in openshift-ansible-3.10.70-1 and later.
Verified: openshift-ansible-3.10.76-1.git.0.11b68c9.el7.noarch ansible-2.4.6.0-1.el7ae.noarch installed v3.9.51, check the master-config.yaml: runtime-config: - apis/settings.k8s.io/v1alpha1=true upgrade to v3.10.76 verify the master-config.yaml: runtime-config:[]
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0026