Troubleshooting

Collection of solutions for common problems with kubeops-vm

Troubleshooting

virt-handler pods only 2/3 ready and status is CrashLoopBackOff

show details

Container ‘virt-handler’ has the following error log:

{"component":"virt-handler","level":"fatal","msg":"Failed to create an inotify watcher","pos":"cert-manager.go:105","reason":"too many open files","timestamp":"2026-07-14T07:55:17.060525Z"}│ panic: Failed to create an inotify watcher

Solution

The fs.inotify.user_watches and fs.inotify.user_instances must be increased. To do so, ssh to the corresponding node and execute the following commands

sudo sysctl -w fs.inotify.max_user_watches=1048576

sudo sysctl -w fs.inotify.max_user_instances=512