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

Bug 1987318

Summary: OSP 16.1 out of range error when validations executed before overcloud deployment
Product: Red Hat OpenStack Reporter: David Rosenfeld <drosenfe>
Component: openstack-tripleo-validationsAssignee: OSP Team <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: nlevinki <nlevinki>
Severity: high Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: aschultz, gchamoul, jjoyce, jschluet, slinaber, tvignaud
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-29 14:39:33 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 Rosenfeld 2021-07-29 13:42:04 UTC
Description of problem: List index out of range error is seen when a validation is executed before overcloud is deployed:

openstack tripleo validator run --validation check-ram
Running Validations without Overcloud settings.
Error creating static inventory: list index out of range
Failed to generate inventory



Version-Release number of selected component (if applicable): RHOS-16.1-RHEL-8-20210727.n.1


How reproducible: Every time


Steps to Reproduce:
1. Deploy undercloud without deploying overcloud
2. Execute a validation e.g.: openstack tripleo validator run --validation check-ram
3.

Actual results: This error is seen:
Error creating static inventory: list index out of range
Failed to generate inventory


Expected results: Validation executes without an error


Additional info:

Comment 1 Gaƫl Chamoulaud 2021-07-29 14:39:33 UTC

*** This bug has been marked as a duplicate of bug 1887444 ***