[Openstack] Problem with attaching disks to an instance

Shashank Sahni shredder12 at linuxers.org
Mon May 14 14:24:12 UTC 2012


Hi,

Thanks for your suggestion. I had earlier configured them to be the 
controller node. I tried setting them to the volume node but no result. 
I get the following error on running "nova volume-list"

ERROR: n/a (HTTP 400)

As I previously mentioned, volume creation and deletion is working fine, 
its the volume node assignment that's flawed.

Regards,
Shashank Sahni

On 05/14/2012 07:00 PM, Yong Sheng Gong wrote:
> Hi,
> consider to change
> catalog.RegionOne.volume.publicURL = 
> http://volumenode:8776/v1/$(tenant_id)s
> catalog.RegionOne.volume.adminURL = 
> http://volumenode:8776/v1/$(tenant_id)s
> catalog.RegionOne.volume.internalURL = http://v:8776/v1/$(tenant_id)s
> catalog.RegionOne.volume.name = Volume Service
>
> It seems your openstack is looking for the volume on wrong volume server.
>
> -----openstack-bounces+gongysh=cn.ibm.com at lists.launchpad.net wrote: 
> -----
> To: Razique Mahroua <razique.mahroua at gmail.com>
> From: Shashank Sahni
> Sent by: openstack-bounces+gongysh=cn.ibm.com at lists.launchpad.net
> Date: 05/14/2012 09:20PM
> 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
>>> Post to : openstack at lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help : https://help.launchpad.net/ListHelp
>>
>> -- 
>> Nuage & Co - Razique Mahroua
>> razique.mahroua at gmail.com
>>
>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack 
> <https://launchpad.net/%7Eopenstack>
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack 
> <https://launchpad.net/%7Eopenstack>
> More help   : https://help.launchpad.net/ListHelp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120514/f6220f39/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/f6220f39/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/f6220f39/attachment-0001.jpg>


More information about the Openstack mailing list