Bug 1046336
| Summary: | [REST-API] misleading error message, for moving hosts between clusters | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Barak Dagan <bdagan> |
| Component: | ovirt-engine-restapi | Assignee: | Juan Hernández <juan.hernandez> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tareq Alayan <talayan> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.3.0 | CC: | aberezin, acathrow, bazulay, eedri, iheim, oramraz, pstehlik, Rhev-m-bugs, yeylon |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | 3.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | is30 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1056111 | ||
|
Description
Barak Dagan
2013-12-24 15:34:03 UTC
The problem we have here is that we load the host entity before changing the cluster, then we change the cluster with the ChangeVDSCluster command and then we change the rest of the parameters with the UpdateVds command. But we load the host entity before the first command and pass it to the second, so the second command sees the old cluster id and explicitly refuses to perform the second part of the update (the first part, changing the cluster, has already been performed). I think that we can fix this with the proposed patch, but I believe that this logic doesn't belong in the API, it should be part of the backend. verified on rhevm-cli-3.3.0.13-1.el6ev.noarch Closing - RHEV 3.3 Released Closing - RHEV 3.3 Released Closing - RHEV 3.3 Released |