Note to anyone encountering this problem in DevStack:
Somehow apache is losing connectivity with glance, causing the 502 response. It would be helpful if you could paste log extracts from apache and glance at paste.openstack.org and leave a link in this bug.
For a temporary workaround, see Abhishek's comment in #1 above. But before doing the workaround, please paste the logs for us!
Note to anyone encountering this problem in DevStack:
Somehow apache is losing connectivity with glance, causing the 502 response. It would be helpful if you could paste log extracts from apache and glance at paste.openstack.org and leave a link in this bug.
For a temporary workaround, see Abhishek's comment in #1 above. But before doing the workaround, please paste the logs for us!