Description of problem: RHGS-WA supports a minimum required version of gluster cluster which could be imported and monitored. While import flow the check for minimum required version currently checks only the the NVR whereas in RHGS we ideally should be checking build no as well, because in {NVR}-{build no} the NVR part only mentions the re-base version done for downstream and the build no actually defines which minimum version we ideally need to support. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create a RHGS 3.3.0 (rpm version 3.8.4-44) cluster 2. Setup RHGS-WA using tendrl-ansible 3. Try to import this cluster in RHGS-WA 4. Create a RHGS 3.3.1 (rpm version 3.8.4-52) cluster 5. Import this cluster in RHGS-WA Actual results: Step-3 allows to import the cluster Step-5 allows to import the cluster Expected results: Step-3 should not allow to import cluster Step-5 should allow to import cluster Additional info: RHGS-3.3.0 doesn't contain the get-state feature in glusterd and so ideally this cluster cannot be monitored by RHGS-WA. Minimum required version of RHGS which is allowed to be imported and monitored by RHGS-WA is 3.3.1 (rpm version 3.8.4-52)
Tested and Verified with following two scenarios: * with glusterfs-3.8.4-44 (identified as un-supported RHGS version) -> import cluster task fails because of: Detected gluster version: un-supported is lesser than required version: 3.8.4-52 * with glusterfs-3.8.4-52 (identified as RHGS 3.3.1) -> import cluster pass Version-Release number of selected component: RHGS WA Server: tendrl-ansible-1.6.3-3.el7rhgs.noarch tendrl-api-1.6.3-3.el7rhgs.noarch tendrl-api-httpd-1.6.3-3.el7rhgs.noarch tendrl-commons-1.6.3-4.el7rhgs.noarch tendrl-grafana-plugins-1.6.3-2.el7rhgs.noarch tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch tendrl-monitoring-integration-1.6.3-2.el7rhgs.noarch tendrl-node-agent-1.6.3-4.el7rhgs.noarch tendrl-notifier-1.6.3-2.el7rhgs.noarch tendrl-selinux-1.5.4-2.el7rhgs.noarch tendrl-ui-1.6.3-1.el7rhgs.noarch Gluster Storage Server: tendrl-collectd-selinux-1.5.4-2.el7rhgs.noarch tendrl-commons-1.6.3-4.el7rhgs.noarch tendrl-gluster-integration-1.6.3-2.el7rhgs.noarch tendrl-node-agent-1.6.3-4.el7rhgs.noarch tendrl-selinux-1.5.4-2.el7rhgs.noarch See also verification of Bug 1559507. >> VERIFIED
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/RHSA-2018:2616