Description of problem: reconstruct master domain will fail with error: Unsupported Storage Domain status: ('maintenance',) Domain status in case of a problem is changed to maintenance instead of inactive and reconstruct will fail. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: full logs are attached vdsm: Thread-573::ERROR::2012-06-20 15:39:16,931::task::853::TaskManager.Task::(_setError) Task=`646a3ea0-b361-4a6b-b147-cd2d9843a977`::Unexpected error Traceback (most recent call last): File "/usr/share/vdsm/storage/task.py", line 861, in _run return fn(*args, **kargs) File "/usr/share/vdsm/logUtils.py", line 38, in wrapper res = f(*args, **kwargs) File "/usr/share/vdsm/storage/hsm.py", line 1469, in reconstructMaster domDict[d] = sd.validateSDDeprecatedStatus(status) File "/usr/share/vdsm/storage/sd.py", line 160, in validateSDDeprecatedStatus raise se.StorageDomainStatusError(status) StorageDomainStatusError: Unsupported Storage Domain status: ('maintenance',) Thread-573::DEBUG::2012-06-20 15:39:16,932::task::872::TaskManager.Task::(_run) Task=`646a3ea0-b361-4a6b-b147-cd2d9843a977`::Task._run: 646a3ea0-b361-4a6b-b147-cd2d9843a977 ('399b380a-eb27-4cc5-a409-f973eb283ad9', 'iSCSI', 'ac7366fa-3e03 -4bb4-8d03-c126c4deafbd', {'ac7366fa-3e03-4bb4-8d03-c126c4deafbd': 'active', '1ab4009e-18c3-4041-b3ce-a3cab203f330': 'active', '2b403b4b-3b34-4e79-89ae-749cd4352f66': 'maintenance', 'd8c4e43a-e956-4c56-b9cb-76dc98e3ab9b': 'maintenance'}, 90, None, 5, 60, 10, 3) {} failed - stopping task backend: 2012-06-20 15:39:09,821 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (QuartzScheduler_Worker-45) [19904b48] Command org.ovirt.engine.core.vdsbroker.vdsbroker.ReconstructMasterVDSCommand return value Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc mStatus Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc mCode 376 mMessage Unsupported Storage Domain status: ('maintenance',)
Created attachment 593200 [details] logs
http://gerrit.ovirt.org/#/c/5484/
verified on si7 reconstruct did not fail.