Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Image File Copied to Glance Host, Image Not Discovered

Problem

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.

Environment

  • Platform9 Managed OpenStack - All Versions

  • Clarity UI

Cause

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.

Resolution

Move the image to the folder /var/opt/pf9/imagelibrary/data on the Glance host and it will be reflected in the Clarity UI.

  1. If copying from a remote source, first copy the image to the Glance host's /var/tmp directory.

  2. Move the image to the /var/opt/pf9/imagelibrary/data directory.

  3. After the file is copied entirely, change its ownership to pf9:pf9group.

Last updated