<div dir="ltr"><div class="gmail_extra"><div class="gmail_signature"><div dir="ltr"><div><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">Hello there,</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">I encountered a weird error while upgrading glance to kilo. Whenever I start up glance service, it encountered an error (in the log file) saying the follow: " 2015-05-26 20:43:40.261 4744 ERROR glance_store._drivers.filesystem [-] Permission to write in /var/lib/glance/images/ denied 2015-05-26 20:43:40.261 4744 TRACE glance_store._drivers.filesystem None 2015-05-26 20:43:40.261 4744 TRACE glance_store._drivers.filesystem 2015-05-26 20:43:40.262 4744 WARNING glance_store.driver [-] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Permission to write in /var/lib/glance/images/ denied Disabling add method. "</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">However, I do not know why this is happening because it seems like "glance-api" is run by "glance" and "/var/lib/glance/images/" is also owned by "glance". It appears to me that "glance" should have sufficient privilege of accessing (writing) to the target folder because :</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">drwxrwxr-x 2 glance glance 4096 May 5 22:36 images</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">glance 4754 4744 0 20:43 ? 00:00:00 /usr/bin/python2 /usr/bin/glance-api</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">I tried to use chmod to change images' access privilege but I failed by using either "root" or "glance".</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">Could anyone please give me some suggestions regarding how to get this issue resolved?</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">Thanks,</p></div></div></div>
</div></div>