[Openstack] Problem with attaching disks to an instance

Shashank Sahni shredder12 at linuxers.org
Mon May 14 14:28:08 UTC 2012


Hi,

Thanks for the reply.

Yes, I've gone through the document. Volume creation and deletion are 
working perfectly fine. When I run "iscsiadm -m discovery -t st -p 
volume_node" on the compute node, I can see the volumes. But somehow the 
compute node is being misinformed about the volume node after giving the 
attach command.

I'm not using iscsitarget as per that document. Installation of 
nova-volume on ubuntu precise automatically took care of it using tgt.

Kind Regards,
Shashank Sahni

On 05/14/2012 07:34 PM, raja.meena at wipro.com wrote:
>
> Hi Shashank ,
>
> I preassume that the steps outlined in the link below has been followed.
>
> http://docs.openstack.org/trunk/openstack-compute/admin/content/managing-volumes.html
>
> Thanks
>
> Meena Raja
>
> *From:*openstack-bounces+raja.meena=wipro.com at lists.launchpad.net 
> [mailto:openstack-bounces+raja.meena=wipro.com at lists.launchpad.net] 
> *On Behalf Of *Shashank Sahni
> *Sent:* Monday, May 14, 2012 6:23 PM
> *To:* Razique Mahroua
> *Cc:* openstack at lists.launchpad.net
> *Subject:* Re: [Openstack] Problem with attaching disks to an instance
>
> Hi,
>
> I set this option in the configuration files of both compute and 
> controller. Restarted the service, but unfortunately same result.
>
> Regards,
> Shashank Sahni
>
> On 05/14/2012 05:58 PM, Razique Mahroua wrote:
>
> Hi,
> do you have the flag iscsi_ip_prefix configured in your nova.conf ?
> Razique
>
>
> *Shashank Sahni* <mailto:shredder12 at linuxers.org>
>
> 14 mai 2012 14:22
>
> Hi everyone,
>
> I'm trying to configure a multi-node installation. Here is a brief 
> overview.
>
> 1) controller - api+network+scheduler+novnc+glance+keystone (nova.conf 
> - http://paste.openstack.org/show/17470/)
> 2) compute node (nova.conf - http://paste.openstack.org/show/17469)
> 3) volume node(single)
>
> Compute and vnc are working fine. I'm able to create and delete 
> volumes. Iscsi discovery from the compute nodes is working too. But 
> when I try to attach a volume, the compute node tries to connect to 
> the controller node instead of volume and hence crashes with the 
> following error.
>
> 2012-05-14 17:32:13 TRACE nova.rpc.amqp ProcessExecutionError: 
> Unexpected error while running command.
> 2012-05-14 17:32:13 TRACE nova.rpc.amqp Command: sudo nova-rootwrap 
> iscsiadm -m node -T iqn.2010-10.org.openstack:volume-00000003 -p 
> controller:3260 --rescan
> 2012-05-14 17:32:13 TRACE nova.rpc.amqp Exit code: 255
> 2012-05-14 17:32:13 TRACE nova.rpc.amqp Stdout: ''
> 2012-05-14 17:32:13 TRACE nova.rpc.amqp Stderr: 'iscsiadm: No portal 
> found.\n'
>
> Any suggestions?
>
> Kind Regards,
> Shashank Sahni
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack 
> <https://launchpad.net/%7Eopenstack>
> Post to : openstack at lists.launchpad.net 
> <mailto:openstack at lists.launchpad.net>
> Unsubscribe : https://launchpad.net/~openstack 
> <https://launchpad.net/%7Eopenstack>
> More help : https://help.launchpad.net/ListHelp
>
> -- 
> Nuage & Co - Razique Mahroua
> *razique.mahroua at gmail.com <mailto:razique.mahroua at gmail.com>*
>
> *Please do not print this email unless it is absolutely necessary. *
>
> The information contained in this electronic message and any 
> attachments to this message are intended for the exclusive use of the 
> addressee(s) and may contain proprietary, confidential or privileged 
> information. If you are not the intended recipient, you should not 
> disseminate, distribute or copy this e-mail. Please notify the sender 
> immediately and destroy all copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient 
> should check this email and any attachments for the presence of 
> viruses. The company accepts no liability for any damage caused by any 
> virus transmitted by this email.
>
> www.wipro.com
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120514/c6193139/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postbox-contact.jpg
Type: image/jpeg
Size: 1233 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120514/c6193139/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.jpg
Type: image/jpeg
Size: 10122 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120514/c6193139/attachment-0001.jpg>


More information about the Openstack mailing list