Description of problem: A new RFE adds the option to create a stateful vm pool, RFE and test plan can be seen from: https://bugzilla.redhat.com/show_bug.cgi?id=1234394. As part of the RFE a stateful attribute should be added to API under vm_pool entity to provide user the option of creating a stateful pool via API as well as webadmin. That attribute is currently missing. Version-Release number of selected component (if applicable): rhevm-4.0.0.2-0.1.el7ev.noarch How reproducible: always Steps to Reproduce: option 1: 1. Create a vm pool via API add to pool's xml: <stateful>true</stateful> option 2: 2. Create a vm pool via webadmin, set pool to stateful (type sub-tab of new vm pool menu) 3. look at vm_pool entity xml with API Actual results: option 1: 400 Bad Request option 2: no stateful attribute exist in vm pool entity. Expected results: stateful attribute does exist.
v3 or v4 API?
As this is a new feature it will only be available in version 4 of the API. Note that as it isn't a backwards compatibility breaking change (adding a new attribute isn't) it can be also added to version 3 of the API, if deemed necessary.
included in the last released build of ovirt-4.0.0-rc3
Verified with rhevm-4.0.0.6-0.1.el7ev.noarch according to description. <stateful> flag exists in is set correctly in both cases true/false. flag doesn't exist when using api v3 as expected according to comment2.
oVirt 4.0.0 has been released, closing current release.