Merge lp:~zulcss/ubuntu/saucy/cinder/2013.2.2 into lp:~ubuntu-server-dev/cinder/grizzly

Proposed by Chuck Short
Status: Superseded
Proposed branch: lp:~zulcss/ubuntu/saucy/cinder/2013.2.2
Merge into: lp:~ubuntu-server-dev/cinder/grizzly
Diff against target: 562 lines (+359/-54) (has conflicts)
13 files modified
debian/changelog (+207/-0)
debian/cinder-common.install (+1/-0)
debian/control (+50/-37)
debian/patches/fix-sqlalchemy-requirements.patch (+15/-0)
debian/patches/fix_cinder_dependencies.patch (+0/-11)
debian/patches/revert-stable-havana-requirements.patch (+25/-0)
debian/patches/series (+0/-1)
debian/rules (+8/-5)
debian/tests/cinder-daemons (+15/-0)
debian/tests/cinder-volume (+17/-0)
debian/tests/control (+3/-0)
debian/tests/python-cinder (+14/-0)
debian/tests/test_import_cinder.py (+4/-0)
Text conflict in debian/changelog
Text conflict in debian/control
Text conflict in debian/rules
To merge this branch: bzr merge lp:~zulcss/ubuntu/saucy/cinder/2013.2.2
Reviewer Review Type Date Requested Status
Ubuntu Server Developers Pending
Review via email: mp+208152@code.launchpad.net

This proposal has been superseded by a proposal from 2014-02-25.

Description of the change

2013.2.2

To post a comment you must log in.
153. By Chuck Short

Re-add missing bits

Unmerged revisions

153. By Chuck Short

Re-add missing bits

152. By Chuck Short

Releasing 2013.2.2

151. By Adam Gandelman

2013.2.1

150. By Adam Gandelman

d/changelog: typo

149. By Adam Gandelman

debian/pathces/revert-stable-havana-requirements.patch: Revert
version bumps to dependencies in stable/havana back to what was
shipped with Saucy.

148. By Adam Gandelman

d/patches: 2013.2.1 refresh

147. By Chuck Short

2013.2

146. By James Page

releasing package cinder version 1:2013.2~rc3-0ubuntu1

145. By James Page

releasing package cinder version 1:2013.2~rc2-0ubuntu1

144. By Chuck Short

