Activity log for bug #1717265

Date Who What changed Old value New value Message
2017-09-14 13:46:38 Dougal Matthews bug added bug
2017-09-14 13:55:30 Dougal Matthews description On a fresh environment today (created with quickstart and using devmode) I noticed that the UI log workflow fails to execute. 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor [req-1f29021f-02f6-4701-a1e3-a04009f8c6c5 f6766a837fd141caab9b9f1b46294f83 b2369236c0e04741a97f3eb99248c8e7 - default default] Failed to run action [action_ex_id=512304ab-98d1-4b80-9234-338231ac91f5, action_cls='<class 'mistral.actions.action_factory.PublishUILogToSwiftAction'>', attributes='{}', params='{u'logging_data': u'', u'logging_container': u'tripleo-ui-logs'}'] : UnauthorizedException 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor Traceback (most recent call last): 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/mistral/executors/default_executor.py", line 109, in run_action 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor result = action.run(context.ctx()) 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/tripleo_common/actions/logging_to_swift.py", line 125, in run 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor swift = self.get_object_client(context) 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/tripleo_common/actions/base.py", line 38, in get_object_client 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor obj_ep = keystone_utils.get_endpoint_for_project(context, 'swift') 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/tripleo_common/utils/keystone.py", line 47, in get_endpoint_for_project 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor service_catalog = obtain_service_catalog(ctx) 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/tripleo_common/utils/keystone.py", line 111, in obtain_service_catalog 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor raise exception.UnauthorizedException() 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor UnauthorizedException 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor On a fresh environment today (created with quickstart and using devmode) I noticed that the UI log workflow fails to execute. Details from the Mistral CLI... (undercloud) [stack@925-heap--undercloud ~]$ mistral execution-get 88c8617c-db9f-4243-b5ea-b03fa79c9a37 +-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Field | Value | +-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | ID | 88c8617c-db9f-4243-b5ea-b03fa79c9a37 | | Workflow ID | f655fddf-975a-4bfb-8f07-a350ff47a0ac | | Workflow name | tripleo.plan_management.v1.publish_ui_logs_to_swift | | Description | {"triggered_by": {"type": "cron_trigger", "id": "04197a78-31c7-4f44-a90f-32f41adf9912", "name": "publish-ui-logs-hourly"}, "description": "Workflow execution created by cron trigger '(04197a78-31c7-4f44-a90f-32f41adf9912)'."} | | Task Execution ID | <none> | | State | ERROR | | State info | None | | Created at | 2017-09-14 12:59:59 | | Updated at | 2017-09-14 13:00:06 | +-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ (undercloud) [stack@925-heap--undercloud ~]$ mistral execution-get-output 88c8617c-db9f-4243-b5ea-b03fa79c9a37 { "status": "FAILED", "message": "Failed to run action [action_ex_id=512304ab-98d1-4b80-9234-338231ac91f5, action_cls='<class 'mistral.actions.action_factory.PublishUILogToSwiftAction'>', attributes='{}', params='{u'logging_data': u'', u'logging_container': u'tripleo-ui-logs'}']\n ", "messages": "", "result": null } (undercloud) [stack@925-heap--undercloud ~]$ mistral task-list 88c8617c-db9f-4243-b5ea-b03fa79c9a37 +--------------------------------------+-----------------------------------+-----------------------------------------------------+--------------------------------------+---------+------------------------------+---------------------+---------------------+ | ID | Name | Workflow name | Execution ID | State | State info | Created at | Updated at | +--------------------------------------+-----------------------------------+-----------------------------------------------------+--------------------------------------+---------+------------------------------+---------------------+---------------------+ | 37bd933a-603a-439d-9e51-2ee8b9a3f1d1 | get_messages | tripleo.plan_management.v1.publish_ui_logs_to_swift | 88c8617c-db9f-4243-b5ea-b03fa79c9a37 | SUCCESS | None | 2017-09-14 12:59:59 | 2017-09-14 13:00:02 | | 55e56760-e01f-448a-8ee9-3ef716e9f837 | upload_to_swift_set_status_failed | tripleo.plan_management.v1.publish_ui_logs_to_swift | 88c8617c-db9f-4243-b5ea-b03fa79c9a37 | SUCCESS | None | 2017-09-14 13:00:02 | 2017-09-14 13:00:03 | | 65c977dd-6c20-457e-a64c-e786e6bf2a03 | format_messages | tripleo.plan_management.v1.publish_ui_logs_to_swift | 88c8617c-db9f-4243-b5ea-b03fa79c9a37 | SUCCESS | None | 2017-09-14 13:00:02 | 2017-09-14 13:00:02 | | 6d3becc7-15c3-4ef2-8d4c-6557165ad256 | upload_to_swift | tripleo.plan_management.v1.publish_ui_logs_to_swift | 88c8617c-db9f-4243-b5ea-b03fa79c9a37 | ERROR | Failed to run action [act... | 2017-09-14 13:00:02 | 2017-09-14 13:00:02 | | 48f02d20-dbcb-4150-a737-91c0da79e39e | notify_zaqar | tripleo.plan_management.v1.publish_ui_logs_to_swift | 88c8617c-db9f-4243-b5ea-b03fa79c9a37 | SUCCESS | None | 2017-09-14 13:00:03 | 2017-09-14 13:00:06 | +--------------------------------------+-----------------------------------+-----------------------------------------------------+--------------------------------------+---------+------------------------------+---------------------+---------------------+ And the traceback from the logs... 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor [req-1f29021f-02f6-4701-a1e3-a04009f8c6c5 f6766a837fd141caab9b9f1b46294f83 b2369236c0e04741a97f3eb99248c8e7 - default default] Failed to run action [action_ex_id=512304ab-98d1-4b80-9234-338231ac91f5, action_cls='<class 'mistral.actions.action_factory.PublishUILogToSwiftAction'>', attributes='{}', params='{u'logging_data': u'', u'logging_container': u'tripleo-ui-logs'}']  : UnauthorizedException 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor Traceback (most recent call last): 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/mistral/executors/default_executor.py", line 109, in run_action 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor result = action.run(context.ctx()) 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/tripleo_common/actions/logging_to_swift.py", line 125, in run 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor swift = self.get_object_client(context) 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/tripleo_common/actions/base.py", line 38, in get_object_client 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor obj_ep = keystone_utils.get_endpoint_for_project(context, 'swift') 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/tripleo_common/utils/keystone.py", line 47, in get_endpoint_for_project 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor service_catalog = obtain_service_catalog(ctx) 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/tripleo_common/utils/keystone.py", line 111, in obtain_service_catalog 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor raise exception.UnauthorizedException() 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor UnauthorizedException 2017-09-14 13:00:02.748 20437 ERROR mistral.executors.default_executor
2017-09-14 14:00:08 Dougal Matthews summary tripleo.plan_management.v1.publish_ui_logs_to_swift ERRORs Workflow tripleo.plan_management.v1.publish_ui_logs_to_swift ERRORs
2017-09-18 15:23:35 Alex Schultz tripleo: status Confirmed Triaged
2017-09-22 07:51:12 Dougal Matthews bug task added mistral
2017-09-25 15:11:44 Brad P. Crochet mistral: assignee Brad P. Crochet (brad-9)
2017-09-25 15:12:03 Brad P. Crochet mistral: status New In Progress
2017-09-25 15:12:03 Brad P. Crochet mistral: assignee Brad P. Crochet (brad-9)
2017-09-25 15:12:12 Brad P. Crochet mistral: assignee Brad P. Crochet (brad-9)
2017-09-26 14:20:43 Honza Pokorny bug added subscriber Honza Pokorny
2017-09-27 13:50:21 Brad P. Crochet tripleo: assignee Brad P. Crochet (brad-9)
2017-09-27 13:50:31 Brad P. Crochet mistral: status In Progress Invalid
2017-09-27 13:50:58 Brad P. Crochet mistral: status Invalid In Progress
2017-09-28 13:39:10 Brad P. Crochet mistral: status In Progress Invalid
2017-09-28 14:05:52 OpenStack Infra tripleo: status Triaged In Progress
2017-10-05 12:03:40 OpenStack Infra tripleo: assignee Brad P. Crochet (brad-9) Dougal Matthews (d0ugal)
2017-10-06 17:35:44 Honza Pokorny tags ui workflows pike-backport-potential ui workflows
2017-10-07 03:36:41 OpenStack Infra tripleo: status In Progress Fix Released
2017-10-10 17:46:22 OpenStack Infra tags pike-backport-potential ui workflows in-stable-pike pike-backport-potential ui workflows