VM not deleted due to port-delete failing (failure in interface-route-table's deletion)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
High
|
Sachin Bansal | ||
R2.20 |
Fix Committed
|
Medium
|
Sachin Bansal |
Bug Description
2.20 Build 108 Ubuntu 14.04 Juno multi-node HA setup
nodec1,
We were running a case from a test script where one of the VM deletions failed . It was due to port-delete returning an error.
The port-delete error seems to be due to failure in deleting interface-
Full logs of the nodes and cassandra config log will be in http://
root@nodec1:~/logs# nova show 627f27c7-
+------
| Property | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | error |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2015-11-
| fault | {"message": "An unknown exception occurred.", "code": 500, "details": " File \"/usr/
| | return function(self, context, *args, **kwargs) |
| | File \"/usr/
| | do_terminate_
| | File \"/usr/
| | return f(*args, **kwargs) |
| | File \"/usr/
| | self._set_
| | File \"/usr/
| | six.reraise(
| | File \"/usr/
| | self._delete_
| | File \"/usr/
| | rv = f(*args, **kwargs) |
| | File \"/usr/
| | quotas.rollback() |
| | File \"/usr/
| | six.reraise(
| | File \"/usr/
| | self._shutdown_
| | File \"/usr/
| | self._try_
| | File \"/usr/
| | self._set_
| | File \"/usr/
| | six.reraise(
| | File \"/usr/
| | self._deallocat
| | File \"/usr/
| | context, instance, requested_
| | File \"/usr/
| | self._delete_
| | File \"/usr/
| | raise exceptions[0] |
| | ", "created": "2015-11-
| flavor | contrail_
| hostId | c5bcd8ed77a74ce
| id | 627f27c7-
| image | ubuntu-traffic (7799b586-
| key_name | juniperkey1 |
| metadata | {} |
| name | vmc4 |
| os-extended-
| status | ERROR |
| tenant_id | 4551763b91b649a
| updated | 2015-11-
| user_id | 6888f8e3070d4a9
| vnet2 network | 10.2.1.4 |
+------
root@nodec1:~/logs#
Related contrail api errors :
127.0.0.1 - - [2015-11-26 17:06:04] "DELETE /virtual-
Traceback (most recent call last):
File "/usr/lib/
return route.call(**args)
File "/usr/lib/
rv = callback(*a, **ka)
File "/usr/lib/
response = handler(*args, **kwargs)
File "/usr/lib/
(ok, del_result) = self._delete_
File "/usr/lib/
obj_dict = self._db_
File "/usr/lib/
return self._cassandra
File "/usr/lib/
raise NoIdError(id)
NoIdError: Unknown id: c0906f29-
127.0.0.1 - - [2015-11-26 17:06:04] "DELETE /interface-
Traceback (most recent call last):
File "/usr/lib/
cfgdb.
File "/usr/lib/
return func(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
content = self._request_
File "/usr/lib/
retry_
File "/usr/lib/
raise HttpError(status, content)
HttpError: HTTP Status: 500 Content: Internal Server Error
Traceback (most recent call last):
File "/usr/lib/
response = handler(*args, **kwargs)
File "/usr/lib/
return self.plugin_
File "/usr/lib/
cfgdb.
File "/usr/lib/
return func(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
content = self._request_
File "/usr/lib/
retry_
File "/usr/lib/
raise HttpError(status, content)
HttpError: HTTP Status: 500 Content: Internal Server Error
Traceback (most recent call last):
File "/usr/lib/
return route.call(**args)
File "/usr/lib/
rv = callback(*a, **ka)
File "/usr/lib/
response = handler(*args, **kwargs)
File "/usr/lib/
return self.plugin_
File "/usr/lib/
cfgdb.
File "/usr/lib/
return func(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
content = self._request_
File "/usr/lib/
retry_
File "/usr/lib/
raise HttpError(status, content)
HttpError: HTTP Status: 500 Content: Internal Server Error
10.204.216.58 - - [2015-11-26 17:06:04] "POST /neutron/port HTTP/1.1" 500 156 0.129024
10.204.216.58 - - [2015-11-26 17:06:10] "GET /virtual-
Changed in juniperopenstack: | |
milestone: | r3.0-fcs → r3.1.0.0-fcs |
assignee: | Hampapur Ajay (hajay) → Sachin Bansal (sbansal) |
Changed in juniperopenstack: | |
status: | New → Fix Committed |
Review in progress for https:/ /review. opencontrail. org/19158
Submitter: Sachin Bansal (<email address hidden>)