Ask Your Question
0

How does OpenStack CLI determine which api version to use ?

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

anonymous user

Anonymous

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

Comments

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
0

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 39 times

Last updated: May 11