Bug 1561415 - [iscsi-gwcli] gateway creation needs a skipcheck on RHEL 7.5 OS
Summary: [iscsi-gwcli] gateway creation needs a skipcheck on RHEL 7.5 OS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: iSCSI
Version: 3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: z3
: 3.0
Assignee: Jason Dillaman
QA Contact: Madhavi Kasturi
Aron Gunn
URL:
Whiteboard:
Depends On:
Blocks: 1557269
TreeView+ depends on / blocked
 
Reported: 2018-03-28 09:47 UTC by Madhavi Kasturi
Modified: 2018-05-15 18:21 UTC (History)
8 users (show)

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.
Clone Of:
Environment:
Last Closed: 2018-05-15 18:20:31 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-iscsi-cli pull 88 0 None closed Relax OS distro check to support CentOS and RHEL >=7.4 2020-12-21 10:01:24 UTC
Red Hat Product Errata RHBA-2018:1563 0 None None None 2018-05-15 18:21:25 UTC

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


Note You need to log in before you can comment on or make changes to this bug.