nova crashes due to referring to a undefined variable

Bug #1102346 reported by Wenhao Xu
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Wenhao Xu

Bug Description

branch: master cd4093e0f2a7d07fa81915dc4866f4ac7324a028

This is caused by commit 57a103b32226d633f0250812e386f6d3fe3084b7.

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 346, in fire_timers
    timer()
  File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 56, in __call__
    cb(*args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main
    result = function(*args, **kwargs)
  File "/home/wenhao/workspace/openstack/nova/nova/service.py", line 145, in run_server
    server.start()
  File "/home/wenhao/workspace/openstack/nova/nova/service.py", line 426, in start
    self.service_id = service_ref['id']
NameError: global name 'service_ref' is not defined
2013-01-21 18:12:57,059.059 14863 CRITICAL nova [-] global name 'service_ref' is not defined
2013-01-21 18:12:57,059.059 14863 CRITICAL nova [-] global name 'service_ref' is not defined

self.service_id = self.sevice_ref['id'] should fix it.

Wenhao Xu (wenhao-x)
description: updated
description: updated
Wenhao Xu (wenhao-x)
Changed in nova:
assignee: nobody → Wenhao Xu (wenhao-x)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

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

Reviewed: https://review.openstack.org/20120
Committed: http://github.com/openstack/nova/commit/e34bc3434562476d3cf97058976292230341e74f
Submitter: Jenkins
Branch: master

commit e34bc3434562476d3cf97058976292230341e74f
Author: Wenhao Xu <email address hidden>
Date: Mon Jan 21 19:07:34 2013 +0800

    fix service_ref undefined problem.

    Change-Id: I361c240a314a8f5ab41d4047780f7d385e360019
    Fixes: bug #1102346

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-3 → 2013.1
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.