解决openstack volume api版本问题

[root@os-node1 ~]# cinder list

ERROR: Volume API version is set to 1 but you are accessing a 2 endpoint. Change its value via either --os-volume-api-version or env[OS_VOLUME_API_VERSION]



在环境变量里把volume的API设置成2

[root@os-node1 ~]# export OS_VOLUME_API_VERSION=2


再次执行查看列表

[root@os-node1 ~]# cinder list

+----+--------+------+------+-------------+----------+-------------+

| ID | Status | Name | Size | Volume Type | Bootable | Attached to |

+----+--------+------+------+-------------+----------+-------------+

+----+--------+------+------+-------------+----------+-------------+


本文出自 “zhanguo1110” 博客,请务必保留此出处http://zhanguo1110.blog.51cto.com/5750817/1543260

解决openstack volume api版本问题,布布扣,bubuko.com

解决openstack volume api版本问题

上一篇:RESTful API 设计指南


下一篇:sphinx在windows下的简单安装与使用