Merge lp:~corey.bryant/glance/2014.2.2 into lp:~ubuntu-server-dev/glance/juno

Proposed by Corey Bryant
Status: Merged
Merged at revision: 317
Proposed branch: lp:~corey.bryant/glance/2014.2.2
Merge into: lp:~ubuntu-server-dev/glance/juno
Diff against target: 159 lines (+22/-78)
5 files modified
debian/changelog (+15/-0)
debian/control (+2/-2)
debian/patches/fix-requirements.patch (+5/-5)
debian/patches/ipv6-support.patch (+0/-70)
debian/patches/series (+0/-1)
To merge this branch: bzr merge lp:~corey.bryant/glance/2014.2.2
Reviewer Review Type Date Requested Status
Ubuntu Server Developers Pending
Review via email: mp+248818@code.launchpad.net
To post a comment you must log in.
lp:~corey.bryant/glance/2014.2.2 updated
317. By Corey Bryant

* Resynchronize with stable/juno (d9a928e) (LP: #1418695):
  - [da10e96] Adding filesystem schema check in async task
  - [7d5d865] Cleanup chunks for deleted image that was 'saving'
  - [5191ed1] Prevent file, swift+config and filesystem schemes
  - [0400de4] Fix and add a test case for IPv6
  - [07a99e1] Fix getaddrinfo if dnspython is installed
  - [d9a928e] To prevent client use v2 patch api to handle file and swift location
* d/p/fix-requirements.patch: Rebased.
* d/p/ipv6-support.patch: Dropped. Fix is now upstream.
* d/control: Bump minimum python-eventlet to get socket_timeout support.

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 2014-12-08 17:59:50 +0000
3+++ debian/changelog 2015-02-09 13:56:48 +0000
4@@ -1,3 +1,18 @@
5+glance (1:2014.2.2-0ubuntu1) UNRELEASED; urgency=medium
6+
7+ * Resynchronize with stable/juno (d9a928e) (LP: #1418695):
8+ - [da10e96] Adding filesystem schema check in async task
9+ - [7d5d865] Cleanup chunks for deleted image that was 'saving'
10+ - [5191ed1] Prevent file, swift+config and filesystem schemes
11+ - [0400de4] Fix and add a test case for IPv6
12+ - [07a99e1] Fix getaddrinfo if dnspython is installed
13+ - [d9a928e] To prevent client use v2 patch api to handle file and swift location
14+ * d/p/fix-requirements.patch: Rebased.
15+ * d/p/ipv6-support.patch: Dropped. Fix is now upstream.
16+ * d/control: Bump minimum python-eventlet to get socket_timeout support.
17+
18+ -- Corey Bryant <corey.bryant@canonical.com> Thu, 05 Feb 2015 14:35:06 -0500
19+
20 glance (1:2014.2.1-0ubuntu1) utopic; urgency=medium
21
22 [ Corey Bryant ]
23
24=== modified file 'debian/control'
25--- debian/control 2014-12-05 22:01:05 +0000
26+++ debian/control 2015-02-09 13:56:48 +0000
27@@ -9,7 +9,7 @@
28 python-boto (>= 2.12.0),
29 python-cinderclient (>= 1:1.0.8),
30 python-crypto (>= 2.6),
31- python-eventlet (>= 0.13.0),
32+ python-eventlet (>= 0.13.0-1ubuntu3.1~),
33 python-fixtures (>= 0.3.12),
34 python-glance-store (>= 0.1.1),
35 python-greenlet (>= 0.3.2),
36@@ -70,7 +70,7 @@
37 python-boto (>= 2.12.0),
38 python-cinderclient (>= 1:1.0.8),
39 python-crypto (>= 2.6),
40- python-eventlet (>= 0.13.0),
41+ python-eventlet (>= 0.13.0-1ubuntu3.1~),
42 python-glance-store (>= 0.1.1),
43 python-greenlet (>= 0.3.2),
44 python-httplib2 (>= 0.7.5),
45
46=== modified file 'debian/patches/fix-requirements.patch'
47--- debian/patches/fix-requirements.patch 2014-10-13 18:37:28 +0000
48+++ debian/patches/fix-requirements.patch 2015-02-09 13:56:48 +0000
49@@ -8,20 +8,20 @@
50
51 --- a/requirements.txt
52 +++ b/requirements.txt
53-@@ -12,18 +12,17 @@ greenlet>=0.3.2
54+@@ -12,18 +12,17 @@
55 # < 0.8.0/0.8 does not work, see https://bugs.launchpad.net/bugs/1153983
56- SQLAlchemy>=0.8.4,<=0.8.99,>=0.9.7,<=0.9.99
57+ SQLAlchemy>=0.8.4,<=0.9.99,!=0.9.0,!=0.9.1,!=0.9.2,!=0.9.3,!=0.9.4,!=0.9.5,!=0.9.6
58 anyjson>=0.3.3
59--eventlet>=0.15.1
60+-eventlet>=0.15.1,<0.16.0
61 +eventlet>=0.13.0
62 PasteDeploy>=1.5.0
63 -Routes>=1.12.3,!=2.0
64 +Routes>=1.12.3
65 WebOb>=1.2.3
66 argparse
67--boto>=2.32.1
68+-boto>=2.32.1,<2.35.0
69 +boto>=2.20.1
70- sqlalchemy-migrate>=0.9.1,!=0.9.2
71+ sqlalchemy-migrate==0.9.1
72 httplib2>=0.7.5
73 kombu>=2.5.0
74 pycrypto>=2.6
75
76=== removed file 'debian/patches/ipv6-support.patch'
77--- debian/patches/ipv6-support.patch 2014-10-03 11:06:47 +0000
78+++ debian/patches/ipv6-support.patch 1970-01-01 00:00:00 +0000
79@@ -1,70 +0,0 @@
80-From a6702e912a80827212f173e4e4d3cdb0e8151d86 Mon Sep 17 00:00:00 2001
81-From: Hui Xiang <hui.xiang@canonical.com>
82-Date: Thu, 19 Jun 2014 10:25:58 +0800
83-Subject: [PATCH] Fix getaddrinfo if dnspython is installed
84-
85-If dnspython is present in the environment then eventlet
86-monkeypatches socket.getaddrinfo() with an implementation
87-which doesn't work for IPv6.
88-
89-Closes-Bug: 1331885
90-Change-Id: I795e004eac3f032217ff9cb0047f1976306fbb71
91----
92- glance/cmd/__init__.py | 14 ++++++++++++++
93- glance/tests/__init__.py | 15 +++++++++++++++
94- 2 files changed, 29 insertions(+)
95-
96-diff --git a/glance/cmd/__init__.py b/glance/cmd/__init__.py
97-index a02646b..c2aa8e4 100644
98---- a/glance/cmd/__init__.py
99-+++ b/glance/cmd/__init__.py
100-@@ -14,6 +14,20 @@
101- # under the License.
102-
103- from glance import i18n
104-+import os
105-+import sys
106-+
107-+# All of this is because if dnspython is present in your environment then
108-+# eventlet monkeypatches socket.getaddrinfo() with an implementation which
109-+# doesn't work for IPv6. What we're checking here is that the magic
110-+# environment variable was set when the import happened.
111-+if ('eventlet' in sys.modules and
112-+ os.environ.get('EVENTLET_NO_GREENDNS', '').lower() != 'yes'):
113-+ raise ImportError(_('eventlet imported before glance/cmd/__init__ '
114-+ '(env var set to %s)')
115-+ % os.environ.get('EVENTLET_NO_GREENDNS'))
116-+
117-+os.environ['EVENTLET_NO_GREENDNS'] = 'yes'
118-
119- i18n.enable_lazy()
120- i18n.install('glance')
121-diff --git a/glance/tests/__init__.py b/glance/tests/__init__.py
122-index b1f1268..957169a 100644
123---- a/glance/tests/__init__.py
124-+++ b/glance/tests/__init__.py
125-@@ -13,6 +13,21 @@
126- # License for the specific language governing permissions and limitations
127- # under the License.
128-
129-+import os
130-+import sys
131-+
132-+# All of this is because if dnspython is present in your environment
133-+# then eventlet monkeypatches socket.getaddrinfo() with an implementation
134-+# which doesn't work for IPv6. What we're checking here is that the magic
135-+# environment variable was set when the import happened.
136-+if ('eventlet' in sys.modules and
137-+ os.environ.get('EVENTLET_NO_GREENDNS', '').lower() != 'yes'):
138-+ raise ImportError(_('eventlet imported before tests/__init__ '
139-+ '(env var set to %s)')
140-+ % os.environ.get('EVENTLET_NO_GREENDNS'))
141-+
142-+os.environ['EVENTLET_NO_GREENDNS'] = 'yes'
143-+
144- # See http://code.google.com/p/python-nose/issues/detail?id=373
145- # The code below enables tests to work with i18n _() blocks
146- import six.moves.builtins as __builtin__
147---
148-1.7.9.5
149-
150
151=== modified file 'debian/patches/series'
152--- debian/patches/series 2014-12-05 22:01:05 +0000
153+++ debian/patches/series 2015-02-09 13:56:48 +0000
154@@ -1,5 +1,4 @@
155 update-glance-store-tests.patch
156 sql_conn.patch
157 fix-requirements.patch
158-ipv6-support.patch
159 skip-online-tests.patch

Subscribers

People subscribed via source and target branches