Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1547822

Summary: UI Validations for ceph-ansible and current repositories always show warnings
Product: Red Hat OpenStack Reporter: david.costakos
Component: openstack-tripleo-validationsAssignee: Florian Fuchs <flfuchs>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: high Docs Contact:
Priority: high    
Version: 12.0 (Pike)CC: augol, flfuchs, gchamoul, jamsmith, jjoyce, jschluet, slinaber, tvignaud, ukalifon
Target Milestone: z3Keywords: Triaged, ZStream
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-validations-7.4.9-1.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-20 12:53:41 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 david.costakos 2018-02-22 03:21:43 UTC
Description of problem:
Using OSP12 with a deployed, or deploying overcloud, shows warnings always for validations which are succeeding making the UI show a problem falsly

Version-Release number of selected component (if applicable):
openstack-tripleo-validations-7.4.2-1.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Do OSP12 Deployment
2. Look at UI Validations Section
3. Validations show that "Check Availability of Current Repositories" and "
Check if ceph-ansible is installed on the undercloud" always who warning

Actual results:
Both show warnings which are easily ignored in the playbook for example:
"Warnings:

* Consider using yum module rather than running yum
Success! The validation passed for all hosts:
* localhost"

Expected results:
No warnings for validations which are passing


Additional info:
Specific files are
- /usr/share/openstack-tripleo-validations/validations/ceph-ansible-installed.yaml
- /usr/share/openstack-tripleo-validations/validations/check-repo-availability.yaml

my hacky fixes:
[stack@undercloud validations]$ sudo diff ceph-ansible-installed.yaml ceph-ansible-installed.yaml.orig
14,15d13
<     args:
<       warn: false

[stack@undercloud validations]$ sudo diff check-repo-availability.yaml check-repo-availability.yaml.orig
15,16d14
<     args:
<       warn: false

Comment 1 Udi Kalifon 2018-03-28 13:10:33 UTC
This is probably already resolved in 13.

Comment 3 Gaƫl Chamoulaud 2018-05-17 09:35:41 UTC
(In reply to Udi from comment #1)
> This is probably already resolved in 13.

Udi is right, the fix has been merged and built for OSP14/13 but not for OSP12. However the fix has already been backported in stable/pike. A new built is necessary for OSP12.

https://github.com/openstack/tripleo-validations/commit/34bd27e3afea4ed2f93a796e52f144177df81aa9#diff-bbbd20d17e769edeba10673edf2bfafd

Comment 9 errata-xmlrpc 2018-08-20 12:53:41 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:2521