Bug 1561415

Summary: [iscsi-gwcli] gateway creation needs a skipcheck on RHEL 7.5 OS
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Madhavi Kasturi <mkasturi>
Component: iSCSIAssignee: Jason Dillaman <jdillama>
Status: CLOSED ERRATA QA Contact: Madhavi Kasturi <mkasturi>
Severity: medium Docs Contact: Aron Gunn <agunn>
Priority: unspecified    
Version: 3.0CC: agunn, ceph-eng-bugs, ceph-qe-bugs, edonnell, hnallurv, jdillama, mkasturi, rperiyas
Target Milestone: z3   
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-iscsi-cli-2.5-10.el7cp Doc Type: Bug Fix
Doc Text:
.Adding Ceph iSCSI gateways using the `gwcli` utility no longer returns an error Previously, attempting to add a Ceph iSCSI gateway using the `gwcli` utility returns the following error: ---- package validation checks - OS version is unsupported ---- This package validation check has been fixed in this release.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-15 18:20:31 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:
Bug Depends On:    
Bug Blocks: 1557269    

Description Madhavi Kasturi 2018-03-28 09:47:18 UTC
Description of problem:
gwcli fails with "Failed : lightning failed package validation checks - OS version is unsupported" while creating a gateway.

Version-Release number of selected component (if applicable):
RHEL OS-
[root@lightning ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.5 (Maipo)
[root@lightning ~]# uname -a
Linux lightning.lab.eng.blr.redhat.com 3.10.0-861.el7.x86_64 #1 SMP Wed Mar 14 10:21:01 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

CEPH Version -
[root@lightning ~]# ceph -v
ceph version 12.2.4-4.el7cp (bfc2b497ab362f2b3afa7bd1f9d0053f74b60d66) luminous (stable)

How reproducible:
2/2

Steps to Reproduce:
1. Install gwcli on the gateway node.
2. create the gateway using gwcli. 
3. The command fails with the following error.
/iscsi-target...-igw/gateways> create lightning 10.70.39.12
Adding gateway, sync'ing 0 disk(s) and 0 client(s)
Failed : lightning failed package validation checks - OS version is unsupported

Actual results:
The command fails with error

Expected results:
The gateway should be added successfully.

Additional info:
Able to add the gateway using the skipchecks=true
/iscsi-target...-igw/gateways> create navigator 10.70.39.12 skipchecks=true
OS version/package checks have been bypassed
Adding gateway, sync'ing 0 disk(s) and 0 client(s)
ok

Comment 3 Mike Christie 2018-03-28 21:13:16 UTC
Thanks. Looks like we need to fix/update the valid_versions check in rbd-target-api.py.

Will get this fixed.

Comment 12 errata-xmlrpc 2018-05-15 18:20:31 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://access.redhat.com/errata/RHBA-2018:1563