Ask Your Question
0

Booting VM from cinder volume

asked 2013-03-12 22:39:52 -0600

vulzscht gravatar image

Hi

I'm trying to launch instance from cinder volume both image and volume are available root@vm0:~# glance image-list +--------------------------------------+-----------+-------------+------------------+-----------+--------+ | ID | Name | Disk Format | Container Format | Size | Status | +--------------------------------------+-----------+-------------+------------------+-----------+--------+ | d9cb5380-30c7-4785-9537-e03452634f54 | Ubuntu 12 | qcow2 | bare | 251068416 | active | +--------------------------------------+-----------+-------------+------------------+-----------+--------+ root@vm0:~# cinder list +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ | ID | Status | Display Name | Size | Volume Type | Bootable | Attached to | +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ | ba7cbc34-f07a-4514-be69-8a49ce8b5fa4 | available | Ubuntu 12 | 6 | root | true | | +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+

but when executing nova boot --flavor 1 --image d9cb5380-30c7-4785-9537-e03452634f54 --block-device-mapping vda=ba7cbc34-f07a-4514-be69-8a49ce8b5fa4 --security_groups=default --key_name default DEMO_VM0

i'm getting the following error in cinder logs (nova logs says that server not capable of perform the operation (HTTP 500))

2013-03-13 02:21:01.341 INFO cinder.api.openstack.wsgi [req-f3a5b935-8003-4d4f-b53e-0326e8fb858d 2cd01fb6c2e0438688c486069a991c3b 8fe12af3d57b4968b33d819ee82646f4] POST http://192.168.10.103:8776/v1/8fe12af3d57b4968b33d819ee82646f4/volumes/ba7cbc34-f07a-4514-be69-8a49ce8b5fa4/action (http://192.168.10.103:8776/v1/8fe12af...) 2013-03-13 02:21:01.383 ERROR cinder.api.middleware.fault [req-f3a5b935-8003-4d4f-b53e-0326e8fb858d 2cd01fb6c2e0438688c486069a991c3b 8fe12af3d57b4968b33d819ee82646f4] Caught error: Remote error: IOError [Errno 13] Permission denied: u'/usr/lib/python2.7/dist-packages/cinder/openstack/cinder-ba7cbc34-f07a-4514-be69-8a49ce8b5fa4' [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/amqp.py", line 275, in _process_data\n rval = self.proxy.dispatch(ctxt, version, method, *args)\n', u' File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/dispatcher.py", line 145, in dispatch\n return getattr(proxyobj, method)(ctxt, *kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 526, in attach_volume\n return do_attach()\n', u' File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/lockutils.py", line 214, in inner\n with lock:\n', u' File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/lockutils.py", line 74, in __enter__\n self.lockfile = open(self.fname, \'w\')\n', u"IOError: [Errno 13] Permission denied: u'/usr/lib/python2.7/dist-packages/cinder/openstack/cinder-ba7cbc34-f07a-4514-be69-8a49ce8b5fa4'\n"]. 2013-03-13 02:21:01.383 1549 TRACE cinder.api.middleware.fault Traceback (most recent call last): 2013-03-13 02:21:01.383 1549 TRACE cinder.api.middleware.fault File "/usr/lib/python2.7/dist-packages/cinder/api/middleware/fault.py", line 73, in __call__ 2013-03-13 02:21:01.383 1549 TRACE cinder.api.middleware.fault return req.get_response(self.application) 2013-03-13 02:21:01.383 1549 TRACE cinder.api.middleware.fault File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send 2013-03-13 02:21:01.383 1549 TRACE cinder.api.middleware.fault application, catch_exc_info=False) 2013-03-13 02:21:01.383 1549 TRACE cinder.api.middleware.fault File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application 2013-03-13 02:21:01.383 1549 TRACE cinder.api.middleware.fault app_iter = application(self.environ, start_response) 2013-03-13 02:21:01.383 1549 TRACE cinder.api.middleware.fault File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__ 2013-03-13 02:21:01.383 1549 TRACE cinder.api.middleware.fault return resp(environ, start_response) 2013-03-13 02:21:01.383 1549 TRACE cinder.api.middleware.fault File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 328, in __call__ 2013-03-13 02:21 ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-03-14 19:09:57 -0600

vulzscht gravatar image

i'm converting this question into bug since no response received

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-03-12 22:39:52 -0600

Seen: 101 times

Last updated: Mar 14 '13