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.
[2021-08-11,09:59:14] WARNING Thread-1 imagelibrary.observers | Could not create directory snapshot: [Errno 2] No such file or directory: '/mnt/nfs/imagelibrary'
[2021-08-11,09:59:19] WARNING Thread-1 imagelibrary.observers | Could not create directory snapshot: [Errno 2] No such file or directory: '/mnt/nfs/imagelibrary'
[2021-08-11,09:59:21] INFO Thread-372180 imagelibrary.maintenance | running maintenance
[2021-08-11,09:59:22] INFO Thread-372180 imagelibrary.glance | Retrieved 11 images from glanceEnvironment
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
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.
Restart the pf9-glance and imagelibrary service if the config files are changed for changes to take effect.
PreviousCreating Instances from Newly Added Image Fail with Error ‘Corrupt Image Download’
NextInstance Unreachable After Attaching Second Neutron Port
Last updated
