Bug 1979672

Summary: Prevent cluster upgrade if MCP are paused
Product: OpenShift Container Platform Reporter: oarribas <oarribas>
Component: Machine Config OperatorAssignee: Sinny Kumari <skumari>
Status: CLOSED DEFERRED QA Contact: Michael Nguyen <mnguyen>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.6CC: apjagtap, jerzhang, oarribas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-09 14:01:29 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:

Description oarribas 2021-07-06 17:05:42 UTC
Description of problem:

If MCP are paused while upgrading the cluster, the upgrade is not finishing and the machine-config cluster operator becomes degraded.


Version-Release number of selected component (if applicable):

All OCP 4.x


How reproducible:

Always


Steps to Reproduce:
1. Pause the MCP [1]
2. Upgrade the cluster
3.

Actual results:

machine-config degraded [2].


Expected results:

A message should be shown when trying to upgrade the cluster, and the upgrade should not start while the MCP are paused.


Additional info:

Could be use cases where the upgrade should be executed even if MCP paused. Maybe an option to not check the paused MCP could be added for those cases.



[1] https://access.redhat.com/solutions/5477811
[2] https://access.redhat.com/solutions/5317441

Comment 1 Yu Qi Zhang 2021-07-06 17:26:06 UTC
> If MCP are paused while upgrading the cluster, the upgrade is not finishing and the machine-config cluster operator becomes degraded.

Do you have a must-gather for this?

Generally speaking, we expect to allow upgrades if the worker MCP is paused. This is the mechanism we plan to use to skip versions when upgrading. Or are you talking about masters?