Specifying API version in clouds.yaml doesn't always work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
New
|
Undecided
|
Unassigned |
Bug Description
I suspect this is user error but filing this since it seems to be a bug.
All all of our nodes support a Compute API of 2.90, I was hoping we could use `clouds.yaml` to indicate that to avoid needing to pass `--os-compute-
However, using a `clouds.yaml` file of the form
clouds:
mycloud:
auth:
.
.
compute_
doesn't seem to work in that if I try the command
openstack --os-cloud mycloud server migrate --live-migration --host newhost --wait <uuid>
I get the error
--os-
The code in question from MigrateServer's take_action() method,
if (
):
)
If I actually specify this via the CLI, --os-compute-