Bug 1256713
Summary: | [REST-API] changing vmPool name is possible through rest-api | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Omer Frenkel <ofrenkel> |
Component: | General | Assignee: | Shahar Havivi <shavivi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Israel Pinto <ipinto> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | --- | CC: | bazulay, bugs, juan.hernandez, lsurette, mgoldboi, michal.skrivanek, pstehlik, rbalakri, Rhev-m-bugs, shavivi, slitmano, smelamud, srevivo, tjelinek, ykaul |
Target Milestone: | ovirt-4.2.0 | Keywords: | Automation |
Target Release: | 4.2.0.2 | Flags: | shavivi:
needinfo-
rule-engine: ovirt-4.2+ rule-engine: planning_ack+ rule-engine: devel_ack+ mavital: testing_ack+ |
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1256411 | Environment: | |
Last Closed: | 2017-12-20 10:43:29 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
Omer Frenkel
2015-08-25 10:18:56 UTC
please note, bug 1256411 fix the failure for updating vm-pool name without setting the template. this bug is to disable the edit of vm-pool in the engine. Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. Postponing to next version due to capacity. Please note that the bug extends not only to the vm name, but to all it's properties. Currently any pool vm is editable completely via API where it should not the same as it's not in UI. Changing the bug's name. The bug was not addressed in time for 4.1. Postponing to 4.2 Changing the name of this bug again after it caused some confusion. This bug was initially about changing the pool name via REST API which should be disabled. I changed it to editing a vm from the pool via REST API which should also be disabled.. I was mistaking name of the pool with name of vm from the pool. Verify with: Steps: 1. Create pool with 3 vms 2. Update vmpool name with REST API With and without cluster and template Results: Both ways update vmpool name not allowed. PASS More info: Without cluster and template: Request: <vm_pool> <name>test-israel</name> <description/> <size>3</size> <prestarted_vms>0</prestarted_vms> <max_user_vms>1</max_user_vms> </vm_pool> Response: <fault> <detail>[Cannot change VM-Pool name.]</detail> <reason>Operation Failed</reason> </fault> With cluster and template: Request: <vm_pool> <cluster id="ff4a2b05-5e0d-41f4-865a-7f4553d49480"/> <template id="9823fe6d-eadf-42cf-9949-69d82a3d4750"/> <name>test-israel</name> <description/> <size>3</size> <prestarted_vms>0</prestarted_vms> <max_user_vms>1</max_user_vms> </vm_pool> Response: <fault> <detail>[Cannot change VM-Pool name.]</detail> <reason>Operation Failed</reason> </fault> This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |