← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1510399] [NEW] Error when metadata proxy is disabled for ha l3 agent

 

Public bug reported:

The configuration:

/etc/neutron/neutron.conf
[DEFAULT]
....
l3_ha = True
....

/etc/neutron/l3_agent.ini
[DEFAULT]
....
enable_metadata_proxy = False
....

There was an error in l3_agent's log:

2015-10-27 01:18:46.833 5494 TRACE neutron.agent.l3.agent     self.metadata_driver.destroy_monitored_metadata_proxy(
2015-10-27 01:18:46.833 5494 TRACE neutron.agent.l3.agent AttributeError: 'L3NATAgentWithStateReport' object has no attribute 'metadata_driver'

I think maybe we need a check before this method :

https://github.com/openstack/neutron/blob/master/neutron/agent/l3/ha.py#L126

** Affects: neutron
     Importance: High
     Assignee: Hong Hui Xiao (xiaohhui)
         Status: Confirmed


** Tags: l3-ha liberty-backport-potential

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1510399

Title:
  Error when metadata proxy is disabled for ha l3 agent

Status in neutron:
  Confirmed

Bug description:
  The configuration:

  /etc/neutron/neutron.conf
  [DEFAULT]
  ....
  l3_ha = True
  ....

  /etc/neutron/l3_agent.ini
  [DEFAULT]
  ....
  enable_metadata_proxy = False
  ....

  There was an error in l3_agent's log:

  2015-10-27 01:18:46.833 5494 TRACE neutron.agent.l3.agent     self.metadata_driver.destroy_monitored_metadata_proxy(
  2015-10-27 01:18:46.833 5494 TRACE neutron.agent.l3.agent AttributeError: 'L3NATAgentWithStateReport' object has no attribute 'metadata_driver'

  I think maybe we need a check before this method :

  https://github.com/openstack/neutron/blob/master/neutron/agent/l3/ha.py#L126

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1510399/+subscriptions


Follow ups