Unable to create server group with soft-anti-affinity policy using microversion 2.15
Bug #1732938 reported by
Matt Riedemann
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Undecided
|
Matt Riedemann |
Bug Description
The compute API microversion 2.15 adds the soft-affinity and soft-anti-affinity policies to the server groups API, however, even when requesting to create a server group via OSC using microversion 2.15 it fails because OSC hard-codes the policy choices:
http://
OSC should arguably either (1) check that a microversion is requested and update the choices on the fly or (2) remove the hard-coded list of choices and just let the server handle a bad request for an unsupported policy.
Changed in python-openstackclient: | |
assignee: | nobody → Matt Riedemann (mriedem) |
To post a comment you must log in.
OSC does most of its value checking for help purposes, and to fail a tiny bit faster. I'd be OK with just removing the value checks for the current version and doing the Right Thing in OSC4