/var/lib/glance/image-cache/invalid/ is in glance-api 2012.1-0ubuntu2.
This file is owned by root:root, with mode 0o755.