crowbar/barclamp-glance — pull request #227 by vuntz (2014-07-24 10:09:32+00:00)
Title: Fix glance-manage db sync happening twice on first chef run

glance-manage is looking at the config files of both glance-api and
glance-registry. When we run it, only glance-registry has been
configured and the connection string for database will be overridden by
the default one from glance-api, which points to sqlite.

This results in the migration happening on start of glance-api, which
breaks HA (since only one node can do the migration).

The fix is to run glance-manage with only the glance-registry config
file which we know is correct.

https://bugzilla.novell.com/show_bug.cgi?id=888584