If a Flexera Kubernetes monitor pod is stuck in a pending state it will show a "pending" status and never proceed to "running" status, as shown in the example below.
If the monitor pod is stalled, you can begin troubleshooting by using the describe command on the pod, then looking for an event that describes an error or block to the pod's progress. The most common reason for a stalled monitor pod to occur relates to the allocation of the PVC (PersistantVolumeClaims). Below is an example of a stalled monitor pod due to the PVC.
Correct the unbound immediate PVC
- Use the PVC name to determine its state. To find the name, you can list the PVCs in the Flexera namespace and look for one that begins with flexera-krm-data-.
- Alternatively, you can extract the name of the PVC from the pod using this command:
kubectl get persistentvolumeclaims -n flexera
- With the PVC name, use the describe command to discover any errors it may be reporting.
kubectl describe persistentvolumeclaims -n flexera flexera-krm-data-krm-instance-monitor-0
An example output
In the example above, the PVC specification is misconfigured with a storage class that doesn't exist ("TYPO_ERROR"). Typos in a storage class name can commonly cause this issue. Another common error occurs when using a storage class that doesn't support dynamic provisioning.
The number of possible errors here is vast, and the process for correcting the issue depends on the specific error. Engage with your Kubernetes platform team to help troubleshoot the error or consult your platform provider's documentation for assistance.
- Once you've identified the issue, the solution often requires modifying the PVC specification. You can edit the KRM resource in the YAML file used during installation or edit the instance in the cluster using the kubectl edit command.
kubectl delete persistentvolumeclaims -n flexera flexera-krm-data-krm-instance-monitor-0
NOTE: Typically, changing the PVC specification in the KRM resource will cause the StatefulSet to be rebuilt. This results in a rebuild of the PVC and a restart of all the pods using the new configuration. However, in the case of a stalled PVC, it is common to see the StatefulSet fail to rebuild the PVC using the new specification. This is a Kubernetes issue that may be resolved in the future. As a workaround, you can delete the PVC before applying the updated storage specification.
Related Articles
Enable debug level logging for Flexera Kubernetes Inventory Agent 41Number of Views SSL issues with the Flexera Kubernetes inventory agent 34Number of Views Certificate revocation issues while using the Flexera Kubernetes inventory agent 17Number of Views Configure CheckCertificateRevocation and CheckServerCertificate during Flexera Kubernetes Agent Helm chart installation 92Number of Views Flexera Kubernetes Inventory Agent may crash if map read and map writes occur concurrently 4Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago