Overview
This guide covers platform-level Image Service issues that require administrator access β storage backend connectivity, API container failures, cache performance, and upload size limit issues.For user-facing issues such as upload progress, shared image visibility, or launch
failures, see the Image User Troubleshooting guide.
API Failures
Image API not responding
Image API not responding
Cause: The Image API container is stopped or the service has crashed.Diagnose:If the container is not running:Resolution: Restart via XDeploy:
Check Image API container status
View container exit logs
Restart Image API
Upload fails with 413 Request Entity Too Large
Upload fails with 413 Request Entity Too Large
Cause: HAProxy is enforcing an upload size limit smaller than the image file.Resolution: Adjust the timeout and body size settings in XDeploy globals:Apply:
Increase HAProxy upload limits
Apply HAProxy configuration
Storage Backend Issues
Image status remains 'queued' after upload
Image status remains 'queued' after upload
Cause: The Image API cannot reach the storage backend β RBD cluster unreachable,
wrong keyring, or Swift authentication failed.Diagnose:For RBD backend:
Check Image API logs for storage errors
Verify RBD pool exists
Test glance keyring access
Compute cannot download image during instance launch
Compute cannot download image during instance launch
Cause: The compute node cannot reach the Image API, or the image data is corrupt.Diagnose: Test connectivity from the compute node:For corrupt images, verify the checksum:If checksums differ, re-upload the image.
Test image API reachability from compute node
Verify image checksum
Cache Issues
Image cache not reducing launch times
Image cache not reducing launch times
Cause: Cache is not enabled, the compute node has insufficient local disk, or
the pre-fetcher has not yet run.Diagnose: Verify cache is enabled and check the cache directory:Images appear in the cache directory after the first instance launch from each image.
Trigger the pre-fetcher manually:
Check cache directory on Image API node
Trigger cache pre-fetch
Cache directory full β disk pressure
Cache directory full β disk pressure
Cause: The cache has grown beyond the configured Then increase the cache size limit in XDeploy globals and redeploy:
glance_cache_max_size.Resolution: Clear old cached entries:Clear stale cache entries
Increase cache size limit
Service Log Reference
| Component | Log command |
|---|---|
| Image API | docker logs glance_api --tail 100 |
| HAProxy | docker logs haproxy --tail 100 | grep 9292 |
| Image API config | docker exec glance_api cat /etc/glance/glance-api.conf |
Next Steps
Storage Backends
Review backend configuration to prevent connectivity failures.
Image Cache
Tune cache size and pre-fetch settings for optimal performance.
Security
Review security configuration after resolving access-related issues.
Architecture
Understand component relationships to identify the source of failures.