Cache volume issues
Empty cache mode and health status in CacheVolume CR
If the fields CACHEMODE
and HEALTHSTATUS
are empty in CacheVolume
CR when running kubectl get cachevolume
:
# kubectl get cachevolume pvc-a5ab1d48-1dc5-4e61-80d0-ba56267eaa65 -n ns1
NAME CACHEMODE HEALTHSTATUS AGE
pvc-a5ab1d48-1dc5-4e61-80d0-ba56267eaa65 12m
Run the commands to get these fields populated for the CacheVolume
CR:
- Delete the affected
CacheVolume
resource:
kubectl delete cachevolume <CacheVolume name> -n <namespace>
- Restart of the operator:
kubectl rollout restart deployment ibm-spectrum-scale-controller-manager -n ibm-spectrum-scale-operator
After the operator is restarted, a new CacheVolume
resource is created with the fields populated.