Bug 2242088 - `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 CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 17.1 (Wallaby)
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Gareth Brinn
QA Contact: RHOS Documentation Team
URL:
Whiteboard:
Depends On:
Blocks: 2250052
TreeView+ depends on / blocked
 
Reported: 2023-10-04 10:22 UTC by Ryo Hayakawa
Modified: 2024-08-28 04:25 UTC (History)
4 users (show)

Fixed In Version: openstack-tripleo-validations-14.3.2-17.1.20240220120811.2b526f8.el9osttrunk
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2250052 (view as bug list)
Environment:
Last Closed: 2024-04-29 13:18:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 909365 0 None ABANDONED default-node-count will now consider active nodes 2024-04-12 13:03:19 UTC
OpenStack gerrit 909369 0 None ABANDONED default-node-count will now consider active nodes 2024-04-12 13:03:20 UTC
OpenStack gerrit 909370 0 None ABANDONED default-node-count will now consider active nodes 2024-04-12 13:03:22 UTC
Red Hat Issue Tracker OSP-29194 0 None None None 2023-10-04 10:25:57 UTC

Description Ryo Hayakawa 2023-10-04 10:22:46 UTC
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 7 Gareth Brinn 2024-02-21 13:41:02 UTC
Hi all,

I have updated the documentation with a workaround for the issue above. 

You can see the updates to the documentation here: 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

If you have any questions or require any further information, please let me know, 

Kid regards,
Gareth

Comment 11 Red Hat Bugzilla 2024-08-28 04:25:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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