← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1175357] Re: Don't swallow missing SR error

 

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

** Changed in: nova
    Milestone: None => havana-1

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

Title:
  Don't swallow missing SR error

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Received the following traceback when starting up the compute-worker:
  http://paste.openstack.org/show/36738/

  Root-cause turned out to be a missing SR: the `update_stats` code in
  xenapi.hosts.py would detect the missing SR, log an error and then
  bail out before filling in the hypervisor_hostname key.

  Since the exception was swallowed, this was more difficult to track
  down than it had to be.

  A better solution would be, since these stats are required, making an
  SR required, we should *raise* an exception when the SR isn't found.

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