Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2076270

Summary: [OCPonRHV] MachineSet scale down operation fails to delete the worker VMs
Product: OpenShift Container Platform Reporter: Evgeny Slutsky <eslutsky>
Component: Cloud ComputeAssignee: Evgeny Slutsky <eslutsky>
Cloud Compute sub component: oVirt Provider QA Contact: michal <mgold>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: jpasztor, mburman
Version: 4.11Keywords: Regression
Target Milestone: ---   
Target Release: 4.11.0   
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: 2022-08-10 11:07:26 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 Evgeny Slutsky 2022-04-18 13:57:29 UTC
Description of problem:
cluster-api controller fails to perform deletion of a running VM.
the VM has to be stopped first.

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


How reproducible:


Steps to Reproduce:
1. scaledown the machineset
2. worker is not deleted from the ovirt engine.

Actual results:


Expected results:


Additional info:

Comment 2 Evgeny Slutsky 2022-06-07 08:04:05 UTC
yes, it's for the default existing machine set, 
did you try to scale down to 0 workers? what happens if you scale down from 3 to 2 workers?

Comment 3 michal 2022-06-07 08:21:54 UTC
if I scale from 3 to 2 workers it's working fine

Comment 4 michal 2022-06-07 09:55:59 UTC
after verifying with Evgeny this is the correct behavior.
when scale down the default machineset to 0, the last worker can't delete it because there is no other machineset to move all running pods.

Comment 6 errata-xmlrpc 2022-08-10 11:07:26 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 (Important: OpenShift Container Platform 4.11.0 bug fix and 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-2022:5069