Validation-lib is missing the plan/stack options.

Bug #1960218 reported by Sofer Athlan-Guyot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
mathieu bultel

Bug Description

Hi,

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

Tags: validations
Revision history for this message
Sofer Athlan-Guyot (sofer-athlan-guyot) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-upgrade 9.0.0

This issue was fixed in the openstack/tripleo-upgrade 9.0.0 release.

Rabi Mishra (rabi)
Changed in tripleo:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.