Bug 1419520
| Summary: | Detaching all vms from a pool via REST API doesn't remove the pool | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | sefi litmanovich <slitmano> |
| Component: | RestAPI | Assignee: | Shahar Havivi <shavivi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | sefi litmanovich <slitmano> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1.0 | CC: | bugs, shavivi, tjelinek |
| Target Milestone: | ovirt-4.1.1 | Flags: | rule-engine:
ovirt-4.1+
rule-engine: exception+ rule-engine: planning_ack+ tjelinek: devel_ack+ mavital: testing_ack+ |
| Target Release: | 4.1.1.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-04-21 09:43:15 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1378331 | ||
|
Description
sefi litmanovich
2017-02-06 12:02:23 UTC
It does not sound like it but there is a pretty hard requirement of having only pools which have at least one VM. If this requirement is not fulfilled, the frontends start to fall apart throwing various exceptions such as https://bugzilla.redhat.com/1378331 and https://bugzilla.redhat.com/show_bug.cgi?id=1378331 and Im pretty sure one could find more. Fixing this issue should be as easy as changing: new RemoveVmFromPoolParameters(guid, false, true), to new RemoveVmFromPoolParameters(guid, true, true), in BackendVmResource.detach() method so I think it is safe to backport it. Hi, is this patch included in latest build? I was able to re produce on rhevm-4.1.1.2-0.1.el7.noarch. If not please move to modified. according to the log it suppose to be in 4.1.1 lets check it on your setup it didn't make it for 4.1.1.2 Verified with rhevm-4.1.1.3-0.1.el7 |