Description of problem: 1. we cannot create a new domain when hosts are non-operational without creating a new pool. 2. we cannot reinitialize because engine will block reinitialize if the host is in non-operational state (we need a host in up state to be able to reinitialize) Version-Release number of selected component (if applicable): vdsm-4.10.2-10.0.el6ev.x86_64 How reproducible: 100% Steps to Reproduce: 1. Have 1 host and one master domain (also reproduced with 2 hosts) 2. Block connectivity between host and master domain. the host becomes 'non-operational'. 3. Try to create an unattached domain 4. Try to reinitialize with an unattached domain Actual results: The actions won't work because the host is in 'non-operational' state. Expected results: since the flow of host state changed and now all hosts will be non-operational we should be able to reinitialize master domain when host in non-operational. Additional info: logs
Created attachment 704853 [details] logs
After discussing with Barak, it was agreed that hosts should go back to UP if domain is moved to inactive and host was in non-op due to connection problems with the domain.
(In reply to comment #6) > After discussing with Barak, it was agreed that hosts should go back to UP > if domain is moved to inactive and host was in non-op due to connection > problems with the domain. This is in the long run, However in a single host scenario you should be able to perform reinitialize (it's a regression otherwise), per the changes done related to Bug 882671, So this scenario should be solved for 3.2 in a single host as well. On multiple hosts it should be o.k. on any UP host, it is not clear to me from the bug description why both hosts are in none-operational. Moving back to storage.
Change-Id I6418b9d2826146e1e4ceff4341c6d7cd3a0024af (referenced in the external tracker) should solve this issue too.
Now we can create a new unattached domain when host is non-operational. Also, we are able to reinitialize pool from the unattached domain. Checked on RHEVM-3.2-SF16: rhevm-3.2.0-10.25.beta3.el6ev.noarch vdsm-4.10.2-18.0.el6ev.x86_64 libvirt-0.10.2-18.el6_4.4.x86_64
3.2 has been released