iSCSI discovery doesn't work with Iser transport type

Bug #1594892 reported by Michael Price
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-brick
Fix Released
Undecided
Michael Price

Bug Description

In order to perform iSCSI discovery using the ISER transport type, the -I option must be provided to iscsiadm with the transport type. This option is not being provided by os-brick, so the tcp transport type is provided by default. This results in a discovery failure.

2016-06-21 13:40:39.775 WARNING oslo.privsep.daemon [-] privsep log: CMD "iscsiadm -m discovery -t sendtargets -p 192.168.2.100:3260" returned: 19 in 30.063s
2016-06-21 13:40:39.790 WARNING oslo.privsep.daemon [-] privsep log: u'iscsiadm -m discovery -t sendtargets -p 192.168.2.100:3260' failed. Not Retrying.
2016-06-21 13:40:39.805 WARNING oslo.privsep.daemon [-] privsep log: privsep: Exception during request[112702320]: Unexpected error while running command.
2016-06-21 13:40:39.814 WARNING oslo.privsep.daemon [-] privsep log: Command: iscsiadm -m discovery -t sendtargets -p 192.168.2.100:3260
2016-06-21 13:40:39.822 WARNING oslo.privsep.daemon [-] privsep log: Exit code: 19
2016-06-21 13:40:39.829 WARNING oslo.privsep.daemon [-] privsep log: Stdout: u''
2016-06-21 13:40:39.837 WARNING oslo.privsep.daemon [-] privsep log: Stderr: u'iscsiadm: Login response timeout. Waited 30 seconds and did not get reponse PDU.\n\niscsiadm: discovery login to 192.168.2.100 failed, giving up 2\niscsiadm: Could not perform SendTargets discovery: encountered non-retryable iSCSI login failure\n'

Changed in os-brick:
assignee: nobody → Michael Price (michael-price-q)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-brick (master)

Fix proposed to branch: master
Review: https://review.openstack.org/352528

Changed in os-brick:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-brick (master)

Reviewed: https://review.openstack.org/352528
Committed: https://git.openstack.org/cgit/openstack/os-brick/commit/?id=cef2880afea3c754a48f0286f42abd98ce9c2772
Submitter: Jenkins
Branch: master

commit cef2880afea3c754a48f0286f42abd98ce9c2772
Author: Michael Price <email address hidden>
Date: Mon Aug 8 12:13:28 2016 -0500

    Fix iSCSI discovery with ISER transport

    The iSCSI discovery is not working with the ISER transport type. By default,
    iscsiadm will use the tcp transport type. This patch changes the iscsiadm
    invocation to provide the '-I' option with a value of iser where
    ISER is in use, and a value of default otherwise.

    Closes-Bug: #1594892
    Change-Id: I1f0e01c4c2e928022080cfc0475fb5190066df23

Changed in os-brick:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/os-brick 1.6.0

This issue was fixed in the openstack/os-brick 1.6.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

This issue was fixed in the openstack/os-brick 1.6.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.