database connection failed (Protocol error)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron-openvswitch (Juju Charms Collection) |
Invalid
|
Critical
|
Hua Zhang | ||
nova-compute (Juju Charms Collection) |
Invalid
|
Critical
|
Unassigned | ||
quantum-gateway (Juju Charms Collection) |
Invalid
|
Critical
|
Unassigned |
Bug Description
Versions:
root@juju-
ii openvswitch-common 2.0.2-0ubuntu0.
ii openvswitch-switch 2.0.2-0ubuntu0.
root@juju-
Linux juju-precise-
root@juju-
Ubuntu 14.04.1 LTS \n \l
root@juju-
ii neutron-common 1:2014.
ii neutron-plugin-ml2 1:2014.
ii neutron-
ii python-neutron 1:2014.
Erros:
root@juju-
2014-12-
ovs-vsctl: unix:/var/
root@juju-
2014-12-25 09:37:03.990 20991 ERROR neutron.
2014-12-25 09:44:53.796 20991 ERROR neutron.
Workaround:
restart openvswitch-switch
But ovs-vsctl will get this error every several minutes, this caused neutron-
The root cause is :
Neutron agent will call ovs monitor to get interfaces info, but ovs monitor process will be respawned every 'respawn_interval' minutes due to get error output 'sudo: unable to resolve host juju-precise-
Currently, one possible fix in code is to add hostname to /etc/hosts followed by 127.0.0.1 or localhost to avoid the error 'sudo: unable to resolve host juju-precise-
description: | updated |
description: | updated |
description: | updated |
Changed in quantum-gateway (Juju Charms Collection): | |
importance: | Undecided → Critical |
Changed in nova-compute (Juju Charms Collection): | |
importance: | Undecided → Critical |
Changed in neutron-openvswitch (Juju Charms Collection): | |
importance: | Undecided → Critical |
assignee: | nobody → Hua Zhang (zhhuabj) |
tags: | added: cts openstack |
tags: | added: reverse-dns uosci |
This issue will kill ovs process both in network and compute nodes, I find some logs in /var/log/ openvswitch/ ovs-vswitchd. log of compute node as below.
2014-12- 26T03:59: 53.899Z| 00032|bridge| INFO|bridge br-int: added interface patch-tun on port 7 26T03:59: 53.982Z| 00033|bridge| INFO|bridge br-tun: added interface patch-int on port 1 26T03:59: 55.320Z| 00034|bridge| INFO|bridge br-tun: added interface gre-0a050041 on port 2 26T03:59: 55.411Z| 00035|bridge| INFO|bridge br-tun: added interface gre-0a050040 on port 3 26T04:00: 03.253Z| 00036|ofproto| INFO|br- int: 4 flow_mods 10 s ago (3 adds, 1 deletes) 26T04:00: 03.253Z| 00037|ofproto| INFO|br- data: 3 flow_mods 10 s ago (2 adds, 1 deletes) 26T04:00: 04.253Z| 00038|ofproto| INFO|br- tun: 18 flow_mods in the 1 s starting 10 s ago (15 adds, 1 deletes, 2 modifications) 26T04:55: 39.468Z| 00001|tunnel( miss_handler) |WARN|receive tunnel port not found (10.5.0. 69->10. 5.0.66, key=0x2, dp port=7, pkt mark=0) 26T04:55: 39.468Z| 00002|ofproto_ dpif_upcall( miss_handler) |INFO|received packet on unassociated datapath port 7 26T04:55: 40.619Z| 00003|tunnel( miss_handler) |WARN|receive tunnel port not found (10.5.0. 69->10. 5.0.66, key=0x2, dp port=7, pkt mark=0) 26T04:55: 40.619Z| 00004|ofproto_ dpif_upcall( miss_handler) |INFO|received packet on unassociated datapath port 7 26T04:55: 43.484Z| 00005|tunnel( miss_handler) |WARN|receive tunnel port not found (10.5.0. 69->10. 5.0.66, key=0x2, dp port=7, pkt mark=0) 26T04:55: 43.484Z| 00006|ofproto_ dpif_upcall( miss_handler) |INFO|received packet on unassociated datapath port 7 26T04:55: 44.634Z| 00007|tunnel( miss_handler) |WARN|receive tunnel port not found (10.5.0. 69->10. 5.0.66, key=0x2, dp port=7, pkt mark=0) 26T04:55: 44.634Z| 00008|ofproto_ dpif_upcall( miss_handler) |INFO|received packet on unassociated datapath port 7 26T04:56: 12.002Z| 00009|tunnel( miss_handler) |WARN|receive tunnel port not found (10.5.0. 69->10. 5.0.66, key=0x2, dp port=7, pkt mark=0) 26T04:56: 12.002Z| 00010|ofproto_ dpif_upcall( miss_handler) |INFO|received packet on unassociated datapath port 7 26T04:57: 24.068Z| 00001|fatal_ signal( dispatcher) |WARN|terminati ng with signal 15 (Terminated) 26T04:57: 24.080Z| 00002|daemon( monitor) |INFO|pid 10607 died, killed (Terminated), exiting
2014-12-
2014-12-
2014-12-
2014-12-
2014-12-
2014-12-
2014-12-
2014-12-
2014-12-
2014-12-
2014-12-
2014-12-
2014-12-
2014-12-
2014-12-
2014-12-
2014-12-
2014-12-