← Back to team overview

openstack team mailing list archive

Re: Problem with attaching disks to an instance

 

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@xxxxxxxxxxxxxxxxxxx [mailto:openstack-bounces+raja.meena=wipro.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Shashank Sahni
Sent: Monday, May 14, 2012 6:23 PM
To: Razique Mahroua
Cc: openstack@xxxxxxxxxxxxxxxxxxx
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


[cid:image001.jpg@01CD3208.A546CC20]
Shashank Sahni<mailto:shredder12@xxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~openstack<https://launchpad.net/%7Eopenstack>
More help : https://help.launchpad.net/ListHelp

--
Nuage & Co - Razique Mahroua
razique.mahroua@xxxxxxxxx<mailto:razique.mahroua@xxxxxxxxx>
[cid:image002.jpg@01CD3208.A546CC20]



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

JPEG image

JPEG image


Follow ups

References