1
josephok 2018-08-27 12:28:46 +08:00 via Android
Endpoint-list 看一下结果
|
2
onetown 2018-08-27 12:37:32 +08:00
endpoint 里没有设置 v2.1, 你使用 openstack-pythonclient 看一下 endpoint, "openstack endpoint list", 看看有没有 blockstorage 2.1 的 endpoint, 没有的话, 看文档加一下。
|
3
winjohn OP +----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------------------+
| ID | Region | Service Name | Service Type | Enabled | Interface | URL | +----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------------------+ | 0ee60668ed4f4904a920065143fc8d39 | RegionOne | glance | image | True | admin | http://10.10.110.11:9292 | | 169722bb62404e7dbfa3b4e720a33972 | RegionOne | nova | compute | True | public | http://10.10.110.11:8774/v2.1/%(tenant_id)s | | 1a36ff77f36542ebbe63fc2e260fff0c | RegionOn | keystone | identity | True | internal | http://10.10.110.11:35357/v3/ | | 240b4799f209491984e8a4466ab51adc | RegionOne | cinderv2 | volumev2 | True | admin | http://10.10.110.11:8776/v2.1/%(tenant_id)s | | 2beb7b32b5d547bab7bd4d8b60f9b7ca | RegionOne | neutron | network | True | internal | http://10.10.110.11:9696 | | 366dee29ca034bf9bcbf02c6331b68c9 | RegionOn | keystone | identity | True | public | http://10.10.110.11:5000/v3/ | | 39d7bfb4ea9b416294cbe4b745c5571e | RegionOn | keystone | identity | True | admin | http://10.10.110.11:35357/v3/ | | 4c312fa01c444b3db3dc9a5dd35c366c | RegionOne | cinder | volume | True | admin | http://10.10.110.11:8776/v2.1/%(tenant_id)s | | 50160c66612f4549ba09f6df9b4db847 | RegionOne | cinder | volume | True | internal | http://10.10.110.11:8776/v2.1/%(tenant_id)s | | 50a39de690404816a450a1cf597483b8 | RegionOne | cinderv2 | volumev2 | True | internal | http://10.10.110.11:8776/v2.1/%(tenant_id)s | | 68de45ead00747289c273140c226f985 | RegionOne | cinderv2 | volumev2 | True | public | http://10.10.110.11:8776/v2.1/%(tenant_id)s | | 6ee47039a3264c6b98bae7d83057e809 | RegionOne | glance | image | True | internal | http://10.10.110.11:9292 | | 7fce3bed69714d5d9232521a1f55a486 | RegionOne | nova | compute | True | internal | http://10.10.110.11:8774/v2.1/%(tenant_id)s | | 88219dab998a42a3b3a0841d678a5abc | RegionOne | neutron | network | True | admin | http://10.10.110.11:9696 | | 96bca0aff21647828863489fefc6902c | RegionOne | glance | image | True | public | http://10.10.110.11:9292 | | a9ec047eb7d8491c829262be5695e771 | RegionOne | neutron | network | True | public | http://10.10.110.11:9696 | | d93d7b87abab4514a4d22dc96e30e6a9 | RegionOne | neutron | network | True | admin | http://10.10.110.11:9696 | | db441726b4f640908dd4adaf3927a9c4 | RegionOne | nova | compute | True | admin | http://10.10.110.11:8774/v2.1/%(tenant_id)s | | f5ffeb9ec3764e608d52bcb757252991 | RegionOne | cinder | volume | True | public | http://10.10.110.11:8776/v2.1/%(tenant_id)s | @josephok @onetown 二位老铁,我这里是注册过对应的 cinder 项目的,但是从 404 的结果来看,不知道为啥请求到 /v2.1/ec44c767e80449db9c8ca76b9046f5cc/这个不存在的去了?请帮忙看看是哪里的问题。 |
4
onetown 2018-08-27 13:50:43 +08:00
cinder 后面带个--os-volume-api-version=v2 试试, 好久没用 openstack, 不太记得怎么弄了
|