[Bug 955510] [NEW] failed attach leaves stale iSCSI session on compute host
Paul Collins
paul.collins at canonical.com
Wed Mar 14 21:35:03 UTC 2012
Public bug reported:
Version: 2012.1~e4~20120217.12709-0ubuntu1
I attempted to attach an iSCSI volume to one of my instances. This
failed because I specified /dev/vdb as the device, which was in use.
Any further attempts to attach the volume then also failed. When I
inspected nova-compute.log, I discovered the following at the end
(full log attached):
(nova.rpc.common): TRACE: Stdout: 'Logging in to [iface: default, target: iqn.2010-10.org.openstack:volume-00000009, portal: YY.YY.YY.15,3260]\n'
(nova.rpc.common): TRACE: Stderr: 'iscsiadm: Could not login to [iface: default, target: iqn.2010-10.org.openstack:volume-00000009, portal: YY.YY.YY.15,3260]: \niscsiadm: initiator reported error (15 - already exists)\n'
I guessed from this that the previous failed attach had left the iSCSI
session up and that nova-compute wasn't able to deal with this. I logged
into the compute node, removed it with "iscsiadm --mode node
--targetname iqn.2010-10.org.openstack:volume-00000009 --portal
YY.YY.YY.15:3260 --logout" and was then able to attach the volume
to my instance.
** Affects: nova (Ubuntu)
Importance: Undecided
Status: New
** Tags: canonistack
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/955510
Title:
failed attach leaves stale iSCSI session on compute host
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/955510/+subscriptions
More information about the Ubuntu-server-bugs
mailing list