Unable to attache more than one volume to a compute-node
Hi,
I've a server running nova-volumes and a compute-node. Both servers are running Ubuntu 10.04 LTS.
The compute-node has open-iscsi package installed on it.
When I run an euca-attach volume for an instance, it works fine.
Now, If I try to attache another volume to another instance, i've the following trace into nova-compute.log :
http://
The first time I try to attach it, there is no error, but the line :
2011-06-22 11:49:28,807 AUDIT nova.compute.
When I check the volume attachment via euca-describe volumes :
VOLUME vol-0000000a 50 nova available (nuage, nova-cc1, None, None) 2011-06-
So it remains available. So I try a second time, but then I've the iscsi error that you can see into my paste.
If I look at the portal :
iSCSI Transport Class version 2.0-870
version 2.0-871
Target: iqn.2010-
Current Portal: 172.16.
Persistent Portal: 172.16.
**********
Interface:
**********
Iface Name: default
Iface Transport: tcp
Iface Initiatorname: iqn.1993-
Iface IPaddress: 172.16.40.247
Iface HWaddress: (null)
Iface Netdev: (null)
SID: 2
iSCSI Connection State: LOGGED IN
iSCSI Session State: LOGGED_IN
Internal iscsid Session State: NO CHANGE
*****
Negotiated iSCSI params:
*****
HeaderDigest: None
DataDigest: None
MaxRecvDataSe
MaxXmitDataSe
FirstBurstLength: 65536
MaxBurstLength: 262144
ImmediateData: Yes
InitialR2T: Yes
MaxOutstandin
*****
Attached SCSI devices:
*****
Host Number: 1 State: running
scsi1 Channel 00 Id 0 Lun: 0
Attached scsi disk sda State: running
And the discovery mode returns the following paths :
root@nova-cn1:~# iscsiadm -m discovery -t st -p 172.16.40.244
192.168.
172.16.40.77:3260,1 iqn.2010-
172.16.
172.16.40.76:3260,1 iqn.2010-
10.0.1.1:3260,1 iqn.2010-
172.16.
169.254.
172.16.40.78:3260,1 iqn.2010-
192.168.
172.16.40.77:3260,1 iqn.2010-
172.16.
172.16.40.76:3260,1 iqn.2010-
10.0.1.1:3260,1 iqn.2010-
172.16.
169.254.
172.16.40.78:3260,1 iqn.2010-
192.168.
172.16.40.77:3260,1 iqn.2010-
172.16.
172.16.40.76:3260,1 iqn.2010-
10.0.1.1:3260,1 iqn.2010-
172.16.
169.254.
172.16.40.78:3260,1 iqn.2010-
192.168.
172.16.40.77:3260,1 iqn.2010-
172.16.
172.16.40.76:3260,1 iqn.2010-
10.0.1.1:3260,1 iqn.2010-
172.16.
169.254.
172.16.40.78:3260,1 iqn.2010-
Thanks
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was originally filed as bug #800591.
Can you help with this problem?
Provide an answer of your own, or ask Razique Mahroua for more information if necessary.