Upgrades job fails with Ansible 2.11 when trying to use docker module
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Triaged
|
Critical
|
Unassigned |
Bug Description
undercloud upgrade job from wallaby to xena fails when running Ansible 2.11:
ERROR! couldn't resolve module/action 'docker_container'. This often indicates a misspelling, missing collection, or incorrect module path.
2021-07-26 10:24:54 |
2021-07-26 10:24:54 | The error appears to be in '/usr/share/
2021-07-26 10:24:54 | be elsewhere in the file depending on the exact syntax problem.
2021-07-26 10:24:54 |
2021-07-26 10:24:54 | The offending line appears to be:
2021-07-26 10:24:54 |
2021-07-26 10:24:54 |
2021-07-26 10:24:54 | - name: Stop a container
2021-07-26 10:24:54 | ^ here
2021-07-26 10:24:54 | [ERROR]: An include failure occurred, we will not continue to process after
2021-07-26 10:24:54 | this play completes.
2021-07-26 10:24:54 |
tags: | added: upgrade |
https:/ /review. opendev. org/q/I50b81937 698098141045841 aec59c04ee88f5b 0f to solve it