Skip to main content

Overview

The Polystack Image Service stores image data in a pluggable storage backend. The selection of backend affects availability, performance, and instance launch times. Multiple backends can be registered simultaneously — administrators select which backend stores each image at upload time. This guide covers configuration of all supported backends via the deployment console globals.
Administrator Access Required — This operation requires the admin role. Contact your Polystack administrator if you do not have sufficient permissions.

Supported Backends


RBD (RADOS Block Device) is the recommended backend for high-availability multi-node deployments. Images are stored as RBD objects in the Polystack Distributed Storage cluster, providing built-in redundancy and copy-on-write clones for fast instance launches.

Configure RBD backend in the deployment console globals

RBD storage backend configuration

Deploy the configuration

Apply glance configuration

Verify the images pool exists

Verify RBD pool
The images pool appears in the Ceph pool list.
When using RBD as the image backend and RBD as the volume backend, instance launches perform a zero-copy RBD clone from the image pool into the volume pool — resulting in near-instantaneous boot times regardless of image size.

File Store

The file store writes image data to a local or NFS-mounted directory. It is the default backend and suitable for single-node deployments.
File store configuration
The image directory is mounted as a Docker named volume (glance) accessible at /var/lib/glance/images/ inside the Image API container. To store images in a custom directory (e.g., on a dedicated volume):
glance-api.conf — custom directory
Prepare the host path with the correct ownership:
Prepare custom image directory
Apply the configuration:
Apply glance configuration
The file store is not highly available. If the node running the Image API fails, images stored locally are unavailable until the node recovers. Use RBD for production HA deployments.

Polystack Object Storage (Swift)

Images can be stored in Polystack Object Storage (Swift) containers. This backend is suitable when Object Storage is already deployed and disk-to-disk copy overhead is acceptable.
Swift storage backend configuration
The full glance-api.conf parameters for Swift:
glance-api.conf — Swift backend

S3-Compatible Object Storage

The S3 backend driver supports any S3-compatible endpoint including AWS S3, Ceph RADOS Gateway, MinIO, and Dell ECS. This enables off-site or cloud-based image storage.
glance-api.conf — S3 backend
Apply via the deployment console globals:
the deployment console globals — S3 backend

VMware Datastore

The VMware datastore backend stores images in vSphere datastores. This is required when the compute layer uses the VMware vSphere driver and images must reside on vCenter-managed datastores.
glance-api.conf — VMware datastore backend
The vmware_datastores value follows the format DatacenterName:DatastoreName:Weight. Multiple datastores can be listed to distribute images across datastores.

Cinder (Block Storage as Image Store)

The Cinder backend stores images as Cinder volumes. Each image is backed by a block volume in the configured Cinder pool. This backend is useful when block storage is the primary shared storage medium.
glance-api.conf — Cinder backend
The Cinder volume type (image-store) must exist and map to a backend with sufficient capacity.

HTTP (Read-Only Remote)

The HTTP backend allows the Image Service to serve images stored at external URLs without downloading or storing them locally. This backend is read-only — images cannot be uploaded through the HTTP backend.
glance-api.conf — HTTP backend
To add an image from a remote URL:
Register an image from an HTTP URL
Images registered with the HTTP backend depend on the availability of the remote URL. If the URL becomes unreachable, image-backed instances cannot be launched. Use this backend only for read-only catalog images or testing.

Verify Backend Configuration

After deployment, confirm the Image API is using the expected backend:
Check Image API configuration
Upload a test image and verify storage
Check RBD pool contents (if using RBD)

Next Steps

Architecture

Understand how the storage backend fits into the overall Image Service topology.

Image Templates

Use images as templates, manage catalogs, and export images.

Image Cache

Layer a local cache over your storage backend to reduce launch times.

Admin Troubleshooting

Diagnose storage connectivity and upload failure issues.