Skip to main content

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.
Administrator Access Required — This operation requires the admin role. Contact your Polystack administrator if you do not have sufficient permissions.
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

Cause: The Image API container is stopped or the service has crashed.Diagnose:
Check Image API container status
If the container is not running:
View container exit logs
Resolution: Restart via the deployment console:
Restart Image API
Cause: HAProxy is enforcing an upload size limit smaller than the image file.Resolution: Adjust the timeout and body size settings in the deployment console globals:
Increase HAProxy upload limits
Apply:
Apply HAProxy configuration

Storage Backend Issues

Cause: The Image API cannot reach the storage backend — RBD cluster unreachable, wrong keyring, or Swift authentication failed.Diagnose:
Check Image API logs for storage errors
For RBD backend:
Verify RBD pool exists
Test glance keyring access
Cause: The compute node cannot reach the Image API, or the image data is corrupt.Diagnose: Test connectivity from the compute node:
Test image API reachability from compute node
For corrupt images, verify the checksum:
Verify image checksum
If checksums differ, re-upload the image.

Cache Issues

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:
Check cache directory on Image API node
Images appear in the cache directory after the first instance launch from each image. Trigger the pre-fetcher manually:
Trigger cache pre-fetch
Cause: The cache has grown beyond the configured glance_cache_max_size.Resolution: Clear old cached entries:
Clear stale cache entries
Then increase the cache size limit in the deployment console globals and redeploy:
Increase cache size limit

Service Log Reference


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.