Nova Docker driver cannot destroy instance because context variable is missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned |
Bug Description
Nova Docker driver cannot destroy instance because context variable is missing.
https:/
def destroy(self, instance, network_info, block_device_
must be
def destroy(self, instance, network_info, block_device_
to make the docker driver full functional
Steps to reproduce:
1. (Horizon) Create multiple docker container
2. Wait until all container are up and running (in my case I had even failing container because of a setup issue).
3. (Horizon) Select all container and press terminate instance
Result some container are not deleted/removed from docker. The instances will still be displayed in horizon.
Unfortunately I have currently no setup to provide the stack trace. The stace trace clearly said that method destroy cannot be called since variable "context" isn't expected.
description: | updated |
description: | updated |
Pull request: https:/ /github. com/openstack/ nova/pull/ 28