wtxnpw 发表于 2018-6-2 08:10:55

解决openstack volume api版本问题

  # 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
  

  

  在环境变量里把volume的API设置成2
  # export OS_VOLUME_API_VERSION=2
  

  再次执行查看列表
  # cinder list
  +----+--------+------+------+-------------+----------+-------------+
  | ID | Status | Name | Size | Volume Type | Bootable | Attached to |
  +----+--------+------+------+-------------+----------+-------------+
  +----+--------+------+------+-------------+----------+-------------+
  
页: [1]
查看完整版本: 解决openstack volume api版本问题