Bug 1349382
Summary: | Configuring Ballooning device for VM pools from SDK does not work | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Barak Korren <bkorren> | ||||
Component: | Backend.Core | Assignee: | Tomas Jelinek <tjelinek> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Liran Rotenberg <lrotenbe> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 3.6.7 | CC: | bkorren, bugs, juan.hernandez, mgoldboi, michal.skrivanek, shavivi, tjelinek | ||||
Target Milestone: | ovirt-4.2.0 | Keywords: | Reopened | ||||
Target Release: | 4.2.0 | Flags: | rule-engine:
ovirt-4.2+
rule-engine: planning_ack+ rule-engine: devel_ack+ rule-engine: testing_ack+ |
||||
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-12-20 11:44: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: | |||||||
Attachments: |
|
Can you please enable debug, and send debug log of your script? You can enable debug as follows: ... ovirt = API( url='engine.example.com', username='admin@internal', password='password', insecure=True, debug=True, ) ... The problem is in the engine, as it doesn't accept or report the ballooning element. Once it is fixed in the engine the SDK will work correctly without any modification. *** This bug has been marked as a duplicate of bug 1348468 *** Reopening, since bz1348468 fix the fetching of the device, This bug should fix setting the values in the engine as well in the api removing needinfo as all info was probably gathered elsewhere Can this be moved to MODIFIED, or additional patches are expected? thats all Verified on: 4.2.0-0.0.master.20171025204923.git6f4cbc5.el7.centos Steps of verification: 1. Run the script attached. Result: Script output: Adding VM with Ballooning enabled Adding VM with Ballooning disabled Adding VM pool with Ballooning enabled Adding VM pool with Ballooning disabled Printing which VM has what: balltest_pool_with-1 4294967296 2147483648 True balltest_pool_without-1 4294967296 2147483648 False balltest_vm_with 4294967296 2147483648 True balltest_vm_without 4294967296 2147483648 False The ballooning device for the pool VMs gets configured as it passed on the VM parameters structure. 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. |
Created attachment 1171430 [details] reproducing script Description of problem: When creating a VM pool from the SDK, the ballooning device for the pool VMs gets configured as 'disabled' no matter what is passed on the VM parameters structure Version-Release number of selected component (if applicable): engine: 3.6.7-0.1.el6 sdk: 3.6.2.1-2 How reproducible: A reproducing script attached