Closed renebrandel closed 11 years ago
actually i solved the problem by adding a few lines to wsgi.py
if ((img['status') in ('deleted'):
msg = 'Not registering deleted image.'
LOG.debug(msg)
continue
please add that to the master branch
Can you submit a pull request?
Can you give me a hand open a pull request? with that code below
if (((img['container_format'] or img['disk_format']) in ('ari', 'aki'))): msg = 'Not registering kernel/RAM image.' LOG.debug(msg) continue
these line of codes?
my github has issues
BTW that fix didn't work. So I reposted it as a new issue with a clearer step to reproduce the problem
If you delete a snapshot or a storage link of OpenStack through Horizon or Terminal, you can still see them in the list of provisions.
curl -v -H 'X-Auth-Token: '$KID -X GET localhost:8787/-/
the snapshots are saved in the mySQL database but set as inactive/deleted. Where is the code snippet that retrieves the images and snapshots?
We should probably build a filter for active images into the code.