O3L 2.0: Error when try to access cinder from openstack CLI: "ERROR: OpenStack Block Storage API version is set to 1 but you are accessing a 2 endpoint."

(Doc ID 2096486.1)

Last updated on NOVEMBER 23, 2017

Applies to:

Oracle OpenStack for Oracle Linux - Version OpenStack 2.0.1 and later
Linux x86-64

Symptoms

After created and sourced keystone authentication RC file to populate environment variables following Doc ID 2085424.1, error when try to access cinder from openstack CLI:

[root@o3lr2ctlr1 ~(keystone_admin)]$ docker-ostk cinder list
ERROR: OpenStack Block Storage API version is set to 1 but you are accessing a 2 endpoint. Change its value through --os-volume-api-version or env[OS_VOLUME_API_VERSION].

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms