Bug 1691508 - Putting multiple hosts into maintenance mode leads to a 'Invalid Status on Data Center' creating an infinite loop of attempt to put into maintenance mode.
Summary: Putting multiple hosts into maintenance mode leads to a 'Invalid Status on Da...
Keywords:
Status: CLOSED DUPLICATE of bug 1691244
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.2.8-4
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact: Pavel Novotny
URL:
Whiteboard:
Depends On:
Blocks: 1712019
TreeView+ depends on / blocked
 
Reported: 2019-03-21 18:55 UTC by Adam Scerra
Modified: 2023-09-14 05:25 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-23 13:43:19 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Task view (69.75 KB, image/png)
2019-03-21 18:55 UTC, Adam Scerra
no flags Details

Description Adam Scerra 2019-03-21 18:55:21 UTC
Created attachment 1546656 [details]
Task view

Description of problem:
Putting multiple hosts into maintenance mode leads to a 'Invalid Status on Data Center' creating an infinite loop of attempt to put into maintenance mode.

using a python script to test if hosts can enter maintenance mode using ovirtsdk4:
I put one host into maintenance mode and this worked fine. Immediately afterword I put a second host into maintenance mode and it never completed. After a certain amount of time rhv attempts to put the same host into maintenance mode again. This continues to happen without reporting a failure. The running tasks at the top right of the UI will show all these running the highest I have seen was when it happened overnight and there was about 100 taks currently running all attempting the same thing, to put the same host into maintenance, without any of them reporting a failure.

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

How reproducible:
Most of the time.

Steps to Reproduce:
1.Put one host into maintenance mode
2.Wait for hosted engine vm to migrate to another host
3.Then put that host into maintenance mode.

Actual results:
The second host never gets put into maintenance mode, and rhv continues to create new tasks to accomplish this without stopping or report a failure of the previous one


Expected results:
The second host should be able to get put into maintenance mode.
or
If there is an issue like we can see with 'Invalid Status on Data Center Default' this should lead to a failure of the maintenance task. Instead of creating more new tasks that run indefinitely.

Additional info:
I have included some screen shots for more context.

I have additional screenshots and sos reports if needed.

Comment 1 Michal Skrivanek 2019-03-22 05:30:44 UTC
Duplicate of bug 1691244 ?

Comment 2 Ravi Nori 2019-04-15 14:35:44 UTC
This is a duplicate of BZ 1691244. The proposed solution is to disable migration of VM from webadmin for Hosted Engine VMs. Is there a customer case associated with this BZ? if not please close it as duplicate.

Comment 3 Martin Perina 2019-04-23 13:43:19 UTC
Closing as duplicate of BZ1691244. If there's a customer case behind this bug, feel free to reopen and attach it to the bug

*** This bug has been marked as a duplicate of bug 1691244 ***

Comment 6 Red Hat Bugzilla 2023-09-14 05:25:47 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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