Bug 1256411
Summary: | [REST-API] changing vmPool name fails if template is not set | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | sefi litmanovich <slitmano> | |
Component: | ovirt-engine | Assignee: | Juan Hernández <juan.hernandez> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | sefi litmanovich <slitmano> | |
Severity: | low | Docs Contact: | ||
Priority: | medium | |||
Version: | 3.6.0 | CC: | bazulay, gklein, juan.hernandez, lsurette, mavital, michal.skrivanek, rbalakri, Rhev-m-bugs, srevivo, ykaul | |
Target Milestone: | ovirt-3.6.0-rc | Keywords: | Automation | |
Target Release: | 3.6.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1256713 (view as bug list) | Environment: | ||
Last Closed: | 2016-04-20 01:37:45 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: |
Description
sefi litmanovich
2015-08-24 13:59:00 UTC
When a the template isn't given as part of the request the RESTAPI has to find it, and in order to do so it has to locate the VM data of the pool. To do this it uses the name of the pool. If the name of the pool is modified in the same requests the RESTAPI uses the new name instead of the old one. This needs to be fixed: restapi: Locate VM data using pool id, not name https://gerrit.ovirt.org/45289 I think that the issue described in the previous comment should be fixed in 3.6, consider re-targeting the bug. Making the name editable or not is outside of the scope of the RESTAPI. ok, i am splitting this bug to 2: this bug will focus on failure to update vm-pool while changing the name without setting the template. - target to 3.6 and a new bug to focus on disable changing vm-pool name, on the backend for 4.0 Verified with rhevm-3.6.0-0.16.master.el6.noarch according to the description. Verification refers to changing pool name without setting the template. As for the second bz omer mentioned, was it opened? yes, bug 1256713 (also you can see it in the 'clones' fields above) |