Ask Your Question
0

Cannot attach volume to instance

asked 2014-11-04 08:15:33 -0600

iqbal gravatar image

Hello stackers,

I try to install block storage, but the volume cannot attach to instance. I'm pretty sure, I followed all instructions but compute node got error

    2014-11-04 17:25:05.265 20896 ERROR oslo.messaging.rpc.dispatcher [req-c9a73cff-03f4-4475-8f71-45f066407376 ] Exception during message handling: iSCSI device not found at /dev/disk/by-path/ip-10.10.10.1:3260-iscsi-iqn.2010-10.org.openstack:volume-98600992-0642-428a-8e3e-4486234455b2-lun-1
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 414, in decorated_function
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 88, in wrapped
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher     payload)
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 82, in __exit__
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 71, in wrapped
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher     return f(self, context, *args, **kw)
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 298, in decorated_function
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher     pass
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 82, in __exit__
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 284, in decorated_function
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
2014-11-04 17:25:05.265 20896 TRACE oslo.messaging ...
(more)
edit retag flag offensive close merge delete

Comments

What OS are you running ?

dbaxps gravatar imagedbaxps ( 2014-11-04 08:30:09 -0600 )edit

Ubuntu 14.04 and Openstack Juno

iqbal gravatar imageiqbal ( 2014-11-04 08:34:04 -0600 )edit

If reboot LVM Storage node (whatever node it be , just Controller) are you able to resume suspended instances with LVMiSCSI cinder backend ?

dbaxps gravatar imagedbaxps ( 2014-11-04 08:48:58 -0600 )edit

I'm not sure about "instances with LVMiSCSI cinder backend", but i cannot boot instance with volume too, with same error iSCSI device not found at /dev/disk/by-path/...

iqbal gravatar imageiqbal ( 2014-11-04 09:00:41 -0600 )edit

Btw my controller node use ubuntu 14.04 but my compute node use ubuntu 14.10, that is problem?

iqbal gravatar imageiqbal ( 2014-11-04 09:17:40 -0600 )edit

3 answers

Sort by ยป oldest newest most voted
0

answered 2014-11-06 03:18:47 -0600

Restart the tgt service and check once again.

service tgt restart

edit flag offensive delete link more
0

answered 2014-11-05 19:53:21 -0600

iqbal gravatar image

My block storage work fine after downgrade from ubuntu 14.10 to 14.04 with same setting on my compute node...

Thank You All, really appreciate your help

edit flag offensive delete link more
0

answered 2014-11-04 15:00:54 -0600

dbaxps gravatar image

View http://docs.openstack.org/trunk/insta...
Make sure service tgt is running on Storage Node

edit flag offensive delete link more

Comments

Pretty sure tgt is running on storage node

iqbal gravatar imageiqbal ( 2014-11-04 20:08:36 -0600 )edit

@iqbal - Please refrain from posting basic install guide links under the guise of "an answer" . I'm fairly sure everyone here knows how to bounce the cinder and tgt services and then check the log.

JoeSmith gravatar imageJoeSmith ( 2014-11-05 08:58:05 -0600 )edit

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: 2014-11-04 08:15:33 -0600

Seen: 1,550 times

Last updated: Nov 06 '14