fix for glance api log

Change-Id: If4b60a164f5601e54878e3201589a04407b46620
Closes-Bug: #1587185
diff --git a/glance/files/entrypoint.sh b/glance/files/entrypoint.sh
index b224264..29ac8b3 100644
--- a/glance/files/entrypoint.sh
+++ b/glance/files/entrypoint.sh
@@ -10,6 +10,9 @@
 service {{ service }} stop || true
 {% endfor %}
 
+#Fix ownership for api.log file
+chown -R glance:glance /var/log/glance/
+
 if [ "$1" == "api" ]; then
     echo "starting glance-api"
     su glance --shell=/bin/sh -c '/usr/bin/glance-api --config-file=/etc/glance/glance-api.conf'