Bug 1919628
| Summary: | VM pool size update using the REST API fails | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Tamir <tamir> | ||||
| Component: | BLL.Virt | Assignee: | Liran Rotenberg <lrotenbe> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tamir <tamir> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.4.5.2 | CC: | ahadas, aoconnor, bugs | ||||
| Target Milestone: | ovirt-4.4.5 | Keywords: | Automation, Regression | ||||
| Target Release: | --- | Flags: | pm-rhel:
ovirt-4.4+
aoconnor: blocker+ |
||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | ovirt-engine-4.4.5.3 | Doc Type: | No Doc Update | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-03-18 15:14:08 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: | |||||||
| Attachments: |
|
||||||
|
Description
Tamir
2021-01-24 08:56:29 UTC
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP. Verified on RHV 4.4.5-3. All looks good to me. Env: - Engine instance with RHV 4.4.5-3 (ovirt-engine-4.4.5.3-0.14.el8ev) and RHEL 8.3 installed. - 3 hosts with RHV 4.4.5-3 and RHEL 8.3, 3 hosts with vdsm-4.40.50.3-1.el8ev Steps: 1. Create a 4.5 data center and a 4.5 cluster. 2. Install the host and create a new NFS storage domain. 3. Import a RHEL 8.3 template from glance 4. Send a post request to https://{{engine_url}}/ovirt-engine/api/vmpools (The {{engine_url}} is replaced with the real engine's URL) with the body: <vm_pool> <name>VMPooll</name> <cluster id="349e49f4-2071-45a2-8363-0d538e9271c8" /> <template id="3a9215b8-2440-4434-b50f-6d080f32e8b6"/> </vm_pool> 5. Copy the vm_pool object from the response's body to a new request body and change the pool size to a larger size like 5. 6. Send a put request to https://{{engine_url}}/ovirt-engine/api/vmpools/{{VM_POOL_ID}} (The {{engine_url}} is replaced with the real engine's URL and the {{VM_POOL_ID}} is replaced with the pool id from the pool creation response) and set the body to the body from step 5. Results (As Expected): Actual results: 1. The 4.5 data center and the 4.5 cluster were created. 2. The host was installed and the NFS storage domain was created. 3. The template was imported. 4. The pool was created successfully. 5. I have copied the vm_pool object from the response's body into a new request's body. 6. The pool was updated to the size I specified. This bugzilla is included in oVirt 4.4.5 release, published on March 18th 2021. Since the problem described in this bug report should be resolved in oVirt 4.4.5 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |