Bug 2076270 - [OCPonRHV] MachineSet scale down operation fails to delete the worker VMs
Summary: [OCPonRHV] MachineSet scale down operation fails to delete the worker VMs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cloud Compute
Version: 4.11
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.11.0
Assignee: Evgeny Slutsky
QA Contact: michal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-18 13:57 UTC by Evgeny Slutsky
Modified: 2022-08-10 11:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:07:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-api-provider-ovirt pull 134 0 None open better machine deletion handling 2022-04-18 13:58:28 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:07:44 UTC

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


Note You need to log in before you can comment on or make changes to this bug.