Bug 962414 - [Storage] The flow of reinitilize DataCenter when not all data domains are Inactive may fail.
Summary: [Storage] The flow of reinitilize DataCenter when not all data domains are In...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.3.0
Assignee: Nobody's working on this, feel free to take it
QA Contact:
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-13 12:05 UTC by Leonid Natapov
Modified: 2016-02-10 18:15 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-16 14:00:49 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Leonid Natapov 2013-05-13 12:05:09 UTC
Description of problem:
[Storage] The flow of reinitilize DataCenter when not all Data Domains became Inactive may be misleading for the user.

The situation is: Several data domains in DC and connection from host blocked to all domains. Data Domains not become Inactive simultaneously but one after another. If use will try to to reinitilize DataCenter when NOT all data domains in "Inactive" status he will get no indication that proccess has been started. New domain will appear in the UI only after severl minutes.

The suggested solution may be CanDoAction on Reinitilize DC wneh there are domains that still in Unknown status. 



How reproducible:
100%

Steps to Reproduce:
1.3 DataDomains in DataCenter,2 Attached and Active and third unattached.
2.Block connectivity from host to both attached DataDomains.
3.First both domains will become Unknown and after sometime one of then will become Inactive and the second will remain Unknown.
4.Try to reinitilize DC with the third domain.
  
Actual results:
User will have no indication that his action succeeded.

Expected results:
Warning message saying that all domains should become Inactive in order to perform Reinitilize DC.

Additional info:

Logs attached.

Comment 1 Liron Aravot 2013-07-09 09:29:50 UTC
1. Lesik, please add logs - otherwise it's hard to track/know what happend.

2. Basically, it seems like two issues are mixed here -
When attempting to run the recovery command, the request enters a queue of operations to be performed, if there is a currently running operation in that queue that runs, the "recovery" request would wait till it ends before being executed - 
as those flows contains few vdsm operations, the recovery command may hang in the queue till the execution - an audit lug might be added to improve the user experience in that case.

3. In terms of CDA  message- the recovery command currently has a CDA check that intends to prevent the operation from being submitted in case that there are domains which are eligible to reconstruct as the time of submission - but it seems to be unrelated to the issue that you described.

please take a look and update the header/severity if the issue you referred to is indeed #2.
thanks.


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