[Openstack] "keystone service-create/endpoint-create" for cinder

Vishvananda Ishaya vishvananda at gmail.com
Tue Nov 6 02:22:41 UTC 2012


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 at coraid.com> 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 at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121105/ea32bfd6/attachment.html>


More information about the Openstack mailing list