2013.2~rc1

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2013-10-18 19:14:58 +0000
+++ debian/changelog 2014-02-25 15:15:47 +0000
@@ -1,3 +1,4 @@
1<<<<<<< TREE
1cinder (1:2013.1.4-0ubuntu1) raring-proposed; urgency=low2cinder (1:2013.1.4-0ubuntu1) raring-proposed; urgency=low
23
3 * Resynchronize with stable/grizzly (6e764cb) (LP: #1241202):4 * Resynchronize with stable/grizzly (6e764cb) (LP: #1241202):
@@ -118,6 +119,212 @@
118119
119 -- Adam Gandelman <adamg@ubuntu.com> Tue, 14 May 2013 07:49:04 -0700120 -- Adam Gandelman <adamg@ubuntu.com> Tue, 14 May 2013 07:49:04 -0700
120121
122=======
123cinder (1:2013.2.2-0ubuntu1) saucy-proposed; urgency=low
124
125 * Resynchronize with stable/havana (67e4b38) (LP: #1284643):
126 - [ec8ce6c] rate-limiting doesn't work LP: 1259957
127 - [5228001] Cinder Migrate from NFS fails due to nfs_mount_point_base not
128 being provided LP: 1238085
129 - [ace214a] migrate_volume dest_vg existence is wrong LP: 1258203
130 - [36b7596] lvm_mirrors in volume_migration should be converted to int
131 LP: 1258133
132 - [6687331] NFS/GlusterFS drivers should validate format of configured
133 shares LP: 1267253
134 - [3d967e0] Copy image to volume iSCSI multipath doesn't work properly if
135 there are different targets associated with different portals for a
136 mulitpath device. LP: 1266048
137 - [77fade5] NetApp cinder driver reports 0 free space for the first 60
138 seconds LP: 1253660
139 - [f02d4fe] GlusterFS: allow snapshot_delete when snapshot info does not
140 exist LP: 1252864
141 - [240c81d] GlusterFS: Use correct base argument when deleting attached
142 snaps LP: 1262880
143 - [4470fdb] No notification sent deleting a volume that doesn't have a real
144 backing volume LP: 1257053
145 - [f9e1943] cinder does not handle missing volume group gracefully (stuck
146 in "creating") LP: 1242942
147 - [ab12130] Bump stable/havana next version to 2013.2.3
148 - [8b5fb84] Bump stable/havana next version to 2013.2.2
149 - [67e4b38] LVM brick instantiation fails on volume_migration LP: 1258128
150
151 -- Chuck Short <zulcss@ubuntu.com> Tue, 25 Feb 2014 08:57:25 -0500
152
153cinder (1:2013.2.1-0ubuntu1) saucy-proposed; urgency=low
154
155 * Resynchronize with stable/havana (eb78fee) (LP: #1262788):
156 - [d8a0cd9] GlusterFS: errors when trying to boot instance from cloned
157 volume LP: 1244238
158 - [550f439] SSC attribute netapp_mirrored is not followed LP: 1242808
159 - [0d3c303] SSC attributes netapp_compression and netapp_dedup are not
160 followed LP: 1236839
161 - [243ad85] Brick HostDriver test failure LP: 1244418
162 - [42f3e68] SSC volume filtering for extra specs can result in inconsistent
163 list LP: 1243081
164 - [2e5dc22] Broken NetAppDirect7modeISCSIDriver reports incorrect free
165 capacity, scheduler won't balance between multiple Netapp backends
166 LP: 1238967
167 - [ad05556] copy image to volume is broken for non-local volumes
168 LP: 1243980
169 - [5f7d263] check_ssh_injection not handling quoted args correctly
170 LP: 1244415
171 - [709130b] don't secure delete thin provisioned volumes or snapshots
172 LP: 1240299
173 - [986d243] invalid volume when source image virtual size is bigger than
174 the requested size LP: 1235358
175 - [df6d45f] invalid volume when source image virtual size is bigger than
176 the requested size LP: 1235358
177 - [78609c1] Properly handle volume cleanup with RBD driver LP: 1254318
178 - [0801927] KeyError from storwize driver when 'host' is not provided to
179 terminate_connection LP: 1244257
180 - [e96e33c] GlusterFS: cloned volume has incorrect permissions LP: 1254768
181 - [4529886] GlusterFS: operations that modify data require locking
182 LP: 1251425
183 - [3a58261] cinder backup should use pipe for diff transfer LP: 1244464
184 - [3591f0d] Havana cinder requires glance API V2 LP: 1252549
185 - [871d7d6] Excessive queries for API volumes/detail extensions LP: 1197612
186 - [22a7101] Ensure ThinLVM LV is active when cloning LP: 1252423
187 - [c5d4246] Excessive queries for API volumes/detail extensions LP: 1197612
188 - [395ec74] Excessive queries for API volumes/detail extensions LP: 1197612
189 - [1825386] Excessive queries for API volumes/detail extensions LP: 1197612
190 - [430f0b9] [messaging] QPID broadcast RPC requests to all servers for a
191 given topic LP: 1257293
192 - [eb78fee] Updated from global requirements
193
194 -- Adam Gandelman <adamg@ubuntu.com> Thu, 19 Dec 2013 11:45:31 -0800
195
196cinder (1:2013.2-0ubuntu1) saucy; urgency=low
197
198 * New upstream release (LP: #1236462).
199
200 -- Chuck Short <zulcss@ubuntu.com> Thu, 17 Oct 2013 10:00:43 -0400
201
202cinder (1:2013.2~rc3-0ubuntu1) saucy; urgency=low
203
204 * New upstream release candidate (LP: #1240254).
205
206 -- James Page <james.page@ubuntu.com> Wed, 16 Oct 2013 08:59:28 +0100
207
208cinder (1:2013.2~rc2-0ubuntu1) saucy; urgency=low
209
210 * New upstream release candidate (LP: #1239156).
211
212 -- James Page <james.page@ubuntu.com> Sat, 12 Oct 2013 16:52:11 +0100
213
214cinder (1:2013.2~rc1-0ubuntu1) saucy; urgency=low
215
216 * New upstream release candidate.
217 * debian/patches/skip-sqlachemy-failures.patch: Dropped
218 * debian/patches/fix-sqlalchemy-requirements.patch: Refreshed.
219 * debian/patches/fix-babel-requirements.patch: Revert dependency requirement
220 for python-babel.
221 * debian/control:
222 - Dropped python-nose and python-setuptool-git.
223 - Added python-netaddr as a build-dependency. (LP: #1227153)
224 - Added python-six as a build-dependency.
225 - Added versioned dependencies to python-pbr, python-amqplib,
226 python-glanceclient, python-novaclient, and python-swiftclient,
227 python-lxml, python-webob, python-oslo.config, python-sqlalchemy,
228 python-fixtures, python-testtools, and python-fixtures
229 - Bumped versioned dependencies for python-eventlet, python-hp3parclient,
230 python-keystoneclient, and python-novaclient
231
232 -- Chuck Short <zulcss@ubuntu.com> Fri, 04 Oct 2013 08:40:26 -0400
233
234cinder (1:2013.2~b3-0ubuntu1) saucy; urgency=low
235
236 [ James Page ]
237 * d/control: Switch ceph-common -> python-ceph inline with upstream
238 refactoring of Ceph RBD driver, move to Suggests of python-cinder.
239 (LP: #1190791).
240
241 [ Adam Gandelman ]
242 * debian/patches/avoid_paramiko_vers_depends.patch: Dropped, no longer
243 required.
244 * Add minimum requirement python-greenlet (>= 0.3.2).
245 * Add minimum requirement python-eventlet (>= 0.12.0).
246 * Add minimum requirement python-paramiko (>= 1.8).
247
248 [ Chuck Short ]
249 * New upstream release.
250 * debian/patches/skip-sqlachemy-failures.patch: Skip testfailures
251 with sqlalchemy 0.8 until they are fixed upstream.
252 * debian/control: Add python-babel to build-depends.
253 * debian/control: Add python-novaclient to build-depends.
254
255 -- Chuck Short <zulcss@ubuntu.com> Sun, 08 Sep 2013 21:09:46 -0400
256
257cinder (1:2013.2~b2-0ubuntu3) saucy; urgency=low
258
259 * debian/patches/fix-sqlalchemy-requirements.patch: Fix requirements for sqlalchemy
260 0.8.
261
262 -- Chuck Short <zulcss@ubuntu.com> Mon, 22 Jul 2013 10:03:52 -0400
263
264cinder (1:2013.2~b2-0ubuntu2) saucy; urgency=low
265
266 * d/rules: Disable test parallel execution; causing FTBFS when high
267 levels of concurrency occur on buildds.
268
269 -- James Page <james.page@ubuntu.com> Sun, 21 Jul 2013 10:10:10 +0100
270
271cinder (1:2013.2~b2-0ubuntu1) saucy; urgency=low
272
273 [ Chuck Short ]
274 * debian/patches/avoid_paramiko_vers_depends.patch: Refreshed
275 * debian/control: Add missing testrepostory.
276 * debian/rules: Use testr directly.
277
278 [ Adam Gandelman ]
279 * debian/control:
280 - Add minimum requirement python-anyjson (>= 0.3.3).
281 - Add minimum requirement python-keystoneclient (>= 0.2.3).
282 - Add minimum requirement python-kombu (>= 2.5.12).
283
284 [ James Page ]
285 * New upstream release.
286 * d/control: Update VCS fields for new branch locations.
287 * d/rules: Run unit tests in parallel.
288
289 -- James Page <james.page@ubuntu.com> Fri, 19 Jul 2013 14:14:40 +0100
290
291cinder (1:2013.2~b1-0ubuntu2) saucy; urgency=low
292
293 [ Chuck Short ]
294 * debian/patches/avoid_paramiko_vers_depends.patch: Refreshed
295
296 [ Adam Gandelman ]
297 * debian/control: Bump min. stevedore version >= 0.9.
298
299 [Yolanda Robla]
300 * debian/tests: Added autopkgtests.
301
302 -- Chuck Short <zulcss@ubuntu.com> Wed, 19 Jun 2013 12:45:18 -0500
303
304cinder (1:2013.2~b1-0ubuntu1) saucy; urgency=low
305
306 [ Chuck Short ]
307 * New upstream version.
308 * debian/patches/fix_cinder_dependencies.patch: Dropped.
309 * debian/control: Bump standards version to 3.9.4.
310 * debian/control: Add python-pbr and python-d2to1 to build-depends.
311 * debian/control: Add python-testtools and python-fixtures to build-depends
312 * debian/rules: Add work around to remove wonky setup.py setup
313 * debian/cinder-common.install: Add cinder-rpc-zmq-receiver binary.
314
315 [ James Page ]
316 * debian/control: Drop surplus dependency on python-glance (LP: #1175600).
317 * debian/control,rules: Drop dependency on pep8, don't run pep8 tests during
318 package build process (its just way to late).
319 * debian/control: Drop surplus BD on python-cheetah.
320
321 [ Adam Gandelman ]
322 * debian/patches/avoid_paramiko_vers_depends.patch: Avoid version
323 requirement on paramiko.
324
325 -- Chuck Short <zulcss@ubuntu.com> Fri, 31 May 2013 10:01:03 -0500
326
327>>>>>>> MERGE-SOURCE
121cinder (1:2013.1-0ubuntu2) raring; urgency=low328cinder (1:2013.1-0ubuntu2) raring; urgency=low
122329
123 * debian/control: Bump minimum stevedore version 0.8.330 * debian/control: Bump minimum stevedore version 0.8.
124331
=== modified file 'debian/cinder-common.install'
--- debian/cinder-common.install 2013-02-20 10:31:01 +0000
+++ debian/cinder-common.install 2014-02-25 15:15:47 +0000
@@ -6,3 +6,4 @@
6etc/cinder/rootwrap.conf etc/cinder6etc/cinder/rootwrap.conf etc/cinder
7usr/bin/cinder-manage7usr/bin/cinder-manage
8usr/bin/cinder-rootwrap8usr/bin/cinder-rootwrap
9usr/bin/cinder-rpc-zmq-receiver
910
=== modified file 'debian/control'
--- debian/control 2013-08-14 17:39:08 +0000
+++ debian/control 2014-02-25 15:15:47 +0000
@@ -4,72 +4,86 @@
4Maintainer: Chuck Short <zulcss@ubuntu.com>4Maintainer: Chuck Short <zulcss@ubuntu.com>
5Build-Depends: debhelper (>= 8.0.0), python-all (>= 2.6)5Build-Depends: debhelper (>= 8.0.0), python-all (>= 2.6)
6Build-Depends-Indep:6Build-Depends-Indep:
7 pep8,7 python-amqplib (>= 0.6.1),
8 python-amqplib,8 python-anyjson (>= 0.3.3),
9 python-anyjson,9 python-babel,
10 python-cheetah,
11 python-coverage,10 python-coverage,
12 python-eventlet,11 python-d2to1,
13 python-glanceclient,12 python-eventlet (>= 0.13.0),
14 python-greenlet,13 python-fixtures (>= 0.3.14),
15 python-hp3parclient (>= 1.0.0),14 python-glanceclient (>= 1:0.9.0),
15 python-greenlet (>= 0.3.2),
16 python-hp3parclient (>= 2.0.0),
16 python-iso8601,17 python-iso8601,
17 python-keystoneclient,18 python-keystoneclient (>= 1:0.3.0),
18 python-kombu,19 python-kombu (>= 2.5.12),
19 python-lockfile,20 python-lockfile,
20 python-lxml,21 python-lxml (>= 2.3),
21 python-migrate,22 python-migrate,
22 python-mock,23 python-mock,
23 python-mox,24 python-mox,
24 python-mysqldb,25 python-mysqldb,
25 python-nose,26 python-netaddr,
26 python-oslo.config,27 python-novaclient (>= 1:2.15.0),
27 python-paramiko,28 python-oslo.config (>= 1:1.1.0),
29 python-paramiko (>= 1.8),
28 python-paste,30 python-paste,
29 python-pastedeploy,31 python-pastedeploy,
32 python-pbr (>= 0.5.21),
30 python-routes,33 python-routes,
31 python-swiftclient,
32 python-setuptools,34 python-setuptools,
33 python-setuptools-git,35 python-six,
34 python-sphinx,36 python-sphinx,
35 python-sqlalchemy,37 python-sqlalchemy (>= 0.8.2),
36 python-stevedore (>= 0.8),38 python-stevedore (>= 0.10),
37 python-suds,39 python-suds,
38 python-webob40 python-swiftclient (>= 1:1.5),
39Standards-Version: 3.9.341 python-testtools (>= 0.9.32),
42 python-webob (>= 1.2.3),
43 testrepository (>= 0.0.17)
44Standards-Version: 3.9.4
40Homepage: http://launchpad.net/cinder45Homepage: http://launchpad.net/cinder
46<<<<<<< TREE
41Vcs-Browser: http://bazaar.launchpad.net/~ubuntu-server-dev/cinder/grizzly/files47Vcs-Browser: http://bazaar.launchpad.net/~ubuntu-server-dev/cinder/grizzly/files
42Vcs-Bzr: https://code.launchpad.net/~ubuntu-server-dev/cinder/grizzly48Vcs-Bzr: https://code.launchpad.net/~ubuntu-server-dev/cinder/grizzly
49=======
50Vcs-Browser: http://bazaar.launchpad.net/~ubuntu-server-dev/cinder/havana/files
51Vcs-Bzr: https://code.launchpad.net/~ubuntu-server-dev/cinder/havana
52XS-Testsuite: autopkgtest
53>>>>>>> MERGE-SOURCE
4354
44Package: python-cinder55Package: python-cinder
45Section: python56Section: python
46Architecture: all57Architecture: all
47Depends:58Depends:
48 python-amqplib,59 python-amqplib (>= 0.6.1),
49 python-anyjson,60 python-anyjson (>= 0.3.3),
50 python-eventlet,61 python-babel,
51 python-glance,62 python-eventlet (>= 0.13.0),
52 python-glanceclient,63 python-glanceclient (>= 1:0.9.0),
53 python-keystoneclient,64 python-greenlet (>= 0.3.2),
54 python-oslo.config,
55 python-greenlet,
56 python-iso8601,65 python-iso8601,
57 python-kombu,66 python-keystoneclient (>= 1:0.3.0),
67 python-kombu (>= 2.5.12),
58 python-lockfile,68 python-lockfile,
59 python-lxml,69 python-lxml (>= 2.3),
60 python-migrate,70 python-migrate,
61 python-paramiko,71 python-netaddr,
72 python-novaclient (>= 1:2.12.0),
73 python-oslo.config (>= 1:1.1.0),
74 python-paramiko (>= 1.8),
62 python-paste,75 python-paste,
63 python-pastedeploy,76 python-pastedeploy,
64 python-routes,77 python-routes,
65 python-stevedore (>= 0.8),78 python-six,
66 python-swiftclient,79 python-sqlalchemy (>= 0.8.2),
67 python-sqlalchemy,80 python-stevedore (>= 0.10),
68 python-suds,81 python-suds,
69 python-webob,82 python-swiftclient (>= 1:1.5),
83 python-webob (>= 1.2.3),
70 ${misc:Depends},84 ${misc:Depends},
71 ${python:Depends}85 ${python:Depends}
72Suggests: python-hp3parclient86Suggests: python-ceph, python-hp3parclient
73Description: Cinder Python libraries87Description: Cinder Python libraries
74 OpenStack is a reliable cloud infrastructure. Its mission is to produce88 OpenStack is a reliable cloud infrastructure. Its mission is to produce
75 the ubiquitous cloud computing platform that will meet the needs of public89 the ubiquitous cloud computing platform that will meet the needs of public
@@ -119,7 +133,6 @@
119 tgt,133 tgt,
120 ${misc:Depends},134 ${misc:Depends},
121 ${python:Depends}135 ${python:Depends}
122Suggests: ceph-common
123Breaks: cinder-common ( <= 2012.2~rc1~20120907.1154-0ubuntu1 )136Breaks: cinder-common ( <= 2012.2~rc1~20120907.1154-0ubuntu1 )
124Replaces: cinder-common ( <= 2012.2~rc1~20120907.1154-0ubuntu1 )137Replaces: cinder-common ( <= 2012.2~rc1~20120907.1154-0ubuntu1 )
125Description: Cinder storage service - Volume server138Description: Cinder storage service - Volume server
126139
=== added file 'debian/patches/fix-sqlalchemy-requirements.patch'
--- debian/patches/fix-sqlalchemy-requirements.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/fix-sqlalchemy-requirements.patch 2014-02-25 15:15:47 +0000
@@ -0,0 +1,15 @@
1Index: cinder/requirements.txt
2===================================================================
3--- cinder.orig/requirements.txt 2013-12-17 19:54:20.811733048 -0800
4+++ cinder/requirements.txt 2013-12-17 20:00:20.879729788 -0800
5@@ -19,8 +19,8 @@
6 python-novaclient>=2.15.0
7 python-swiftclient>=1.5
8 Routes>=1.12.3
9-six>=1.4.1
10-SQLAlchemy>=0.7.8,<=0.7.99
11+six
12+SQLAlchemy>=0.7.8,<=0.8.99
13 sqlalchemy-migrate>=0.7.2
14 stevedore>=0.10
15 suds>=0.4
016
=== removed file 'debian/patches/fix_cinder_dependencies.patch'
--- debian/patches/fix_cinder_dependencies.patch 2013-02-22 16:40:10 +0000
+++ debian/patches/fix_cinder_dependencies.patch 1970-01-01 00:00:00 +0000
@@ -1,11 +0,0 @@
1diff -Naurp cinder-2013.1.g3.orig/tools/pip-requires cinder-2013.1.g3/tools/pip-requires
2--- cinder-2013.1.g3.orig/tools/pip-requires 2013-02-21 16:08:48.000000000 -0600
3+++ cinder-2013.1.g3/tools/pip-requires 2013-02-22 10:38:34.786411293 -0600
4@@ -18,7 +18,6 @@ suds>=0.4
5 paramiko
6 Babel>=0.9.6
7 iso8601>=0.1.4
8-setuptools_git>=0.4
9 python-glanceclient>=0.5.0,<2
10 python-keystoneclient>=0.2.0
11 python-swiftclient
120
=== added file 'debian/patches/revert-stable-havana-requirements.patch'
--- debian/patches/revert-stable-havana-requirements.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/revert-stable-havana-requirements.patch 2014-02-25 15:15:47 +0000
@@ -0,0 +1,25 @@
1Author: Adam Gandelman <adamg@ubuntu.com>
2Date: Wed Dec 18 10:06:25 PST 2013
3Subject: Reverts stable/havana version bumps to requirements.txt
4
5Reverts various version bumps to dependencies in stable/havana that
6were updated in global requirements to fix gating issues and synced
7across projects.
8
9Index: cinder/requirements.txt
10===================================================================
11--- cinder.orig/requirements.txt 2013-12-18 10:11:29.047267359 -0800
12+++ cinder/requirements.txt 2013-12-18 10:14:33.963265684 -0800
13@@ -2,10 +2,10 @@
14 amqplib>=0.6.1
15 anyjson>=0.3.3
16 argparse
17-Babel>=1.3
18+Babel>=0.9.6
19 eventlet>=0.13.0
20 greenlet>=0.3.2
21-iso8601>=0.1.8
22+iso8601>=0.1.4
23 kombu>=2.4.8
24 lockfile>=0.8
25 lxml>=2.3
026
=== added file 'debian/patches/series'
--- debian/patches/series 1970-01-01 00:00:00 +0000
+++ debian/patches/series 2014-02-25 15:15:47 +0000
@@ -0,0 +1,2 @@
1fix-sqlalchemy-requirements.patch
2revert-stable-havana-requirements.patch
03
=== removed file 'debian/patches/series'
--- debian/patches/series 2013-02-25 17:37:22 +0000
+++ debian/patches/series 1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
1fix_cinder_dependencies.patch
20
=== modified file 'debian/rules'
--- debian/rules 2013-08-09 10:19:08 +0000
+++ debian/rules 2014-02-25 15:15:47 +0000
@@ -3,10 +3,6 @@
3# Uncomment this to turn on verbose mode.3# Uncomment this to turn on verbose mode.
4#export DH_VERBOSE=14#export DH_VERBOSE=1
55
6DEBVERS ?= $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
7VERSION ?= $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//')
8export OSLO_PACKAGE_VERSION=$(VERSION)
9
10%:6%:
11 dh $@ --with python27 dh $@ --with python2
128
@@ -15,7 +11,7 @@
1511
16ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))12ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
17override_dh_auto_test:13override_dh_auto_test:
18 PYTHONPATH=$(CURDIR) bash run_tests.sh -N -v14 testr init && testr run
19endif15endif
2016
21override_dh_install:17override_dh_install:
@@ -23,7 +19,14 @@
2319
24override_dh_fixperms:20override_dh_fixperms:
25 dh_fixperms -Xcinder_tgt.conf21 dh_fixperms -Xcinder_tgt.conf
22<<<<<<< TREE
2623
27override_dh_clean:24override_dh_clean:
28 dh_auto_clean25 dh_auto_clean
29 rm -rf setuptools_git*.egg26 rm -rf setuptools_git*.egg
27=======
28
29override_dh_clean:
30 # temporary workaround for d2to1 wonkyness
31 dh_clean -Xsetup.cfg
32>>>>>>> MERGE-SOURCE
3033
=== added directory 'debian/tests'
=== added file 'debian/tests/cinder-daemons'
--- debian/tests/cinder-daemons 1970-01-01 00:00:00 +0000
+++ debian/tests/cinder-daemons 2014-02-25 15:15:47 +0000
@@ -0,0 +1,15 @@
1#!/bin/bash
2#-----------------------
3# Testing cinder-daemons
4#-----------------------
5set -e
6DAEMONS=('cinder-api' 'cinder-scheduler')
7
8for daemon in "${DAEMONS[@]}"; do
9 if pidof -x $daemon > /dev/null; then
10 echo "OK"
11 else
12 echo "ERROR: ${daemon} IS NOT RUNNING"
13 exit 1
14 fi
15done
016
=== added file 'debian/tests/cinder-volume'
--- debian/tests/cinder-volume 1970-01-01 00:00:00 +0000
+++ debian/tests/cinder-volume 2014-02-25 15:15:47 +0000
@@ -0,0 +1,17 @@
1#!/bin/bash
2#----------------------
3# Testing cinder-volume
4#----------------------
5set -e
6apt-get install -y cinder-volume cinder-backup 2>&1 > /dev/null
7DAEMONS=('cinder-volume' 'cinder-backup')
8
9for daemon in "${DAEMONS[@]}"; do
10 if pidof -x $daemon > /dev/null; then
11 echo "OK"
12 else
13 echo "ERROR: ${daemon} IS NOT RUNNING"
14 exit 1
15 fi
16done
17apt-get remove -y cinder-volume cinder-backup 2>&1 > /dev/null
018
=== added file 'debian/tests/control'
--- debian/tests/control 1970-01-01 00:00:00 +0000
+++ debian/tests/control 2014-02-25 15:15:47 +0000
@@ -0,0 +1,3 @@
1Tests: python-cinder cinder-daemons cinder-volume
2Depends: python-cinder, cinder-api, cinder-scheduler, lvm2
3Restrictions: needs-root
04
=== added file 'debian/tests/python-cinder'
--- debian/tests/python-cinder 1970-01-01 00:00:00 +0000
+++ debian/tests/python-cinder 2014-02-25 15:15:47 +0000
@@ -0,0 +1,14 @@
1#!/bin/bash
2#-------------------------
3# Testing client utilities
4#-------------------------
5set -e
6
7result=$(python `dirname $0`/test_import_cinder.py 2>&1)
8if [ "$result" ]; then
9 echo "ERROR: PYTHON-CINDER MODULE CANNOT BE IMPORTED"
10 exit 1
11else
12 echo "OK"
13 exit 0
14fi
015
=== added file 'debian/tests/test_import_cinder.py'
--- debian/tests/test_import_cinder.py 1970-01-01 00:00:00 +0000
+++ debian/tests/test_import_cinder.py 2014-02-25 15:15:47 +0000
@@ -0,0 +1,4 @@
1try:
2 import cinder
3except ImportError, e:
4 print "ERROR IMPORTING MODULE"

Subscribers

People subscribed via source and target branches