Activity log for bug #1903177

Date Who What changed Old value New value Message
2020-11-05 18:40:28 Walt Boring bug added bug
2020-11-06 15:10:14 Andriy Kurilin summary running without admin user fails users@openstack raises user unfriendly error message while trying to create tmp users without admin
2020-11-06 15:10:21 Andriy Kurilin rally: status New Triaged
2020-11-06 15:10:24 Andriy Kurilin rally: importance Undecided Low
2020-11-06 15:17:26 Andriy Kurilin description └─[$] < > rally version Rally version: 3.2.0 Installed Plugins: rally-openstack: 2.1.0 └─[$] < > rally env check Env `qa-de-3 (105ac33b-bc07-46e2-85ec-a3e43d786a8f)' :-) +-----------+-----------+---------+ | Available | Platform | Message | +-----------+-----------+---------+ | :-) | openstack | OK! | +-----------+-----------+---------+ (.rally-venv) ┌─[i530566@C17ZL21PMD6M] - [~/devel/SAP/rally] - [Thu Nov 05, 13:03] - └─[$] < > rally deployment check -------------------------------------------------------------------------------- Platform openstack: -------------------------------------------------------------------------------- Available services: +-------------+-------------------------+-----------+ | Service | Service Type | Status | +-------------+-------------------------+-----------+ | __unknown__ | arc | Available | | __unknown__ | audit-data | Available | | __unknown__ | automation | Available | | __unknown__ | baremetal-introspection | Available | | __unknown__ | castellum | Available | | __unknown__ | compute_legacy | Available | | __unknown__ | keppel | Available | | __unknown__ | placement | Available | | __unknown__ | resources | Available | | __unknown__ | sharev2 | Available | | __unknown__ | webcli | Available | | barbican | key-manager | Available | | cinder | volumev2 | Available | | cinder | volumev3 | Available | | designate | dns | Available | | glance | image | Available | | ironic | baremetal | Available | | keystone | identity | Available | | manila | share | Available | | neutron | network | Available | | nova | compute | Available | | octavia | load-balancer | Available | | swift | object-store | Available | +-------------+-------------------------+-----------+ test scenario CinderVolumes.create_volume args position 0 args values: { "args": { "size": 1 }, "runner": { "times": 3, "concurrency": 2 }, "contexts": { "users": { "tenants": 1, "users_per_tenant": 1 } }, "sla": { "failure_rate": { "max": 0 } }, "hooks": [] } 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine During handling of the above exception, another exception occurred: 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine Traceback (most recent call last): 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/engine.py", line 532, in _run_workload 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine with ctx_manager: 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/context.py", line 310, in __enter__ 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine self.cleanup() 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/context.py", line 269, in cleanup 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine ctxlst = self._visited or self._get_sorted_context_lst() 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/context.py", line 219, in _get_sorted_context_lst 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine return [c(self.context_obj) for c in ctx_lst] 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/context.py", line 219, in <listcomp> 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine return [c(self.context_obj) for c in ctx_lst] 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally_openstack/task/contexts/keystone/users.py", line 127, in __init__ 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine self.credential = context["admin"]["credential"] 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine KeyError: 'admin' 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine `users@openstack` context is designed to manage (create&delete) temporary users for workloads. The attempt to create new users will be processed when the plugin configuration looks like: {"tenants":1,"users_per_tenant":1} . If there is no `admin` user configured for the environment the following error is raised that is not user-friendly at all: 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine During handling of the above exception, another exception occurred: 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine Traceback (most recent call last): 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/engine.py", line 532, in _run_workload 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine with ctx_manager: 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/context.py", line 310, in __enter__ 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine self.cleanup() 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/context.py", line 269, in cleanup 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine ctxlst = self._visited or self._get_sorted_context_lst() 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/context.py", line 219, in _get_sorted_context_lst 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine return [c(self.context_obj) for c in ctx_lst] 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/context.py", line 219, in <listcomp> 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine return [c(self.context_obj) for c in ctx_lst] 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally_openstack/task/contexts/keystone/users.py", line 127, in __init__ 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine self.credential = context["admin"]["credential"] 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine KeyError: 'admin' 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine
2020-11-06 15:17:56 Andriy Kurilin description `users@openstack` context is designed to manage (create&delete) temporary users for workloads. The attempt to create new users will be processed when the plugin configuration looks like: {"tenants":1,"users_per_tenant":1} . If there is no `admin` user configured for the environment the following error is raised that is not user-friendly at all: 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine During handling of the above exception, another exception occurred: 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine Traceback (most recent call last): 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/engine.py", line 532, in _run_workload 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine with ctx_manager: 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/context.py", line 310, in __enter__ 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine self.cleanup() 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/context.py", line 269, in cleanup 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine ctxlst = self._visited or self._get_sorted_context_lst() 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/context.py", line 219, in _get_sorted_context_lst 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine return [c(self.context_obj) for c in ctx_lst] 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/context.py", line 219, in <listcomp> 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine return [c(self.context_obj) for c in ctx_lst] 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally_openstack/task/contexts/keystone/users.py", line 127, in __init__ 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine self.credential = context["admin"]["credential"] 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine KeyError: 'admin' 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine `users@openstack` context is designed to manage (create&delete) temporary users for workloads. The attempt to create new users will be processed when the plugin configuration looks like: {"tenants": 1, "users_per_tenant": 1} If there is no `admin` user configured for the environment the following error is raised that is not user-friendly at all: 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine During handling of the above exception, another exception occurred: 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine Traceback (most recent call last): 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/engine.py", line 532, in _run_workload 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine with ctx_manager: 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/context.py", line 310, in __enter__ 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine self.cleanup() 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/context.py", line 269, in cleanup 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine ctxlst = self._visited or self._get_sorted_context_lst() 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/context.py", line 219, in _get_sorted_context_lst 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine return [c(self.context_obj) for c in ctx_lst] 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally/task/context.py", line 219, in <listcomp> 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine return [c(self.context_obj) for c in ctx_lst] 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine File "/Users/i530566/devel/SAP/.rally-venv/lib/python3.8/site-packages/rally_openstack/task/contexts/keystone/users.py", line 127, in __init__ 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine self.credential = context["admin"]["credential"] 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine KeyError: 'admin' 2020-11-05 13:01:26.066 44142 ERROR rally.task.engine