← Back to team overview

openstack team mailing list archive

Problem with attaching disks to an instance

 

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

Follow ups