Bug 1970166

Summary: MCO: maxUnavailable of ds/machine-config-daemon does not get updated due to missing resourcemerge check
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Machine Config OperatorAssignee: John Kyros <jkyros>
Status: CLOSED ERRATA QA Contact: Jian Zhang <jiazha>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.7CC: mnguyen
Target Milestone: ---   
Target Release: 4.7.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-11 06:41:09 UTC Type: ---
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: 1969681    
Bug Blocks:    

Comment 4 Michael Nguyen 2021-08-04 20:52:06 UTC
Verified on ocp-release:4.7.23-x86_64 

$ oc get co/machine-config
NAME             VERSION   AVAILABLE   PROGRESSING   DEGRADED   SINCE
machine-config   4.5.41    True        False         False      3h25m
$  oc get -n openshift-machine-config-operator ds/machine-config-daemon -o json | jq .spec.updateStrategy
{
  "rollingUpdate": {
    "maxUnavailable": 1
  },
  "type": "RollingUpdate"
}
$ oc adm upgrade --to-image=quay.io/openshift-release-dev/ocp-release:4.6.41-x86_64 --force
Updating to release image quay.io/openshift-release-dev/ocp-release:4.6.41-x86_64
$ oc get co/machine-config
NAME             VERSION   AVAILABLE   PROGRESSING   DEGRADED   SINCE
machine-config   4.6.41    True        False         False      22m

$  oc get -n openshift-machine-config-operator ds/machine-config-daemon -o json | jq .spec.updateStrategy
{
  "rollingUpdate": {
    "maxUnavailable": 1
  },
  "type": "RollingUpdate"
}
$ oc adm upgrade --to-image=quay.io/openshift-release-dev/ocp-release:4.7.23-x86_64 --force
Updating to release image quay.io/openshift-release-dev/ocp-release:4.7.23-x86_64
$ oc get co/machine-config
NAME             VERSION   AVAILABLE   PROGRESSING   DEGRADED   SINCE
machine-config   4.7.23    True        False         False      110s
$  oc get -n openshift-machine-config-operator ds/machine-config-daemon -o json | jq .spec.updateStrategy
{
  "rollingUpdate": {
    "maxUnavailable": "10%"
  },
  "type": "RollingUpdate"
}

Comment 6 errata-xmlrpc 2021-08-11 06:41:09 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 (Moderate: OpenShift Container Platform 4.7.23 security 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/RHSA-2021:2977