Merge lp:~dan-prince/glance/ubuntu-glance-api-version into lp:~openstack-ubuntu-packagers/glance/ubuntu

Proposed by Dan Prince
Status: Merged
Merged at revision: 34
Proposed branch: lp:~dan-prince/glance/ubuntu-glance-api-version
Merge into: lp:~openstack-ubuntu-packagers/glance/ubuntu
Diff against target: 83 lines (+11/-8)
7 files modified
debian/changelog (+3/-0)
debian/glance.glance-api.upstart (+1/-1)
debian/glance.glance-registry.upstart (+1/-1)
debian/glance.install (+2/-1)
debian/glance.postinst (+1/-1)
debian/patches/sql_conn.patch (+3/-3)
debian/rules (+0/-1)
To merge this branch: bzr merge lp:~dan-prince/glance/ubuntu-glance-api-version
Reviewer Review Type Date Requested Status
OpenStack Ubuntu packagers Pending
Review via email: mp+61001@code.launchpad.net

Description of the change

Updates to support the new glance-api.conf and glance-registry.conf files.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-05-06 13:24:19 +0000
3+++ debian/changelog 2011-05-14 18:32:33 +0000
4@@ -9,6 +9,9 @@
5
6 [ Dan Prince ]
7 * Add support for DEB_BUILD_OPTIONS=nocheck,nodocs.
8+ * Updated to support new glance-api.conf and glance-registry.conf files.
9+ * Updated log file locations in the upstart scripts to match new config
10+ file defaults.
11
12 -- Soren Hansen <soren@ubuntu.com> Thu, 05 May 2011 15:17:10 +0200
13
14
15=== modified file 'debian/glance.glance-api.upstart'
16--- debian/glance.glance-api.upstart 2011-04-12 10:18:56 +0000
17+++ debian/glance.glance-api.upstart 2011-05-14 18:32:33 +0000
18@@ -6,4 +6,4 @@
19
20 respawn
21
22-exec su -c "glance-api" glance >> /var/log/glance/glance-api.log 2>&1
23+exec su -c "glance-api" glance >> /var/log/glance/api.log 2>&1
24
25=== modified file 'debian/glance.glance-registry.upstart'
26--- debian/glance.glance-registry.upstart 2011-04-12 10:18:56 +0000
27+++ debian/glance.glance-registry.upstart 2011-05-14 18:32:33 +0000
28@@ -6,4 +6,4 @@
29
30 respawn
31
32-exec su -c "glance-registry" glance >> /var/log/glance/glance-registry.log 2>&1
33+exec su -c "glance-registry" glance >> /var/log/glance/registry.log 2>&1
34
35=== modified file 'debian/glance.install'
36--- debian/glance.install 2011-04-12 10:21:42 +0000
37+++ debian/glance.install 2011-05-14 18:32:33 +0000
38@@ -1,2 +1,3 @@
39 usr/bin/*
40-etc/glance.conf.sample etc/glance
41+etc/glance-api.conf etc/glance
42+etc/glance-registry.conf etc/glance
43
44=== modified file 'debian/glance.postinst'
45--- debian/glance.postinst 2011-05-05 13:17:26 +0000
46+++ debian/glance.postinst 2011-05-14 18:32:33 +0000
47@@ -9,7 +9,7 @@
48 adduser --system --home /var/lib/glance --no-create-home --shell /bin/bash glance
49 fi
50 chown glance -R /var/lib/glance /var/log/glance
51- if ! grep sql_connection /etc/glance/glance.conf | grep -qv "sql_connection = sqlite:////var/lib/glance/glance.sqlite"
52+ if ! grep sql_connection /etc/glance/glance-registry.conf | grep -qv "sql_connection = sqlite:////var/lib/glance/glance.sqlite"
53 then
54 su -c 'glance-manage db_sync' glance
55 fi
56
57=== modified file 'debian/patches/sql_conn.patch'
58--- debian/patches/sql_conn.patch 2011-04-12 10:21:42 +0000
59+++ debian/patches/sql_conn.patch 2011-05-14 18:32:33 +0000
60@@ -1,8 +1,8 @@
61 Index: glance-2011.2~bzr108/etc/glance.conf.sample
62 ===================================================================
63---- glance-2011.2~bzr108.orig/etc/glance.conf.sample
64-+++ glance-2011.2~bzr108/etc/glance.conf.sample
65-@@ -62,7 +62,7 @@
66+--- glance-2011.2~bzr131.orig/etc/glance-registry.conf
67++++ glance-2011.2~bzr131/etc/glance-registry.conf
68+@@ -18,7 +18,7 @@
69 # SQLAlchemy connection string for the reference implementation
70 # registry server. Any valid SQLAlchemy connection string is fine.
71 # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
72
73=== modified file 'debian/rules'
74--- debian/rules 2011-05-05 20:22:21 +0000
75+++ debian/rules 2011-05-14 18:32:33 +0000
76@@ -16,7 +16,6 @@
77
78 override_dh_install:
79 dh_install
80- mv debian/glance/etc/glance/glance.conf.sample debian/glance/etc/glance/glance.conf
81
82 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
83 override_dh_auto_test:

Subscribers

People subscribed via source and target branches