Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1172538

Summary: Cinder volume fails to attach when multipathing in Nova and Storwize CHAPS are enabled
Product: Red Hat OpenStack Reporter: Paul Needle <pneedle>
Component: openstack-cinderAssignee: Sergey Gotliv <sgotliv>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: high Docs Contact:
Priority: high    
Version: 5.0 (RHEL 6)CC: berrange, dasmith, ddomingo, dmaley, eharney, hguemar, jobernar, kchamart, lyarwood, mschuppe, ndipanov, pbrady, pneedle, sbauza, sclewis, scohen, sferdjao, sgordon, sgotliv, vromanso, yeylon
Target Milestone: z4Keywords: ZStream
Target Release: 5.0 (RHEL 6)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-cinder-2014.1.3-3.el6ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1191174 (view as bug list) Environment:
Last Closed: 2015-04-16 14:05:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paul Needle 2014-12-10 10:28:09 UTC
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

Comment 8 Sergey Gotliv 2014-12-16 07:24:56 UTC
The full problem description, workaround and proposed solution described here:

https://bugs.launchpad.net/cinder/+bug/1367189, comments 8,9,10 and 11.

Comment 13 Sergey Gotliv 2015-01-26 15:27:58 UTC
IBM folks provided 2 patches - one for Nova and one for Cinder upstream. Their solution looks very promising.

Comment 21 nlevinki 2015-04-02 08:18:17 UTC
Full tempest run passed, no issues were found.
the ticket was verified by the customer.

Comment 25 errata-xmlrpc 2015-04-16 14:05:17 UTC
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