diff options
| author | Rick Harris <rconradharris@gmail.com> | 2011-09-21 16:00:53 -0500 |
|---|---|---|
| committer | Rick Harris <rconradharris@gmail.com> | 2011-09-21 16:00:53 -0500 |
| commit | 4fb602fcbc2a7b0681e79454fe7c3f01110b1f0e (patch) | |
| tree | 1c5c5f7ded02c886f48d5e2fa008881c7f0ebdc1 /nova/compute | |
| parent | 748b056209947032735c71212b8be21a16f2cadf (diff) | |
| parent | 9cf7352fbd26fe8db4205c385b92778603af7797 (diff) | |
Renumbering instance progress migration
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/api.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py index 76b0596e7..cedbd747a 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -995,10 +995,8 @@ class API(base.Base): if not recurse_zones: return instances - # Recurse zones. Need admin context for this. Send along - # the un-modified search options we received.. - admin_context = context.elevated() - children = scheduler_api.call_zone_method(admin_context, + # Recurse zones. Send along the un-modified search options we received. + children = scheduler_api.call_zone_method(context, "list", errors_to_ignore=[novaclient.exceptions.NotFound], novaclient_collection_name="servers", |
