tacker fails to delete vnf if vnf instance_id is null
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tacker |
Fix Released
|
Medium
|
Kanagaraj Manickam |
Bug Description
When the VNF creation is failed, it status is set to ERROR and instance_id is not set (and is null)
So when user tries to delete this failed VNF, following exception is thrown:
from (pid=3256) _http_log_response /usr/local/
2016-06-02 21:55:21.602 ERROR tacker.vm.plugin [-] _delete_device_wait
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin Traceback (most recent call last):
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin File "/opt/stack/
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin region_
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin File "/opt/stack/
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin return getattr(driver, method_
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin File "/opt/stack/
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin return method(*args, **kwargs)
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin File "/opt/stack/
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin stack = heatclient_
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin File "/opt/stack/
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin return self.stacks.
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin File "/opt/stack/
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin resp = self.client.
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin File "/usr/local/
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin return self.request(url, 'GET', **kwargs)
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin File "/opt/stack/
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin raise exc.from_
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin HTTPNotFound: ERROR: The Stack (None) could not be found.
2016-06-02 21:55:21.602 TRACE tacker.vm.plugin
Changed in tacker: | |
assignee: | nobody → Kanagaraj Manickam (kanagaraj-manickam) |
Changed in tacker: | |
importance: | Undecided → Medium |
milestone: | none → newton-2 |
Fix proposed to branch: master /review. openstack. org/325167
Review: https:/