Bug 1879356

Summary: During OCP patching from 3.11.219 to 3.11.248, bootstrap autoapprover image not updated
Product: OpenShift Container Platform Reporter: Sayali Bhavsar <sbhavsar>
Component: InstallerAssignee: Russell Teague <rteague>
Installer sub component: openshift-ansible QA Contact: Gaoyun Pei <gpei>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low CC: aabhishe, bleanhar, jrosenta
Version: 3.11.0   
Target Milestone: ---   
Target Release: 3.11.z   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: The bootstrap autoapprover configuration was not part of the upgrade process. Consequence: The bootstrap autoapprover image was not updated during upgrades. Fix: Added the enable_bootstrap playbook as part of cluster upgrades. Result: Bootstrap autoapprover image is updated during upgrades.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-12 10:08:21 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:

Comment 2 Russell Teague 2020-10-22 12:57:05 UTC
*** Bug 1890358 has been marked as a duplicate of this bug. ***

Comment 4 Gaoyun Pei 2020-10-26 11:02:33 UTC
Verified this bug with openshift-ansible-3.11.310-1.git.0.4896d62.el7.noarch.rpm

1. Setup a 3.11.219 cluster with openshift_master_bootstrap_auto_approve=true, after installation, check the image used by bootstrap-autoapprover pod

# oc get po -n openshift-infra -oyaml
  spec:
  ...
      image: registry.redhat.io/openshift3/ose-node:v3.11.219


2. Run control-plane upgrade playbook, upgrade masters to latest 3.11.
ansible-playbookplaybooks/byo/openshift-cluster/upgrades/v3_11/upgrade_control_plane.yml 

3. Check the bootstrap-autoapprover pod again after upgrade finished.

# oc get po -n openshift-infra -oyaml
  spec:
  ...
      image: registry.redhat.io/openshift3/ose-node:v3.11

Comment 7 errata-xmlrpc 2020-11-12 10:08:21 UTC
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 (OpenShift Container Platform 3.11.317 bug fix and enhancement update), 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-2020:4430