I encountered an error in the OpenShift cluster. It said that 'AttachVolume.Attach' failed because the CSINode 10.240.0.9 does not contain the 'vpc.block.csi.ibm.io' driver. As a result, all the pods connected to the volume were failing and couldn't start the pod.
After researching, I discovered that the Block Storage for VPC addon was on an older version, 5.0, and it was in critical status. All I needed to do was update the addon from version 5.0 to 5.1
Here are the commands to fix the issue,
Check addOn status
ibmcloud ks cluster addon ls -c <OpenShift cluster Id/Name>
OK
Name Version Health State Health Status
vpc-block-csi-driver 5.0* (5.1 default) critical Addon Unsupported. For more info: http://ibm.biz/addon-state (H1509)
Update addOn version
ibmcloud ks cluster addon update vpc-block-csi-driver -c <OpenShift cluster Id/Name> --version 5.1
No comments:
Post a Comment