CSI Workload Configuration Troubleshooting
This guide provides detailed steps for diagnosing and resolving common issues with the Connectors CSI Driver when mounting OCI registry configurations in workloads.
TOC
Common Issues OverviewChecking CSI Volume ConfigurationVerifying Volume MountExamining Pod EventsFinding Generated OCI Configuration FilesExamining Docker Configuration Contentdocker-configdockerd configurationbuildkitd configurationInsecure Registry IssuesAdvanced TroubleshootingCSI Driver LogsProxy Service LogsTesting with a Diagnostic PodAdditional ResourcesCommon Issues Overview
Checking CSI Volume Configuration
Verify the CSI volume configuration in your workload YAML:
Common configuration options:
Common configuration issues:
How to verify:
Verifying Volume Mount
Check if the volume mount configuration is correct:
Common mount paths for different configurations:
Examining Pod Events
Check Pod events for mount-related issues:
Common error messages and solutions:
Example error and resolution:
Resolution: Create the connector or correct the connector name in the volume attributes.
Finding Generated OCI Configuration Files
Locate the configuration files:
If configuration files are not found, check:
- Volume mount is successful
- CSI driver is healthy
- ServiceAccount has permissions
- Connector is Ready
- Mount path matches container user's expected path
Examining Docker Configuration Content
docker-config
Check the generated config.json file:
Expected configuration elements:
dockerd configuration
Check the generated daemon.json file:
Expected configuration elements:
buildkitd configuration
Check the generated buildkitd.toml file:
Expected configuration elements:
Insecure Registry Issues
Symptoms:
server certificate verification failederrors- TLS handshake failures
Troubleshooting:
-
Verify insecure registry settings are correctly configured:
-
Check if the container runtime is using the mounted configuration:
-
For containerd, verify proxy address is properly configured:
Advanced Troubleshooting
CSI Driver Logs
Check CSI driver logs for detailed error information:
Proxy Service Logs
Check the proxy service logs for authentication or access issues:
Testing with a Diagnostic Pod
Create a diagnostic pod to test OCI functionality: