Description of problem:
The following error is seen when trying to attach a Cinder volume to an instance on boot, when both multipathing is enabled for Nova within /etc/nova/nova.conf and CHAP authentication is enabled in an IBM Storwize backend:
---
Stderr: 'iscsiadm: Connection to Discovery Address <IP_address> closed\niscsiadm: Login I/O error, failed to receive a PDU\niscsiadm
---
Disabling multipathing within /etc/nova/nova.conf results in the volume attaching successfully.
Version-Release number of selected component (if applicable):
* Nova 2014.1.2-1, RHOSP 5.
* Red Hat Enterprise Linux 6.5.
How reproducible:
Every time.
Steps to Reproduce:
1. Enable multipathing within Nova with the following option in /etc/nova/nova.conf:
---
iscsi_use_multipath=true
---
2. Enable CHAP authentication on IBMStorwize back-end for Cinder.
3. Boot an instance as follows:
nova boot --flavor <flavor> --boot-volume <volume_ID> --nic net-id=<net-id> <instance_name>
Actual results:
The volume fails to attach and the above error message is seen within /var/log/nova/compute.log (and other Nova logs).
Expected results:
For the Cinder volume to attach successfully when multipathing is enabled for Nova and CHAP authentication is enabled within the IBM Storwize back-end.
Additional info:
The following upstream bug, which is external to Red Hat, references similar symptoms:
https://bugs.launchpad.net/cinder/+bug/1367189
multipath not working with Storwize backend if CHAP enabled
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2015-0819.html