Source: https://bugzilla.redhat.com/show_bug.cgi?id=1631395
Description of problem:
While testing blacklist stack update and blacklisting some nodes, running stack update fails.
Steps to Reproduce:
1. Deploy any kind of overcloud.
2. Create blacklist.yaml that includes at least one node.
3. Trigger stack update.
Actual results:
The action raised an exception [action_ex_id=cc1e4b01-b516-4ebf-983a-b79d40d4060b, action_cls='<class 'mistral.actions.action_factory.GetOvercloudConfig'>', attributes='{}', params='{u'container_config': u'overcloud-config', u'container': u'overcloud'}']
u'fd6d150b-4086-4d97-8f80-5e8b295f5242'Warning: Permanently added '192.168.24.13' (ECDSA) to the list of known hosts.
Expected results:
UPDATE_COMPLETE
Complete trace:
2018-09-13 04:54:56.958 1 WARNING mistral.executors.default_executor [req-18751b69-fb57-4b2a-bb03-36d737c97a50 c4cd5fba81064d849c2f6639f8460129 c0c3e696aeac4513b936f36cddf89371 - default default] The action raised an exception [action_ex_id=cc1e4b01-b516-4ebf-983a-b79d40d4060b, action_cls='<class 'mistral.actions.action_factory.GetOvercloudConfig'>', attributes='{}', params='{u'container_config': u'overcloud-config', u'container': u'overcloud'}']
u'fd6d150b-4086-4d97-8f80-5e8b295f5242': KeyError: u'fd6d150b-4086-4d97-8f80-5e8b295f5242'
2018-09-13 04:54:56.958 1 ERROR mistral.executors.default_executor Traceback (most recent call last):
2018-09-13 04:54:56.958 1 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/mistral/executors/default_executor.py", line 114, in run_action
2018-09-13 04:54:56.958 1 ERROR mistral.executors.default_executor result = action.run(action_ctx)
2018-09-13 04:54:56.958 1 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/tripleo_common/actions/config.py", line 76, in run
2018-09-13 04:54:56.958 1 ERROR mistral.executors.default_executor commit_message=message)
2018-09-13 04:54:56.958 1 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/tripleo_common/utils/config.py", line 424, in download_config
2018-09-13 04:54:56.958 1 ERROR mistral.executors.default_executor self.write_config(stack, name, config_dir, config_type)
2018-09-13 04:54:56.958 1 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/tripleo_common/utils/config.py", line 298, in write_config
2018-09-13 04:54:56.958 1 ERROR mistral.executors.default_executor server_names[server_id],
2018-09-13 04:54:56.958 1 ERROR mistral.executors.default_executor KeyError: u'fd6d150b-4086-4d97-8f80-5e8b295f5242'
2018-09-13 04:54:56.958 1 ERROR mistral.executors.default_executor
Fix proposed to branch: master /review. openstack. org/604483
Review: https:/