A storage domain in the DB is in Maintenance status, however in the storage domain view of the webadmin it appears as 'Inactive'. This is misleading both for users and developers.
see https://bugzilla.redhat.com/812621
Currently in main storage domain table we display the 'Shared Status' per storage domain, which is the cross Data-Centers status. This field value set to 2 (InActive) when (any) storage domain is in maintenance mode, Lazlo, I believe you looked at the 'status' field and not the 'storage_domain_shared_status' which is what we display in the UI. One option is to avoid using the shared status for non iso storage domains, Another option could be to avoid displaying any value on the shared status for non iso storage domains, Ayal, please assist with describing the appropriate behaviour, Thanks.
(In reply to comment #2) > Currently in main storage domain table we display the 'Shared Status' per > storage domain, which is the cross Data-Centers status. > > This field value set to 2 (InActive) when (any) storage domain is in > maintenance mode, > > Lazlo, I believe you looked at the 'status' field and not the > 'storage_domain_shared_status' which is what we display in the UI. > > One option is to avoid using the shared status for non iso storage domains, this would probably be easiest. > Another option could be to avoid displaying any value on the shared status > for non iso storage domains, > > > > Ayal, please assist with describing the appropriate behaviour, > > > Thanks.
Okay, then for non ISO storage domain, maybe we can write 'Status per Data-Center' If this is not self explanatory, then we can explain it in more details with a tooltip. Please ack the status string or provide an alternative, If tooltip is required please provide the description, Thanks.
(In reply to comment #4) > Okay, then for non ISO storage domain, maybe we can write 'Status per > Data-Center' > If this is not self explanatory, then we can explain it in more details with > a tooltip. > > Please ack the status string or provide an alternative, > If tooltip is required please provide the description, > > Thanks. Why? the cross data-center status is the same as the single data-center status seeing as there is a single data-center. 1 data center is a private case of multiple. What would happen with an ISO domain that is only attached to 1 dc? it's exactly the same.
Since there's no reason to display the shared cross datacenter status for non ISO domains, I go with the following solution: For non ISO domain, display the single status of the domain, For ISO domains, continue displaying the shared cross dc status.
Patch submitted according to the suggested logic in comment #6: http://gerrit.ovirt.org/#/c/8258/
Merged change id I3faa0d0504520513ce0c565b2476779d0362edfb
si20. non ISO domains displaying the single status now.