Losing network info cache sometimes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Medium
|
Tiantian Gao |
Bug Description
We are using stable/havana.
For some inexplicable reason, some instances lost network information. The result looks like:
$ nova list
| a8f8a437-
$ neutron port-list --device-id a8f8a437-
+------
| id | name | mac_address | fixed_ips |
+------
| 6b042778-
| 9800fd03-
+------
neutron said there are two ports binding with the instance, but nova said the instance has no port.
We dug logs, and found somethings went wrong after running heal_instance_
The simple logs pasted below, and full log here: http://
....
2014-05-26 03:47:13.258 14884 DEBUG nova.network.api [-] Updating cache with info: [VIF({'
ts': [Subnet({'ips': [FixedIP({'meta': {}, 'version': 4, 'type': 'fixed', 'floating_ips': [], 'address': u'10.162.81.4'})], 'version': 4, 'meta': {'dhcp_server': u'10.162.81.3'}, 'dns': [], 'rout
es': [], 'cidr': u'10.162.81.0/28', 'gateway': IP({'meta': {}, 'version': None, 'type': 'gateway', 'address': None})})], 'meta': {'injected': False, 'tenant_id': u'c10373fb5d234
c'}, 'id': u'b0bb08c1-
c', 'type': u'ovs', 'id': u'5953e098-
2014-05-26 03:47:13.263 14884 DEBUG nova.compute.
-packages/
.....
2014-05-26 03:52:14.255 14884 DEBUG nova.network.api [-] Updating cache with info: [] update_
.....
I try hard but can't no re-product the bug manual, The key problem here is why the info_cache not showing up. But on the other hand, we'd better give nova the ability to self-healing in this case.
tags: | added: network |
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Tiantian Gao (gtt116) |
status: | Confirmed → In Progress |
summary: |
- Losting network info_cache sometimes + Losing network info cache sometimes |
tags: | added: neutron |
Same behavior seen in grizzly as well.