After setting the password failed, the VM state is set to error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Description
===========
After we execute the command ‘nova set-password’ failed, the virtual machine state is set to error,while its power state is still running,we should not change vm_state at this situation。
Steps to reproduce
==================
1、choose a running VM which was not installed QGA,
2、execute ‘nova set-password <UUID>’
3、the command executed failed, and the vm_state turnned to ERROR.
Expected result
===============
command executed failed, vm_state still ACTIVE.
Actual result
=============
vm_state turned to ERROR.
Environment
===========
Pike
Nova16.0.4
libvirt & KVM
Logs & Configs
==============
[root@E9000slot5 ~(keystone_admin)]# nova set-password 9f9330c2-
New password:
Again:
ERROR (Conflict): Failed to set admin password on 9f9330c2-
2018-02-02 18:55:06.529 35382 ERROR oslo_messaging.
6e9ee3014040832
9f9330c2-
[root@E9000slot5 ~(keystone_admin)]# nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 9f9330c2-
+------
Changed in nova: | |
assignee: | nobody → Ameed Ashour (ameeda) |
Which version of nova are you using?