Bug 1386939

Summary: [ceph-iscsi-config] should allow lun definitions to be fqdn names as well as shortnames
Product: [Red Hat Storage] Red Hat Storage Console Reporter: Paul Cuzner <pcuzner>
Component: ceph-ansibleAssignee: Paul Cuzner <pcuzner>
Status: CLOSED ERRATA QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2CC: adeza, aschoen, ceph-eng-bugs, ceph-qe-bugs, gmeno, hnallurv, jdillama, kdreyer, nthomas, sankarshan, tchandra, vakulkar
Target Milestone: ---   
Target Release: 2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-iscsi-ansible-1.5-1.el7scon ceph-iscsi-config-1.5-1.el7cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-22 19:33:05 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 Cuzner 2016-10-19 21:47:09 UTC
Description of problem:
Normally, the host names pasted to the LUN module are shortnames, and shortnames are used within the configuration object. However, when the admin passes a fqdn the LUN module is unable to match on the hostname and fails

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. create an environment
2. add a lun using the fqdn for a allocation host
3.

Actual results:
allocation fails

Expected results:
allocation should work and strip the domain specific component of the name to ensure a match is successful


Additional info:

Comment 2 Paul Cuzner 2016-10-21 05:45:39 UTC
please retest with 1.3. local tests with fqdn in the LUN request are now trimmed to shortnames to be compatible with the names stored in the config object.

Comment 4 Tejas 2016-11-02 09:19:24 UTC
Verified in build:
ceph-iscsi-ansible-1.5-1.el7test.noarch
ceph-iscsi-config-1.5-1.el7test.noarch

Comment 10 Paul Cuzner 2016-11-03 23:18:53 UTC
1.5 rpms released to QE today (Fri 04 Nov) which addresses this bz

Comment 13 Tejas 2016-11-04 17:11:26 UTC
Verified on build:
ceph-iscsi-ansible-1.5-1

Comment 15 errata-xmlrpc 2016-11-22 19:33:05 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/RHSA-2016-2815.html