Ask Your Question
0

can't attach volume to an instance

asked 2013-02-26 16:43:52 -0500

shlomis gravatar image

Hi,

Installed latest OpenStack using Devstack script on Ubuntu 12.04.2 LTS (3.5.0-23-generic). And another host (RHEL6.3_x64) with "Nova-Compute" taken from Github, also tried "nova-2013.1.g3". manage to create a volume via Dashboard, but, when trying to attach the volume to an instance getting the below error from the nova-compute side. On the Dashboard, the volume's status "stuck" on "Attaching" and from "cinder-volume.log": 2013-02-26 18:12:37.705 INFO cinder.volume.manager [req-7ff0cf1f-f7b8-410e-992b-27cbd4c3390d c3d9f4727ef04cb3b477727aa79fdf98 ae257cccf0b5491baa33e740c3b6b987] volume volume-a294b599-6d71-4bf6-8a30-d0a6cf39254f: creating 2013-02-26 18:12:38.060 INFO cinder.volume.iscsi [req-7ff0cf1f-f7b8-410e-992b-27cbd4c3390d c3d9f4727ef04cb3b477727aa79fdf98 ae257cccf0b5491baa33e740c3b6b987] Creating volume: volume-a294b599-6d71-4bf6-8a30-d0a6cf39254f 2013-02-26 18:12:38.766 INFO cinder.volume.manager [req-7ff0cf1f-f7b8-410e-992b-27cbd4c3390d c3d9f4727ef04cb3b477727aa79fdf98 ae257cccf0b5491baa33e740c3b6b987] Clear capabilities 2013-02-26 18:13:15.485 INFO cinder.volume.manager [-] Updating volume status 2013-02-26 18:14:15.674 INFO cinder.volume.manager [-] Updating volume status 2013-02-26 18:15:15.874 INFO cinder.volume.manager [-] Updating volume status 2013-02-26 18:16:16.125 INFO cinder.volume.manager [-] Updating volume status 2013-02-26 18:17:16.318 INFO cinder.volume.manager [-] Updating volume status . .. ...

from "/var/log/nova.log": 2013-02-26 18:13:28.843 DEBUG nova.virt.libvirt.driver [req-11a0138e-95d9-4b0a-819a-246b7a85a168 admin admin] Updating host stats from (pid=11333) update_status /usr/lib/python2.6/site-packages/nova-2013.1.g3-py2.6.egg/nova/virt/libvirt/driver.py:3602 2013-02-26 18:13:28.943 DEBUG nova.openstack.common.lockutils [req-11a0138e-95d9-4b0a-819a-246b7a85a168 admin admin] Got semaphore "compute_resources" for method "update_usage"... from (pid=11333) inner /usr/lib/python2.6/site-packages/nova-2013.1.g3-py2.6.egg/nova/openstack/common/lockutils.py:185 2013-02-26 18:13:28.944 DEBUG nova.openstack.common.rpc.amqp [req-11a0138e-95d9-4b0a-819a-246b7a85a168 admin admin] Making synchronous call on conductor ... from (pid=11333) multicall /usr/lib/python2.6/site-packages/nova-2013.1.g3-py2.6.egg/nova/openstack/common/rpc/amqp.py:541 2013-02-26 18:13:28.945 DEBUG nova.openstack.common.rpc.amqp [req-11a0138e-95d9-4b0a-819a-246b7a85a168 admin admin] MSG_ID is c3ca18a781d14b9295f21d756b55c124 from (pid=11333) multicall /usr/lib/python2.6/site-packages/nova-2013.1.g3-py2.6.egg/nova/openstack/common/rpc/amqp.py:544 2013-02-26 18:13:29.115 ERROR nova.openstack.common.rpc.amqp [req-11a0138e-95d9-4b0a-819a-246b7a85a168 admin admin] Exception during message handling 2013-02-26 18:13:29.115 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last): 2013-02-26 18:13:29.115 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova-2013.1.g3-py2.6.egg/nova/openstack/common/rpc/amqp.py", line 393, in _process_data 2013-02-26 18:13:29.115 TRACE nova.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, *args) 2013-02-26 18:13:29.115 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova-2013.1.g3-py2.6.egg/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch 2013-02-26 18:13:29.115 TRACE nova.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, *kwargs) 2013-02-26 18:13:29.115 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova-2013.1.g3-py2.6.egg/nova/exception.py", line 109, in wrapped 2013-02-26 18:13:29.115 ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-03-03 11:46:45 -0500

