← Back to team overview

openstack team mailing list archive

"keystone service-create/endpoint-create" for cinder

 

Hello,

I am trying to install cinder in my setup.  I already issued a "keystone service-create …" and "keystone endpoint-create …" for nova-volume service, but I plan to install and use cinder.

$ keystone --os-token 012345SECRET99TOKEN012345 \ --os-endpoint http://192.168.206.130:35357/v2.0/ \
service-create \
 --name=volume \
 --type=volume \
 --description="Nova Volume Service"


+-------------+----------------------------------+
|   Property  |              Value               |
+-------------+----------------------------------+
| description | Nova Volume Service              |
| id          | 1ff4ece13c3e48d8a6461faebd9cd38f |
| name        | volume                           |
| type        | volume                           |
+-------------+----------------------------------+

$ keystone --os-token 012345SECRET99TOKEN012345 \
 --os-endpoint http://192.168.206.130:35357/v2.0/ \
 endpoint-create \
 --region RegionOne \
 --service-id=1ff4ece13c3e48d8a6461faebd9cd38f \
 --publicurl='http://192.168.206.130:8776/v1/%(tenant_id)s' \
 --internalurl='http://192.168.206.130:8776/v1/%(tenant_id)s' \
 --adminurl='http://192.168.206.130:8776/v1/%(tenant_id)s'


+-------------+----------------------------------------------+
|   Property  |                   Value                      |
+-------------+----------------------------------------------+
| adminurl    | http://192.168.206.130:8776/v1/%(tenant_id)s |
| id          | 1ff4ece13c3e48d8a6461faebd9cd38f             |
| internalurl | http://192.168.206.130:8776/v1/%(tenant_id)s |
| publicurl   | http://192.168.206.130:8776/v1/%(tenant_id)s |
| region      | RegionOne                                    |
| service_id  | 8a70cd235c7d4a05b43b2dffb9942cc0             |
+-------------+----------------------------------------------+


I can easily perform a "keystone service-create …" for cinder, I am a bit confused about "endpoint-create".  What port number should I use for the admin/internal/public url?  If the same value as nova-volume, will there not be some sort of a conflict.  Should I remove/uninstall nova-volume?  Purge nova-volume from keystone?

Thank you,
Ahmed.

Follow ups