glance can't change filesystem_store_datadir
Hi all
When I try to change the "filesystem_store_datadir" in the glance-api.conf file I receive : " 2014-08-25 16:23:48.107 30791 INFO oslo.messaging._drivers.impl_rabbit [41d73e7e-1dca-4133-b770-df1eeb1733e6 e31dcb363a834f3d802f99f5761186bc c1e4c67457f348cca12a98f516868e83 - - -] Connected to AMQP server on 192.168.0.69:5672 2014-08-25 16:23:48.137 30791 ERROR glance.store.filesystem [41d73e7e-1dca-4133-b770-df1eeb1733e6 e31dcb363a834f3d802f99f5761186bc c1e4c67457f348cca12a98f516868e83 - - -] Permission to write in /sata/glance/images2/ denied 2014-08-25 16:23:48.137 30791 TRACE glance.store.filesystem Traceback (most recent call last): 2014-08-25 16:23:48.137 30791 TRACE glance.store.filesystem File "/usr/lib/python2.7/site-packages/routes/middleware.py", line 52, in __call__ 2014-08-25 16:23:48.137 30791 TRACE glance.store.filesystem qs = environ['QUERY_STRING'] 2014-08-25 16:23:48.137 30791 TRACE glance.store.filesystem KeyError: 'QUERY_STRING' 2014-08-25 16:23:48.137 30791 TRACE glance.store.filesystem 2014-08-25 16:23:48.137 30791 WARNING glance.store.base [41d73e7e-1dca-4133-b770-df1eeb1733e6 e31dcb363a834f3d802f99f5761186bc c1e4c67457f348cca12a98f516868e83 - - -] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Permission to write in /sata/glance/images2/ denied Disabling add method. " It's only working if I move the folder "images" to the new location and not by creating a new folder. The permissions of the folder are "glance:glance 755"
Thanks in advance
Adrian