You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After i create the vm, and its status is kepping staring.So i describe it and get:
Status:
Conditions:
Last Probe Time: 2024-05-16T13:24:22Z
Last Transition Time: 2024-05-16T13:24:22Z
Message: Guest VM is not reported as running
Reason: GuestNotRunning
Status: False
Type: Ready
Last Probe Time: <nil>
Last Transition Time: <nil>
Status: True
Type: Initialized
Created: true
Desired Generation: 2
Observed Generation: 2
Printable Status: Starting
Volume Snapshot Statuses:
Enabled: false
Name: root-disk
Reason: No VolumeSnapshotClass: Volume snapshots are not configured for this StorageClass [rook-ceph-block] [root-disk]
Enabled: false
Name: cloudinit
Reason: Snapshot is not supported for this volumeSource type [cloudinit]
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal SuccessfulCreate 10m virtualmachine-controller Started the virtual machine by creating the new virtual machine instance vm-ceph
The text was updated successfully, but these errors were encountered:
@SoaringAnecdotalBear I haven't quite understood what is the problem here. Is your VM starting up?
Otherwise, as far as it regards the volume snapshot class, have you installed the crd? This is separated from kubevirt and it is more related to ceph, but my guess is that you haven't created the volume snapshot storage class for ceph.
So you made a pretty strange storage setup. There is a CSI driver for ceph, and we highly suggest you use that. Secondly KubeVirt expects all the images stored in a Persistent Volume are in RAW format, not qcow2. Especially since you are using block volumes it should be a RAW image before you upload it to the ceph cluster.
I highly suggest you use the CSI driver for ceph since that will help with getting to configuration correct. Then you can use CDI to upload/import images and have it converted to the correct format automatically.
I have deployed a ceph cluster with a CephBlockPool(whose name is replicapool) in k8s, and I uploaded a qcow2 to the blockpool:
My pv/pvc/vm are define as follows:
pv:
pvc:
vm:
After i create the vm, and its status is kepping staring.So i describe it and get:
The text was updated successfully, but these errors were encountered: