python-devops fails to resume virtualbox vm if it is already running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
Eugene Korekin |
Bug Description
Attempt to resume already running vm on kvm hypervisor with libvirt result in success.
But if hypervisor type is virtualbox libvirt raises exception:
=======
ERROR: Deploy cluster with controller node only
-------
Traceback (most recent call last):
File "/usr/lib/
compatabili
File "/usr/lib/
func()
File "/usr/lib/
func(
File "/home/
return func(*args, **kwagrs)
File "/home/
self.
File "/home/
self.
File "/home/
node.
File "/home/
self.
File "/home/
return func(*args, **kwargs)
File "/home/
self.
File "/usr/lib/
if ret == -1: raise libvirtError ('virDomainResume() failed', dom=self)
libvirtError: operation failed: machine not paused, so can't resume it
I propose to check if VM is in paused state before resuming.
Changed in fuel: | |
assignee: | nobody → Eugene Korekin (ekorekin) |
importance: | Undecided → Medium |
status: | New → Confirmed |
milestone: | none → 6.0 |
tags: | added: devops fuel-devops |
Fix proposed to branch: master /review. openstack. org/126619
Review: https:/