Invalid API version parameter. Supported values are [1, 2] in OpenStack Glance -


after install glance, when execute the:

[root@ha-node1 ~]# glance image-create --name "cirros-0.3.4-x86_64" --file cirros-0.3.4-x86_64-disk.img --disk-format qcow2 --container-format bare --visibility public --progress 

i below error:

invalid api version parameter. supported values [1, 2] 

and if use glance image-list error too:

[root@ha-node1 ~]# glance image-list  invalid api version parameter. supported values [1, 2] 

and in /root/admin-openrc:

export os_user_domain_id=default export os_project_domain_id=default export os_username=admin export os_project_name=admin export os_password=passw0rd export os_identity_api_version=3 export os_auth_url=http://devops.taobao.com:35357/v3 export os_image_api_version=3 

i set os_image_api_version 3, why can not use api version 3 parameter

someone know why there error?

my openstack newton. vm centos 7.2

glance doesn't have v3 api. current api version 2.5, , newton supports 2.4. see image service versions additional details.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -