kubevirt: VMI stuck pending
Is this a BUG REPORT or FEATURE REQUEST?:
Uncomment only one, leave it on its own line:
/kind bug
What happened:
After creating a VM, the VMI stays in pending with no events.
What you expected to happen:
The VMI should start, or at least give anerror
How to reproduce it (as minimally and precisely as possible):
---
apiVersion: kubevirt.io/v1alpha3
kind: VirtualMachine
metadata:
name: vm-lucy
namespace: vm-lucy
labels:
kubevirt.io/vm: vm-lucy
spec:
running: true
template:
metadata:
name: vm-lucy
namespace: vm-lucy
labels:
kubevirt.io/vm: vm-lucy
spec:
domain:
cpu:
cores: 4
devices:
disks:
- disk:
bus: virtio
name: vdisk-lucy
- disk:
bus: virtio
name: cloudinit
resources:
requests:
memory: 2G
volumes:
- dataVolume:
name: dv-lucy
name: vdisk-lucy
- cloudInitNoCloud:
userData: |
#cloud-config
password: changeme
chpasswd: { expire: False }
name: cloudinit
Anything else we need to know?:
Bare metal K8S cluster, all capable of KVM
Environment:
- KubeVirt version (use
virtctl version): Client Version: version.Info{GitVersion:“v0.24.0”, - Kubernetes version (use
kubectl version): Client Version: version.Info{Major:“1”, Minor:“14” - VM or VMI specifications: as above
- Cloud provider or hardware configuration: Bare metal, 3 physical host, ceph storage
- OS (e.g. from /etc/os-release): Debian 10
- Kernel (e.g.
uname -a): 4.19.0-6-amd64 - Install tools: RKE
- Others:
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 38 (19 by maintainers)
We’ve got it boys!!
Creasted #2938 as a follow up.