diff options
| author | Johannes Erdfelt <johannes.erdfelt@rackspace.com> | 2011-05-24 22:31:11 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-05-24 22:31:11 +0000 |
| commit | 4108c32a5e30d9ee4367e433471fbf2a5bf15ed2 (patch) | |
| tree | ab7d669db827596d29d3cf718a983d84ab4e48ac /nova/compute | |
| parent | 3f84a2dfb500a19f44db4c06f22c42e54ce7da2a (diff) | |
| parent | bd0125647a04ab8da7eef934e4a97560c1553551 (diff) | |
Using the root-password subcommand of the nova client results in the password being changed for the instance specified, but to a different unknown password. The patch changes nova to use the password specified in the API call.
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py index 7e2494781..9b76027dd 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -665,7 +665,7 @@ class API(base.Base): def set_admin_password(self, context, instance_id, password=None): """Set the root/admin password for the given instance.""" - eventlet.spawn_n(self._set_admin_password(context, instance_id, + eventlet.spawn_n(self._set_admin_password, (context, instance_id, password)) def inject_file(self, context, instance_id): |
