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 <chenhx@certusnet.com.cn>
This commit is contained in:
Chen Hanxiao 2017-12-08 11:02:01 +08:00
parent 81544829d1
commit ca1a929eaf

View File

@ -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)