Why the runStrategy "RerunOnFailure" of a VM not persisted after stop & start of the VM in OpenShift Virtualization?

Solution Verified - Updated -

Issue

  • When trying to use "RerunOnFailure" runStrategy, it worked for automated restarts.
  • But when tried to stop the VM, the runStrategy changed to "Halted" and on the next manual start of the VM the runStrategy gets changed to "Always" and losing the desired "RerunOnFailure" runStrategy.

Environment

  • OpenShift Container Platform (OCP) 4.10, 4.11, 4.12 and 4.13
  • OpenShift Virtualization 4.10, 4.11, 4.12 and 4.13

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content