add new script to clean named volume

Bug #1531407 reported by Kuo-tung Kao (jelly)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Low
Sajauddin

Bug Description

Now we use named volumes instead of data container.
We need to clean named volumes

summary: - clean named volume in tools/cleanup-containers
+ add new script to clean named volume
Revision history for this message
Sam Yaple (s8m) wrote :

Technically we don't need this. The current cleanup script will also remove named volumes if they are attached.

However it is possible to end up with a name volume and no container using it if a deploy fails so I am ok with such a script.

Steven Dake (sdake)
Changed in kolla:
importance: Undecided → Medium
milestone: none → mitaka-3
status: New → Confirmed
Steven Dake (sdake)
Changed in kolla:
milestone: mitaka-3 → mitaka-rc1
importance: Medium → Low
Steven Dake (sdake)
Changed in kolla:
milestone: mitaka-rc1 → mitaka-rc2
Revision history for this message
Steven Dake (sdake) wrote :

kjelly

Will this make April 1st?

tags: added: rc-backport-potential
Steven Dake (sdake)
tags: removed: rc-backport-potential
Changed in kolla:
milestone: mitaka-rc2 → newton-1
Revision history for this message
Steven Dake (sdake) wrote :

remvoing from backport into mitaka since low priority

no longer affects: kolla/mitaka
Steven Dake (sdake)
Changed in kolla:
milestone: newton-1 → newton-2
Changed in kolla:
milestone: newton-2 → newton-3
Changed in kolla:
milestone: newton-3 → occata-1
Changed in kolla:
assignee: Kuo-tung Kao (jelly) (coding1314) → Sajauddin (sajauddin-mohammad)
Changed in kolla:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

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

Revision history for this message
Sajauddin (sajauddin-mohammad) wrote :

To filter the kolla volumes to be deleted among all the volumes, docker label needs to be attached to the volume. Docker-py supports assigning labels to the volumes from v1.10.0. So should we install docker-py v1.10.0 as a prerequisite ?

Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

I think this is done already[0].

So i will mark this as released. feel free to re-open it.

[0] https://github.com/openstack/kolla/blob/master/tools/cleanup-containers#L11

Changed in kolla:
status: In Progress → Fix Released
milestone: ocata-1 → newton-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla (master)

Change abandoned by Duong Ha-Quang (<email address hidden>) on branch: master
Review: https://review.openstack.org/374557
Reason: See https://bugs.launchpad.net/kolla/+bug/1531407 for more details.

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.