← Back to team overview

openstack team mailing list archive

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

 

you can't run nova volume and cinder but it uses all the same settings so you can use the same service entry. You just run cinder-api instead of nova-api-os-volume (or disable osapi_volume if you are using nova-api), run cinder-volume instead of nova-volume and run cinder-scheduler.

Vish

On Nov 5, 2012, at 5:26 PM, Ahmed Al-Mehdi <ahmed@xxxxxxxxxx> wrote:

> 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.
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References