DescriptionDavid Rosenfeld
2021-01-05 13:57:38 UTC
Description of problem: In OSP 16.2 when executing a validation it fails with following error:
openstack tripleo validator run --validation collect-flavors-and-verify-profiles
Exception occured while running the command
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/osc_lib/clientmanager.py", line 47, in __get__
self._handle = self.factory(instance)
File "/usr/lib/python3.6/site-packages/mistralclient/osc/plugin.py", line 43, in make_client
interface='publicURL'
File "/usr/lib/python3.6/site-packages/osc_lib/clientmanager.py", line 252, in get_endpoint_for_service_type
endpoint = self.auth.get_endpoint(
AttributeError: 'ClientManager' object has no attribute 'auth'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 32, in run
super(Command, self).run(parsed_args)
File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python3.6/site-packages/cliff/command.py", line 185, in run
return_code = self.take_action(parsed_args) or 0
File "/usr/lib/python3.6/site-packages/tripleoclient/v1/tripleo_validator.py", line 411, in take_action
self._run_validator_run(parsed_args)
File "/usr/lib/python3.6/site-packages/tripleoclient/v1/tripleo_validator.py", line 332, in _run_validator_run
plans = plan_management.list_deployment_plans(clients)
File "/usr/lib/python3.6/site-packages/tripleoclient/workflows/plan_management.py", line 126, in list_deployment_plans
workflow_client = clients.workflow_engine
File "/usr/lib/python3.6/site-packages/osc_lib/clientmanager.py", line 52, in __get__
six.reraise(new_err.__class__, new_err, sys.exc_info()[2])
File "/usr/lib/python3.6/site-packages/six.py", line 692, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3.6/site-packages/osc_lib/clientmanager.py", line 47, in __get__
self._handle = self.factory(instance)
File "/usr/lib/python3.6/site-packages/mistralclient/osc/plugin.py", line 43, in make_client
interface='publicURL'
File "/usr/lib/python3.6/site-packages/osc_lib/clientmanager.py", line 252, in get_endpoint_for_service_type
endpoint = self.auth.get_endpoint(
osc_lib.exceptions.PluginAttributeError: 'ClientManager' object has no attribute 'auth'
'ClientManager' object has no attribute 'auth'
Version-Release number of selected component (if applicable): RHOS-16.2-RHEL-8-20201215.n.1
How reproducible: Every time a validation is executed.
Steps to Reproduce:
1. On a 16.2 undercloud execute any validation. e.g.: openstack tripleo validator run --validation collect-flavors-and-verify-profiles
2.
3.
Actual results: Validation fails with error above.
Expected results: Validation executes successfully.
Additional info:
Validators may now be executed:
(undercloud) [stack@undercloud-0 ~]$ openstack tripleo validator run --validation undercloud-heat-purge-deleted
Running Validations without Overcloud settings.
WARNING:tripleo_common.inventory:Stack not found: overcloud. Only the undercloud will be added to the inventory.
+--------------------------------------+-------------------------------+--------+------------+----------------+-------------------+-------------+
| UUID | Validations | Status | Host_Group | Status_by_Host | Unreachable_Hosts | Duration |
+--------------------------------------+-------------------------------+--------+------------+----------------+-------------------+-------------+
| b15ff9fd-d64f-42e1-bd33-ac04ef223d2d | undercloud-heat-purge-deleted | PASSED | undercloud | undercloud | | 0:00:02.187 |
+--------------------------------------+-------------------------------+--------+------------+----------------+-------------------+-------------+
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 (Red Hat OpenStack Platform 16.1.4 director bug fix 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-2021:0817
Description of problem: In OSP 16.2 when executing a validation it fails with following error: openstack tripleo validator run --validation collect-flavors-and-verify-profiles Exception occured while running the command Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/osc_lib/clientmanager.py", line 47, in __get__ self._handle = self.factory(instance) File "/usr/lib/python3.6/site-packages/mistralclient/osc/plugin.py", line 43, in make_client interface='publicURL' File "/usr/lib/python3.6/site-packages/osc_lib/clientmanager.py", line 252, in get_endpoint_for_service_type endpoint = self.auth.get_endpoint( AttributeError: 'ClientManager' object has no attribute 'auth' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 32, in run super(Command, self).run(parsed_args) File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/usr/lib/python3.6/site-packages/cliff/command.py", line 185, in run return_code = self.take_action(parsed_args) or 0 File "/usr/lib/python3.6/site-packages/tripleoclient/v1/tripleo_validator.py", line 411, in take_action self._run_validator_run(parsed_args) File "/usr/lib/python3.6/site-packages/tripleoclient/v1/tripleo_validator.py", line 332, in _run_validator_run plans = plan_management.list_deployment_plans(clients) File "/usr/lib/python3.6/site-packages/tripleoclient/workflows/plan_management.py", line 126, in list_deployment_plans workflow_client = clients.workflow_engine File "/usr/lib/python3.6/site-packages/osc_lib/clientmanager.py", line 52, in __get__ six.reraise(new_err.__class__, new_err, sys.exc_info()[2]) File "/usr/lib/python3.6/site-packages/six.py", line 692, in reraise raise value.with_traceback(tb) File "/usr/lib/python3.6/site-packages/osc_lib/clientmanager.py", line 47, in __get__ self._handle = self.factory(instance) File "/usr/lib/python3.6/site-packages/mistralclient/osc/plugin.py", line 43, in make_client interface='publicURL' File "/usr/lib/python3.6/site-packages/osc_lib/clientmanager.py", line 252, in get_endpoint_for_service_type endpoint = self.auth.get_endpoint( osc_lib.exceptions.PluginAttributeError: 'ClientManager' object has no attribute 'auth' 'ClientManager' object has no attribute 'auth' Version-Release number of selected component (if applicable): RHOS-16.2-RHEL-8-20201215.n.1 How reproducible: Every time a validation is executed. Steps to Reproduce: 1. On a 16.2 undercloud execute any validation. e.g.: openstack tripleo validator run --validation collect-flavors-and-verify-profiles 2. 3. Actual results: Validation fails with error above. Expected results: Validation executes successfully. Additional info: