Volume can not attache in linux instance

asked 2012-07-15 12:15:44 -0500

eelilei gravatar image

When I attche a volume to a linux instance, the log of nova-compute output that: 2012-07-15 20:10:01 AUDIT nova.compute.manager [req-3442f582-84a0-45e8-ab2b-b4e19991c309 6e0e80b8cfd44405827cebe6c10378a6 9815531badab45a2a1b27f14ec9a5497] [instance: 8dfbb4f2-246e-4286-be07-338c8a876876] Attaching volume 215b4b89-0127-4cbe-b09b-be5b770d7a2b to /dev/vdc 2012-07-15 20:10:03 INFO nova.virt.libvirt.driver [-] Compute_service record updated for op3 2012-07-15 20:10:03 INFO nova.compute.manager [-] Updating host status 2012-07-15 20:10:03 WARNING nova.virt.libvirt.volume [req-3442f582-84a0-45e8-ab2b-b4e19991c309 6e0e80b8cfd44405827cebe6c10378a6 9815531badab45a2a1b27f14ec9a5497] ISCSI volume not yet found at: vdc. Will rescan & retry. Try number: 0 2012-07-15 20:10:17 ERROR nova.compute.manager [req-3442f582-84a0-45e8-ab2b-b4e19991c309 6e0e80b8cfd44405827cebe6c10378a6 9815531badab45a2a1b27f14ec9a5497] [instance: 8dfbb4f2-246e-4286-be07-338c8a876876] Failed to attach volume 215b4b89-0127-4cbe-b09b-be5b770d7a2b at /dev/vdc 2012-07-15 20:10:17 TRACE nova.compute.manager [instance: 8dfbb4f2-246e-4286-be07-338c8a876876] Traceback (most recent call last): 2012-07-15 20:10:17 TRACE nova.compute.manager [instance: 8dfbb4f2-246e-4286-be07-338c8a876876] File "/usr/local/lib/python2.7/dist-packages/nova-2012.2-py2.7.egg/nova/compute/manager.py", line 1816, in attach_volume 2012-07-15 20:10:17 TRACE nova.compute.manager [instance: 8dfbb4f2-246e-4286-be07-338c8a876876] mountpoint) 2012-07-15 20:10:17 TRACE nova.compute.manager [instance: 8dfbb4f2-246e-4286-be07-338c8a876876] File "/usr/local/lib/python2.7/dist-packages/nova-2012.2-py2.7.egg/nova/exception.py", line 117, in wrapped 2012-07-15 20:10:17 TRACE nova.compute.manager [instance: 8dfbb4f2-246e-4286-be07-338c8a876876] temp_level, payload) 2012-07-15 20:10:17 TRACE nova.compute.manager [instance: 8dfbb4f2-246e-4286-be07-338c8a876876] File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ 2012-07-15 20:10:17 TRACE nova.compute.manager [instance: 8dfbb4f2-246e-4286-be07-338c8a876876] self.gen.next() 2012-07-15 20:10:17 TRACE nova.compute.manager [instance: 8dfbb4f2-246e-4286-be07-338c8a876876] File "/usr/local/lib/python2.7/dist-packages/nova-2012.2-py2.7.egg/nova/exception.py", line 92, in wrapped 2012-07-15 20:10:17 TRACE nova.compute.manager [instance: 8dfbb4f2-246e-4286-be07-338c8a876876] return f(args, *kw) 2012-07-15 20:10:17 TRACE nova.compute.manager [instance: 8dfbb4f2-246e-4286-be07-338c8a876876] File "/usr/local/lib/python2.7/dist-packages/nova-2012.2-py2.7.egg/nova/virt/libvirt/driver.py", line 633, in attach_volume 2012-07-15 20:10:17 TRACE nova.compute.manager [instance: 8dfbb4f2-246e-4286-be07-338c8a876876] raise 2012-07-15 20:10:17 TRACE nova.compute.manager [instance: 8dfbb4f2-246e-4286-be07-338c8a876876] TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType 2012-07-15 20:10:17 TRACE nova.compute.manager [instance: 8dfbb4f2-246e-4286-be07-338c8a876876] 2012-07-15 20:10:17 ERROR nova.openstack.common.rpc.amqp [-] Exception during message handling 2012-07-15 20:10:17 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last): 2012-07-15 20:10:17 TRACE nova.openstack.common.rpc.amqp File "/usr/local/lib/python2.7/dist-packages/nova-2012.2-py2.7.egg/nova/openstack/common/rpc/amqp.py", line 275, in _process_data 2012-07-15 20:10:17 TRACE nova.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, *args) 2012-07-15 20:10:17 TRACE nova.openstack.common.rpc.amqp File "/usr/local/lib/python2.7/dist-packages/nova-2012.2-py2.7.egg/nova/openstack/common/rpc/dispatcher.py", line 145, in dispatch 2012-07-15 20:10:17 TRACE nova.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, *kwargs) 2012-07-15 20:10:17 TRACE nova.openstack.common.rpc.amqp File "/usr/local/lib/python2.7/dist-packages/nova-2012.2-py2.7.egg/nova/exception.py", line 117 ... (more)

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2012-07-16 13:06:08 -0500

eelilei gravatar image

Hi,I find the log of nova has no error.And the version is F-2.

edit flag offensive delete link more
0

answered 2012-07-20 08:30:41 -0500

eelilei gravatar image

I sloved the problem by Mr Dong. It need modprobe acpihphp in instance.

edit flag offensive delete link more
0

answered 2012-07-15 21:38:21 -0500

koolhead17 gravatar image

Would you care to add more deatails.

--nova version --operating system --nova log files

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-07-15 12:15:44 -0500

Seen: 44 times

Last updated: Jul 20 '12