AttributeError: 'MeteringAgentWithStateReport' object has no attribute '_periodic_last_ run'

Bug #1396893 reported by YAMAMOTO Takashi
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
YAMAMOTO Takashi

Bug Description

2014-11-27 15:25:19.223 12267 ERROR neutron.openstack.common.loopingcall [req-b2
da9260-fa17-4775-afb1-14f24de5bab2 None] in fixed duration looping call
2014-11-27 15:25:19.223 12267 TRACE neutron.openstack.common.loopingcall Traceback (most recent call last):
2014-11-27 15:25:19.223 12267 TRACE neutron.openstack.common.loopingcall File "/opt/stack/neutron/neutron/openstack/common/loopingcall.py", line 81, in _inner
2014-11-27 15:25:19.223 12267 TRACE neutron.openstack.common.loopingcall self.f(*self.args, **self.kw)
2014-11-27 15:25:19.223 12267 TRACE neutron.openstack.common.loopingcall File "/opt/stack/neutron/neutron/service.py", line 294, in periodic_tasks
2014-11-27 15:25:19.223 12267 TRACE neutron.openstack.common.loopingcall self.manager.periodic_tasks(ctxt, raise_on_error=raise_on_error)
2014-11-27 15:25:19.223 12267 TRACE neutron.openstack.common.loopingcall File "/opt/stack/neutron/neutron/manager.py", line 45, in periodic_tasks
2014-11-27 15:25:19.223 12267 TRACE neutron.openstack.common.loopingcall self.run_periodic_tasks(context, raise_on_error=raise_on_error)
2014-11-27 15:25:19.223 12267 TRACE neutron.openstack.common.loopingcall File "/opt/stack/neutron/neutron/openstack/common/periodic_task.py", line 188, in run_periodic_tasks
2014-11-27 15:25:19.223 12267 TRACE neutron.openstack.common.loopingcall last_run = self._periodic_last_run[task_name]
2014-11-27 15:25:19.223 12267 TRACE neutron.openstack.common.loopingcall AttributeError: 'MeteringAgentWithStateReport' object has no attribute '_periodic_last_run'
2014-11-27 15:25:19.223 12267 TRACE neutron.openstack.common.loopingcall

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/137538

Changed in neutron:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
status: New → In Progress
Changed in neutron:
importance: Undecided → High
milestone: none → kilo-1
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

it happened on my local environment. just enable metering and run tempest.
i guess metering is not enabled for gate jobs.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/137538
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=688b3794d2746d1c313119458d8548c1ef777aa4
Submitter: Jenkins
Branch: master

commit 688b3794d2746d1c313119458d8548c1ef777aa4
Author: YAMAMOTO Takashi <email address hidden>
Date: Thu Nov 27 16:16:03 2014 +0900

    MeteringPluginRpc: Fix crash in periodic_task

    Restore __init__ chain which has been broken by
    commit bdcc5a46d7776f50d5ae372798a913349629d2f6 .

    Closes-Bug: #1396893
    Change-Id: Ia1f0357b6726ac79a22ed1666eecebac33689aa1

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: kilo-1 → 2015.1.0
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.