Docker systemd unit remains masked on Debian & Ubuntu

Bug #1989704 reported by Mark Goddard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ansible-collection-kolla
In Progress
Medium
Unassigned

Bug Description

In the docker role, when running on Debian family hosts, we mask the docker.service systemd unit before installing docker, to prevent it from starting unconfigured. We later try to unmask the service using the Ansible systemd module, however this does not seem to work, and the service remains masked.

This would be likely to prevent docker from starting after a reboot, and also breaks cephadm bootstrap.

Seen on Ubuntu Focal, Kolla Ansible Wallaby.

Mark Goddard (mgoddard)
description: updated
Changed in ansible-collection-kolla:
importance: Undecided → Medium
description: updated
Revision history for this message
Mark Goddard (mgoddard) wrote :

ansible 2.10.17
  config file = None
  configured module search path = ['/home/mark/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/mark/deployment/venvs/kolla-ansible/lib/python3.8/site-packages/ansible
  executable location = ../../venvs/kolla-ansible/bin/ansible
  python version = 3.8.10 (default, Jun 22 2022, 20:18:18) [GCC 9.4.0]

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ansible-collection-kolla (master)
Changed in ansible-collection-kolla:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.