[Bug 1829828] Re: instance became error after a set-password failure

2019-05-23 Thread pandatt
** Summary changed:

- instance failed to revert after a set-password failure
+ instance became error after a set-password failure

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1829828

Title:
  instance became error after a set-password failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1829828/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1829828] Re: instance failed to revert after a set-password failure

2019-05-22 Thread pandatt
** Package changed: ubuntu => nova (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1829828

Title:
  instance failed to revert after a set-password failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1829828/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1829828] [NEW] instance failed to revert after a set-password failure

2019-05-21 Thread pandatt
3a1f - - -] [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] Creating image
23727  2019-05-21 14:54:01.087 7 INFO nova.compute.manager 
[req-a476ad61-30e0-4b25-98b2-e25a5028f4e2 - - - - -] [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] VM Started (Lifecycle Event)
23728  2019-05-21 14:54:01.137 7 INFO nova.compute.manager 
[req-a476ad61-30e0-4b25-98b2-e25a5028f4e2 - - - - -] [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] VM Paused (Lifecycle Event)
23729  2019-05-21 14:54:01.232 7 INFO nova.compute.manager 
[req-a476ad61-30e0-4b25-98b2-e25a5028f4e2 - - - - -] [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] During sync_power_state the instance has 
a pending task (spawning). Skip.
23730  2019-05-21 14:54:03.872 7 INFO nova.compute.manager 
[req-a476ad61-30e0-4b25-98b2-e25a5028f4e2 - - - - -] [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] VM Resumed (Lifecycle Event)
23731  2019-05-21 14:54:03.877 7 INFO nova.virt.driver [-] [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] Instance spawned successfully.
23732  2019-05-21 14:54:03.878 7 INFO nova.compute.manager 
[req-6ec684e7-ee6e-47a4-8f75-53235d86 9fef2099c3254226a96e48311d124131 
380f701f5575430195526229dc143a1f - - -] [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] Took 12.45 seconds to spawn the instance 
on the hypervisor.
23733  2019-05-21 14:54:03.971 7 INFO nova.compute.manager 
[req-a476ad61-30e0-4b25-98b2-e25a5028f4e2 - - - - -] [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] During sync_power_state the instance has 
a pending task (spawning). Skip.
23734  2019-05-21 14:54:03.972 7 INFO nova.compute.manager 
[req-a476ad61-30e0-4b25-98b2-e25a5028f4e2 - - - - -] [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] VM Resumed (Lifecycle Event)
23735  2019-05-21 14:54:04.029 7 INFO nova.compute.manager 
[req-6ec684e7-ee6e-47a4-8f75-53235d86 9fef2099c3254226a96e48311d124131 
380f701f5575430195526229dc143a1f - - -] [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] Took 13.54 seconds to build instance.
23736  2019-05-21 14:54:49.985 7 ERROR nova.compute.manager 
[req-34715791-f42a-4235-98d5-f69680440fc8 9fef2099c3254226a96e48311d124131 
380f701f5575430195526229dc143a1f - - -] [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] set_admin_password failed
23737  2019-05-21 14:54:49.985 7 ERROR nova.compute.manager [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] Traceback (most recent call last):
23738  2019-05-21 14:54:49.985 7 ERROR nova.compute.manager [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066]   File 
"/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 
3266, in set_admin_password
23739  2019-05-21 14:54:49.985 7 ERROR nova.compute.manager [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] 
self.driver.set_admin_password(instance, new_pass)
23740  2019-05-21 14:54:49.985 7 ERROR nova.compute.manager [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066]   File 
"/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", 
line 1719, in set_admin_password
23741  2019-05-21 14:54:49.985 7 ERROR nova.compute.manager [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] raise exception.InternalError(msg)
23742  2019-05-21 14:54:49.985 7 ERROR nova.compute.manager [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] InternalError: Error from libvirt while 
set password for username "root": [Error Code 86] Guest agent is not 
responding: QEMU guest agent is not connected
23743  2019-05-21 14:54:49.985 7 ERROR nova.compute.manager [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] 
23744  2019-05-21 14:54:50.493 7 INFO nova.compute.manager 
[req-34715791-f42a-4235-98d5-f69680440fc8 9fef2099c3254226a96e48311d124131 
380f701f5575430195526229dc143a1f - - -] [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] Successfully reverted task state from 
updating_password on failure for instance.
23781  2019-05-21 14:54:50.498 7 ERROR oslo_messaging.rpc.server 
InstancePasswordSetFailed: Failed to set admin password on 
f355e4d0-574c-4792-bbbd-04ad03ce6066 because error setting admin password


## Grep nova-compute errors by requrest UUID 
23736  2019-05-21 14:54:49.985 7 ERROR nova.compute.manager 
[req-34715791-f42a-4235-98d5-f69680440fc8 9fef2099c3254226a96e48311d124131 
380f701f5575430195526229dc143a1f - - -] [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] set_admin_password failed
23744  2019-05-21 14:54:50.493 7 INFO nova.compute.manager 
[req-34715791-f42a-4235-98d5-f69680440fc8 9fef2099c3254226a96e48311d124131 
380f701f5575430195526229dc143a1f - - -] [instance: 
f355e4d0-574c-4792-bbbd-04ad03ce6066] Successfully reverted task state from 
updating_password on failure for instance.
23745  2019-05-21 14:54:50.498 7 ERROR oslo_messaging.rpc.server 
[req-34715791-f42a-4235-98d5-f69680440fc8 9fef2099c3254226a96e48311d124131 
380f701f5575430195526229dc143a1f - - -] Exception during message handling

** Affects: ubuntu
 Importance: Undecided
 Assignee: pandatt (p