Merge lp:~gandelman-a/glance/service_config_patch into lp:~ubuntu-server-dev/glance/essex

Proposed by Adam Gandelman
Status: Work in progress
Proposed branch: lp:~gandelman-a/glance/service_config_patch
Merge into: lp:~ubuntu-server-dev/glance/essex
Diff against target: 61 lines (+40/-0)
3 files modified
debian/changelog (+2/-0)
debian/patches/series (+1/-0)
debian/patches/service_account_placeholder.patch (+37/-0)
To merge this branch: bzr merge lp:~gandelman-a/glance/service_config_patch
Reviewer Review Type Date Requested Status
Martin Pitt Needs Information
Review via email: mp+95502@code.launchpad.net

Description of the change

Adds placeholders to example registry + api server paste.inis so juju charms can easily update.

To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

This doesn't seem applied in current wily, is this still relevant? If so, please set back to "needs review", otherwise close/delete this please.

review: Needs Information

Unmerged revisions

120. By Adam Gandelman

debian/patches/service_account_placeholder.patch: Add examples
to highlight new keystone service auth interface.

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 2012-03-01 14:08:50 +0000
3+++ debian/changelog 2012-03-02 03:36:22 +0000
4@@ -3,6 +3,8 @@
5 * New upstream release.
6 * debian/control: Add python date-util. (LP: #943748)
7 * debian/control: Add ca-certificates. (LP: #932800)
8+ * debian/patches/service_account_placeholder.patch: Add examples
9+ to highlight new keystone service auth interface.
10
11 -- Chuck Short <zulcss@ubuntu.com> Thu, 01 Mar 2012 09:08:46 -0500
12
13
14=== modified file 'debian/patches/series'
15--- debian/patches/series 2012-02-11 02:31:21 +0000
16+++ debian/patches/series 2012-03-02 03:36:22 +0000
17@@ -1,1 +1,2 @@
18 sql_conn.patch
19+service_account_placeholder.patch
20
21=== added file 'debian/patches/service_account_placeholder.patch'
22--- debian/patches/service_account_placeholder.patch 1970-01-01 00:00:00 +0000
23+++ debian/patches/service_account_placeholder.patch 2012-03-02 03:36:22 +0000
24@@ -0,0 +1,37 @@
25+Description: Add some example place holders for easing scripted upgrades,
26+and also for the sake of highlighting the interface change until upstream
27+documents it.
28+Author: Adam Gandelman <adamg@canonical.com>
29+
30+Index: glance-2012.1/etc/glance-api-paste.ini
31+===================================================================
32+--- glance-2012.1.orig/etc/glance-api-paste.ini 2012-03-01 18:58:57.000000000 -0800
33++++ glance-2012.1/etc/glance-api-paste.ini 2012-03-01 19:02:52.601690512 -0800
34+@@ -72,6 +72,11 @@
35+ auth_protocol = http
36+ auth_uri = http://127.0.0.1:5000/
37+ admin_token = 999888777666
38++# Keystone now authenticates services by service username, password and tenant
39++# Update the following with appropriate credentials
40++admin_tenant_name = tenant
41++admin_user = service_user
42++admin_password = service_password
43+
44+ [filter:auth-context]
45+ paste.filter_factory = glance.common.wsgi:filter_factory
46+Index: glance-2012.1/etc/glance-registry-paste.ini
47+===================================================================
48+--- glance-2012.1.orig/etc/glance-registry-paste.ini 2012-03-01 19:04:00.657687519 -0800
49++++ glance-2012.1/etc/glance-registry-paste.ini 2012-03-01 19:04:35.785685974 -0800
50+@@ -29,6 +29,11 @@
51+ auth_protocol = http
52+ auth_uri = http://127.0.0.1:5000/
53+ admin_token = 999888777666
54++# Keystone now authenticates services by service username, password and tenant
55++# Update the following with appropriate credentials
56++admin_tenant_name = tenant
57++admin_user = service_user
58++admin_password = service_password
59+
60+ [filter:auth-context]
61+ context_class = glance.registry.context.RequestContext

Subscribers

People subscribed via source and target branches