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
Thanks. Looks like we need to fix/update the valid_versions check in rbd-target-api.py. Will get this fixed.
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