[Openstack] Folsom: boot from volume snapshot using nova.conf and not cinder?
Blair Zajac
blair at orcaware.com
Tue Jan 22 21:01:46 UTC 2013
On 01/22/2013 12:42 PM, Vishvananda Ishaya wrote:
>
> On Jan 22, 2013, at 12:32 PM, Blair Zajac <blair at orcaware.com> wrote:
>
>> /usr/bin/nova-volume
>
>
> The wrong bin is running. You should be running /usr/bin/cinder-volume if you are using cinder.
>
> It doesn't look like you have configured cinder properly.
The only changes I made to cinder from the package's defaults are:
--- api-paste.ini.FCS 2012-09-25 17:48:54.000000000 -0700
+++ api-paste.ini 2013-01-20 20:18:52.838007722 -0800
@@ -46,6 +46,6 @@
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
-admin_tenant_name = %SERVICE_TENANT_NAME%
-admin_user = %SERVICE_USER%
-admin_password = %SERVICE_PASSWORD%
+admin_tenant_name = service
+admin_user = cinder
+admin_password = pass
--- cinder.conf.FCS 2012-10-09 07:01:53.000000000 -0700
+++ cinder.conf 2013-01-21 22:29:05.171401104 -0800
@@ -1,5 +1,6 @@
[DEFAULT]
rootwrap_config = /etc/cinder/rootwrap.conf
+sql_connection = mysql://cinder:pass@localhost/cinder
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
I did a grep looking for nova-volume in etc and this is what was found,
nothing in cinder.
$ find /etc -type f -print0 | xargs -0 grep nova-volume
/etc/default/nova-volume:# nova-volume default vg to use.
/etc/default/nova-volume:# If nothing is set here, then nova-volume will
pickup the
/etc/init/nova-volume.conf:exec su -s /bin/sh -c "exec nova-volume
--config-file=/etc/nova/nova.conf" nova
/etc/logrotate.d/nova-volume:/var/log/nova/nova-volume.log {
So I don't know where it's picking up /usr/bin/nova-volume. The stack
is appearing in nova-volume.log, which shouldn't have anything in it if
I'm using cider???
Blair
More information about the Openstack
mailing list