Bug 2250052 - `default-node-count` validation fails if a user do `validation run` following the document.
Summary: `default-node-count` validation fails if a user do `validation run` following...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations
Version: 17.1 (Wallaby)
Hardware: x86_64
OS: Linux
low
low
Target Milestone: z4
: 17.1
Assignee: Jiri Podivin
QA Contact: Nobody
URL:
Whiteboard:
Depends On: 2242088
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-16 12:19 UTC by Joanne O'Flynn
Modified: 2024-11-21 09:39 UTC (History)
7 users (show)

Fixed In Version: openstack-tripleo-validations-14.3.2-17.1.20240709110808.2b526f8.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2242088
Environment:
Last Closed: 2024-11-21 09:39:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-30472 0 None None None 2023-11-16 12:19:56 UTC
Red Hat Issue Tracker VALFRWK-835 0 None None None 2023-11-16 12:20:01 UTC
Red Hat Product Errata RHBA-2024:9974 0 None None None 2024-11-21 09:39:03 UTC

Description Joanne O'Flynn 2023-11-16 12:19:16 UTC
+++ This bug was initially created as a clone of Bug #2242088 +++

Description of problem:

`default-node-count` validation fails if a user do `validation run` following the document.

There are sections in the document `Installing and managing Red Hat OpenStack Platform with director`[1] of OSP17.1 in the following order:

11.2. Provisioning bare metal overcloud nodes

11.3.5. Validating your overcloud configuration

11.3.6. Creating your overcloud


The section "11.3.5. Validating your overcloud configuration" mentions `validation run --group pre-deployment`.

On the other hand, the `pre-deployment` group has the validation `default-node-count`.
As far as I checked  /usr/share/ansible/roles/default_node_count/tasks/main.yml, `default-node-count` expects that the provisioning state is `available`.

However, as I wrote in the above, before a user run `validation run --group pre-deployment` by following "11.3.5. Validating your overcloud configuration", the provisioning state is already `active`. It is because the node provisioning is completed in  "11.2. Provisioning bare metal overcloud nodes".

Is it possible to fix this?

[1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/17.1/html-single/installing_and_managing_red_hat_openstack_platform_with_director/index#proc_validating-your-overcloud-configuration_ironic_provisioning

Comment 1 Juan Badia Payno 2024-06-10 12:42:34 UTC
Moved to z4

Comment 12 errata-xmlrpc 2024-11-21 09:39:01 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 (RHOSP 17.1.4 bug fix and enhancement 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-2024:9974


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