← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1383722] Re: glance store initialization should be improved

 

** Project changed: glance => glance-store

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1383722

Title:
  glance store initialization should be improved

Status in glance_store:
  Confirmed

Bug description:

  Currently the glance store initialization is explicitly called in the
  api start script:

  
   cat glance/cmd/api.py
   .
   .
   .

          glance_store.register_opts(config.CONF)
          glance_store.create_stores(config.CONF)
          glance_store.verify_default_store()

  
  Other parameter's are picked up for free if we perform a configuration reload on sighup (eg sqlalchemy settings).
  (An exception is logging where a log.setup() needs to be called).

  It would be great, in order to fit cleanly with configuration reload,
  to have the glance_store initialization be called automatically,
  triggered by the eventlet.wsgi.server() call in glance.common.wsgi.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance-store/+bug/1383722/+subscriptions


References