Queens: minor update fails if docker_config_scripts.yaml doesn't exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Emilien Macchi |
Bug Description
Operator failing to run "openstack overcloud update converge" command to finalize minor upgrade procedure. We can see the following errors for failed resources:
deploy_stdout: |
PLAY [localhost] *******
TASK [Gathering Facts] *******
ok: [localhost]
TASK [Create and ensure setype for /var/log/containers directory] **************
ok: [localhost]
TASK [Create /var/lib/
changed: [localhost]
TASK [Check if puppet step_config.pp manifest exists] *******
ok: [localhost -> localhost]
TASK [Set fact when file existed] *******
skipping: [localhost]
TASK [Write the puppet step_config manifest] *******
ok: [localhost]
TASK [Create /var/lib/
changed: [localhost]
TASK [Check if docker-puppet puppet_config.yaml configuration file exists] *****
ok: [localhost -> localhost]
TASK [Set fact when file existed] *******
skipping: [localhost]
TASK [Write docker-puppet.json file] *******
ok: [localhost]
TASK [Create /var/lib/
ok: [localhost]
TASK [Clean old /var/lib/
ok: [localhost]
TASK [Check if docker_
ok: [localhost -> localhost]
TASK [Set fact when file existed] *******
skipping: [localhost]
TASK [Write docker config scripts] *******
fatal: [localhost]: FAILED! => {"failed": true, "msg": "Unexpected failure in finding the lookup named '{{ role_data_
to retry, use: --limit @/var/lib/
PLAY RECAP *******
localhost : ok=11 changed=2 unreachable=0 failed=1
It looks related to this backport:
https:/
It's now using dictsort filter which requires a valid dictionary as input. The problem is that role_data_
It was fixed after Queens with https:/
role_
Which provided a default (empty hash).
Changed in tripleo: | |
milestone: | train-1 → train-2 |
Changed in tripleo: | |
milestone: | train-2 → train-3 |
Changed in tripleo: | |
milestone: | train-3 → ussuri-1 |
Changed in tripleo: | |
milestone: | ussuri-1 → ussuri-2 |
Changed in tripleo: | |
milestone: | ussuri-2 → ussuri-3 |
Changed in tripleo: | |
status: | Triaged → Fix Released |
Fix proposed to branch: stable/queens /review. opendev. org/662756
Review: https:/