AttributeError: 'MeteringAgentWithStateReport' object has no attribute '_periodic_last_run'

Bug #1332788 reported by Attila Fazekas
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Ilya Shakhat

Bug Description

http://logstash.openstack.org/#eyJmaWVsZHMiOltdLCJzZWFyY2giOiJtZXNzYWdlOlwiQXR0cmlidXRlRXJyb3JcXDogJ01ldGVyaW5nQWdlbnRXaXRoU3RhdGVSZXBvcnQnIFwiIiwidGltZWZyYW1lIjoiNjA0ODAwIiwiZ3JhcGhtb2RlIjoiY291bnQiLCJvZmZzZXQiOjAsInRpbWUiOnsidXNlcl9pbnRlcnZhbCI6MH0sIm1vZGUiOiIiLCJhbmFseXplX2ZpZWxkIjoiIiwic3RhbXAiOjE0MDMzNDAzMDI5MjB9

All screen-q-metering.log contains a similar exception:
2014-06-21 07:20:37.543 14529 TRACE neutron.openstack.common.loopingcall Traceback (most recent call last):
2014-06-21 07:20:37.543 14529 TRACE neutron.openstack.common.loopingcall File "/opt/stack/new/neutron/neutron/openstack/common/loopingcall.py", line 76, in _inner
2014-06-21 07:20:37.543 14529 TRACE neutron.openstack.common.loopingcall self.f(*self.args, **self.kw)
2014-06-21 07:20:37.543 14529 TRACE neutron.openstack.common.loopingcall File "/opt/stack/new/neutron/neutron/service.py", line 294, in periodic_tasks
2014-06-21 07:20:37.543 14529 TRACE neutron.openstack.common.loopingcall self.manager.periodic_tasks(ctxt, raise_on_error=raise_on_error)
2014-06-21 07:20:37.543 14529 TRACE neutron.openstack.common.loopingcall File "/opt/stack/new/neutron/neutron/manager.py", line 45, in periodic_tasks
2014-06-21 07:20:37.543 14529 TRACE neutron.openstack.common.loopingcall self.run_periodic_tasks(context, raise_on_error=raise_on_error)
2014-06-21 07:20:37.543 14529 TRACE neutron.openstack.common.loopingcall File "/opt/stack/new/neutron/neutron/openstack/common/periodic_task.py", line 160, in run_periodic_tasks
2014-06-21 07:20:37.543 14529 TRACE neutron.openstack.common.loopingcall last_run = self._periodic_last_run[task_name]
2014-06-21 07:20:37.543 14529 TRACE neutron.openstack.common.loopingcall AttributeError: 'MeteringAgentWithStateReport' object has no attribute '_periodic_last_run'
2014-06-21 07:20:37.543 14529 TRACE neutron.openstack.common.loopingcall

Tags: metering
tags: added: metering
Changed in neutron:
importance: Undecided → Low
status: New → Confirmed
assignee: nobody → Eugene Nikanorov (enikanorov)
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/101745

Changed in neutron:
status: Confirmed → In Progress
Changed in neutron:
status: In Progress → New
Ilya Shakhat (shakhat)
Changed in neutron:
assignee: Eugene Nikanorov (enikanorov) → Ilya Shakhat (shakhat)
Ilya Shakhat (shakhat)
Changed in neutron:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/107955
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=82e57eb9f29009acfc90b485021f5c98243ad31b
Submitter: Jenkins
Branch: master

commit 82e57eb9f29009acfc90b485021f5c98243ad31b
Author: Ilya Shakhat <email address hidden>
Date: Fri Jul 18 14:09:18 2014 +0400

    Initialize RpcProxy objects correctly

    RpcProxy class is used as base in classes with multiple inheritance
    (ex. MeteringAgent). To initialize objects of such classes correctly
    every constructor should call its base constructor via super().__init__()

    Closes bug 1332788

    Change-Id: I00ef804b6ee6c73dec3e177202bb85311e3e2b10

Changed in neutron:
status: In Progress → Fix Committed
Changed in neutron:
milestone: none → juno-2
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by enikanorov (<email address hidden>) on branch: master
Review: https://review.openstack.org/101745

Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-2 → 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.