summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2013-01-07 13:19:03 -0500
committerDan Prince <dprince@redhat.com>2013-01-07 16:05:58 -0500
commit0ca44e958461ee140b97d074fcf7866cc6ac6645 (patch)
treee0baf5c1bf3b623f1cbcd9c1a7e9539c79f6febd /nova/exception.py
parente1c7b18c7f3c8d97ba7b2cccf27b968ad4710735 (diff)
downloadnova-0ca44e958461ee140b97d074fcf7866cc6ac6645.tar.gz
nova-0ca44e958461ee140b97d074fcf7866cc6ac6645.tar.xz
nova-0ca44e958461ee140b97d074fcf7866cc6ac6645.zip
Conductor instance_get_all replaces _by_filters
Updates the Nova conductor so that it uses instance_get_all() and instance_get_all_by_host() from the Nova DB API to implement its own like named functions. This fixes a regression that occured in d22b0ca where we switched from using the DB API's instance_get_all_by_host and instance_get_all methods over to the DB APIs instance_get_all_by_filters. This caused some subtle regressions due to the fact that instance_get_all_by_filters has different defaults for deleted records. The previously used (prior to d22b0ca) instance_get_all() and instance_get_all_by_host() functions rely on the context.read_deleted and also handle the display of deleted and soft deleted records differently. Fixes LP Bug #1096972. Change-Id: Icb587ef169d1d7dd86cf6ee682e74bd4e84c37e2
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions