diff options
author | Rick Harris <rconradharris@gmail.com> | 2013-05-01 21:47:35 +0000 |
---|---|---|
committer | Rick Harris <rconradharris@gmail.com> | 2013-05-01 21:47:35 +0000 |
commit | b6aac988e46147154d49e938ecf9b67831613636 (patch) | |
tree | 9667733334ed7f76f3c60386dbdb8da8678edc3f /nova/utils.py | |
parent | 423289d50d92cf4b780a11c2c3da4e1dbbd865f2 (diff) | |
download | nova-b6aac988e46147154d49e938ecf9b67831613636.tar.gz nova-b6aac988e46147154d49e938ecf9b67831613636.tar.xz nova-b6aac988e46147154d49e938ecf9b67831613636.zip |
xenapi: Don't swallow missing SR exception
The existing code would catch a missing SR exception and bail out of the
`update_status` method before finishing, causing required keys to be missing.
The end-result was code breaking later on when it tried to access these keys.
Since an SR is required to generate these required stats keys, we shouldn't
swallow the StorageRepositoryNotFound exception and instead should fail-fast.
Fixes bug 1175357
Change-Id: I3d65ae807fb2d86277bc0061c1967a87792b6662
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions