← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1337677] [NEW] Error when starting metering agent

 

Public bug reported:

There is an error when starting the metering agent with latest devstack
code, see below. As a result, metering agent won't get the routers info
for metering.

2014-07-03 22:48:26.320 ERROR neutron.openstack.common.loopingcall [req-3de9a0d0-a5a5-4e2a-8524-e2d10fcf4e93 None None] in fixed duration looping call
2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall Traceback (most recent call last):
2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall   File "/opt/stack/neutron/neutron/openstack/common/loopingcall.py", line 76, in _inner
2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall     self.f(*self.args, **self.kw)
2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall   File "/opt/stack/neutron/neutron/service.py", line 296, in periodic_tasks
2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall     self.manager.periodic_tasks(ctxt, raise_on_error=raise_on_error)
2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall   File "/opt/stack/neutron/neutron/manager.py", line 45, in periodic_tasks
2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall     self.run_periodic_tasks(context, raise_on_error=raise_on_error)
2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall   File "/opt/stack/neutron/neutron/openstack/common/periodic_task.py", line 160, in run_periodic_tasks
2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall     last_run = self._periodic_last_run[task_name]
2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall AttributeError: 'MeteringAgentWithStateReport' object has no attribute '_periodic_last_run'
2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall

** Affects: neutron
     Importance: Undecided
     Assignee: Fei Long Wang (flwang)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Fei Long Wang (flwang)

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

Title:
  Error when starting metering agent

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  There is an error when starting the metering agent with latest
  devstack code, see below. As a result, metering agent won't get the
  routers info for metering.

  2014-07-03 22:48:26.320 ERROR neutron.openstack.common.loopingcall [req-3de9a0d0-a5a5-4e2a-8524-e2d10fcf4e93 None None] in fixed duration looping call
  2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall Traceback (most recent call last):
  2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall   File "/opt/stack/neutron/neutron/openstack/common/loopingcall.py", line 76, in _inner
  2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall     self.f(*self.args, **self.kw)
  2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall   File "/opt/stack/neutron/neutron/service.py", line 296, in periodic_tasks
  2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall     self.manager.periodic_tasks(ctxt, raise_on_error=raise_on_error)
  2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall   File "/opt/stack/neutron/neutron/manager.py", line 45, in periodic_tasks
  2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall     self.run_periodic_tasks(context, raise_on_error=raise_on_error)
  2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall   File "/opt/stack/neutron/neutron/openstack/common/periodic_task.py", line 160, in run_periodic_tasks
  2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall     last_run = self._periodic_last_run[task_name]
  2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall AttributeError: 'MeteringAgentWithStateReport' object has no attribute '_periodic_last_run'
  2014-07-03 22:48:26.320 TRACE neutron.openstack.common.loopingcall

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


Follow ups

References