Description of problem:
Upgrade ocp v3.9 to v3.10. A admission plugin config in master-config.yaml has been removed after upgrade.
On v3.10 master hosts which upgraded from v3.9
# diff pre.cfg post.cfg
< apiVersion: v1
< disable: false
< kind: DefaultAdmissionConfig
# cat /tmp/pre.cfg |grep -A 5 PodPreset
# cat /etc/origin/master/master-config.yaml|grep PodPreset
On fresh installed v3.10 master host:
# cat /etc/origin/master/master-config.yaml |grep -A 5 PodPreset
# grep -r "PodPreset"
roles/openshift_control_plane/tasks/upgrade.yml: key: 'admissionConfig.pluginConfig.PodPreset'
Checked that, installer has a task to remove admissionConfig.pluginConfig.PodPreset for upgrade(if this change is necessary?), but for fresh installation, PodPreset was set in master config templates.
Version-Release number of the following components:
Steps to Reproduce:
1. Upgrade rpm installed ocp v3.9 to v3.10
admissionConfig.pluginConfig.PodPreset was different between upgrade ocp and fresh installed ocp.
master config after upgrade should be the same with fresh installation
Please attach logs from ansible-playbook with the -vvv flag
Confirmed with liggit that its not required anymore on fresh installs
Fix is available in openshift-ansible-3.10.0-0.53.0
Verified on openshift-ansible-3.10.0-0.53.0.git.0.53fe016.el7.noarch
Now from v3.10 fresh installation, no PodPreset in master config. Upgraded env keep the same with fresh installed env.
# cat /etc/origin/master/master-config.yaml |grep PodPreset
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.