Bug 2051472 - [update] New validation libs is missing the "--plan/--stack" option.
Summary: [update] New validation libs is missing the "--plan/--stack" option.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-validations-libs
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: mathieu bultel
QA Contact: Khomesh Thakre
URL:
Whiteboard:
Depends On:
Blocks: 2037281
TreeView+ depends on / blocked
 
Reported: 2022-02-07 10:51 UTC by Sofer Athlan-Guyot
Modified: 2023-04-14 09:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-14 09:21:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1960218 0 None None None 2022-02-07 10:54:43 UTC
Red Hat Issue Tracker OSP-12496 0 None None None 2022-02-07 10:59:18 UTC
Red Hat Issue Tracker UPG-4974 0 None None None 2022-02-07 10:59:30 UTC
Red Hat Issue Tracker VALFRWK-716 0 None None None 2022-02-07 11:12:28 UTC

Description Sofer Athlan-Guyot 2022-02-07 10:51:16 UTC
Description of problem:

following https://review.opendev.org/c/openstack/validations-libs/+/782574/36/validations_libs/cli/run.py there is a regression where the "--{plan/stack}" option is no longer available[1] leading to:

2022-02-06 03:11:35 | usage: openstack tripleo validator run [-h] [--config CONFIG]
2022-02-06 03:11:35 | [--limit <host1>[,<host2>,<host3>,...]]
2022-02-06 03:11:35 | [--ssh-user SSH_USER]
2022-02-06 03:11:35 | [--validation-dir VALIDATION_DIR]
2022-02-06 03:11:35 | [--ansible-base-dir ANSIBLE_BASE_DIR]
2022-02-06 03:11:35 | [--validation-log-dir VALIDATION_LOG_DIR]
2022-02-06 03:11:35 | [--inventory INVENTORY]
2022-02-06 03:11:35 | [--output-log OUTPUT_LOG]
2022-02-06 03:11:35 | [--junitxml JUNITXML]
2022-02-06 03:11:35 | [--python-interpreter --python-interpreter <PYTHON_INTERPRETER_PATH>]
2022-02-06 03:11:35 | [--extra-env-vars key1=<val1> [--extra-env-vars key2=<val2>]]
2022-02-06 03:11:35 | [--skiplist SKIP_LIST]
2022-02-06 03:11:35 | [--extra-vars key1=<val1> [--extra-vars key2=<val2>]
2022-02-06 03:11:35 | | --extra-vars-file
2022-02-06 03:11:35 | /tmp/my_vars_file.[json|yaml]]
2022-02-06 03:11:35 | (--validation <validation_id>[,<validation_id>,...] | --group <group_id>[,<group_id>,...] | --category <category_id>[,<category_id>,...] | --product <product_id>[,<product_id>,...])
2022-02-06 03:11:35 | openstack tripleo validator run: error: unrecognized arguments: --stack qe-Cloud-0

[1] it was there https://review.opendev.org/c/openstack/python-tripleoclient/+/783610/17/tripleoclient/v1/tripleo_validator.py#b237


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


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