Bug 1943754
Summary: | Update blocked from 4.6 to 4.7 when using spot/preemptible instances | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | OpenShift BugZilla Robot <openshift-bugzilla-robot> |
Component: | Cluster Version Operator | Assignee: | Joel Speed <jspeed> |
Status: | CLOSED ERRATA | QA Contact: | sunzhaohua <zhsun> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 4.6.z | CC: | aos-bugs, jokerman, jspeed, lmohanty, wking, zhsun |
Target Milestone: | --- | Keywords: | Upgrades |
Target Release: | 4.7.z | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-04-20 18:52:39 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: | 1938947 | ||
Bug Blocks: |
Description
OpenShift BugZilla Robot
2021-03-27 04:30:44 UTC
I'm clearing UpgradeBlocker from this series based on the straightforward 'oc patch ...' workaround [1]. [1]: https://bugzilla.redhat.com/show_bug.cgi?id=1938947#c17 Failed to verify. Steps: 1.set up a 4.6.24 cluster 2.create a spot instance 3.upgrade to 4.7.0-0.nightly-2021-04-13-144216, the update hangs at 26% with machine-termination-handler not starting any pods. $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.6.24 True True 123m Working towards 4.7.0-0.nightly-2021-04-13-144216: 178 of 668 done (26% complete), waiting on machine-api $ oc get co machine-api -o yaml message: 'Failed when progressing towards operator: 4.7.0-0.nightly-2021-04-13-144216 because daemonset machine-api-termination-handler is not ready. status: (desired: 1, updated: 0, available: 0, unavailable: 1)' reason: SyncingFailed status: "True" type: Degraded 4m28s Warning FailedCreate daemonset/machine-api-termination-handler Error creating: pods "machine-api-termination-handler-" is forbidden: unable to validate against any security context constraint: [provider restricted: .spec.securityContext.hostNetwork: Invalid value: true: Host network is not allowed to be used spec.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.volumes[1]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.containers[0].securityContext.hostNetwork: Invalid value: true: Host network is not allowed to be used spec.volumes[2]: Invalid value: "secret": secret volumes are not allowed to be used spec.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.volumes[1]: Invalid value: "hostPath": hostPath volumes are not allowed to be used] $ oc get ds NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE machine-api-termination-handler 1 1 0 0 0 machine.openshift.io/interruptible-instance= 3h10m $ oc get po NAME READY STATUS RESTARTS AGE cluster-autoscaler-operator-56c4b7fc94-82chn 2/2 Running 0 168m machine-api-controllers-f64fd7646-svxtk 7/7 Running 0 100m machine-api-operator-cf4d88fc4-bkzlh 2/2 Running 0 102m $ oc get sa machine-api-termination-handler -o yaml apiVersion: v1 imagePullSecrets: - name: machine-api-termination-handler-dockercfg-tw66n kind: ServiceAccount metadata: annotations: include.release.openshift.io/self-managed-high-availability: "true" include.release.openshift.io/single-node-developer: "true" creationTimestamp: "2021-04-14T02:57:28Z" name: machine-api-termination-handler namespace: openshift-machine-api resourceVersion: "57024" selfLink: /api/v1/namespaces/openshift-machine-api/serviceaccounts/machine-api-termination-handler uid: 593ac503-c57d-4ce3-920e-b4e1c447a6aa secrets: - name: machine-api-termination-handler-token-2mn2p - name: machine-api-termination-handler-dockercfg-tw66n Verified clusterversion: 4.7.0-0.nightly-2021-04-15-035247 Steps: 1.set up a 4.6.24 cluster 2.create a spot instance 3.upgrade to 4.7.0-0.nightly-2021-04-15-035247, upgrade is successful $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.7.0-0.nightly-2021-04-15-035247 True False 13m Cluster version is 4.7.0-0.nightly-2021-04-15-035247 $ oc get ds NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE machine-api-termination-handler 1 1 1 1 1 machine.openshift.io/interruptible-instance= 162m 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 4.7.7 bug fix 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-2021:1149 |