Revision history [back]

click to hide/show revision 1
initial version

[Block storage] keystone endpoint-create API issue

Hi, could you please explain me why i couldn't add api v2 ... but i also add api v1

when i try

keystone endpoint-create \
  --service-id $(keystone service-list | awk '/ volumev2 / {print $2}') \
  --publicurl http://controller:8776/v2/%\(tenant_id\)s \
  --internalurl http://controller:8776/v2/%\(tenant_id\)s \
  --adminurl http://controller:8776/v2/%\(tenant_id\)s \
  --region regionOne
+-------------+-----------------------------------------+
|   Property  |                  Value                  |
+-------------+-----------------------------------------+
|   adminurl  | http://controller:8776/v2/%(tenant_id)s |
|      id     |    097b4a6fc8ba44b4b10d4822d2d9e076     |
| internalurl | http://controller:8776/v2/%(tenant_id)s |
|  publicurl  | http://controller:8776/v2/%(tenant_id)s |
|    region   |                regionOne                |
|  service_id |    16e038e449c94b40868277f1d801edb5     |
+-------------+-----------------------------------------+

i get this image description

Thanks

[Block storage] keystone endpoint-create API issue

Hi, could you please explain me why i couldn't add api v2 ... but i also add api v1v1 without any problem.

when i try

keystone endpoint-create \
  --service-id $(keystone service-list | awk '/ volumev2 / {print $2}') \
  --publicurl http://controller:8776/v2/%\(tenant_id\)s \
  --internalurl http://controller:8776/v2/%\(tenant_id\)s \
  --adminurl http://controller:8776/v2/%\(tenant_id\)s \
  --region regionOne
+-------------+-----------------------------------------+
|   Property  |                  Value                  |
+-------------+-----------------------------------------+
|   adminurl  | http://controller:8776/v2/%(tenant_id)s |
|      id     |    097b4a6fc8ba44b4b10d4822d2d9e076     |
| internalurl | http://controller:8776/v2/%(tenant_id)s |
|  publicurl  | http://controller:8776/v2/%(tenant_id)s |
|    region   |                regionOne                |
|  service_id |    16e038e449c94b40868277f1d801edb5     |
+-------------+-----------------------------------------+

i get this image description

Thanks