Project

General

Profile

Actions

Bug #21313

open

[oVirt][ComputeResources][BCM] Foreman fail to perform power cycle action for stateless VM hosted in oVirt

Added by Lukas Bednar over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Compute resources - oVirt
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When performing power cycle action on host which is:
- hosted on oVirt 4.1
- stateless
- managed via ComputeResources

The action fails on following message "Cannot run VM because the VM is in Powering Down status."

Steps to reproduce:
- create vm in oVirt
- make sure that it has stateless attribute set
- associate with host in foreman
- perform power-cycle action

Expected result: host gets down / up

Current result: "Cannot run VM because the VM is in Powering Down status."

I attached client and server side logs.

I think that it fails because stateless VM goes through one additional status (RestoringState) when it performs rollback to stateless snapshot.
PoweringDown -> RestoringState -> Down

https://www.ovirt.org/documentation/how-to/faq/


Files

foreman-client.log foreman-client.log 2.23 KB Lukas Bednar, 10/12/2017 01:42 PM
foreman.log foreman.log 17.3 KB Lukas Bednar, 10/12/2017 01:47 PM
Actions

Also available in: Atom PDF