summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorKevin Bringard <kbringard@attinteractive.com>2011-06-17 09:25:23 -0600
committerKevin Bringard <kbringard@attinteractive.com>2011-06-17 09:25:23 -0600
commit81dd4f2b4ff6cbdc596b878946a6ee00c31a2599 (patch)
tree8caa6f2b54d2407f04772d0b7c8324492e1c428d /nova
parent556f467bf0065331cdbb5c5e20fe33dca1239a64 (diff)
Added context = context.elevated() to get_all_across_zones
Diffstat (limited to 'nova')
-rw-r--r--nova/compute/api.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py
index e2c4cf8d7..f1c31a092 100644
--- a/nova/compute/api.py
+++ b/nova/compute/api.py
@@ -526,6 +526,7 @@ class API(base.Base):
"""Get all instances with this reservation_id, across
all available Zones (if any).
"""
+ context = context.elevated()
instances = self.db.instance_get_all_by_reservation(
context, reservation_id)