Comment 7 for bug 1634202

Revision history for this message
Leif Madsen (leifmadsen) wrote :

I was debating on starting a new bug or not, but I'm seeing a similar issue when attempting to start the introspection:

Exception introspecting nodes: {u'result': u'Failed to run task [wf=WorkflowExecution {\'state_info\': None, \'accepted\': False, \'output\': {}, \'name\': u\'tripleo.baremetal.v1.introspect\', \'workflow_name\': u\'tripleo.baremetal.v1.introspect\', \'state\': \'RUNNING\', \'created_at\': \'2016-10-18 01:08:38.325385\', \'runtime_context\': {\'index\': 0}, \'updated_at\': \'2016-10-18 01:08:38.332061\', \'spec\': {u\'input\': [u\'node_uuids\', {u\'queue_name\': u\'tripleo\'}], u\'tasks\': {u\'send_message\': {u\'retry\': u\'count=5 delay=1\', u\'name\': u\'send_message\', u\'version\': \'2.0\', u\'action\': u\'zaqar.queue_post\', u\'input\': {u\'queue_name\': u\'<% $.queue_name %>\', u\'messages\': {u\'body\': {u\'type\': u\'tripleo.baremetal.v1.introspect\', u\'payload\': {u\'status\': u"<% $.get(\'status\', \'SUCCESS\') %>", u\'message\': u"<% $.get(\'message\', \'\') %>", u\'execution\': u\'<% execution() %>\', u\'introspected_nodes\': u"<% $.get(\'introspected_nodes\', []) %>"}}}}, u\'type\': \'direct\'}, u\'set_status_failed_start_introspection\': {u\'version\': \'2.0\', u\'type\': \'direct\', u\'name\': u\'set_status_failed_start_introspection\', u\'publish\': {u\'status\': u\'FAILED\', u\'message\': u\'<% task(start_introspection).result %>\', u\'introspected_nodes\': []}, u\'on-success\': u\'send_message\'}, u\'wait_for_introspection_to_finish\': {u\'name\': u\'wait_for_introspection_to_finish\', u\'on-success\': u\'send_message\', u\'publish\': {u\'status\': u\'SUCCESS\', u\'message\': u\'Successfully introspected nodes.\', u\'introspected_nodes\': u\'<% task(wait_for_introspection_to_finish).result %>\'}, u\'version\': \'2.0\', u\'action\': u\'baremetal_introspection.wait_for_finish\', u\'input\': {u\'uuids\': u\'<% $.node_uuids %>\'}, u\'type\': \'direct\'}, u\'start_introspection\': {u\'with-items\': u\'uuid in <% $.node_uuids %>\', u\'name\': u\'start_introspection\', u\'on-error\': u\'set_status_failed_start_introspection\', u\'on-success\': u\'wait_for_introspection_to_finish\', u\'version\': \'2.0\', u\'action\': u\'baremetal_introspection.introspect uuid=<% $.uuid %>\', u\'type\': \'direct\'}}, u\'description\': u\'Take a list of nodes and move them through introspection.\', u\'version\': u\'2.0\', u\'name\': u\'introspect\'}, \'workflow_id\': u\'07c7a9e2-9e23-4f03-b166-f6d811b7c90d\', \'params\': {\'index\': 0, \'task_execution_id\': u\'d7fccd05-ba45-400e-8811-cecfc1916806\'}, \'context\': {\'openstack\': {u\'project_name\': u\'admin\', u\'user_id\': u\'9f26c755eb2f4b9da21e8ce31718684c\', u\'roles\': [u\'admin\'], u\'auth_uri\': u\'http://172.16.200.10:5000/v3\', u\'auth_cacert\': None, u\'auth_token\': u\'704ea298f58643b1a5f38c754b27feec\', u\'expires_at\': u\'2016-10-18T05:08:35.000000Z\', u\'is_trust_scoped\': False, u\'project_id\': u\'dba8453eda9e45ed86251a7b4086461a\', u\'user_name\': u\'admin\', u\'target_service_catalog\': None}, \'__execution\': {\'id\': u\'5bf6adc2-3606-45a5-9796-ff0db952d166\'}}, \'input\': {u\'queue_name\': u\'04853dce-548d-4222-a165-49c66ef8ed42\', u\'node_uuids\': [u\'d417fe58-f4b2-47da-b866-fb194121f046\', u\'2262e3b8-4fbb-4e29-ac89-4bdffa534e79\', u\'a92d0fc1-e475-4b07-9ddf-310b77248981\']}, \'scope\': \'private\', \'project_id\': u\'dba8453eda9e45ed86251a7b4086461a\', \'task_execution_id\': u\'d7fccd05-ba45-400e-8811-cecfc1916806\', \'id\': u\'5bf6adc2-3606-45a5-9796-ff0db952d166\', \'description\': \'sub-workflow execution\'}, task=start_introspection]: Invalid input [name=baremetal_introspection.introspect, class=NoneType, unexpected=[u\'uuid\']]\nTraceback (most recent call last):\n File "/usr/lib/python2.7/site-packages/mistral/engine/task_handler.py", line 57, in run_task\n task.run()\n File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 154, in wrapper\n return f(*args, **kwargs)\n File "/usr/lib/python2.7/site-packages/mistral/engine/tasks.py", line 268, in run\n self._run_new()\n File "/usr/lib/python2.7/site-packages/mistral/engine/tasks.py", line 291, in _run_new\n self._schedule_actions()\n File "/usr/lib/python2.7/site-packages/mistral/engine/tasks.py", line 460, in _schedule_actions\n action.validate_input(input_dict)\n File "/usr/lib/python2.7/site-packages/mistral/engine/actions.py", line 288, in validate_input\n e_utils.validate_input(self.action_def, input_dict)\n File "/usr/lib/python2.7/site-packages/mistral/engine/utils.py", line 58, in validate_input\n msg % tuple(msg_props)\nInputException: Invalid input [name=baremetal_introspection.introspect, class=NoneType, unexpected=[u\'uuid\']]\n'}

Repo: baseurl=https://trunk.rdoproject.org/centos7-ocata/f0/ca/f0ca030595cb7484be338c5678738b2e536b2369_ebed6939