Description of problem: /api/storagedomains does not return status of a storage domain, except unattached statuses Version-Release number of selected component (if applicable): 4.2.0 Actual results: null or <status>unattached</status> Expected results: <status>$ACTUAL_STATUS</status> Additional info: relevant code: https://gerrit.ovirt.org/#/c/226/3/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainsResource.java
The status of the storage domain can't be displayed in /ovirt-engine/api/storagedomains because a storage domain may be attached to multiple data centers, and may have different status for each data center. For example, a NFS ISO storage domain may be attached to two data centers, and it may be "active" in one of them and "inactive" in the other one. To get this status you need to go to the relevant attached storage domain and check the status: GET /ovirt-engine/api/datacenters/{dc:id}/storagedomains/{sd:id}