Bug 1715759

Summary: Some validations are failing due to wrong dependencies in the roles meta/mail.yml files
Product: Red Hat OpenStack Reporter: Gaël Chamoulaud <gchamoul>
Component: openstack-tripleo-validationsAssignee: Gaël Chamoulaud <gchamoul>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: high Docs Contact:
Priority: high    
Version: 15.0 (Stein)CC: beth.white, jjoyce, jrist, jschluet, slinaber, tvignaud
Target Milestone: betaKeywords: Triaged
Target Release: 15.0 (Stein)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-validations-10.4.1-0.20190701170405.10b4d77.el8ost.noarch Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-21 11:22:34 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: 1710324    
Bug Blocks:    

Description Gaël Chamoulaud 2019-05-31 07:46:15 UTC
The meta/main.yml files of these validations roles have wrong and useless dependencies in them. The impacted roles are:

- roles/no-op-firewall-nova-driver/meta/main.yml
- roles/undercloud-heat-purge-deleted/meta/main.yml
- roles/undercloud-process-count/meta/main.yml
- roles/undercloud-tokenflush/meta/main.yml

Exemple of output error for the undercloud-tokenflush validation:

```
(undercloud) [stack@undercloud ~]$ ./run-validations.sh undercloud-tokenflush
ERROR! the role 'validation-lib-utils' was not found in /usr/share/openstack-tripleo-validations/playbooks/roles:/usr/share/openstack-tripleo-validations/roles:/usr/share/openstack-tripleo-validations/roles:/usr/share/openstack-tripleo-validations/playbooks

The error appears to have been in '/usr/share/openstack-tripleo-validations/roles/undercloud-tokenflush/meta/main.yml': line 29, column 5, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

dependencies:
  - role: validation-lib-utils
    ^ here

```

Comment 8 Gaël Chamoulaud 2019-07-10 09:20:11 UTC
(undercloud) [stack@undercloud-0 ~]$ for val in no-op-firewall-nova-driver undercloud-heat-purge-deleted undercloud-process-count undercloud-tokenflush; do echo "Running $val"; /usr/bin/run-validations.sh --validation-name $val; done
Running no-op-firewall-nova-driver

Task 'no-op-firewall-nova-driver : Verify `firewall_driver` is set to `NoopFirewallDriver`' failed:
Host: compute-0
Message: The firewall_driver value in /etc/nova/nova.conf is unset, but it must be set to: nova.virt.firewall.NoopFirewallDriver


Task 'no-op-firewall-nova-driver : Verify `firewall_driver` is set to `NoopFirewallDriver`' failed:
Host: compute-1
Message: The firewall_driver value in /etc/nova/nova.conf is unset, but it must be set to: nova.virt.firewall.NoopFirewallDriver

Failure! The validation failed for all hosts:
* compute-0
* compute-1

Running undercloud-heat-purge-deleted
Success! The validation passed for all hosts:
* undercloud

Running undercloud-process-count
Success! The validation passed for all hosts:
* undercloud

Running undercloud-tokenflush
Success! The validation passed for all hosts:
* undercloud

Comment 11 errata-xmlrpc 2019-09-21 11:22:34 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/RHEA-2019:2811