VM Deployment Fails Due to Missing Image Data on the Image Library Shared Storage
Problem
VM creation in the region was failing with repeated retry errors due to missing image data in the Image Library’s shared storage.
Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance <INSTANCE_ID>. Last exception: Failed to call glance method data with args ('<IMAGE_ID>',), {} on endpoints ['https://10.1nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance <INSTANCE_ID>. Last exception: Failed to call glance method data with args ('<IMAGE_ID>',), {} on endpoints ['https://<ENDPOINT_IP1>:9494', 'https://<ENDPOINT_IP2>:9494', 'https://<ENDPOINT_IP3>:9494']Environment
- Private Cloud Director Virtualization - All versions
- Self-Hosted Private Cloud Director Virtualization - All versions
- Component: Image library
Cause
- The Shared Storage option in the Image Library was disabled.
- Images were uploaded before the NFS-backed storage was in use.
- Once shared storage was enabled or mounted, the previously stored image files were no longer present on the new backend.
- Image services still reported these images as active in the database, but the underlying files were missing.
- As a result, compute failed to fetch the image data required for instance creation.
Diagnostics
- Check the Image Library backend directory (
/var/lib/glance/images/glance)- The directory existed but contained no actual image files:
$ cd /var/lib/glance/images/glance$ ls -altotal 12drwxr-xr-x 3 pf9 pf9group 4096 Nov 11 22:02 .drwxr-xr-x 3 pf9 pf9group 4096 Nov 11 22:02 ..drwxr-xr-x 2 pf9 pf9group 4096 Nov 11 22:02 snapshot- Verify NFS mount
$ df -h<NFS_FQDN>:/<LOCATION> 2.0T 426G 1.6T 22% /var/lib/glance/images- Confirm connectivity to NFS server using nslookup and ping
$ nslookup <NFS_FQDN>$ ping <IP>- Inspect Cluster Blueprint
- The Shared Storage option in the Image Library section of the cluster blueprint was found to be disabled. If shared storage is required for image hosting, this option must be enabled.
Resolution
Enable Shared Storage
- In the region’s Cluster Blueprint, under Image Library → Shared Storage
Upload a new image after enabling shared storage
- Previously uploaded images cannot be recovered because their data no longer exists on the NFS path.
Wait for the new image to reach active state.
Attempt VM creation using the newly uploaded image.
Verify that the new VM deploys successfully.
Validation
Perform the following checks to ensure the issue is resolved:
- Confirm that new image files exist on NFS backend.
$ ls -al /var/lib/glance/images- Check image status
$ openstack image list --long- Create a test VM
$ openstack server create --flavor m1.tiny --image <NEW_IMAGE_ID> \ --network <NETWORK> <INSTANCE_NAME>Additional Information
This issue typically occurs when image uploads are performed before shared storage is fully configured or mounted.
Was this page helpful?