Don't swallow missing SR error
Bug #1175357 reported by
Rick Harris
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Rick Harris | ||
Grizzly |
Fix Released
|
Low
|
Russell Bryant |
Bug Description
Received the following traceback when starting up the compute-worker: http://
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.
Changed in nova: | |
assignee: | nobody → Rick Harris (rconradharris) |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
tags: | removed: in-stable-grizzly |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
milestone: | havana-1 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/27981
Review: https:/