dhcp_agent fails in RPC communication with neutron-server under Metaplugin

Bug #1300570 reported by Itsuro Oda
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Itsuro Oda
Icehouse
Fix Released
Medium
Itsuro Oda

Bug Description

This problem occurs when ml2 plugin runs under Metaplugin.

error log of dhcp_agent is as follows:
---
2014-03-28 18:57:17.062 ERROR neutron.agent.dhcp_agent [req-9c53d7a6-d850-42de-896f-184827b33bfd None None] Failed reporting state!
2014-03-28 18:57:17.062 TRACE neutron.agent.dhcp_agent Traceback (most recent call last):
2014-03-28 18:57:17.062 TRACE neutron.agent.dhcp_agent File "/opt/stack/neutron/neutron/agent/dhcp_agent.py", line 564, in _report_state
2014-03-28 18:57:17.062 TRACE neutron.agent.dhcp_agent self.state_rpc.report_state(ctx, self.agent_state, self.use_call)
2014-03-28 18:57:17.062 TRACE neutron.agent.dhcp_agent File "/opt/stack/neutron/neutron/agent/rpc.py", line 72, in report_state
2014-03-28 18:57:17.062 TRACE neutron.agent.dhcp_agent return self.call(context, msg, topic=self.topic)
2014-03-28 18:57:17.062 TRACE neutron.agent.dhcp_agent File "/opt/stack/neutron/neutron/openstack/common/rpc/proxy.py", line 129, in call
2014-03-28 18:57:17.062 TRACE neutron.agent.dhcp_agent exc.info, real_topic, msg.get('method'))
2014-03-28 18:57:17.062 TRACE neutron.agent.dhcp_agent Timeout: Timeout while waiting on RPC response - topic: "q-plugin", RPC method: "report_state" info: "<unknown>"
2014-03-28 18:57:17.062 TRACE neutron.agent.dhcp_agent
---

This problem is brought by the patch:
 https://review.openstack.org/#/c/72565/
because ml2 plguin does not become to open RPC connection at plugin initialization.

Itsuro Oda (oda-g)
Changed in neutron:
assignee: nobody → Itsuro Oda (oda-g)
tags: added: icehouse-rc-potential
Revision history for this message
Itsuro Oda (oda-g) wrote :

I will submit the fix in a few days.

tags: added: icehouse-backport-potential
removed: icehouse-rc-potential
tags: added: metaplugin
Changed in neutron:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/84914

Changed in neutron:
status: Triaged → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/84914
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=8fb023ed53aff31f37ebebb94aca4f8e2a188342
Submitter: Jenkins
Branch: master

commit 8fb023ed53aff31f37ebebb94aca4f8e2a188342
Author: Itsuro Oda <email address hidden>
Date: Wed Apr 2 13:24:42 2014 +0900

    Add support for multiple RPC workers under Metaplugin

    Metaplugin needs a fix to support multiple RPC workers properly
    because a plugin which supports multiple RPC workers cannot
    initialize RPC connections at plugin initialization.

    Closes-Bug: #1300570
    Change-Id: I584f70abb8969054cd4edc8f914d00f6be930bab

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to neutron (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/90011

Alan Pevec (apevec)
tags: removed: icehouse-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/icehouse)

Reviewed: https://review.openstack.org/90011
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=5db494d5457c4102113fe43a7741cddcf4bca85a
Submitter: Jenkins
Branch: stable/icehouse

commit 5db494d5457c4102113fe43a7741cddcf4bca85a
Author: Itsuro Oda <email address hidden>
Date: Wed Apr 2 13:24:42 2014 +0900

    Add support for multiple RPC workers under Metaplugin

    Metaplugin needs a fix to support multiple RPC workers properly
    because a plugin which supports multiple RPC workers cannot
    initialize RPC connections at plugin initialization.

    Closes-Bug: #1300570
    Change-Id: I584f70abb8969054cd4edc8f914d00f6be930bab
    (cherry picked from commit 8fb023ed53aff31f37ebebb94aca4f8e2a188342)

Thierry Carrez (ttx)
Changed in neutron:
milestone: none → juno-1
status: Fix Committed → Fix Released
David Britton (dpb)
tags: added: cloud-installer landscape
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.