Unable to Create Image From Instance

Problem

  • Unable to create an image from a running instance. The Image creation fails with below error in /var/log/pf9/imagelibrary/imagelibrary.log file on the glance node.
imagelibrary.log
Copy

Environment

  • Platform9 Managed OpenStack - All versions
  • Glance
  • Nova

Cause

  • The path to store the snapshot and images is no longer present on the glance node or defined incorrectly in config files.

Resolution

  1. Verify the paths configured for snapshot and images are available. If yes, check if the paths are correctly defined in the /etc/glance/glance-api.conf and /etc/pf9/imagelibrary/imagelibrary.conf config file.
/etc/glance/glance-api.conf
None
Copy
/etc/pf9/imagelibrary/imagelibrary.conf
None
Copy
  1. Restart the pf9-glance and imagelibrary service if the config files are changed for changes to take effect.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard