← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1102346] Re: nova crashes due to referring to a undefined variable

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => grizzly-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1102346

Title:
  nova crashes due to referring to a undefined variable

Status in OpenStack Compute (Nova):
  Fix Released

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.

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