Virtual Machine snapshot stuck in "Source not locked" state and times out with "deadline exceeded"

Solution Unverified - Updated -

Issue

  • Snapshots timeout, never progress from Source not locked state.

    apiVersion: snapshot.kubevirt.io/v1alpha1
    kind: VirtualMachineSnapshot
    ...
    status:
      conditions:
      - lastProbeTime: null
        lastTransitionTime: "2024-09-18T18:13:48Z"
        reason: Source not locked              <-----------------
        status: "False"
        type: Progressing
      - lastProbeTime: null
        lastTransitionTime: "2024-09-18T18:13:48Z"
        reason: Not ready
        status: "False"
        type: Ready
      - lastProbeTime: null
        lastTransitionTime: "2024-09-18T18:19:17Z"
        reason: snapshot deadline exceeded    <------------
        status: "True"
        type: Failure
    

Environment

  • Red Hat OpenShift Container Platform 4.15
    • OpenShift Virtualization 4.15
  • While creating a Virtual machine snapshot
  • VM was running during the OCP 4.14-4.15 upgrade and hasn't been shutdown since

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