vm_state become ERROR after execute 'nova set-password <server-id>' failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
s10 | ||
Ocata |
Confirmed
|
Medium
|
Unassigned | ||
Pike |
Fix Committed
|
Medium
|
s10 | ||
Queens |
Fix Committed
|
Medium
|
s10 | ||
Rocky |
Fix Committed
|
Medium
|
s10 |
Bug Description
Description
===========
Virtual Machine's vm_state become ERROR when execute 'nova set-password <server-id>' failed.In fact,
the virtual machine is normal.
Steps to reproduce
==================
[root@nail-5300-1 ~(keystone_admin)]# nova set-password test_tx
New password:
Again:
ERROR (Conflict): Failed to set admin password on cfa4ae9f-
[root@nail-5300-1 ~(keystone_admin)]# nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| cfa4ae9f-
+------
[root@nail-5300-1 ~(keystone_admin)]#
[root@nail-5300-1 ~(keystone_admin)]#
[root@nail-5300-1 ~(keystone_admin)]#
[root@nail-5300-1 ~(keystone_admin)]# nova show test_tx|grep instance_name
| OS-EXT-
[root@nail-5300-1 ~(keystone_admin)]# ssh nail-5300-2
Last login: Tue Mar 20 15:14:52 2018 from 10.43.203.85
[root@nail-5300-2 ~]# virsh list
Id Name State
-------
274 instance-00000011 running
Expected result:
Set admin password failed,but virtual machine's vm_state is ACTIVE.
Actual result
=============
virtual machine's vm_state is ERROR.
Changed in nova: | |
milestone: | none → next |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
assignee: | jichenjc (jichenjc) → s10 (vlad-esten) |
Changed in nova: | |
assignee: | s10 (vlad-esten) → jichenjc (jichenjc) |
tags: | added: compute |
Changed in nova: | |
assignee: | jichenjc (jichenjc) → s10 (vlad-esten) |
Changed in nova: | |
assignee: | s10 (vlad-esten) → nobody |
Changed in nova: | |
importance: | Low → Medium |
assignee: | nobody → jichenjc (jichenjc) |
Changed in nova: | |
assignee: | jichenjc (jichenjc) → s10 (vlad-esten) |
Changed in nova: | |
assignee: | s10 (vlad-esten) → jichenjc (jichenjc) |
Changed in nova: | |
assignee: | jichenjc (jichenjc) → s10 (vlad-esten) |
I am checking the bug on my Pike environment where i have got the error.
nova set-password test_vm
ubNew password:
Again:
ERROR (Conflict): QEMU guest agent is not enabled (HTTP 409) (Request-ID: req-e5fd2caf- 7717-4cae- 9405-5e24430e89 79)