Image File Copied to Glance Host, Image Not Discovered
PreviousInstance in ERROR State, Write Lock on Disk FileNextInstance Creation Fails With Error 'Unexpected Build failure Not Rescheduling Build'
Last updated
An image copied to a Glance host from a different host does not get detected. The image was copied to the location /var/opt/pf9/imagelibrary/data/glance on the Glance host but was not being reflected on the UI.
Platform9 Managed OpenStack - All Versions
Clarity UI
The default location for holding the glance image is /var/opt/pf9/imagelibrary/data. If the image is copied from an external source the image should be copied to /var/opt/pf9/imagelibrary/data on the Glance host. If the glance API call is used to download the image, the image will be downloaded into the folder /var/opt/pf9/imagelibrary/data/glance.
Move the image to the folder /var/opt/pf9/imagelibrary/data on the Glance host and it will be reflected in the Clarity UI.
If copying from a remote source, first copy the image to the Glance host's /var/tmp directory.
Move the image to the /var/opt/pf9/imagelibrary/data directory.
After the file is copied entirely, change its ownership to pf9:pf9group.
Last updated
