From ca1a929eaf698a8c74424705654437e8d93ac952 Mon Sep 17 00:00:00 2001 From: Chen Hanxiao Date: Fri, 8 Dec 2017 11:02:01 +0800 Subject: [PATCH] trivial: more suitable log in set_admin_password We support to change passwd of both Windows and Linux. So "Admin password" is preferable to "Root password" in the log. Change-Id: Ibf9aa3f522e87c026d5a7ad9c398c13752a29fef Signed-off-by: Chen Hanxiao --- nova/compute/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 6d76561aae..bc3db28c9b 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -3411,7 +3411,7 @@ class ComputeManager(manager.Manager): try: self.driver.set_admin_password(instance, new_pass) - LOG.info("Root password set", instance=instance) + LOG.info("Admin password set", instance=instance) instance.task_state = None instance.save( expected_task_state=task_states.UPDATING_PASSWORD)