<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hi Vish,</div><div><br></div><div>Thank you for your response. I am running into another issue while restarting the cinder-volume and cinder-api:</div><div><br></div><div><div>root@bodega:~/ahmed/cinder# service cinder-api restart</div><div>stop: Unknown instance: </div><div>cinder-api start/running, process 25761</div><div>root@bodega:~/ahmed/cinder# </div></div><div><br></div><div>I looked at the "/etc/init.d/cinder-api" file, and I see a "stop" action define in there. Any idea why I am getting this error? Is cinder-api restarted even with the error.</div><div><br></div><div>Thank you,</div><div>Ahmed.</div><div><br></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Vishvananda Ishaya <<a href="mailto:vishvananda@gmail.com">vishvananda@gmail.com</a>><br><span style="font-weight:bold">Date: </span> Monday, November 5, 2012 7:22 PM<br><span style="font-weight:bold">To: </span> Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com">ahmed@coraid.com</a>><br><span style="font-weight:bold">Cc: </span> "<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>" <<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br><span style="font-weight:bold">Subject: </span> Re: [Openstack] "keystone service-create/endpoint-create" for cinder<br></div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
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.
<div><br></div><div>Vish</div><div><br><div><div>On Nov 5, 2012, at 5:26 PM, Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com">ahmed@coraid.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif; "><div>Hello,</div><div><br></div><div>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.</div><div><pre class="screen" style="border-bottom-color: rgb(222, 222, 222) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-top-color: rgb(222, 222, 222) !important; border-top-style: solid !important; border-top-width: 1px !important; color: rgb(35, 48, 45); display: block; font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; margin: 1em 0px !important; overflow-x: scroll; padding: 0.5em !important; width: 800px; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">$ keystone --os-token 012345SECRET99TOKEN012345 \ --os-endpoint <a href="http://192.168.206.130:35357/v2.0/">http://192.168.206.130:35357/v2.0/</a> \
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 <a href="http://192.168.206.130:35357/v2.0/">http://192.168.206.130:35357/v2.0/</a> \
endpoint-create \
--region RegionOne \
--service-id=1ff4ece13c3e48d8a6461faebd9cd38f \
--publicurl='<a href="http://192.168.206.130:8776/v1/%(tenant_id)s'">http://192.168.206.130:8776/v1/%(tenant_id)s'</a> \
--internalurl='<a href="http://192.168.206.130:8776/v1/%(tenant_id)s'">http://192.168.206.130:8776/v1/%(tenant_id)s'</a> \
--adminurl='<a href="http://192.168.206.130:8776/v1/%(tenant_id)s'">http://192.168.206.130:8776/v1/%(tenant_id)s'</a>
+-------------+----------------------------------------------+
| Property | Value |
+-------------+----------------------------------------------+
| adminurl | <a href="http://192.168.206.130:8776/v1/%(tenant_id)s">http://192.168.206.130:8776/v1/%(tenant_id)s</a> |
| id | 1ff4ece13c3e48d8a6461faebd9cd38f |
| internalurl | <a href="http://192.168.206.130:8776/v1/%(tenant_id)s">http://192.168.206.130:8776/v1/%(tenant_id)s</a> |
| publicurl | <a href="http://192.168.206.130:8776/v1/%(tenant_id)s">http://192.168.206.130:8776/v1/%(tenant_id)s</a> |
| region | RegionOne |
| service_id | 8a70cd235c7d4a05b43b2dffb9942cc0 |
+-------------+----------------------------------------------+
</pre></div><div><br></div><div>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?</div><div><br></div><div>Thank you,</div><div>Ahmed.</div></div>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>
More help : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></div></div></blockquote></span></body></html>