This document contains the most common issues reported when running the kubevirt-ssp-operator
and their solutions.
Starting version 1.0.14, the SSP operator supports emergency disable of the operands it manages.
To engage this feature, you need to set the ssp.kubevirt.io/operator.paused
annotation to true
in the CR you want to disable.
Add the key if missing.
Example:
apiVersion: ssp.kubevirt.io/v1
kind: KubevirtTemplateValidator
metadata:
name: kubevirt-template-validator
namespace: kubevirt
annotations:
kubevirt.io/operator.paused: "true"
spec:
version: v0.6.2
To restore the functionality, set the annotation to false
, or delete the value entirely.
Currently only the template-validator
CR supports this functionality.
Platform: Openshift origin 3.11 installed using "oc cluster up" as per quickstart
Make sure first you set the proper permissions for kubevirt
Make sure the operator account has the cluster-admin
cluster role
oc adm policy add-cluster-role-to-user cluster-admin system:serviceaccount:kubevirt:kubevirt-ssp-operator