Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Unable to Create Image From Instance
Copy Markdown
Open in ChatGPT
Open in Claude
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
[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.
/etc/glance/glance-api.conf
None
xxxxxxxxxx$ less /etc/glance/glance-api.conf...filesystem_store_datadir =.../etc/pf9/imagelibrary/imagelibrary.conf
None
xxxxxxxxxx$ less /etc/pf9/imagelibrary/imagelibrary.conf...data_directory = ...- Restart the pf9-glance and imagelibrary service if the config files are changed for changes to take effect.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Next to read:
Instance Unreachable After Attaching Second Neutron PortDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message