Ask Your Question

How does OpenStack CLI determine which api version to use ?

asked 2020-05-08 07:48:10 -0500

anonymous user


updated 2020-05-11 06:10:37 -0500

Hello , how does OpenStack CLI determine which api version to use ? currently my osc cli is defaulting to version 2.

How can I make sure it uses the latest api version?

Edit : My RC file is fine , it has v3 as endpoint. What I mean by version is api microversion. For eg. v2.15 etc etc. There are some commands where --os-compute-api-version is needed in openstackclient but not needed in nova client.

edit retag flag offensive close merge delete


If your endpoints have v3 api enabled you can just update your rc scripts or however you source your credentials to point to the v3 endpoint.

eblock gravatar imageeblock ( 2020-05-08 10:15:50 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2020-05-08 13:54:55 -0500

In your RC file update url with /v3 instead of v2 Source it again

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2020-05-08 07:48:10 -0500

Seen: 220 times

Last updated: May 11 '20