kolla-ansible destroy leaves ceph_mon_config volume in some cases

Bug #1630960 reported by Paul Bourke
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Expired
Undecided
Unassigned

Bug Description

If during setup, Ceph gets the chance to create the ceph_mon_config volume, but fails soon after, tools/cleanup-containers will not be able to recognise this volume for removal. This is because by default it checks for running containers with the kolla label, and uses these to remove volumes. But in this case no ceph containers have started yet.

This then leads to the confusing error documented at http://docs.openstack.org/developer/kolla/ceph-guide.html#deploy-fails-with-fetching-ceph-keyrings-no-json-object-could-be-decoded

Changed in kolla:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → ocata-1
Changed in kolla:
milestone: ocata-1 → newton-rc2
milestone: newton-rc2 → ocata-1
Changed in kolla:
milestone: ocata-1 → ocata-2
Changed in kolla:
milestone: ocata-2 → ocata-3
Changed in kolla:
milestone: ocata-3 → ocata-rc1
Changed in kolla:
milestone: ocata-rc1 → pike-1
Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

we do not add label into volume. and when cleaning containers, remove the volumes he used.

if the volume is create but the container is disappeared. the volume will be not removed.

Changed in kolla:
milestone: pike-2 → pike-3
Changed in kolla:
milestone: pike-3 → pike-rc1
Changed in kolla:
milestone: pike-rc1 → queens-1
Changed in kolla:
milestone: queens-2 → queens-3
Changed in kolla:
milestone: queens-3 → queens-rc1
Changed in kolla:
milestone: queens-rc1 → queens-rc2
Changed in kolla:
milestone: queens-rc2 → rocky-1
Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote : Cleanup EOL bug report

This is an automated cleanup. This bug report has been closed because it
is older than 18 months and there is no open code change to fix this.
After this time it is unlikely that the circumstances which lead to
the observed issue can be reproduced.

If you can reproduce the bug, please:
* reopen the bug report (set to status "New")
* AND add the detailed steps to reproduce the issue (if applicable)
* AND leave a comment "CONFIRMED FOR: <RELEASE_NAME>"
  Only still supported release names are valid (OCATA, PIKE, QUEENS, ROCKY, ROCKY).
  Valid example: CONFIRMED FOR: OCATA

Changed in kolla:
importance: Medium → Undecided
status: Confirmed → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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