shlomis gravatar image

The ABOVE problem was solved after installing "requests-0.14.2" on the RH node.

afterwards received this error: 2013-02-28 13:44:14.296 DEBUG nova.openstack.common.lockutils [req-928f0f70-cf4b-44fa-9ff7-0b6bcbf966b8 admin admin] Got semaphore "compute_resources" for method "update_usage"... from (pid=13631) inner /usr/lib/python2.6/site-packages/nova-2013.1.g3-py2.6.egg/nova/openstack/common/lockutils.py:185 2013-02-28 13:44:14.298 DEBUG nova.openstack.common.rpc.amqp [req-928f0f70-cf4b-44fa-9ff7-0b6bcbf966b8 admin admin] Making synchronous call on conductor ... from (pid=13631) multicall /usr/lib/python2.6/site-packages/nova-2013.1.g3-py2.6.egg/nova/openstack/common/rpc/amqp.py:541 2013-02-28 13:44:14.298 DEBUG nova.openstack.common.rpc.amqp [req-928f0f70-cf4b-44fa-9ff7-0b6bcbf966b8 admin admin] MSG_ID is c8fd99a1b47f431f9cb77a3241477aff from (pid=13631) multicall /usr/lib/python2.6/site-packages/nova-2013.1.g3-py2.6.egg/nova/openstack/common/rpc/amqp.py:544 2013-02-28 13:44:14.470 ERROR nova.openstack.common.rpc.amqp [req-928f0f70-cf4b-44fa-9ff7-0b6bcbf966b8 admin admin] Exception during message handling 2013-02-28 13:44:14.470 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last): 2013-02-28 13:44:14.470 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova-2013.1.g3-py2.6.egg/nova/openstack/common/rpc/amqp.py", line 393, in _process_data 2013-02-28 13:44:14.470 TRACE nova.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, *args) 2013-02-28 13:44:14.470 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova-2013.1.g3-py2.6.egg/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch 2013-02-28 13:44:14.470 TRACE nova.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, *kwargs) 2013-02-28 13:44:14.470 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova-2013.1.g3-py2.6.egg/nova/exception.py", line 109, in wrapped 2013-02-28 13:44:14.470 TRACE nova.openstack.common.rpc.amqp temp_level, payload) 2013-02-28 13:44:14.470 TRACE nova.openstack.common.rpc.amqp File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__ 2013-02-28 13:44:14.470 TRACE nova.openstack.common.rpc.amqp self.gen.next() 2013-02-28 13:44:14.470 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova-2013.1.g3-py2.6.egg/nova/exception.py", line 88, in wrapped 2013-02-28 13:44:14.470 TRACE nova.openstack.common.rpc.amqp return f(self, context, args, *kw) 2013-02-28 13:44:14.470 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova-2013.1.g3-py2.6.egg/nova/compute/manager.py", line 207, in decorated_function 2013-02-28 13:44:14.470 TRACE nova.openstack.common.rpc.amqp pass 2013-02-28 13:44:14.470 TRACE nova.openstack.common.rpc.amqp File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__ 2013-02-28 13:44:14.470 TRACE nova.openstack.common.rpc.amqp self.gen.next() 2013-02-28 13:44:14.470 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova-2013.1.g3-py2.6.egg/nova/compute/manager.py", line 193, in ... (more)

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-02-26 16:43:52 -0500

Seen: 71 times

Last updated: Mar 03 '13