Deleting a Glance Image from UI does not Actually Delete the Image on the Glance Host
Problem
- Deleting a glance image from UI does not delete the image actually from
/_var/opt/pf9/imagelibrary/data/glance_
on glance host.
Environment
- Platform9 Managed OpenStack - v5.4.0 and Higher
Cause
- The maintenance task for image cleanup is suspended if there is a image create task in progress.
- This is by design and completely expected behaviour.
Resolution
- Confirm if there is a lock file created for an ongoing image create task:
root@test:/var/opt/pf9/imagelibrary/data# la .locks/
AUGH18-33-0-8-0_rls_104
- Try removing this lock if there is no image creation task in operation.
- It is recommended to upload the images by copying them to
_/var/opt/pf9/imagelibrary/data_
directory which is also suggested in the UI.
Additional Information
- Reach out to support team if the issue persists even after following the solution.
Was this page helpful?