diff options
| author | Kevin Bringard <kbringard@attinteractive.com> | 2011-06-17 09:25:23 -0600 |
|---|---|---|
| committer | Kevin Bringard <kbringard@attinteractive.com> | 2011-06-17 09:25:23 -0600 |
| commit | 81dd4f2b4ff6cbdc596b878946a6ee00c31a2599 (patch) | |
| tree | 8caa6f2b54d2407f04772d0b7c8324492e1c428d | |
| parent | 556f467bf0065331cdbb5c5e20fe33dca1239a64 (diff) | |
Added context = context.elevated() to get_all_across_zones
| -rw-r--r-- | nova/compute/api.py | 1 |
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) |
