destroy action role fails on localhost

Bug #1805596 reported by João Feteira
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
In Progress
Medium
Chason Chan

Bug Description

Hi,

When running the command

kolla-ansible -i multinode destroy --yes-i-really-really-mean-it

If the localhost isn't being used for any role (and hence docker isn't installed) the task below fails (although the command still deletes the other nodes containers successfully):

TASK [destroy : Ensure the docker service is running] **************************************************************************************************************************************************** fatal: [localhost]: FAILED! => {"changed": true, "msg": "non-zero return code", "rc": 1, "stderr": "User root can't seem to run Docker commands. Verify product documentation to allow user to execute docker commands\n"

One workaround is to install and start docker on the deployment host even if it is not used.
The other could be to have an option not to run the destroy on the deployment host by checking if it isn't used on any other openstack role on the multinode file.

Kolla-ansible version 6.0.0

Thanks!

Changed in kolla-ansible:
status: New → Triaged
Chason Chan (chen-xing)
Changed in kolla-ansible:
assignee: nobody → Chason Chan (chen-xing)
Chason Chan (chen-xing)
Changed in kolla-ansible:
status: Triaged → In Progress
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/621851

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (master)

Change abandoned by "Michal Nasiadka <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/621851
Reason: No updates since 2018

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.