Glance api server cannot start if default_store is set to 'file'

Bug #1466915 reported by Mike Fedosin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Invalid
Medium
Unassigned

Bug Description

While we were testing new features in Horizon on MOS 6.1 we had to change default_store from 'swift' to 'file' by commenting the last line in glance-api.conf
When we tried to restart the server, it went to endless restart and cannot run. No exceptions were written in glance log, only repeated starting messages.
When we changed 'file' to 'swift' again everything started to work fine. Changing other parameters in the config didn't lead to this behaviour.
Folder /var/lib/glance/images exists and is open for writing.

ruhe (ruhe)
Changed in mos:
milestone: none → 6.1
importance: Undecided → Medium
Revision history for this message
Dmitry Mescheryakov (dmitrymex) wrote :

File store is not used in MOS Reference Architecture, hence the bug is invalid.

Changed in mos:
status: New → Invalid
Revision history for this message
Adam Heczko (aheczko-mirantis) wrote :

With MOS 7.0 the following settings works as supposed and allows uploading Glane images directly to controller's filesystem:

stores = glance.store.filesystem.Store
# stores = glance.store.swift.Store,glance.store.http.Store

default_store = file
# default_store = swift

filesystem_store_datadir = /var/lib/glance/images

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.