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

Subscribers

People subscribed via source and target branches