Bug 1221163
| Summary: | [TEXT][REST] Wrong error is thrown when attempting an update command on a detached storage domain | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Ori Gofen <ogofen> |
| Component: | ovirt-engine | Assignee: | Idan Shaby <ishaby> |
| Status: | CLOSED ERRATA | QA Contact: | Raz Tamir <ratamir> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.5.1 | CC: | acanan, amureini, bazulay, gklein, ishaby, juan.hernandez, lpeer, lsurette, rbalakri, Rhev-m-bugs, srevivo, tnisan, ykaul, ylavi |
| Target Milestone: | ovirt-4.0.0-alpha | ||
| Target Release: | 4.0.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt 4.0.0 alpha1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-23 20:24:09 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Ori Gofen
2015-05-13 12:00:49 UTC
Apparently what is happening here is that the backend "UpdateStorageDomainCommand" is getting the status of the storage domain using the "StorageDomain.getStatus()" method, but this is implemented as "getStoragePoolIsoMapData().getStatus()" which, if I understand correctly, is valid only when the storage command is attached to a data center. (In reply to Juan Hernández from comment #1) > Apparently what is happening here is that the backend > "UpdateStorageDomainCommand" is getting the status of the storage domain > using the "StorageDomain.getStatus()" method, but this is implemented as > "getStoragePoolIsoMapData().getStatus()" which, if I understand correctly, > is valid only when the storage command is attached to a data center. Yup. Should be rethought in 3.6.0 this is an automated message. oVirt 3.6.0 RC3 has been released and GA is targeted to next week, Nov 4th 2015. Please review this bug and if not a blocker, please postpone to a later release. All bugs not postponed on GA release will be automatically re-targeted to - 3.6.1 if severity >= high - 4.0 if severity < high Response body from PUT on api/storagedomains/{sd_id}
<storage_domain>
<name>nfs_x</name>
</storage_domain>
status: 409
<fault>
<detail>[Cannot edit Storage. The relevant Storage Domain's status is Unattached.]</detail>
<reason>Operation Failed</reason>
</fault>
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-1743.html |