Need to unplug vifs for failed container

Bug #1462854 reported by Liyingjun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova-docker
Fix Committed
Undecided
Liyingjun

Bug Description

when the container failed to start because of _attach_vifs [1], the vifs created didn't cleanup. So we need to clean the vifs when destroying the instance in cleanup [2].

[1]: https://git.openstack.org/cgit/stackforge/nova-docker/tree/novadocker/virt/docker/driver.py#n419
[2]: https://git.openstack.org/cgit/stackforge/nova-docker/tree/novadocker/virt/docker/driver.py#n526

Liyingjun (liyingjun)
Changed in nova-docker:
assignee: nobody → Liyingjun (liyingjun)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova-docker (master)

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

Changed in nova-docker:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova-docker (master)

Reviewed: https://review.openstack.org/189181
Committed: https://git.openstack.org/cgit/stackforge/nova-docker/commit/?id=1a122830212096388f17da24c911b7dc8a2173df
Submitter: Jenkins
Branch: master

commit 1a122830212096388f17da24c911b7dc8a2173df
Author: liyingjun <email address hidden>
Date: Mon Jun 8 11:45:24 2015 +0800

    Cleanup vifs for error instance

    If the container failed to start because of _attach_vifs, the vifs
    created will not cleanup. We need to clean the vifs when destroying the
    instance.

    Change-Id: I6ff80d2f871592e6d7e7027577270ba8f4516d33
    Closes-bug: #1462854

Changed in nova-docker:
status: In Progress → Fix Committed
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.