Skip to content

Commit

Permalink
AttributeError: No such RPC function 'report_state'
Browse files Browse the repository at this point in the history
This patch changes dhcp_agent_manager to be DhcpAgent instead of
DhcpAgentWithStateReport since not all plugins support DhcpAgentWithStateReport
and having this as the default breaks all current deployments that upgrade
source without changing their config files.

Fixes bug 1131446

Change-Id: I6415f85714b03e9bf59d597e8ec2397fedc92b02
  • Loading branch information
aaronorosen committed Feb 21, 2013
1 parent 2852a4b commit 349aa3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion etc/dhcp_agent.ini
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ dhcp_driver = quantum.agent.linux.dhcp.Dnsmasq
# enable_metadata_network = False

# The Quantum DHCP agent manager.
# dhcp_agent_manager = quantum.agent.dhcp_agent.DhcpAgentWithStateReport
# dhcp_agent_manager = quantum.agent.dhcp_agent.DhcpAgent
3 changes: 1 addition & 2 deletions quantum/agent/dhcp_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ class DhcpAgent(manager.Manager):
"dedicate network. Requires "
"enable isolated_metadata = True ")),
cfg.StrOpt('dhcp_agent_manager',
default='quantum.agent.dhcp_agent.'
'DhcpAgentWithStateReport',
default='quantum.agent.dhcp_agent.DhcpAgent',
help=_("The Quantum DHCP agent manager.")),
]

Expand Down

0 comments on commit 349aa3e

Please sign in to comment.