Infrastructure Management vm operator encounters an error when creating CRD
After you install Infrastructure Management, you can encounter an error
where no deployers are in the
management-infrastructure-management namespace.
oc get deployers.core.hybridapp.io --all-namespaces
Output:
No resources found
This error can occur when the operator attempts to create the CR before the CRD is installed. To check whether this issue is occurring, run the following command:
oc logs -n management-infrastructure-management -f infra-management-vm-operator-764ff5fff9-zm8lf
Output:
I0729 23:17:27.105548 1 deployer.go:81] Create Deployer: error creating CRD, the server could not find the requested resource
Solution: Restart the
infra-management-vm-operator pod. When the pod is
restarted run the following command to view the result:
oc get deployers.core.hybridapp.io --all-namespaces
Output:
NAMESPACE NAME AGE
management-infrastructure-management ibminfra 12s