This bug is caused by a missing 'image_cache_dir' option in glance-api.conf. Yes, you have to repeat the option in multiple config files. This specific case was caused by the older definition of 'image_cache_datadir'. Note the difference between 'dir' and 'datadir'.