Fix bootstrap servers by installing apparmor package
Probably because of a new version of docker-ce package apparmor is not installed by default anymore and containers can't start because of apparmor_parser is missing. This patch is adding apparmor package to list of packages to be installed. Closes-Bug: #2004583 Depends-on: https://review.opendev.org/c/openstack/kolla-ansible/+/872558 Change-Id: I4855a9ea896f30575b924a45f020c23a2e780f4b
This commit is contained in:
parent
75431a83c8
commit
fcb91f1e56
7
releasenotes/notes/bug-2004583-341238937cc71bef.yaml
Normal file
7
releasenotes/notes/bug-2004583-341238937cc71bef.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes the docker role to avoid an error
|
||||
"apparmor_parser apparmor_parser --version failed" by installing
|
||||
apparmor package on debian like systems.
|
||||
`LP#2004583 <https://bugs.launchpad.net/kolla-ansible/+bug/2004583>`__
|
@ -22,6 +22,7 @@ docker_yum_package: "{% if ansible_facts.distribution == 'openEuler' %}docker{%
|
||||
# List of packages to install.
|
||||
docker_packages:
|
||||
- "{{ docker_apt_package if ansible_facts.os_family == 'Debian' else docker_yum_package }}"
|
||||
- "{% if ansible_facts.os_family == 'Debian' %}apparmor{% endif %}"
|
||||
- "{% if not docker_disable_default_iptables_rules | bool %}iptables{% endif %}"
|
||||
|
||||
docker_storage_driver: ""
|
||||
|
Loading…
Reference in New Issue
Block a user