glance-api.conf contains incorrect sqlite connection string path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
1) Release
Ubuntu 12.04 LTS Server
2) Package Version
2012.2+
3) Expected
$ sudo apt-get install -y glance=2012.2*
$ pgrep -l glance
1111 glance-api
2222 glance-registry
$ sudo grep 'sql_connection' /etc/glance/
sql_connection = sqlite:
4) Happened Instead
$ sudo apt-get install -y glance=2012.2*
$ pgrep -l glance
2222 glance-registry
$ sudo tail /var/log/
2012-07-24 21:27:45 ERROR glance.
$ sudo grep 'sql_connection' /etc/glance/
sql_connection = sqlite:
5) Workaround
$ sudo sed -i /etc/glance/
$ sudo service glance-api restart
$ pgrep -l glance
1111 glance-api
2222 glance-registry
Thanks Byron, I've included glance-api.conf in the sql_conn.patch to also set the path there. New packages building in PPA, should be fixed in Quantal with the next upload.