Bug 2118579 - nova-svirt validation is failing for custom compute roles
Summary: nova-svirt validation is failing for custom compute roles
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: 16.2 (Train on RHEL 8.4)
Assignee: Ravi Singh
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-16 07:58 UTC by Ravi Singh
Modified: 2022-12-07 19:24 UTC (History)
6 users (show)

Fixed In Version: openstack-tripleo-validations-11.6.1-2.20220921004739.61366bc.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-07 19:24:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1986622 0 None None None 2022-08-16 07:58:12 UTC
OpenStack gerrit 853227 0 None master: MERGED tripleo-validations: Run nova-svirt validation in nodes with nova_libvirt service (Iadc61b7b9adc65f289634f728d20485cc76a... 2022-10-31 15:38:17 UTC
OpenStack gerrit 853795 0 None stable/train: MERGED tripleo-validations: Run nova-svirt validation in nodes with nova_libvirt service (Iadc61b7b9adc65f289634f728d20485cc76a... 2022-10-31 15:38:23 UTC
Red Hat Issue Tracker OSP-18206 0 None None None 2022-08-16 08:11:07 UTC
Red Hat Issue Tracker VALFRWK-757 0 None None None 2022-08-16 08:30:25 UTC
Red Hat Product Errata RHBA-2022:8794 0 None None None 2022-12-07 19:24:22 UTC

Description Ravi Singh 2022-08-16 07:58:13 UTC
Description of problem:

If there are no hosts lies under Compute role rather defined as custom role, nova-svirt validation will fail with no hosts matched/

+++
+--------------------------------------+---------------------------+--------+--------------------------+----------------
| UUID                                 | Validations               | Status | Host_Group               | Status_by_Host  
+--------------------------------------+---------------------------+--------+--------------------------+----------------
| 1e96b567-9852-4f89-9d3f-54e546bfa668 | nova-svirt                | FAILED | Compute                  | No host matched

As per playbook hosts: Compute is set.

https://opendev.org/openstack/tripleo-validations/src/branch/master/playbooks/nova-svirt.yaml#L2

+++

Setting hosts: nova_libvirt should resolve this issue.

Version-Release number of selected component (if applicable):
16.X

How reproducible:
Everytime

Steps to Reproduce:
1. Define custom compute roles.
2. Run nova-svirt validation.
3. validation will fail with "no hosts matched".

Actual results:
validation failed.

Expected results:
should pass

Additional info:

Comment 11 errata-xmlrpc 2022-12-07 19:24:04 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 (Release of components for Red Hat OpenStack Platform 16.2.4), 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-2022:8794


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