Merge lp:~james-page/nova/fix-watch-file into lp:~openstack-ubuntu-testing/nova/raring-grizzly-proposed
- fix-watch-file
- Merge into raring-grizzly-proposed
Status: | Superseded |
---|---|
Proposed branch: | lp:~james-page/nova/fix-watch-file |
Merge into: | lp:~openstack-ubuntu-testing/nova/raring-grizzly-proposed |
Diff against target: |
3542 lines (+590/-2196) 114 files modified
debian/changelog (+118/-3) debian/control (+100/-29) debian/mans/nova-ajax-console-proxy.8 (+0/-20) debian/mans/nova-api-ec2.8 (+0/-20) debian/mans/nova-api-metadata.8 (+0/-20) debian/mans/nova-api-os-compute.8 (+0/-20) debian/mans/nova-api-os-volume.8 (+0/-20) debian/mans/nova-api.8 (+0/-20) debian/mans/nova-cert.8 (+0/-20) debian/mans/nova-compute.8 (+0/-20) debian/mans/nova-conductor.8 (+0/-20) debian/mans/nova-console.8 (+0/-20) debian/mans/nova-consoleauth.8 (+0/-20) debian/mans/nova-dhcpbridge.8 (+0/-8) debian/mans/nova-network.8 (+0/-20) debian/mans/nova-novncproxy.8 (+0/-20) debian/mans/nova-objectstore.8 (+0/-20) debian/mans/nova-rootwrap.8 (+0/-20) debian/mans/nova-scheduler.8 (+0/-20) debian/mans/nova-volume.8 (+0/-22) debian/mans/nova-xvpvncproxy.8 (+0/-20) debian/nova-api-ec2.init (+0/-76) debian/nova-api-ec2.manpages (+1/-1) debian/nova-api-ec2.upstart (+18/-0) debian/nova-api-ec2.upstart.in (+0/-18) debian/nova-api-metadata.init (+0/-76) debian/nova-api-metadata.manpages (+1/-1) debian/nova-api-metadata.postrm (+0/-7) debian/nova-api-metadata.upstart (+18/-0) debian/nova-api-metadata.upstart.in (+0/-18) debian/nova-api-os-compute.init (+0/-76) debian/nova-api-os-compute.manpages (+1/-1) debian/nova-api-os-compute.postrm (+0/-7) debian/nova-api-os-compute.upstart (+18/-0) debian/nova-api-os-compute.upstart.in (+0/-18) debian/nova-api.init (+0/-97) debian/nova-api.manpages (+1/-1) debian/nova-api.postrm (+0/-7) debian/nova-api.upstart (+18/-0) debian/nova-api.upstart.in (+0/-18) debian/nova-baremetal.install (+2/-0) debian/nova-baremetal.logrotate (+7/-0) debian/nova-baremetal.upstart (+18/-0) debian/nova-cells.install (+1/-0) debian/nova-cells.logrotate (+7/-0) debian/nova-cells.upstart (+17/-0) debian/nova-cert.init (+0/-71) debian/nova-cert.manpages (+1/-1) debian/nova-cert.postrm (+0/-7) debian/nova-cert.upstart (+18/-0) debian/nova-cert.upstart.in (+0/-18) debian/nova-common.docs (+0/-1) debian/nova-common.manpages (+1/-1) debian/nova-common.postinst (+0/-12) debian/nova-compute-kvm.conf (+1/-0) debian/nova-compute-lxc.conf (+1/-0) debian/nova-compute-qemu.conf (+1/-0) debian/nova-compute-uml.conf (+1/-0) debian/nova-compute-xen.conf (+1/-0) debian/nova-compute.init (+0/-100) debian/nova-compute.manpages (+1/-1) debian/nova-compute.postrm (+0/-7) debian/nova-compute.upstart (+20/-0) debian/nova-compute.upstart.in (+0/-20) debian/nova-conductor.init (+0/-71) debian/nova-conductor.manpages (+1/-1) debian/nova-conductor.postrm (+0/-7) debian/nova-conductor.upstart (+18/-0) debian/nova-conductor.upstart.in (+0/-18) debian/nova-console.init (+0/-97) debian/nova-console.manpages (+1/-1) debian/nova-console.postrm (+0/-7) debian/nova-console.upstart (+19/-0) debian/nova-console.upstart.in (+0/-19) debian/nova-consoleauth.init (+0/-97) debian/nova-consoleauth.manpages (+1/-1) debian/nova-consoleauth.postrm (+0/-7) debian/nova-consoleauth.upstart (+19/-0) debian/nova-consoleauth.upstart.in (+0/-19) debian/nova-network.init (+0/-97) debian/nova-network.manpages (+2/-2) debian/nova-network.postrm (+0/-7) debian/nova-network.upstart (+17/-0) debian/nova-network.upstart.in (+0/-17) debian/nova-novncproxy.manpages (+1/-1) debian/nova-novncproxy.postrm (+0/-7) debian/nova-novncproxy.upstart (+17/-0) debian/nova-novncproxy.upstart.in (+0/-17) debian/nova-objectstore.init (+0/-97) debian/nova-objectstore.manpages (+1/-1) debian/nova-objectstore.postrm (+0/-7) debian/nova-objectstore.upstart (+17/-0) debian/nova-objectstore.upstart.in (+0/-17) debian/nova-scheduler.init (+0/-97) debian/nova-scheduler.manpages (+2/-1) debian/nova-scheduler.postrm (+0/-7) debian/nova-scheduler.upstart (+18/-0) debian/nova-scheduler.upstart.in (+0/-18) debian/nova-spiceproxy.install (+1/-0) debian/nova-spiceproxy.logrotate (+7/-0) debian/nova-spiceproxy.upstart (+17/-0) debian/nova-xcp-network.init (+0/-167) debian/nova-xcp-plugins.install (+6/-6) debian/nova-xvpvncproxy.init (+0/-97) debian/nova-xvpvncproxy.manpages (+1/-1) debian/nova-xvpvncproxy.postrm (+0/-7) debian/patches/avoid_setuptools_git_dependency.patch (+6/-16) debian/patches/fix-libvirt-tests.patch (+0/-43) debian/patches/fix-ubuntu-tests.patch (+12/-14) debian/patches/series (+0/-2) debian/patches/ubuntu-show-tests.patch (+0/-15) debian/pydist-overrides (+1/-1) debian/rules (+11/-24) debian/watch (+2/-2) |
To merge this branch: | bzr merge lp:~james-page/nova/fix-watch-file |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Openstack Ubuntu Testers | Pending | ||
Review via email: mp+151247@code.launchpad.net |
This proposal has been superseded by a proposal from 2013-03-01.
Commit message
Fixup watch file
Description of the change
Fixup watch file.
Unmerged revisions
- 561. By James Page
-
d/watch: Update uversionmangle to deal with upstream versioning
changes, remove tarballs.openstack. org. - 560. By Chuck Short
-
* New upstream release.
* debian/patches/ avoid_setuptool s_git_dependenc y.patch: Refreshed.
* debian/control: Clean up dependencies:
- Dropped python-gflags no longer needed.
- Dropped python-daemon no longer needed.
- Dropped python-glance no longer needed.
- Dropped python-lockfile no longer needed.
- Dropped python-simplejson no longer needed.
- Dropped python-tempita no longer needed.
- Dropped python-xattr no longer needed. - 559. By Chuck Short
-
releasing version 2013.1.g3-0ubuntu1
- 558. By Chuck Short
-
debian/control: Suggest sysfsutils, sg3-utils, multipath-tools for fibre
channel support. - 557. By Chuck Short
-
debian/control: Add python-oslo-config as a dependency.
- 556. By Chuck Short
-
* debian/
nova-common. postinst: Removed config file conversion, since
the option is no longer available. (LP: #1110567)
* debian/control: Add python-pyasn1 as a dependency. - 555. By Chuck Short
-
Refresh patch
- 554. By Chuck Short
-
debian/
nova-common. postinst: Removed config file conversion, since
the option is no longer available. (LP: #1110567) - 553. By Chuck Short
-
debian/
pyddist- overrides: Add websockify. - 552. By Chuck Short
-
Resync with whats in the archive
Preview Diff
1 | === modified file 'debian/changelog' |
2 | --- debian/changelog 2012-11-20 15:45:24 +0000 |
3 | +++ debian/changelog 2013-03-01 14:23:35 +0000 |
4 | @@ -1,4 +1,119 @@ |
5 | -nova (2013.1~g1~20121120.17206-0ubuntu1) UNRELEASED; urgency=low |
6 | +nova (2013.1.a4723.ge807e19-0ubuntu1) UNRELEASED; urgency=low |
7 | + |
8 | + [ Chuck Short ] |
9 | + * New upstream release. |
10 | + * debian/patches/avoid_setuptools_git_dependency.patch: Refreshed. |
11 | + * debian/control: Clean up dependencies: |
12 | + - Dropped python-gflags no longer needed. |
13 | + - Dropped python-daemon no longer needed. |
14 | + - Dropped python-glance no longer needed. |
15 | + - Dropped python-lockfile no longer needed. |
16 | + - Dropped python-simplejson no longer needed. |
17 | + - Dropped python-tempita no longer needed. |
18 | + - Dropped python-xattr no longer needed. |
19 | + |
20 | + [ James Page ] |
21 | + * d/watch: Update uversionmangle to deal with upstream versioning |
22 | + changes, remove tarballs.openstack.org. |
23 | + |
24 | + -- Chuck Short <zulcss@ubuntu.com> Thu, 28 Feb 2013 09:00:15 -0600 |
25 | + |
26 | +nova (2013.1.g3-0ubuntu1) raring; urgency=low |
27 | + |
28 | + [ Chuck Short ] |
29 | + * New usptream release. |
30 | + * debian/patches/debian/patches/fix-ubuntu-tests.patch: Refreshed. |
31 | + * debian/nova-baremetal.logrotate: Fix logfile path. |
32 | + * debian/control, debian/nova-spiceproxy.{install, logrotate, upstart}: |
33 | + Add spice html5 proxy support. |
34 | + * debian/nova-novncproxy.upstart: Start on runlevel [2345] |
35 | + * debian/rules: Call testr directly since run_tests.sh -N gives weird return |
36 | + value when tests pass. |
37 | + * debian/pyddist-overrides: Add websockify. |
38 | + * debian/nova-common.postinst: Removed config file conversion, since |
39 | + the option is no longer available. (LP: #1110567) |
40 | + * debian/control: Add python-pyasn1 as a dependency. |
41 | + * debian/control: Add python-oslo-config as a dependency. |
42 | + * debian/control: Suggest sysfsutils, sg3-utils, multipath-tools for fibre |
43 | + channel support. |
44 | + |
45 | + [ Adam Gandelman ] |
46 | + * debian/control: Fix typo (websocikfy -> websockify). |
47 | + |
48 | + -- Chuck Short <zulcss@ubuntu.com> Fri, 22 Feb 2013 09:27:29 -0600 |
49 | + |
50 | +nova (2013.1~g2-0ubuntu3) raring; urgency=low |
51 | + |
52 | + * SECURITY UPDATE: fix lack of authentication on block device used for |
53 | + os-volume_boot |
54 | + - debian/patches/CVE-2013-0208.patch: adjust nova/compute/api.py to |
55 | + validate we can access the volumes |
56 | + - CVE-2013-0208 |
57 | + |
58 | + -- Jamie Strandboge <jamie@ubuntu.com> Thu, 24 Jan 2013 08:23:44 -0600 |
59 | + |
60 | +nova (2013.1~g2-0ubuntu2) raring; urgency=low |
61 | + |
62 | + * Make nova-compute-kvm prefer qemu-system over kvm for the new qemu. |
63 | + |
64 | + -- Adam Conrad <adconrad@ubuntu.com> Sat, 19 Jan 2013 07:00:56 -0700 |
65 | + |
66 | +nova (2013.1~g2-0ubuntu1) raring; urgency=low |
67 | + |
68 | + [ Chuck Short ] |
69 | + * New upstream release. |
70 | + * debian/patches/ubuntu-show-tests.patch: Dropped no longer needed. |
71 | + * debian/nova-xcp-plugins.install: Fix xcp-plugins empty packages |
72 | + * debian/control: Drop python-nose in favor or testrepository |
73 | + * debian/control: Add python-coverage as a build dep. |
74 | + * debian/rules, debian/control: Run pep8 tests. |
75 | + * debian/*.init: Remove they are not needed and take up space |
76 | + * debian/control, debian/nova-cells.{install, logrotate, upstart}: Add |
77 | + cells support. |
78 | + * debian/patches/fix-ubuntu-tests.patch: temporarily disable failing tests. |
79 | + * debian/control, debian/nova-baremetal.{install, logrotate, upstart}: Add |
80 | + nova baremetal support. |
81 | + * debian/control: Remove python-support. |
82 | + |
83 | + [ Adam Gandelman ] |
84 | + * debian/*.manpages: Install Sphinx-generated manpages instead of |
85 | + our own. |
86 | + * debian/nova-compute-*.conf: Specify the newly required compute_driver |
87 | + flag in addition to libvirt_type. |
88 | + * debian/control: Specify required python-webob and python-stevedore |
89 | + versions. |
90 | + |
91 | + [ Yolanda Robla ] |
92 | + * debian/*.upstart: Use start-stop-daemon instead of su for chuid |
93 | + (LP: #1086833). |
94 | + * debian/rules: Remove override of dh_installinit for discriminating |
95 | + between Debian and Ubuntu. |
96 | + * debian/nova-common.docs: Installing changelogs from rules |
97 | + * debian/rules: Replacing perms in /etc/nova/logging.conf for 0644 |
98 | + * debian/control: adduser dependency on nova-compute. |
99 | + * debian/control: added section oldlibs and priority extra on |
100 | + nova-ajax-console-proxy. |
101 | + * debian/nova-xvpvncproxy.postrm: removing because of duplicates. |
102 | + |
103 | + [ James Page ] |
104 | + * d/control: Add ~ to python-sqlalchemy-ext versioned dependencies to |
105 | + make backporting easier. |
106 | + * d/control: Updated nova-volume description and depdendencies to |
107 | + mark it as a transitional package, moved to oldlibs/extra. |
108 | + * d/p/fix-libvirt-tests.patch: Dropped; accepted upstream. |
109 | + * d/control: Added python-stevedore to BD's. |
110 | + * d/*.postrm: Dropped postrm's that just run update-rc.d; this is not |
111 | + required when deploying upstart configurations only. |
112 | + * d/nova-scheduler.manpages: Add man page for nova-rpc-zmq-receiver. |
113 | + * d/rules: Install upstream changelog with a policy compliant name. |
114 | + * d/control: Mark nova-compute-xcp as virtual package. |
115 | + * d/control: nova-api-os-volume; Depend on cinder-api and mark as |
116 | + transitional package. |
117 | + * d/nova-api-os-volume.lintian-overrides: Dropped - no longer required. |
118 | + |
119 | + -- Chuck Short <zulcss@ubuntu.com> Fri, 11 Jan 2013 13:06:56 -0600 |
120 | + |
121 | +nova (2013.1~g1-0ubuntu1) raring; urgency=low |
122 | |
123 | [ Adam Gandelman ] |
124 | * debian/control: Ensure novaclient is upgraded with nova, |
125 | @@ -27,7 +142,7 @@ |
126 | debian/nova-conductor.upstart.in: Add nova-conductor service. |
127 | * debian/control: Add python-fixtures as a build deps. |
128 | |
129 | - -- Adam Gandelman <adamg@canonical.com> Wed, 31 Oct 2012 13:49:10 +0100 |
130 | + -- Chuck Short <zulcss@ubuntu.com> Fri, 23 Nov 2012 09:32:05 -0600 |
131 | |
132 | nova (2012.2-0ubuntu5) quantal; urgency=low |
133 | |
134 | @@ -36,7 +151,7 @@ |
135 | nova-volume. Ensure it has proper permissions. (LP: #1065320) |
136 | * debian/patches/avoid_setuptools_git_dependency.patch: Remove |
137 | setuptools_git from tools/pip-requires to avoid it being automatically |
138 | - added to python-nova's runtime dependencies. (LP: #1059907) |
139 | + added to python-nova's runtime dependencies. (LP: #1059907) |
140 | |
141 | [ Chuck Short ] |
142 | * debian/patches/rbd-security.patch: Support override of ceph rbd |
143 | |
144 | === modified file 'debian/control' |
145 | --- debian/control 2012-11-20 14:41:52 +0000 |
146 | +++ debian/control 2013-03-01 14:23:35 +0000 |
147 | @@ -6,7 +6,7 @@ |
148 | Uploaders: Soren Hansen <soren@ubuntu.com>, Thomas Goirand <zigo@debian.org> |
149 | Build-Depends: debhelper (>= 7.0.50), |
150 | python-all (>= 2.6), |
151 | - python-all-dev (>= 2.6.6-3~) | python-support |
152 | + python-all-dev (>= 2.6.6-3~) |
153 | Build-Depends-Indep: openssh-client, |
154 | openssl, |
155 | python-amqplib, |
156 | @@ -14,40 +14,38 @@ |
157 | python-carrot, |
158 | python-cheetah, |
159 | python-cinderclient, |
160 | + python-coverage, |
161 | python-crypto, |
162 | - python-daemon, |
163 | python-distutils-extra, |
164 | python-eventlet, |
165 | - python-fixtures, |
166 | + python-fixtures (>= 0.3.12), |
167 | python-feedparser, |
168 | - python-gflags, |
169 | - python-glance, |
170 | python-glanceclient, |
171 | python-iso8601, |
172 | python-kombu, |
173 | - python-lockfile, |
174 | python-lxml, |
175 | python-migrate, |
176 | python-mox, |
177 | python-netaddr, |
178 | - python-nose, |
179 | python-novaclient (>= 1:2.9.0), |
180 | + python-oslo-config, |
181 | python-paramiko, |
182 | python-paste, |
183 | python-pastedeploy (>= 1.5.0), |
184 | + python-pyasn1, |
185 | python-quantumclient, |
186 | python-routes, |
187 | python-setuptools, |
188 | python-setuptools-git, |
189 | - python-simplejson, |
190 | + python-stevedore (>= 0.7.2), |
191 | python-sphinx (>> 1.0), |
192 | - python-sqlalchemy-ext ( >= 0.7.8-1) | python-sqlalchemy (<< 0.6.3-2), |
193 | + python-sqlalchemy-ext ( >= 0.7.8-1~) | python-sqlalchemy (<< 0.6.3-2), |
194 | python-suds, |
195 | - python-tempita, |
196 | - python-testtools, |
197 | + python-testtools (>= 0.9.22), |
198 | python-unittest2, |
199 | - python-webob, |
200 | - python-xattr |
201 | + python-webob (>= 1.2.3), |
202 | + pep8, |
203 | + testrepository ( >= 0.0.8) |
204 | Build-Conflicts: python-cjson |
205 | Standards-Version: 3.9.3 |
206 | Homepage: http://launchpad.net/nova |
207 | @@ -85,10 +83,11 @@ |
208 | python-pycurl, |
209 | python-routes, |
210 | python-simplejson, |
211 | - python-sqlalchemy-ext ( >= 0.7.8-1) | python-sqlalchemy (<< 0.6.3-2), |
212 | + python-sqlalchemy-ext ( >= 0.7.8-1~) | python-sqlalchemy (<< 0.6.3-2), |
213 | + python-pyasn1, |
214 | python-suds, |
215 | python-tempita, |
216 | - python-webob, |
217 | + python-webob (>= 1.2.3), |
218 | python-xattr, |
219 | sudo, |
220 | ${misc:Depends}, |
221 | @@ -157,8 +156,9 @@ |
222 | genisoimage, |
223 | vlan, |
224 | ${misc:Depends}, |
225 | - ${python:Depends} |
226 | -Suggests: guestmount |
227 | + ${python:Depends}, |
228 | + adduser |
229 | +Suggests: guestmount, sysfsutils, sg3-utils, multipath-tools |
230 | Description: OpenStack Compute - compute node |
231 | OpenStack is a reliable cloud infrastructure. Its mission is to produce |
232 | the ubiquitous cloud computing platform that will meet the needs of public |
233 | @@ -282,7 +282,7 @@ |
234 | |
235 | Package: nova-compute-kvm |
236 | Architecture: all |
237 | -Depends: kvm, |
238 | +Depends: qemu-system (>= 1.3.0) | kvm, |
239 | libvirt-bin, |
240 | nova-compute (= ${binary:Version}), |
241 | python-libvirt, |
242 | @@ -326,7 +326,7 @@ |
243 | (SQLite, MySQL, and PostgreSQL, for instance), different types of user |
244 | databases (LDAP or SQL), etc. |
245 | . |
246 | - Install this package on your compute nodes if you're using xcp |
247 | + Install this dependency package on your compute nodes if you're using xcp |
248 | |
249 | Package: nova-xcp-plugins |
250 | Architecture: all |
251 | @@ -450,9 +450,10 @@ |
252 | This is the Nova scheduler. |
253 | |
254 | Package: nova-volume |
255 | +Section: oldlibs |
256 | +Priority: extra |
257 | Architecture: all |
258 | -Depends: cinder-volume, cinder-api, cinder-scheduler |
259 | -Suggests: ceph-common, sheepdog |
260 | +Depends: cinder-volume, cinder-api, cinder-scheduler, ${misc:Depends} |
261 | Description: OpenStack Compute - storage |
262 | OpenStack is a reliable cloud infrastructure. Its mission is to produce |
263 | the ubiquitous cloud computing platform that will meet the needs of public |
264 | @@ -468,10 +469,12 @@ |
265 | (SQLite, MySQL, and PostgreSQL, for instance), different types of user |
266 | databases (LDAP or SQL), etc. |
267 | . |
268 | - This is the package you will install on your storage nodes. |
269 | + This is a dummy transitional package that can be removed after upgrade. |
270 | |
271 | Package: nova-ajax-console-proxy |
272 | Architecture: all |
273 | +Section: oldlibs |
274 | +Priority: extra |
275 | Depends: nova-common (= ${binary:Version}), |
276 | ${misc:Depends}, |
277 | ${ostack-lsb-base}, |
278 | @@ -499,7 +502,7 @@ |
279 | ${misc:Depends}, |
280 | ${ostack-lsb-base}, |
281 | ${python:Depends} |
282 | -Suggests: novnc, websocikfy |
283 | +Suggests: novnc, websockify |
284 | Description: OpenStack Compute - NoVNC proxy |
285 | OpenStack is a reliable cloud infrastructure. Its mission is to produce |
286 | the ubiquitous cloud computing platform that will meet the needs of public |
287 | @@ -542,6 +545,30 @@ |
288 | This package provides the VNC proxy. It is a publically reachable |
289 | component which proxies access to VNCs running on compute nodes. |
290 | |
291 | +Package: nova-spiceproxy |
292 | +Architecture: all |
293 | +Depends: nova-common (= ${binary:Version}), |
294 | + ${misc:Depends}, |
295 | + ${ostack-lsb-base}, |
296 | + ${python:Depends} |
297 | +Description: OpenStack Compute - spice html5 proxy |
298 | + OpenStack is a reliable cloud infrastructure. Its mission is to produce |
299 | + the ubiquitous cloud computing platform that will meet the needs of public |
300 | + and private cloud providers regardless of size, by being simple to implement |
301 | + and massively scalable. |
302 | + . |
303 | + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In |
304 | + addition to its "native" API (the OpenStack API), it also supports the Amazon |
305 | + EC2 API. |
306 | + . |
307 | + Nova is intended to be modular and easy to extend and adapt. It supports many |
308 | + different hypervisors (KVM and Xen to name a few), different database backends |
309 | + (SQLite, MySQL, and PostgreSQL, for instance), different types of user |
310 | + databases (LDAP or SQL), etc. |
311 | + . |
312 | + This package provides the spice proxy. It is a publically reachable |
313 | + component which proxies access to qemu-space running on compute nodes |
314 | + |
315 | Package: nova-api |
316 | Architecture: all |
317 | Depends: nova-common (= ${binary:Version}), |
318 | @@ -738,12 +765,10 @@ |
319 | This package provides the OpenStack Compute API frontend. |
320 | |
321 | Package: nova-api-os-volume |
322 | +Section: oldlibs |
323 | +Priority: extra |
324 | Architecture: all |
325 | -Depends: nova-common (= ${binary:Version}), |
326 | - ${misc:Depends}, |
327 | - ${ostack-lsb-base}, |
328 | - ${python:Depends} |
329 | -Breaks: nova-api |
330 | +Depends: cinder-api, ${misc:Depends} |
331 | Description: OpenStack Compute - OpenStack Volume API frontend |
332 | OpenStack is a reliable cloud infrastructure. Its mission is to produce |
333 | the ubiquitous cloud computing platform that will meet the needs of public |
334 | @@ -754,7 +779,7 @@ |
335 | addition to its "native" API (the OpenStack API), it also supports the Amazon |
336 | EC2 API. |
337 | . |
338 | - This package provides the OpenStack Volume API frontend. |
339 | + This is a dummy transitional package that can be removed after upgrade. |
340 | |
341 | Package: nova-api-ec2 |
342 | Architecture: all |
343 | @@ -779,3 +804,49 @@ |
344 | databases (LDAP or SQL), etc. |
345 | . |
346 | This package provides the EC2 API. |
347 | + |
348 | +Package: nova-cells |
349 | +Architecture: all |
350 | +Depends: nova-common (= ${binary:Version}), |
351 | + ${misc:Depends}, |
352 | + ${ostack-lsb-base}, |
353 | + ${python:Depends} |
354 | +Description: Openstack Compute - cells |
355 | + OpenStack is a reliable cloud infrastructure. Its mission is to produce |
356 | + the ubiquitous cloud computing platform that will meet the needs of public |
357 | + and private cloud providers regardless of size, by being simple to implement |
358 | + and massively scalable. |
359 | + . |
360 | + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In |
361 | + addition to its "native" API (the OpenStack API), it also supports the Amazon |
362 | + EC2 API. |
363 | + . |
364 | + Nova is intended to be modular and easy to extend and adapt. It supports many |
365 | + different hypervisors (KVM and Xen to name a few), different database backends |
366 | + (SQLite, MySQL, and PostgreSQL, for instance), different types of user |
367 | + databases (LDAP or SQL), etc. |
368 | + . |
369 | + This is the Nova cells component. |
370 | + |
371 | +Package: nova-baremetal |
372 | +Architecture: all |
373 | +Depends: nova-common (= ${binary:Version}), |
374 | + ${misc:Depends}, |
375 | + ${ostack-lsb-base}, |
376 | + ${python:Depends} |
377 | +Description: Openstack Compute - baremetal virt |
378 | + OpenStack is a reliable cloud infrastructure. Its mission is to produce |
379 | + the ubiquitous cloud computing platform that will meet the needs of public |
380 | + and private cloud providers regardless of size, by being simple to implement |
381 | + and massively scalable. |
382 | + . |
383 | + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In |
384 | + addition to its "native" API (the OpenStack API), it also supports the Amazon |
385 | + EC2 API. |
386 | + . |
387 | + Nova is intended to be modular and easy to extend and adapt. It supports many |
388 | + different hypervisors (KVM and Xen to name a few), different database backends |
389 | + (SQLite, MySQL, and PostgreSQL, for instance), different types of user |
390 | + databases (LDAP or SQL), etc. |
391 | + . |
392 | + This is the baremetal virt component. |
393 | |
394 | === removed directory 'debian/mans' |
395 | === removed file 'debian/mans/nova-ajax-console-proxy.8' |
396 | --- debian/mans/nova-ajax-console-proxy.8 2012-06-05 23:34:09 +0000 |
397 | +++ debian/mans/nova-ajax-console-proxy.8 1970-01-01 00:00:00 +0000 |
398 | @@ -1,20 +0,0 @@ |
399 | -.TH nova\-ajax\-console\-proxy 8 |
400 | -.SH NAME |
401 | -nova\-ajax\-console\-proxy \- nova ajax console proxy |
402 | - |
403 | -.SH SYNOPSIS |
404 | -.B nova\-ajax\-console\-proxy |
405 | -.B \-\-config-file=<config-filepath> |
406 | - |
407 | -.SH DESCRIPTION |
408 | -.B nova\-ajax\-console\-proxy |
409 | - |
410 | -This man page is a stub. Please contribute. |
411 | - |
412 | -.SH PARAMETERS |
413 | - |
414 | -.LP |
415 | -.B \-\-config-file=<config-filepath> |
416 | -.IP |
417 | - |
418 | -Path to the file containing options. |
419 | |
420 | === removed file 'debian/mans/nova-api-ec2.8' |
421 | --- debian/mans/nova-api-ec2.8 2012-06-05 23:34:09 +0000 |
422 | +++ debian/mans/nova-api-ec2.8 1970-01-01 00:00:00 +0000 |
423 | @@ -1,20 +0,0 @@ |
424 | -.TH nova\-api\-ec2.8 |
425 | -.SH NAME |
426 | -nova\-api\-ec2 \- frontend EC2 API server for Nova |
427 | - |
428 | -.SH SYNOPSIS |
429 | -.B nova\-api\-ec2 |
430 | -.B \-\-config-file=<config-filepath> |
431 | - |
432 | -.SH DESCRIPTION |
433 | -.B nova\-api\-ec2 |
434 | - |
435 | -This man page is a stub. Please contribute. |
436 | - |
437 | -.SH PARAMETERS |
438 | - |
439 | -.LP |
440 | -.B \-\-config-file=<config-filepath> |
441 | -.IP |
442 | - |
443 | -Path to the file containing options. |
444 | |
445 | === removed file 'debian/mans/nova-api-metadata.8' |
446 | --- debian/mans/nova-api-metadata.8 2012-06-05 23:34:09 +0000 |
447 | +++ debian/mans/nova-api-metadata.8 1970-01-01 00:00:00 +0000 |
448 | @@ -1,20 +0,0 @@ |
449 | -.TH nova\-api\-metadata.8 |
450 | -.SH NAME |
451 | -nova\-api\-metadata \- frontend metadata API server for Nova |
452 | - |
453 | -.SH SYNOPSIS |
454 | -.B nova\-api\-metadata |
455 | -.B \-\-config-file=<config-filepath> |
456 | - |
457 | -.SH DESCRIPTION |
458 | -.B nova\-api\-metadata |
459 | - |
460 | -This man page is a stub. Please contribute. |
461 | - |
462 | -.SH PARAMETERS |
463 | - |
464 | -.LP |
465 | -.B \-\-config-file=<config-filepath> |
466 | -.IP |
467 | - |
468 | -Path to the file containing options. |
469 | |
470 | === removed file 'debian/mans/nova-api-os-compute.8' |
471 | --- debian/mans/nova-api-os-compute.8 2012-06-05 23:34:09 +0000 |
472 | +++ debian/mans/nova-api-os-compute.8 1970-01-01 00:00:00 +0000 |
473 | @@ -1,20 +0,0 @@ |
474 | -.TH nova\-api\-os\-compute 8 |
475 | -.SH NAME |
476 | -nova\-api\-os\-compute \- frontend API server for Nova Compute |
477 | - |
478 | -.SH SYNOPSIS |
479 | -.B nova\-api\-os\-compute |
480 | -.B \-\-config-file=<config-filepath> |
481 | - |
482 | -.SH DESCRIPTION |
483 | -.B nova\-api\-os\-compute |
484 | - |
485 | -This man page is a stub. Please contribute. |
486 | - |
487 | -.SH PARAMETERS |
488 | - |
489 | -.LP |
490 | -.B \-\-config-file=<config-filepath> |
491 | -.IP |
492 | - |
493 | -Path to the file containing options. |
494 | |
495 | === removed file 'debian/mans/nova-api-os-volume.8' |
496 | --- debian/mans/nova-api-os-volume.8 2012-06-05 23:34:09 +0000 |
497 | +++ debian/mans/nova-api-os-volume.8 1970-01-01 00:00:00 +0000 |
498 | @@ -1,20 +0,0 @@ |
499 | -.TH nova\-api\-os\-volume 8 |
500 | -.SH NAME |
501 | -nova\-api\-os\-volume \- frontend API server for Nova Volume |
502 | - |
503 | -.SH SYNOPSIS |
504 | -.B nova\-api\-os\-volume |
505 | -.B \-\-config-file=<config-filepath> |
506 | - |
507 | -.SH DESCRIPTION |
508 | -.B nova\-api\-os\-volume |
509 | - |
510 | -This man page is a stub. Please contribute. |
511 | - |
512 | -.SH PARAMETERS |
513 | - |
514 | -.LP |
515 | -.B \-\-config-file=<config-filepath> |
516 | -.IP |
517 | - |
518 | -Path to the file containing options. |
519 | |
520 | === removed file 'debian/mans/nova-api.8' |
521 | --- debian/mans/nova-api.8 2012-06-05 23:34:09 +0000 |
522 | +++ debian/mans/nova-api.8 1970-01-01 00:00:00 +0000 |
523 | @@ -1,20 +0,0 @@ |
524 | -.TH nova\-api 8 |
525 | -.SH NAME |
526 | -nova\-api \- frontend API server for Nova |
527 | - |
528 | -.SH SYNOPSIS |
529 | -.B nova\-api |
530 | -.B \-\-config-file=<config-filepath> |
531 | - |
532 | -.SH DESCRIPTION |
533 | -.B nova\-api |
534 | - |
535 | -This man page is a stub. Please contribute. |
536 | - |
537 | -.SH PARAMETERS |
538 | - |
539 | -.LP |
540 | -.B \-\-config-file=<config-filepath> |
541 | -.IP |
542 | - |
543 | -Path to the file containing options. |
544 | |
545 | === removed file 'debian/mans/nova-cert.8' |
546 | --- debian/mans/nova-cert.8 2012-06-05 23:34:09 +0000 |
547 | +++ debian/mans/nova-cert.8 1970-01-01 00:00:00 +0000 |
548 | @@ -1,20 +0,0 @@ |
549 | -.TH nova\-cert 8 |
550 | -.SH NAME |
551 | -nova\-cert \- Manages x509 certificates for Nova |
552 | - |
553 | -.SH SYNOPSIS |
554 | -.B nova\-cert |
555 | -.B \-\-config-file=<config-filepath> |
556 | - |
557 | -.SH DESCRIPTION |
558 | -.B nova\-cert |
559 | - |
560 | -This man page is a stub. Please contribute. |
561 | - |
562 | -.SH PARAMETERS |
563 | - |
564 | -.LP |
565 | -.B \-\-config-file=<config-filepath> |
566 | -.IP |
567 | - |
568 | -Path to the file containing options. |
569 | |
570 | === removed file 'debian/mans/nova-compute.8' |
571 | --- debian/mans/nova-compute.8 2012-06-05 23:34:09 +0000 |
572 | +++ debian/mans/nova-compute.8 1970-01-01 00:00:00 +0000 |
573 | @@ -1,20 +0,0 @@ |
574 | -.TH nova\-compute 8 |
575 | -.SH NAME |
576 | -nova\-compute \- provides compute server resources for the openstack cloud computing system |
577 | - |
578 | -.SH SYNOPSIS |
579 | -.B nova-compute |
580 | -.B \-\-config-file=<config-filepath> |
581 | - |
582 | -.SH DESCRIPTION |
583 | -.B nova\-compute |
584 | - |
585 | -This man page is a stub. Please contribute. |
586 | - |
587 | -.SH PARAMETERS |
588 | - |
589 | -.LP |
590 | -.B \-\-config-file=<config-filepath> |
591 | -.IP |
592 | - |
593 | -Path to the file containing options. |
594 | |
595 | === removed file 'debian/mans/nova-conductor.8' |
596 | --- debian/mans/nova-conductor.8 2012-11-20 14:11:24 +0000 |
597 | +++ debian/mans/nova-conductor.8 1970-01-01 00:00:00 +0000 |
598 | @@ -1,20 +0,0 @@ |
599 | -.TH nova\-conductor 8 |
600 | -.SH NAME |
601 | -nova\-conductor\- compute services management |
602 | - |
603 | -.SH SYNOPSIS |
604 | -.B nova\-conductor |
605 | -.B \-\-config-file=<config-filepath> |
606 | - |
607 | -.SH DESCRIPTION |
608 | -.B nova\-conductor |
609 | - |
610 | -This man page is a stub. Please contribute. |
611 | - |
612 | -.SH PARAMETERS |
613 | - |
614 | -.LP |
615 | -.B \-\-config-file=<config-filepath> |
616 | -.IP |
617 | - |
618 | -Path to the file containing options. |
619 | |
620 | === removed file 'debian/mans/nova-console.8' |
621 | --- debian/mans/nova-console.8 2012-06-05 23:34:09 +0000 |
622 | +++ debian/mans/nova-console.8 1970-01-01 00:00:00 +0000 |
623 | @@ -1,20 +0,0 @@ |
624 | -.TH nova\-console 8 |
625 | -.SH NAME |
626 | -nova\-console \- nova VNC console proxy |
627 | - |
628 | -.SH SYNOPSIS |
629 | -.B nova\-console |
630 | -.B \-\-config-file=<config-filepath> |
631 | - |
632 | -.SH DESCRIPTION |
633 | -.B nova\-console |
634 | - |
635 | -This man page is a stub. Please contribute. |
636 | - |
637 | -.SH PARAMETERS |
638 | - |
639 | -.LP |
640 | -.B \-\-config-file=<config-filepath> |
641 | -.IP |
642 | - |
643 | -Path to the file containing options. |
644 | |
645 | === removed file 'debian/mans/nova-consoleauth.8' |
646 | --- debian/mans/nova-consoleauth.8 2012-06-05 23:34:09 +0000 |
647 | +++ debian/mans/nova-consoleauth.8 1970-01-01 00:00:00 +0000 |
648 | @@ -1,20 +0,0 @@ |
649 | -.TH nova\-consoleauth 8 |
650 | -.SH NAME |
651 | -nova\-console \- nova VNC console authenticator |
652 | - |
653 | -.SH SYNOPSIS |
654 | -.B nova\-consoleauth |
655 | -.B \-\-config-file=<config-filepath> |
656 | - |
657 | -.SH DESCRIPTION |
658 | -.B nova\-consoleauth |
659 | - |
660 | -This man page is a stub. Please contribute. |
661 | - |
662 | -.SH PARAMETERS |
663 | - |
664 | -.LP |
665 | -.B \-\-config-file=<config-filepath> |
666 | -.IP |
667 | - |
668 | -Path to the file containing options. |
669 | |
670 | === removed file 'debian/mans/nova-dhcpbridge.8' |
671 | --- debian/mans/nova-dhcpbridge.8 2011-04-14 05:56:46 +0000 |
672 | +++ debian/mans/nova-dhcpbridge.8 1970-01-01 00:00:00 +0000 |
673 | @@ -1,8 +0,0 @@ |
674 | -.TH nova\-dhcpbridge 8 |
675 | -.SH NAME |
676 | -nova\-dhcpbridge \- Manage nova\-network DHCP bridge |
677 | - |
678 | -.SH DESCRIPTION |
679 | -.B nova\-dhcpbridge |
680 | - |
681 | -This man page is a stub. Please contribute. |
682 | |
683 | === removed file 'debian/mans/nova-network.8' |
684 | --- debian/mans/nova-network.8 2012-06-05 23:34:09 +0000 |
685 | +++ debian/mans/nova-network.8 1970-01-01 00:00:00 +0000 |
686 | @@ -1,20 +0,0 @@ |
687 | -.TH nova\-compute 8 |
688 | -.SH NAME |
689 | -nova\-network \- provides network ressources (connectivity and IP addresses) |
690 | - |
691 | -.SH SYNOPSIS |
692 | -.B nova-compute |
693 | -.B \-\-config-file=<config-filepath> |
694 | - |
695 | -.SH DESCRIPTION |
696 | -.B nova-network |
697 | - |
698 | -This man page is a stub. Please contribute. |
699 | - |
700 | -.SH PARAMETERS |
701 | - |
702 | -.LP |
703 | -.B \-\-config-file=<config-filepath> |
704 | -.IP |
705 | - |
706 | -Path to the file containing options. |
707 | |
708 | === removed file 'debian/mans/nova-novncproxy.8' |
709 | --- debian/mans/nova-novncproxy.8 2012-10-02 19:34:36 +0000 |
710 | +++ debian/mans/nova-novncproxy.8 1970-01-01 00:00:00 +0000 |
711 | @@ -1,20 +0,0 @@ |
712 | -.TH nova\-compute 8 |
713 | -.SH NAME |
714 | -nova\-compute \- provides compute server resources for the openstack cloud computing system |
715 | - |
716 | -.SH SYNOPSIS |
717 | -.B nova-compute |
718 | -.B \-\-config-file=<config-filepath> |
719 | - |
720 | -.SH DESCRIPTION |
721 | -.B nova\-compute |
722 | - |
723 | -This man page is a stub. Please contribute. |
724 | - |
725 | -.SH PARAMETERS |
726 | - |
727 | -.LP |
728 | -.B \-\-config-file=<config-filepath> |
729 | -.IP |
730 | - |
731 | -Path to the file containing options. |
732 | |
733 | === removed file 'debian/mans/nova-objectstore.8' |
734 | --- debian/mans/nova-objectstore.8 2012-06-05 23:34:09 +0000 |
735 | +++ debian/mans/nova-objectstore.8 1970-01-01 00:00:00 +0000 |
736 | @@ -1,20 +0,0 @@ |
737 | -.TH nova\-objectstore 8 |
738 | -.SH NAME |
739 | -nova\-objectstore \- provides virtual machine storage functionalities |
740 | - |
741 | -.SH SYNOPSIS |
742 | -.B nova-objectstore |
743 | -.B \-\-config-file=<config-filepath> |
744 | - |
745 | -.SH DESCRIPTION |
746 | -.B nova\-objectstore |
747 | - |
748 | -This man page is a stub. Please contribute. |
749 | - |
750 | -.SH PARAMETERS |
751 | - |
752 | -.LP |
753 | -.B \-\-config-file=<config-filepath> |
754 | -.IP |
755 | - |
756 | -Path to the file containing options. |
757 | |
758 | === removed file 'debian/mans/nova-rootwrap.8' |
759 | --- debian/mans/nova-rootwrap.8 2012-03-30 23:49:25 +0000 |
760 | +++ debian/mans/nova-rootwrap.8 1970-01-01 00:00:00 +0000 |
761 | @@ -1,20 +0,0 @@ |
762 | -.TH nova\-rootwrap 8 |
763 | -.SH NAME |
764 | -nova\-rootwrap \- Authorizes and executes sudo commands on Nova's behalf |
765 | - |
766 | -.SH SYNOPSIS |
767 | -.B nova\-rootwrap |
768 | -.B <command> |
769 | - |
770 | -.SH DESCRIPTION |
771 | -.B nova\-rootwrap |
772 | - |
773 | -This man page is a stub. Please contribute. |
774 | - |
775 | -.SH PARAMETERS |
776 | - |
777 | -.LP |
778 | -.B <command> |
779 | -.IP |
780 | - |
781 | -Command to be executed with sudo |
782 | |
783 | === removed file 'debian/mans/nova-scheduler.8' |
784 | --- debian/mans/nova-scheduler.8 2012-06-05 23:34:09 +0000 |
785 | +++ debian/mans/nova-scheduler.8 1970-01-01 00:00:00 +0000 |
786 | @@ -1,20 +0,0 @@ |
787 | -.TH nova\-scheduler 8 |
788 | -.SH NAME |
789 | -nova\-scheduler \- Schedules instances, volumes, etc. for Nova |
790 | - |
791 | -.SH SYNOPSIS |
792 | -.B nova\-scheduler |
793 | -.B \-\-config-file=<config-filepath> |
794 | - |
795 | -.SH DESCRIPTION |
796 | -.B nova\-scheduler |
797 | - |
798 | -This man page is a stub. Please contribute. |
799 | - |
800 | -.SH PARAMETERS |
801 | - |
802 | -.LP |
803 | -.B \-\-config-file=<config-filepath> |
804 | -.IP |
805 | - |
806 | -Path to the file containing options. |
807 | |
808 | === removed file 'debian/mans/nova-volume.8' |
809 | --- debian/mans/nova-volume.8 2012-06-05 23:34:09 +0000 |
810 | +++ debian/mans/nova-volume.8 1970-01-01 00:00:00 +0000 |
811 | @@ -1,22 +0,0 @@ |
812 | -.TH nova\-volume 8 |
813 | -.SH NAME |
814 | -nova\-volume \- provides EBS like storage for your virtual machine instances |
815 | - |
816 | -.SH SYNOPSIS |
817 | -.B nova\-volume |
818 | -.B \-\-config-file=<config-filepath> |
819 | - |
820 | -.SH DESCRIPTION |
821 | -.B nova\-volume |
822 | - |
823 | -Nova-volume provides storage for your virtual machine instances. |
824 | -These could be a partition on your VM, and can be a persistent storage. |
825 | -This man page is a stub. Please contribute. |
826 | - |
827 | -.SH PARAMETERS |
828 | - |
829 | -.LP |
830 | -.B \-\-config-file=<config-filepath> |
831 | -.IP |
832 | - |
833 | -Path to the file containing options. |
834 | |
835 | === removed file 'debian/mans/nova-xvpvncproxy.8' |
836 | --- debian/mans/nova-xvpvncproxy.8 2012-10-02 19:34:36 +0000 |
837 | +++ debian/mans/nova-xvpvncproxy.8 1970-01-01 00:00:00 +0000 |
838 | @@ -1,20 +0,0 @@ |
839 | -.TH nova\-xvpvncproxy 8 |
840 | -.SH NAME |
841 | -nova\-xvpvncproxy \- nova XVP VNC console proxy |
842 | - |
843 | -.SH SYNOPSIS |
844 | -.B nova\-xvpvncproxy |
845 | -.B \-\-config-file=<config-filepath> |
846 | - |
847 | -.SH DESCRIPTION |
848 | -.B nova\-xvpvncproxy |
849 | - |
850 | -This man page is a stub. Please contribute. |
851 | - |
852 | -.SH PARAMETERS |
853 | - |
854 | -.LP |
855 | -.B \-\-config-file=<config-filepath> |
856 | -.IP |
857 | - |
858 | -Path to the file containing options. |
859 | |
860 | === removed file 'debian/nova-api-ec2.init' |
861 | --- debian/nova-api-ec2.init 2012-06-05 23:34:09 +0000 |
862 | +++ debian/nova-api-ec2.init 1970-01-01 00:00:00 +0000 |
863 | @@ -1,76 +0,0 @@ |
864 | -#! /bin/sh |
865 | -### BEGIN INIT INFO |
866 | -# Provides: nova-api-ec2 |
867 | -# Required-Start: $remote_fs $syslog |
868 | -# Required-Stop: $remote_fs $syslog |
869 | -# Default-Start: 2 3 4 5 |
870 | -# Default-Stop: 0 1 6 |
871 | -# Short-Description: nova-api EC2 server |
872 | -# Description: frontend EC2 API server for Nova |
873 | -### END INIT INFO |
874 | - |
875 | - |
876 | -set -e |
877 | - |
878 | -DAEMON=/usr/bin/nova-api-ec2 |
879 | -DAEMON_ARGS="--config-file=/etc/nova/nova.conf" |
880 | -PIDFILE=/var/run/nova/nova-api-ec2.pid |
881 | - |
882 | -ENABLED=true |
883 | - |
884 | -if test -f /etc/default/nova-api-ec2; then |
885 | - . /etc/default/nova-api-ec2 |
886 | -fi |
887 | - |
888 | -mkdir -p /var/run/nova |
889 | -chown nova:root /var/run/nova/ |
890 | - |
891 | -mkdir -p /var/lock/nova |
892 | -chown nova:root /var/lock/nova/ |
893 | - |
894 | -uid="$(getent passwd nova | cut -f3 -d:)" |
895 | -gid="$(getent passwd nova | cut -f4 -d:)" |
896 | - |
897 | -. /lib/lsb/init-functions |
898 | - |
899 | -export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" |
900 | - |
901 | -if ! [ -x ${DAEMON} ] ; then |
902 | - exit 0 |
903 | -fi |
904 | - |
905 | -case "$1" in |
906 | - start) |
907 | - test "$ENABLED" = "true" || exit 0 |
908 | - log_daemon_msg "Starting nova ec2 api" "nova-api-ec2" |
909 | - start-stop-daemon --start --chdir /var/run --chuid ${uid}:${gid} -b -m --pidfile ${PIDFILE} --exec ${DAEMON} -- ${DAEMON_ARGS} |
910 | - log_end_msg $? |
911 | - ;; |
912 | - stop) |
913 | - test "$ENABLED" = "true" || exit 0 |
914 | - log_daemon_msg "Stopping nova ec2 api" "nova-api-ec2" |
915 | - start-stop-daemon --stop --oknodo --pidfile ${PIDFILE} |
916 | - log_end_msg $? |
917 | - ;; |
918 | - # Could we implement a reload if the daemon traps the -HUP signal? This would be done with: |
919 | - # reload) |
920 | - # start-stop-daemon --stop --signal HUP --pidfile ${PID_FILE} |
921 | - # ;; |
922 | - restart|force-reload) |
923 | - test "$ENABLED" = "true" || exit 1 |
924 | - $0 stop |
925 | - sleep 1 |
926 | - $0 start |
927 | - ;; |
928 | - status) |
929 | - test "$ENABLED" = "true" || exit 0 |
930 | - # This is to be fixed: it doesn't exist in Debian |
931 | - status_of_proc -p $PIDFILE $DAEMON nova-api && exit 0 || exit $? |
932 | - ;; |
933 | - *) |
934 | - log_action_msg "Usage: /etc/init.d/nova-api-ec2 {start|stop|restart|force-reload|status}" |
935 | - exit 1 |
936 | - ;; |
937 | -esac |
938 | - |
939 | -exit 0 |
940 | |
941 | === modified file 'debian/nova-api-ec2.manpages' |
942 | --- debian/nova-api-ec2.manpages 2012-03-30 23:49:25 +0000 |
943 | +++ debian/nova-api-ec2.manpages 2013-03-01 14:23:35 +0000 |
944 | @@ -1,1 +1,1 @@ |
945 | -debian/mans/nova-api-ec2.8 |
946 | +doc/build/man/nova-api-ec2.1 |
947 | |
948 | === added file 'debian/nova-api-ec2.upstart' |
949 | --- debian/nova-api-ec2.upstart 1970-01-01 00:00:00 +0000 |
950 | +++ debian/nova-api-ec2.upstart 2013-03-01 14:23:35 +0000 |
951 | @@ -0,0 +1,18 @@ |
952 | +description "Nova EC2 API server" |
953 | +author "Joe Heck <heckj@mac.com>" |
954 | + |
955 | +start on runlevel [2345] |
956 | +stop on runlevel [!2345] |
957 | + |
958 | + |
959 | +chdir /var/run |
960 | + |
961 | +pre-start script |
962 | + mkdir -p /var/run/nova |
963 | + chown nova:root /var/run/nova/ |
964 | + |
965 | + mkdir -p /var/lock/nova |
966 | + chown nova:root /var/lock/nova/ |
967 | +end script |
968 | + |
969 | +exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-api-ec2 -- --config-file=/etc/nova/nova.conf |
970 | |
971 | === removed file 'debian/nova-api-ec2.upstart.in' |
972 | --- debian/nova-api-ec2.upstart.in 2012-08-23 14:04:37 +0000 |
973 | +++ debian/nova-api-ec2.upstart.in 1970-01-01 00:00:00 +0000 |
974 | @@ -1,18 +0,0 @@ |
975 | -description "Nova EC2 API server" |
976 | -author "Joe Heck <heckj@mac.com>" |
977 | - |
978 | -start on runlevel [2345] |
979 | -stop on runlevel [016] |
980 | - |
981 | - |
982 | -chdir /var/run |
983 | - |
984 | -pre-start script |
985 | - mkdir -p /var/run/nova |
986 | - chown nova:root /var/run/nova/ |
987 | - |
988 | - mkdir -p /var/lock/nova |
989 | - chown nova:root /var/lock/nova/ |
990 | -end script |
991 | - |
992 | -exec su -s /bin/sh -c "exec nova-api-ec2 --config-file=/etc/nova/nova.conf" nova |
993 | |
994 | === removed file 'debian/nova-api-metadata.init' |
995 | --- debian/nova-api-metadata.init 2012-06-05 23:34:09 +0000 |
996 | +++ debian/nova-api-metadata.init 1970-01-01 00:00:00 +0000 |
997 | @@ -1,76 +0,0 @@ |
998 | -#! /bin/sh |
999 | -### BEGIN INIT INFO |
1000 | -# Provides: nova-api-metadata |
1001 | -# Required-Start: $remote_fs $syslog |
1002 | -# Required-Stop: $remote_fs $syslog |
1003 | -# Default-Start: 2 3 4 5 |
1004 | -# Default-Stop: 0 1 6 |
1005 | -# Short-Description: nova-api metadata server |
1006 | -# Description: frontend Metadata API server for Nova |
1007 | -### END INIT INFO |
1008 | - |
1009 | - |
1010 | -set -e |
1011 | - |
1012 | -DAEMON=/usr/bin/nova-api-metadata |
1013 | -DAEMON_ARGS="--config-file=/etc/nova/nova.conf" |
1014 | -PIDFILE=/var/run/nova/nova-api-metadata.pid |
1015 | - |
1016 | -ENABLED=true |
1017 | - |
1018 | -if test -f /etc/default/nova-api-metadata; then |
1019 | - . /etc/default/nova-api-metadata |
1020 | -fi |
1021 | - |
1022 | -mkdir -p /var/run/nova |
1023 | -chown nova:root /var/run/nova/ |
1024 | - |
1025 | -mkdir -p /var/lock/nova |
1026 | -chown nova:root /var/lock/nova/ |
1027 | - |
1028 | -uid="$(getent passwd nova | cut -f3 -d:)" |
1029 | -gid="$(getent passwd nova | cut -f4 -d:)" |
1030 | - |
1031 | -. /lib/lsb/init-functions |
1032 | - |
1033 | -export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" |
1034 | - |
1035 | -if ! [ -x ${DAEMON} ] ; then |
1036 | - exit 0 |
1037 | -fi |
1038 | - |
1039 | -case "$1" in |
1040 | - start) |
1041 | - test "$ENABLED" = "true" || exit 0 |
1042 | - log_daemon_msg "Starting nova metadata api" "nova-api-metadata" |
1043 | - start-stop-daemon --start --chdir /var/run --chuid ${uid}:${gid} -b -m --pidfile ${PIDFILE} --exec ${DAEMON} -- ${DAEMON_ARGS} |
1044 | - log_end_msg $? |
1045 | - ;; |
1046 | - stop) |
1047 | - test "$ENABLED" = "true" || exit 0 |
1048 | - log_daemon_msg "Stopping nova metdata api" "nova-api-metadata" |
1049 | - start-stop-daemon --stop --oknodo --pidfile ${PIDFILE} |
1050 | - log_end_msg $? |
1051 | - ;; |
1052 | - # Could we implement a reload if the daemon traps the -HUP signal? This would be done with: |
1053 | - # reload) |
1054 | - # start-stop-daemon --stop --signal HUP --pidfile ${PID_FILE} |
1055 | - # ;; |
1056 | - restart|force-reload) |
1057 | - test "$ENABLED" = "true" || exit 1 |
1058 | - $0 stop |
1059 | - sleep 1 |
1060 | - $0 start |
1061 | - ;; |
1062 | - status) |
1063 | - test "$ENABLED" = "true" || exit 0 |
1064 | - # This is to be fixed: it doesn't exist in Debian |
1065 | - status_of_proc -p $PIDFILE $DAEMON nova-api && exit 0 || exit $? |
1066 | - ;; |
1067 | - *) |
1068 | - log_action_msg "Usage: /etc/init.d/nova-api-metadata {start|stop|restart|force-reload|status}" |
1069 | - exit 1 |
1070 | - ;; |
1071 | -esac |
1072 | - |
1073 | -exit 0 |
1074 | |
1075 | === modified file 'debian/nova-api-metadata.manpages' |
1076 | --- debian/nova-api-metadata.manpages 2012-03-30 23:49:25 +0000 |
1077 | +++ debian/nova-api-metadata.manpages 2013-03-01 14:23:35 +0000 |
1078 | @@ -1,1 +1,1 @@ |
1079 | -debian/mans/nova-api-metadata.8 |
1080 | +doc/build/man/nova-api-metadata.1 |
1081 | |
1082 | === removed file 'debian/nova-api-metadata.postrm' |
1083 | --- debian/nova-api-metadata.postrm 2012-09-14 12:15:44 +0000 |
1084 | +++ debian/nova-api-metadata.postrm 1970-01-01 00:00:00 +0000 |
1085 | @@ -1,7 +0,0 @@ |
1086 | -#!/bin/sh -e |
1087 | - |
1088 | -if [ "$1" = purge ]; then |
1089 | - update-rc.d nova-api-metadata remove |
1090 | -fi |
1091 | - |
1092 | -#DEBHELPER# |
1093 | |
1094 | === added file 'debian/nova-api-metadata.upstart' |
1095 | --- debian/nova-api-metadata.upstart 1970-01-01 00:00:00 +0000 |
1096 | +++ debian/nova-api-metadata.upstart 2013-03-01 14:23:35 +0000 |
1097 | @@ -0,0 +1,18 @@ |
1098 | +description "Nova Metadata API server" |
1099 | +author "Joe Heck <heckj@mac.com>" |
1100 | + |
1101 | +start on runlevel [2345] |
1102 | +stop on runlevel [!2345] |
1103 | + |
1104 | + |
1105 | +chdir /var/run |
1106 | + |
1107 | +pre-start script |
1108 | + mkdir -p /var/run/nova |
1109 | + chown nova:root /var/run/nova/ |
1110 | + |
1111 | + mkdir -p /var/lock/nova |
1112 | + chown nova:root /var/lock/nova/ |
1113 | +end script |
1114 | + |
1115 | +exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-api-metadata -- --config-file=/etc/nova/nova.conf |
1116 | |
1117 | === removed file 'debian/nova-api-metadata.upstart.in' |
1118 | --- debian/nova-api-metadata.upstart.in 2012-08-23 14:04:37 +0000 |
1119 | +++ debian/nova-api-metadata.upstart.in 1970-01-01 00:00:00 +0000 |
1120 | @@ -1,18 +0,0 @@ |
1121 | -description "Nova Metadata API server" |
1122 | -author "Joe Heck <heckj@mac.com>" |
1123 | - |
1124 | -start on runlevel [2345] |
1125 | -stop on runlevel [016] |
1126 | - |
1127 | - |
1128 | -chdir /var/run |
1129 | - |
1130 | -pre-start script |
1131 | - mkdir -p /var/run/nova |
1132 | - chown nova:root /var/run/nova/ |
1133 | - |
1134 | - mkdir -p /var/lock/nova |
1135 | - chown nova:root /var/lock/nova/ |
1136 | -end script |
1137 | - |
1138 | -exec su -s /bin/sh -c "exec nova-api-metadata --config-file=/etc/nova/nova.conf" nova |
1139 | |
1140 | === removed file 'debian/nova-api-os-compute.init' |
1141 | --- debian/nova-api-os-compute.init 2012-06-05 23:34:09 +0000 |
1142 | +++ debian/nova-api-os-compute.init 1970-01-01 00:00:00 +0000 |
1143 | @@ -1,76 +0,0 @@ |
1144 | -#! /bin/sh |
1145 | -### BEGIN INIT INFO |
1146 | -# Provides: nova-api-os-compute |
1147 | -# Required-Start: $remote_fs $syslog |
1148 | -# Required-Stop: $remote_fs $syslog |
1149 | -# Default-Start: 2 3 4 5 |
1150 | -# Default-Stop: 0 1 6 |
1151 | -# Short-Description: nova-api compute openstack server |
1152 | -# Description: frontend OpenStack Compute API server for Nova |
1153 | -### END INIT INFO |
1154 | - |
1155 | - |
1156 | -set -e |
1157 | - |
1158 | -DAEMON=/usr/bin/nova-api-os-compute |
1159 | -DAEMON_ARGS="--config-file=/etc/nova/nova.conf" |
1160 | -PIDFILE=/var/run/nova/nova-api-os-compute.pid |
1161 | - |
1162 | -ENABLED=true |
1163 | - |
1164 | -if test -f /etc/default/nova-api-os-compute; then |
1165 | - . /etc/default/nova-api-os-compute |
1166 | -fi |
1167 | - |
1168 | -mkdir -p /var/run/nova |
1169 | -chown nova:root /var/run/nova/ |
1170 | - |
1171 | -mkdir -p /var/lock/nova |
1172 | -chown nova:root /var/lock/nova/ |
1173 | - |
1174 | -uid="$(getent passwd nova | cut -f3 -d:)" |
1175 | -gid="$(getent passwd nova | cut -f4 -d:)" |
1176 | - |
1177 | -. /lib/lsb/init-functions |
1178 | - |
1179 | -export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" |
1180 | - |
1181 | -if ! [ -x ${DAEMON} ] ; then |
1182 | - exit 0 |
1183 | -fi |
1184 | - |
1185 | -case "$1" in |
1186 | - start) |
1187 | - test "$ENABLED" = "true" || exit 0 |
1188 | - log_daemon_msg "Starting nova openstack compute api" "nova-api-os-compute" |
1189 | - start-stop-daemon --start --chdir /var/run --chuid ${uid}:${gid} -b -m --pidfile ${PIDFILE} --exec ${DAEMON} -- ${DAEMON_ARGS} |
1190 | - log_end_msg $? |
1191 | - ;; |
1192 | - stop) |
1193 | - test "$ENABLED" = "true" || exit 0 |
1194 | - log_daemon_msg "Stopping nova openstack compute api" "nova-api-os-compute" |
1195 | - start-stop-daemon --stop --oknodo --pidfile ${PIDFILE} |
1196 | - log_end_msg $? |
1197 | - ;; |
1198 | - # Could we implement a reload if the daemon traps the -HUP signal? This would be done with: |
1199 | - # reload) |
1200 | - # start-stop-daemon --stop --signal HUP --pidfile ${PID_FILE} |
1201 | - # ;; |
1202 | - restart|force-reload) |
1203 | - test "$ENABLED" = "true" || exit 1 |
1204 | - $0 stop |
1205 | - sleep 1 |
1206 | - $0 start |
1207 | - ;; |
1208 | - status) |
1209 | - test "$ENABLED" = "true" || exit 0 |
1210 | - # This is to be fixed: it doesn't exist in Debian |
1211 | - status_of_proc -p $PIDFILE $DAEMON nova-api-os-compute && exit 0 || exit $? |
1212 | - ;; |
1213 | - *) |
1214 | - log_action_msg "Usage: /etc/init.d/nova-api-os-compute {start|stop|restart|force-reload|status}" |
1215 | - exit 1 |
1216 | - ;; |
1217 | -esac |
1218 | - |
1219 | -exit 0 |
1220 | |
1221 | === modified file 'debian/nova-api-os-compute.manpages' |
1222 | --- debian/nova-api-os-compute.manpages 2012-03-30 23:49:25 +0000 |
1223 | +++ debian/nova-api-os-compute.manpages 2013-03-01 14:23:35 +0000 |
1224 | @@ -1,1 +1,1 @@ |
1225 | -debian/mans/nova-api-os-compute.8 |
1226 | +doc/build/man/nova-api-os-compute.1 |
1227 | |
1228 | === removed file 'debian/nova-api-os-compute.postrm' |
1229 | --- debian/nova-api-os-compute.postrm 2012-09-14 12:15:44 +0000 |
1230 | +++ debian/nova-api-os-compute.postrm 1970-01-01 00:00:00 +0000 |
1231 | @@ -1,7 +0,0 @@ |
1232 | -#!/bin/sh -e |
1233 | - |
1234 | -if [ "$1" = purge ]; then |
1235 | - update-rc.d nova-api-os-compute remove |
1236 | -fi |
1237 | - |
1238 | -#DEBHELPER# |
1239 | |
1240 | === added file 'debian/nova-api-os-compute.upstart' |
1241 | --- debian/nova-api-os-compute.upstart 1970-01-01 00:00:00 +0000 |
1242 | +++ debian/nova-api-os-compute.upstart 2013-03-01 14:23:35 +0000 |
1243 | @@ -0,0 +1,18 @@ |
1244 | +description "Nova OpenStack Compute API server" |
1245 | +author "Joe Heck <heckj@mac.com>" |
1246 | + |
1247 | +start on runlevel [2345] |
1248 | +stop on runlevel [!2345] |
1249 | + |
1250 | + |
1251 | +chdir /var/run |
1252 | + |
1253 | +pre-start script |
1254 | + mkdir -p /var/run/nova |
1255 | + chown nova:root /var/run/nova/ |
1256 | + |
1257 | + mkdir -p /var/lock/nova |
1258 | + chown nova:root /var/lock/nova/ |
1259 | +end script |
1260 | + |
1261 | +exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-api-os-compute -- --config-file=/etc/nova/nova.conf |
1262 | |
1263 | === removed file 'debian/nova-api-os-compute.upstart.in' |
1264 | --- debian/nova-api-os-compute.upstart.in 2012-08-23 14:04:37 +0000 |
1265 | +++ debian/nova-api-os-compute.upstart.in 1970-01-01 00:00:00 +0000 |
1266 | @@ -1,18 +0,0 @@ |
1267 | -description "Nova OpenStack Compute API server" |
1268 | -author "Joe Heck <heckj@mac.com>" |
1269 | - |
1270 | -start on runlevel [2345] |
1271 | -stop on runlevel [016] |
1272 | - |
1273 | - |
1274 | -chdir /var/run |
1275 | - |
1276 | -pre-start script |
1277 | - mkdir -p /var/run/nova |
1278 | - chown nova:root /var/run/nova/ |
1279 | - |
1280 | - mkdir -p /var/lock/nova |
1281 | - chown nova:root /var/lock/nova/ |
1282 | -end script |
1283 | - |
1284 | -exec su -s /bin/sh -c "exec nova-api-os-compute --config-file=/etc/nova/nova.conf" nova |
1285 | |
1286 | === removed file 'debian/nova-api.init' |
1287 | --- debian/nova-api.init 2012-06-05 23:34:09 +0000 |
1288 | +++ debian/nova-api.init 1970-01-01 00:00:00 +0000 |
1289 | @@ -1,97 +0,0 @@ |
1290 | -#!/bin/sh |
1291 | -### BEGIN INIT INFO |
1292 | -# Provides: nova-api |
1293 | -# Required-Start: $network $local_fs $remote_fs $syslog |
1294 | -# Required-Stop: $remote_fs |
1295 | -# Default-Start: 2 3 4 5 |
1296 | -# Default-Stop: 0 1 6 |
1297 | -# Short-Description: Nova API server |
1298 | -# Description: Frontend Nova API server |
1299 | -### END INIT INFO |
1300 | - |
1301 | -# Author: Julien Danjou <acid@debian.org> |
1302 | - |
1303 | -# PATH should only include /usr/* if it runs after the mountnfs.sh script |
1304 | -PATH=/sbin:/usr/sbin:/bin:/usr/bin |
1305 | -DESC="OpenStack Compute API" |
1306 | -NAME=nova-api |
1307 | -DAEMON=/usr/bin/nova-api |
1308 | -DAEMON_ARGS="--config-file=/etc/nova/nova.conf" |
1309 | -PIDFILE=/var/run/$NAME.pid |
1310 | -SCRIPTNAME=/etc/init.d/$NAME |
1311 | -NOVA_USER=nova |
1312 | -LOCK_DIR=/var/lock/nova/ |
1313 | - |
1314 | -# Exit if the package is not installed |
1315 | -[ -x $DAEMON ] || exit 0 |
1316 | - |
1317 | -mkdir -p ${LOCK_DIR} |
1318 | -chown ${NOVA_USER} ${LOCK_DIR} |
1319 | - |
1320 | -# Read configuration variable file if it is present |
1321 | -[ -r /etc/default/$NAME ] && . /etc/default/$NAME |
1322 | - |
1323 | -. /lib/lsb/init-functions |
1324 | - |
1325 | -do_start() |
1326 | -{ |
1327 | - start-stop-daemon --start --background --quiet --chuid ${NOVA_USER}:nova --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null \ |
1328 | - || return 1 |
1329 | - start-stop-daemon --start --background --quiet --chuid ${NOVA_USER}:nova --make-pidfile --pidfile $PIDFILE --startas $DAEMON -- \ |
1330 | - $DAEMON_ARGS \ |
1331 | - || return 2 |
1332 | -} |
1333 | - |
1334 | -do_stop() |
1335 | -{ |
1336 | - start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE |
1337 | - RETVAL="$?" |
1338 | - rm -f $PIDFILE |
1339 | - return "$RETVAL" |
1340 | -} |
1341 | - |
1342 | -case "$1" in |
1343 | - start) |
1344 | - log_daemon_msg "Starting $DESC " "$NAME" |
1345 | - do_start |
1346 | - case "$?" in |
1347 | - 0|1) log_end_msg 0 ;; |
1348 | - 2) log_end_msg 1 ;; |
1349 | - esac |
1350 | - ;; |
1351 | - stop) |
1352 | - log_daemon_msg "Stopping $DESC" "$NAME" |
1353 | - do_stop |
1354 | - case "$?" in |
1355 | - 0|1) log_end_msg 0 ;; |
1356 | - 2) log_end_msg 1 ;; |
1357 | - esac |
1358 | - ;; |
1359 | - status) |
1360 | - status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? |
1361 | - ;; |
1362 | - restart|force-reload) |
1363 | - log_daemon_msg "Restarting $DESC" "$NAME" |
1364 | - do_stop |
1365 | - case "$?" in |
1366 | - 0|1) |
1367 | - do_start |
1368 | - case "$?" in |
1369 | - 0) log_end_msg 0 ;; |
1370 | - 1) log_end_msg 1 ;; # Old process is still running |
1371 | - *) log_end_msg 1 ;; # Failed to start |
1372 | - esac |
1373 | - ;; |
1374 | - *) |
1375 | - # Failed to stop |
1376 | - log_end_msg 1 |
1377 | - ;; |
1378 | - esac |
1379 | - ;; |
1380 | - *) |
1381 | - echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 |
1382 | - exit 3 |
1383 | - ;; |
1384 | -esac |
1385 | - |
1386 | -: |
1387 | |
1388 | === modified file 'debian/nova-api.manpages' |
1389 | --- debian/nova-api.manpages 2011-04-15 15:09:24 +0000 |
1390 | +++ debian/nova-api.manpages 2013-03-01 14:23:35 +0000 |
1391 | @@ -1,1 +1,1 @@ |
1392 | -debian/mans/nova-api.8 |
1393 | +doc/build/man/nova-api.1 |
1394 | |
1395 | === removed file 'debian/nova-api.postrm' |
1396 | --- debian/nova-api.postrm 2012-09-14 12:15:44 +0000 |
1397 | +++ debian/nova-api.postrm 1970-01-01 00:00:00 +0000 |
1398 | @@ -1,7 +0,0 @@ |
1399 | -#!/bin/sh -e |
1400 | - |
1401 | -if [ "$1" = purge ]; then |
1402 | - update-rc.d nova-api remove |
1403 | -fi |
1404 | - |
1405 | -#DEBHELPER# |
1406 | |
1407 | === added file 'debian/nova-api.upstart' |
1408 | --- debian/nova-api.upstart 1970-01-01 00:00:00 +0000 |
1409 | +++ debian/nova-api.upstart 2013-03-01 14:23:35 +0000 |
1410 | @@ -0,0 +1,18 @@ |
1411 | +description "Nova API server" |
1412 | +author "Soren Hansen <soren@linux2go.dk>" |
1413 | + |
1414 | +start on runlevel [2345] |
1415 | +stop on runlevel [!2345] |
1416 | + |
1417 | + |
1418 | +chdir /var/run |
1419 | + |
1420 | +pre-start script |
1421 | + mkdir -p /var/run/nova |
1422 | + chown nova:root /var/run/nova/ |
1423 | + |
1424 | + mkdir -p /var/lock/nova |
1425 | + chown nova:root /var/lock/nova/ |
1426 | +end script |
1427 | + |
1428 | +exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-api -- --config-file=/etc/nova/nova.conf |
1429 | |
1430 | === removed file 'debian/nova-api.upstart.in' |
1431 | --- debian/nova-api.upstart.in 2012-08-23 14:04:37 +0000 |
1432 | +++ debian/nova-api.upstart.in 1970-01-01 00:00:00 +0000 |
1433 | @@ -1,18 +0,0 @@ |
1434 | -description "Nova API server" |
1435 | -author "Soren Hansen <soren@linux2go.dk>" |
1436 | - |
1437 | -start on runlevel [2345] |
1438 | -stop on runlevel [016] |
1439 | - |
1440 | - |
1441 | -chdir /var/run |
1442 | - |
1443 | -pre-start script |
1444 | - mkdir -p /var/run/nova |
1445 | - chown nova:root /var/run/nova/ |
1446 | - |
1447 | - mkdir -p /var/lock/nova |
1448 | - chown nova:root /var/lock/nova/ |
1449 | -end script |
1450 | - |
1451 | -exec su -s /bin/sh -c "exec nova-api --config-file=/etc/nova/nova.conf" nova |
1452 | |
1453 | === added file 'debian/nova-baremetal.install' |
1454 | --- debian/nova-baremetal.install 1970-01-01 00:00:00 +0000 |
1455 | +++ debian/nova-baremetal.install 2013-03-01 14:23:35 +0000 |
1456 | @@ -0,0 +1,2 @@ |
1457 | +usr/bin/nova-baremetal-manage |
1458 | +usr/bin/nova-baremetal-deploy-helper |
1459 | |
1460 | === added file 'debian/nova-baremetal.logrotate' |
1461 | --- debian/nova-baremetal.logrotate 1970-01-01 00:00:00 +0000 |
1462 | +++ debian/nova-baremetal.logrotate 2013-03-01 14:23:35 +0000 |
1463 | @@ -0,0 +1,7 @@ |
1464 | +/var/log/nova/nova-baremetal.log { |
1465 | + daily |
1466 | + missingok |
1467 | + compress |
1468 | + delaycompress |
1469 | + notifempty |
1470 | +} |
1471 | |
1472 | === added file 'debian/nova-baremetal.upstart' |
1473 | --- debian/nova-baremetal.upstart 1970-01-01 00:00:00 +0000 |
1474 | +++ debian/nova-baremetal.upstart 2013-03-01 14:23:35 +0000 |
1475 | @@ -0,0 +1,18 @@ |
1476 | +description "Nova baremetal" |
1477 | +author "Chuck Short <zulcss@ubuntu.com>" |
1478 | + |
1479 | +start on runlevel [2345] |
1480 | +stop on runlevel [!2345] |
1481 | + |
1482 | + |
1483 | +chdir /var/run |
1484 | + |
1485 | +pre-start script |
1486 | + mkdir -p /var/run/nova |
1487 | + chown nova:root /var/run/nova/ |
1488 | + |
1489 | + mkdir -p /var/lock/nova |
1490 | + chown nova:root /var/lock/nova/ |
1491 | +end script |
1492 | + |
1493 | +exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-baremetal-deploy-helper -- --config-file=/etc/nova/nova.conf |
1494 | |
1495 | === added file 'debian/nova-cells.install' |
1496 | --- debian/nova-cells.install 1970-01-01 00:00:00 +0000 |
1497 | +++ debian/nova-cells.install 2013-03-01 14:23:35 +0000 |
1498 | @@ -0,0 +1,1 @@ |
1499 | +usr/bin/nova-cells |
1500 | |
1501 | === added file 'debian/nova-cells.logrotate' |
1502 | --- debian/nova-cells.logrotate 1970-01-01 00:00:00 +0000 |
1503 | +++ debian/nova-cells.logrotate 2013-03-01 14:23:35 +0000 |
1504 | @@ -0,0 +1,7 @@ |
1505 | +/var/log/nova/nova-cells.log { |
1506 | + daily |
1507 | + missingok |
1508 | + compress |
1509 | + delaycompress |
1510 | + notifempty |
1511 | +} |
1512 | |
1513 | === added file 'debian/nova-cells.upstart' |
1514 | --- debian/nova-cells.upstart 1970-01-01 00:00:00 +0000 |
1515 | +++ debian/nova-cells.upstart 2013-03-01 14:23:35 +0000 |
1516 | @@ -0,0 +1,17 @@ |
1517 | +description "Nova cells" |
1518 | +author "Chuck Short <zulcss@ubuntu.com>" |
1519 | + |
1520 | +start on runlevel [2345] |
1521 | +stop on runlevel [!2345] |
1522 | + |
1523 | +chdir /var/run |
1524 | + |
1525 | +pre-start script |
1526 | + mkdir -p /var/run/nova |
1527 | + chown nova:root /var/run/nova/ |
1528 | + |
1529 | + mkdir -p /var/lock/nova |
1530 | + chown nova:Root /var/lock nova |
1531 | +end script |
1532 | + |
1533 | +exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-cells -- --config-file=/etc/nova/nova.conf |
1534 | |
1535 | === removed file 'debian/nova-cert.init' |
1536 | --- debian/nova-cert.init 2012-06-05 23:34:09 +0000 |
1537 | +++ debian/nova-cert.init 1970-01-01 00:00:00 +0000 |
1538 | @@ -1,71 +0,0 @@ |
1539 | -#! /bin/sh |
1540 | -### BEGIN INIT INFO |
1541 | -# Provides: nova-cert |
1542 | -# Required-Start: $remote_fs $syslog |
1543 | -# Required-Stop: $remote_fs $syslog |
1544 | -# Default-Start: 2 3 4 5 |
1545 | -# Default-Stop: 0 1 6 |
1546 | -# Short-Description: nova-cert |
1547 | -# Description: Schedules instances, volumes, etc. for Nova |
1548 | -### END INIT INFO |
1549 | - |
1550 | - |
1551 | -set -e |
1552 | - |
1553 | -DAEMON=/usr/bin/nova-cert |
1554 | -DAEMON_ARGS="--config-file=/etc/nova/nova.conf" |
1555 | -PIDFILE=/var/run/nova/nova-cert.pid |
1556 | - |
1557 | -ENABLED=true |
1558 | - |
1559 | -if test -f /etc/default/nova-cert; then |
1560 | - . /etc/default/nova-cert |
1561 | -fi |
1562 | - |
1563 | -mkdir -p /var/run/nova |
1564 | -chown nova:root /var/run/nova/ |
1565 | - |
1566 | -mkdir -p /var/lock/nova |
1567 | -chown nova:root /var/lock/nova/ |
1568 | - |
1569 | -uid="$(getent passwd nova | cut -f3 -d:)" |
1570 | -gid="$(getent passwd nova | cut -f4 -d:)" |
1571 | - |
1572 | -. /lib/lsb/init-functions |
1573 | - |
1574 | -export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" |
1575 | - |
1576 | -if ! [ -x ${DAEMON} ] ; then |
1577 | - exit 0 |
1578 | -fi |
1579 | - |
1580 | -case "$1" in |
1581 | - start) |
1582 | - test "$ENABLED" = "true" || exit 0 |
1583 | - log_daemon_msg "Starting nova cert" "nova-cert" |
1584 | - start-stop-daemon --start --chdir /var/run --chuid ${uid}:${gid} -b -m --pidfile ${PIDFILE} --exec ${DAEMON} -- ${DAEMON_ARGS} |
1585 | - log_end_msg $? |
1586 | - ;; |
1587 | - stop) |
1588 | - test "$ENABLED" = "true" || exit 0 |
1589 | - log_daemon_msg "Stopping nova cert" "nova-cert" |
1590 | - start-stop-daemon --stop --oknodo --pidfile ${PIDFILE} |
1591 | - log_end_msg $? |
1592 | - ;; |
1593 | - restart|force-reload) |
1594 | - test "$ENABLED" = "true" || exit 1 |
1595 | - $0 stop |
1596 | - sleep 1 |
1597 | - $0 start |
1598 | - ;; |
1599 | - status) |
1600 | - test "$ENABLED" = "true" || exit 0 |
1601 | - status_of_proc -p $PIDFILE $DAEMON nova-cert && exit 0 || exit $? |
1602 | - ;; |
1603 | - *) |
1604 | - log_action_msg "Usage: /etc/init.d/nova-cert {start|stop|restart|force-reload|status}" |
1605 | - exit 1 |
1606 | - ;; |
1607 | -esac |
1608 | - |
1609 | -exit 0 |
1610 | |
1611 | === modified file 'debian/nova-cert.manpages' |
1612 | --- debian/nova-cert.manpages 2012-01-26 01:18:26 +0000 |
1613 | +++ debian/nova-cert.manpages 2013-03-01 14:23:35 +0000 |
1614 | @@ -1,1 +1,1 @@ |
1615 | -debian/mans/nova-cert.8 |
1616 | +doc/build/man/nova-cert.1 |
1617 | |
1618 | === removed file 'debian/nova-cert.postrm' |
1619 | --- debian/nova-cert.postrm 2012-09-14 12:15:44 +0000 |
1620 | +++ debian/nova-cert.postrm 1970-01-01 00:00:00 +0000 |
1621 | @@ -1,7 +0,0 @@ |
1622 | -#!/bin/sh -e |
1623 | - |
1624 | -if [ "$1" = purge ]; then |
1625 | - update-rc.d nova-cert remove |
1626 | -fi |
1627 | - |
1628 | -#DEBHELPER# |
1629 | |
1630 | === added file 'debian/nova-cert.upstart' |
1631 | --- debian/nova-cert.upstart 1970-01-01 00:00:00 +0000 |
1632 | +++ debian/nova-cert.upstart 2013-03-01 14:23:35 +0000 |
1633 | @@ -0,0 +1,18 @@ |
1634 | +description "Nova cert" |
1635 | +author "Soren Hansen <soren@linux2go.dk>" |
1636 | + |
1637 | +start on runlevel [2345] |
1638 | +stop on runlevel [!2345] |
1639 | + |
1640 | + |
1641 | +chdir /var/run |
1642 | + |
1643 | +pre-start script |
1644 | + mkdir -p /var/run/nova |
1645 | + chown nova:root /var/run/nova/ |
1646 | + |
1647 | + mkdir -p /var/lock/nova |
1648 | + chown nova:root /var/lock/nova/ |
1649 | +end script |
1650 | + |
1651 | +exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-cert -- --config-file=/etc/nova/nova.conf |
1652 | |
1653 | === removed file 'debian/nova-cert.upstart.in' |
1654 | --- debian/nova-cert.upstart.in 2012-08-23 14:04:37 +0000 |
1655 | +++ debian/nova-cert.upstart.in 1970-01-01 00:00:00 +0000 |
1656 | @@ -1,18 +0,0 @@ |
1657 | -description "Nova cert" |
1658 | -author "Soren Hansen <soren@linux2go.dk>" |
1659 | - |
1660 | -start on runlevel [2345] |
1661 | -stop on runlevel [016] |
1662 | - |
1663 | - |
1664 | -chdir /var/run |
1665 | - |
1666 | -pre-start script |
1667 | - mkdir -p /var/run/nova |
1668 | - chown nova:root /var/run/nova/ |
1669 | - |
1670 | - mkdir -p /var/lock/nova |
1671 | - chown nova:root /var/lock/nova/ |
1672 | -end script |
1673 | - |
1674 | -exec su -s /bin/sh -c "exec nova-cert --config-file=/etc/nova/nova.conf" nova |
1675 | |
1676 | === removed file 'debian/nova-common.docs' |
1677 | --- debian/nova-common.docs 2012-07-03 20:56:54 +0000 |
1678 | +++ debian/nova-common.docs 1970-01-01 00:00:00 +0000 |
1679 | @@ -1,1 +0,0 @@ |
1680 | -ChangeLog |
1681 | |
1682 | === modified file 'debian/nova-common.manpages' |
1683 | --- debian/nova-common.manpages 2012-03-30 23:49:25 +0000 |
1684 | +++ debian/nova-common.manpages 2013-03-01 14:23:35 +0000 |
1685 | @@ -1,2 +1,2 @@ |
1686 | -debian/mans/nova-rootwrap.8 |
1687 | +doc/build/man/nova-rootwrap.1 |
1688 | doc/build/man/nova-manage.1 |
1689 | |
1690 | === modified file 'debian/nova-common.postinst' |
1691 | --- debian/nova-common.postinst 2012-09-24 14:45:25 +0000 |
1692 | +++ debian/nova-common.postinst 2013-03-01 14:23:35 +0000 |
1693 | @@ -24,18 +24,6 @@ |
1694 | find /var/lib/nova/ -name 'rootfs' -prune -o \ |
1695 | -group nogroup -a -user nova -exec chown nova:nova {} \; |
1696 | elif dpkg --compare-versions "$2" lt "2012.2~f1~20120503.13935-0ubuntu1"; then |
1697 | - # convert the /etc/nova/nova.conf to the new configuration |
1698 | - mv /etc/nova/nova.conf /etc/nova/nova.conf.upgrade |
1699 | - nova-manage config convert --infile=/etc/nova/nova.conf.upgrade \ |
1700 | - --outfile=/etc/nova/nova.conf |
1701 | - chmod 600 /etc/nova/nova.conf |
1702 | - chown nova:nova /etc/nova/nova.conf |
1703 | - # nova.conf, too (if its there) |
1704 | - if [ -e /etc/nova/nova-compute.conf ] ; then |
1705 | - mv /etc/nova/nova-compute.conf /etc/nova/nova-compute.conf.upgrade |
1706 | - nova-manage config convert --infile=/etc/nova/nova-compute.conf.upgrade \ |
1707 | - --outfile=/etc/nova/nova-compute.conf |
1708 | - fi |
1709 | # convert the root_helper to rootwrap_config |
1710 | sed -e "s,^root_helper=.\+,rootwrap_config=/etc/nova/rootwrap.conf," -i /etc/nova/nova.conf |
1711 | fi |
1712 | |
1713 | === modified file 'debian/nova-compute-kvm.conf' |
1714 | --- debian/nova-compute-kvm.conf 2012-06-05 23:34:09 +0000 |
1715 | +++ debian/nova-compute-kvm.conf 2013-03-01 14:23:35 +0000 |
1716 | @@ -1,2 +1,3 @@ |
1717 | [DEFAULT] |
1718 | libvirt_type=kvm |
1719 | +compute_driver=libvirt.LibvirtDriver |
1720 | |
1721 | === modified file 'debian/nova-compute-lxc.conf' |
1722 | --- debian/nova-compute-lxc.conf 2012-06-05 23:34:09 +0000 |
1723 | +++ debian/nova-compute-lxc.conf 2013-03-01 14:23:35 +0000 |
1724 | @@ -1,2 +1,3 @@ |
1725 | [DEFAULT] |
1726 | libvirt_type=lxc |
1727 | +compute_driver=libvirt.LibvirtDriver |
1728 | |
1729 | === modified file 'debian/nova-compute-qemu.conf' |
1730 | --- debian/nova-compute-qemu.conf 2012-06-05 23:34:09 +0000 |
1731 | +++ debian/nova-compute-qemu.conf 2013-03-01 14:23:35 +0000 |
1732 | @@ -1,2 +1,3 @@ |
1733 | [DEFAULT] |
1734 | libvirt_type=qemu |
1735 | +compute_driver=libvirt.LibvirtDriver |
1736 | |
1737 | === modified file 'debian/nova-compute-uml.conf' |
1738 | --- debian/nova-compute-uml.conf 2012-06-05 23:34:09 +0000 |
1739 | +++ debian/nova-compute-uml.conf 2013-03-01 14:23:35 +0000 |
1740 | @@ -1,2 +1,3 @@ |
1741 | [DEFAULT] |
1742 | libvirt_type=uml |
1743 | +compute_driver=libvirt.LibvirtDriver |
1744 | |
1745 | === modified file 'debian/nova-compute-xen.conf' |
1746 | --- debian/nova-compute-xen.conf 2012-06-05 23:34:09 +0000 |
1747 | +++ debian/nova-compute-xen.conf 2013-03-01 14:23:35 +0000 |
1748 | @@ -1,2 +1,3 @@ |
1749 | [DEFAULT] |
1750 | libvirt_type=xen |
1751 | +compute_driver=libvirt.LibvirtDriver |
1752 | |
1753 | === removed file 'debian/nova-compute.init' |
1754 | --- debian/nova-compute.init 2012-06-05 23:34:09 +0000 |
1755 | +++ debian/nova-compute.init 1970-01-01 00:00:00 +0000 |
1756 | @@ -1,100 +0,0 @@ |
1757 | -#!/bin/sh |
1758 | -### BEGIN INIT INFO |
1759 | -# Provides: nova-compute |
1760 | -# Required-Start: $network $local_fs $remote_fs $syslog |
1761 | -# Required-Stop: $remote_fs |
1762 | -# Should-Start: libvirt-bin |
1763 | -# Should-Stop: libvirt-bin |
1764 | -# Default-Start: 2 3 4 5 |
1765 | -# Default-Stop: 0 1 6 |
1766 | -# Short-Description: Nova Compute server |
1767 | -# Description: Provides compute server resources for the |
1768 | -# OpenStack cloud computing system |
1769 | -### END INIT INFO |
1770 | - |
1771 | -# Author: Julien Danjou <acid@debian.org> |
1772 | - |
1773 | -# PATH should only include /usr/* if it runs after the mountnfs.sh script |
1774 | -PATH=/sbin:/usr/sbin:/bin:/usr/bin |
1775 | -DESC="OpenStack Compute" |
1776 | -NAME=nova-compute |
1777 | -DAEMON=/usr/bin/nova-compute |
1778 | -DAEMON_ARGS="--config-file=/etc/nova/nova.conf" |
1779 | -PIDFILE=/var/run/$NAME.pid |
1780 | -SCRIPTNAME=/etc/init.d/$NAME |
1781 | -NOVA_USER=nova |
1782 | -LOCK_DIR=/var/lock/nova/ |
1783 | - |
1784 | -# Exit if the package is not installed |
1785 | -[ -x $DAEMON ] || exit 0 |
1786 | - |
1787 | -mkdir -p ${LOCK_DIR} |
1788 | -chown ${NOVA_USER} ${LOCK_DIR} |
1789 | - |
1790 | -# Read configuration variable file if it is present |
1791 | -[ -r /etc/default/$NAME ] && . /etc/default/$NAME |
1792 | - |
1793 | -. /lib/lsb/init-functions |
1794 | - |
1795 | -do_start() |
1796 | -{ |
1797 | - start-stop-daemon --start --background --quiet --chuid ${NOVA_USER}:nova --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null \ |
1798 | - || return 1 |
1799 | - start-stop-daemon --start --background --quiet --chuid ${NOVA_USER}:nova --make-pidfile --pidfile $PIDFILE --startas $DAEMON -- \ |
1800 | - $DAEMON_ARGS \ |
1801 | - || return 2 |
1802 | -} |
1803 | - |
1804 | -do_stop() |
1805 | -{ |
1806 | - start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE |
1807 | - RETVAL="$?" |
1808 | - rm -f $PIDFILE |
1809 | - return "$RETVAL" |
1810 | -} |
1811 | - |
1812 | -case "$1" in |
1813 | - start) |
1814 | - log_daemon_msg "Starting $DESC " "$NAME" |
1815 | - do_start |
1816 | - case "$?" in |
1817 | - 0|1) log_end_msg 0 ;; |
1818 | - 2) log_end_msg 1 ;; |
1819 | - esac |
1820 | - ;; |
1821 | - stop) |
1822 | - log_daemon_msg "Stopping $DESC" "$NAME" |
1823 | - do_stop |
1824 | - case "$?" in |
1825 | - 0|1) log_end_msg 0 ;; |
1826 | - 2) log_end_msg 1 ;; |
1827 | - esac |
1828 | - ;; |
1829 | - status) |
1830 | - status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? |
1831 | - ;; |
1832 | - restart|force-reload) |
1833 | - log_daemon_msg "Restarting $DESC" "$NAME" |
1834 | - do_stop |
1835 | - case "$?" in |
1836 | - 0|1) |
1837 | - do_start |
1838 | - case "$?" in |
1839 | - 0) log_end_msg 0 ;; |
1840 | - 1) log_end_msg 1 ;; # Old process is still running |
1841 | - *) log_end_msg 1 ;; # Failed to start |
1842 | - esac |
1843 | - ;; |
1844 | - *) |
1845 | - # Failed to stop |
1846 | - log_end_msg 1 |
1847 | - ;; |
1848 | - esac |
1849 | - ;; |
1850 | - *) |
1851 | - echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 |
1852 | - exit 3 |
1853 | - ;; |
1854 | -esac |
1855 | - |
1856 | -: |
1857 | |
1858 | === modified file 'debian/nova-compute.manpages' |
1859 | --- debian/nova-compute.manpages 2011-04-14 05:56:46 +0000 |
1860 | +++ debian/nova-compute.manpages 2013-03-01 14:23:35 +0000 |
1861 | @@ -1,1 +1,1 @@ |
1862 | -debian/mans/nova-compute.8 |
1863 | +doc/build/man/nova-compute.1 |
1864 | |
1865 | === removed file 'debian/nova-compute.postrm' |
1866 | --- debian/nova-compute.postrm 2012-09-14 12:15:44 +0000 |
1867 | +++ debian/nova-compute.postrm 1970-01-01 00:00:00 +0000 |
1868 | @@ -1,7 +0,0 @@ |
1869 | -#!/bin/sh -e |
1870 | - |
1871 | -if [ "$1" = purge ]; then |
1872 | - update-rc.d nova-compute remove |
1873 | -fi |
1874 | - |
1875 | -#DEBHELPER# |
1876 | |
1877 | === added file 'debian/nova-compute.upstart' |
1878 | --- debian/nova-compute.upstart 1970-01-01 00:00:00 +0000 |
1879 | +++ debian/nova-compute.upstart 2013-03-01 14:23:35 +0000 |
1880 | @@ -0,0 +1,20 @@ |
1881 | +description "Nova compute worker" |
1882 | +author "Soren Hansen <soren@linux2go.dk>" |
1883 | + |
1884 | +start on runlevel [2345] |
1885 | +stop on runlevel [!2345] |
1886 | + |
1887 | + |
1888 | +chdir /var/run |
1889 | + |
1890 | +pre-start script |
1891 | + mkdir -p /var/run/nova |
1892 | + chown nova:root /var/run/nova/ |
1893 | + |
1894 | + mkdir -p /var/lock/nova |
1895 | + chown nova:root /var/lock/nova/ |
1896 | + |
1897 | + modprobe nbd |
1898 | +end script |
1899 | + |
1900 | +exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-compute -- --config-file=/etc/nova/nova.conf --config-file=/etc/nova/nova-compute.conf |
1901 | |
1902 | === removed file 'debian/nova-compute.upstart.in' |
1903 | --- debian/nova-compute.upstart.in 2012-08-23 14:04:37 +0000 |
1904 | +++ debian/nova-compute.upstart.in 1970-01-01 00:00:00 +0000 |
1905 | @@ -1,20 +0,0 @@ |
1906 | -description "Nova compute worker" |
1907 | -author "Soren Hansen <soren@linux2go.dk>" |
1908 | - |
1909 | -start on runlevel [2345] |
1910 | -stop on runlevel [016] |
1911 | - |
1912 | - |
1913 | -chdir /var/run |
1914 | - |
1915 | -pre-start script |
1916 | - mkdir -p /var/run/nova |
1917 | - chown nova:root /var/run/nova/ |
1918 | - |
1919 | - mkdir -p /var/lock/nova |
1920 | - chown nova:root /var/lock/nova/ |
1921 | - |
1922 | - modprobe nbd |
1923 | -end script |
1924 | - |
1925 | -exec su -s /bin/sh -c "exec nova-compute --config-file=/etc/nova/nova.conf --config-file=/etc/nova/nova-compute.conf" nova |
1926 | |
1927 | === removed file 'debian/nova-conductor.init' |
1928 | --- debian/nova-conductor.init 2012-11-20 14:11:24 +0000 |
1929 | +++ debian/nova-conductor.init 1970-01-01 00:00:00 +0000 |
1930 | @@ -1,71 +0,0 @@ |
1931 | -#! /bin/sh |
1932 | -### BEGIN INIT INFO |
1933 | -# Provides: nova-conductor |
1934 | -# Required-Start: $remote_fs $syslog |
1935 | -# Required-Stop: $remote_fs $syslog |
1936 | -# Default-Start: 2 3 4 5 |
1937 | -# Default-Stop: 0 1 6 |
1938 | -# Short-Description: nova-conductor |
1939 | -# Description: Schedules instances, volumes, etc. for Nova |
1940 | -### END INIT INFO |
1941 | - |
1942 | - |
1943 | -set -e |
1944 | - |
1945 | -DAEMON=/usr/bin/nova-conductor |
1946 | -DAEMON_ARGS="--config-file=/etc/nova/nova.conf" |
1947 | -PIDFILE=/var/run/nova/nova-conductor.pid |
1948 | - |
1949 | -ENABLED=true |
1950 | - |
1951 | -if test -f /etc/default/nova-conductor; then |
1952 | - . /etc/default/nova-conductor |
1953 | -fi |
1954 | - |
1955 | -mkdir -p /var/run/nova |
1956 | -chown nova:root /var/run/nova/ |
1957 | - |
1958 | -mkdir -p /var/lock/nova |
1959 | -chown nova:root /var/lock/nova/ |
1960 | - |
1961 | -uid="$(getent passwd nova | cut -f3 -d:)" |
1962 | -gid="$(getent passwd nova | cut -f4 -d:)" |
1963 | - |
1964 | -. /lib/lsb/init-functions |
1965 | - |
1966 | -export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" |
1967 | - |
1968 | -if ! [ -x ${DAEMON} ] ; then |
1969 | - exit 0 |
1970 | -fi |
1971 | - |
1972 | -case "$1" in |
1973 | - start) |
1974 | - test "$ENABLED" = "true" || exit 0 |
1975 | - log_daemon_msg "Starting nova cert" "nova-conductor" |
1976 | - start-stop-daemon --start --chdir /var/run --chuid ${uid}:${gid} -b -m --pidfile ${PIDFILE} --exec ${DAEMON} -- ${DAEMON_ARGS} |
1977 | - log_end_msg $? |
1978 | - ;; |
1979 | - stop) |
1980 | - test "$ENABLED" = "true" || exit 0 |
1981 | - log_daemon_msg "Stopping nova cert" "nova-conductor" |
1982 | - start-stop-daemon --stop --oknodo --pidfile ${PIDFILE} |
1983 | - log_end_msg $? |
1984 | - ;; |
1985 | - restart|force-reload) |
1986 | - test "$ENABLED" = "true" || exit 1 |
1987 | - $0 stop |
1988 | - sleep 1 |
1989 | - $0 start |
1990 | - ;; |
1991 | - status) |
1992 | - test "$ENABLED" = "true" || exit 0 |
1993 | - status_of_proc -p $PIDFILE $DAEMON nova-conductor && exit 0 || exit $? |
1994 | - ;; |
1995 | - *) |
1996 | - log_action_msg "Usage: /etc/init.d/nova-conductor {start|stop|restart|force-reload|status}" |
1997 | - exit 1 |
1998 | - ;; |
1999 | -esac |
2000 | - |
2001 | -exit 0 |
2002 | |
2003 | === modified file 'debian/nova-conductor.manpages' |
2004 | --- debian/nova-conductor.manpages 2012-11-20 14:11:24 +0000 |
2005 | +++ debian/nova-conductor.manpages 2013-03-01 14:23:35 +0000 |
2006 | @@ -1,1 +1,1 @@ |
2007 | -debian/mans/nova-conductor.8 |
2008 | +doc/build/man/nova-conductor.1 |
2009 | |
2010 | === removed file 'debian/nova-conductor.postrm' |
2011 | --- debian/nova-conductor.postrm 2012-11-20 14:11:24 +0000 |
2012 | +++ debian/nova-conductor.postrm 1970-01-01 00:00:00 +0000 |
2013 | @@ -1,7 +0,0 @@ |
2014 | -#!/bin/sh -e |
2015 | - |
2016 | -if [ "$1" = purge ]; then |
2017 | - update-rc.d nova-conductor remove |
2018 | -fi |
2019 | - |
2020 | -#DEBHELPER# |
2021 | |
2022 | === added file 'debian/nova-conductor.upstart' |
2023 | --- debian/nova-conductor.upstart 1970-01-01 00:00:00 +0000 |
2024 | +++ debian/nova-conductor.upstart 2013-03-01 14:23:35 +0000 |
2025 | @@ -0,0 +1,18 @@ |
2026 | +description "Nova conductor" |
2027 | +author "Chuck Short <zulcss@ubuntu.com>" |
2028 | + |
2029 | +start on runlevel [2345] |
2030 | +stop on runlevel [!2345] |
2031 | + |
2032 | + |
2033 | +chdir /var/run |
2034 | + |
2035 | +pre-start script |
2036 | + mkdir -p /var/run/nova |
2037 | + chown nova:root /var/run/nova/ |
2038 | + |
2039 | + mkdir -p /var/lock/nova |
2040 | + chown nova:root /var/lock/nova/ |
2041 | +end script |
2042 | + |
2043 | +exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-conductor -- --config-file=/etc/nova/nova.conf |
2044 | |
2045 | === removed file 'debian/nova-conductor.upstart.in' |
2046 | --- debian/nova-conductor.upstart.in 2012-11-20 14:11:24 +0000 |
2047 | +++ debian/nova-conductor.upstart.in 1970-01-01 00:00:00 +0000 |
2048 | @@ -1,18 +0,0 @@ |
2049 | -description "Nova conductor" |
2050 | -author "Chuck Short <zulcss@ubuntu.com>" |
2051 | - |
2052 | -start on runlevel [2345] |
2053 | -stop on runlevel [016] |
2054 | - |
2055 | - |
2056 | -chdir /var/run |
2057 | - |
2058 | -pre-start script |
2059 | - mkdir -p /var/run/nova |
2060 | - chown nova:root /var/run/nova/ |
2061 | - |
2062 | - mkdir -p /var/lock/nova |
2063 | - chown nova:root /var/lock/nova/ |
2064 | -end script |
2065 | - |
2066 | -exec su -s /bin/sh -c "exec nova-conductor --config-file=/etc/nova/nova.conf" nova |
2067 | |
2068 | === removed file 'debian/nova-console.init' |
2069 | --- debian/nova-console.init 2012-06-05 23:34:09 +0000 |
2070 | +++ debian/nova-console.init 1970-01-01 00:00:00 +0000 |
2071 | @@ -1,97 +0,0 @@ |
2072 | -#!/bin/sh |
2073 | -### BEGIN INIT INFO |
2074 | -# Provides: nova-console |
2075 | -# Required-Start: $network $local_fs $remote_fs $syslog |
2076 | -# Required-Stop: $remote_fs |
2077 | -# Default-Start: 2 3 4 5 |
2078 | -# Default-Stop: 0 1 6 |
2079 | -# Short-Description: Nova Console for XenServer and XVP |
2080 | -# Description: Nova Console for XenServer and XVP |
2081 | -### END INIT INFO |
2082 | - |
2083 | -# Author: Julien Danjou <acid@debian.org> |
2084 | - |
2085 | -# PATH should only include /usr/* if it runs after the mountnfs.sh script |
2086 | -PATH=/sbin:/usr/sbin:/bin:/usr/bin |
2087 | -DESC="OpenStack Compute Console" |
2088 | -NAME=nova-console |
2089 | -DAEMON=/usr/bin/nova-console |
2090 | -DAEMON_ARGS="--config-file=/etc/nova/nova.conf" |
2091 | -PIDFILE=/var/run/$NAME.pid |
2092 | -SCRIPTNAME=/etc/init.d/$NAME |
2093 | -NOVA_USER=nova |
2094 | -LOCK_DIR=/var/lock/nova/ |
2095 | - |
2096 | -# Exit if the package is not installed |
2097 | -[ -x $DAEMON ] || exit 0 |
2098 | - |
2099 | -mkdir -p ${LOCK_DIR} |
2100 | -chown ${NOVA_USER} ${LOCK_DIR} |
2101 | - |
2102 | -# Read configuration variable file if it is present |
2103 | -[ -r /etc/default/$NAME ] && . /etc/default/$NAME |
2104 | - |
2105 | -. /lib/lsb/init-functions |
2106 | - |
2107 | -do_start() |
2108 | -{ |
2109 | - start-stop-daemon --start --background --quiet --chuid ${NOVA_USER}:nova --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null \ |
2110 | - || return 1 |
2111 | - start-stop-daemon --start --background --quiet --chuid ${NOVA_USER}:nova --make-pidfile --pidfile $PIDFILE --startas $DAEMON -- \ |
2112 | - $DAEMON_ARGS \ |
2113 | - || return 2 |
2114 | -} |
2115 | - |
2116 | -do_stop() |
2117 | -{ |
2118 | - start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE |
2119 | - RETVAL="$?" |
2120 | - rm -f $PIDFILE |
2121 | - return "$RETVAL" |
2122 | -} |
2123 | - |
2124 | -case "$1" in |
2125 | - start) |
2126 | - log_daemon_msg "Starting $DESC " "$NAME" |
2127 | - do_start |
2128 | - case "$?" in |
2129 | - 0|1) log_end_msg 0 ;; |
2130 | - 2) log_end_msg 1 ;; |
2131 | - esac |
2132 | - ;; |
2133 | - stop) |
2134 | - log_daemon_msg "Stopping $DESC" "$NAME" |
2135 | - do_stop |
2136 | - case "$?" in |
2137 | - 0|1) log_end_msg 0 ;; |
2138 | - 2) log_end_msg 1 ;; |
2139 | - esac |
2140 | - ;; |
2141 | - status) |
2142 | - status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? |
2143 | - ;; |
2144 | - restart|force-reload) |
2145 | - log_daemon_msg "Restarting $DESC" "$NAME" |
2146 | - do_stop |
2147 | - case "$?" in |
2148 | - 0|1) |
2149 | - do_start |
2150 | - case "$?" in |
2151 | - 0) log_end_msg 0 ;; |
2152 | - 1) log_end_msg 1 ;; # Old process is still running |
2153 | - *) log_end_msg 1 ;; # Failed to start |
2154 | - esac |
2155 | - ;; |
2156 | - *) |
2157 | - # Failed to stop |
2158 | - log_end_msg 1 |
2159 | - ;; |
2160 | - esac |
2161 | - ;; |
2162 | - *) |
2163 | - echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 |
2164 | - exit 3 |
2165 | - ;; |
2166 | -esac |
2167 | - |
2168 | -: |
2169 | |
2170 | === modified file 'debian/nova-console.manpages' |
2171 | --- debian/nova-console.manpages 2011-10-24 19:37:51 +0000 |
2172 | +++ debian/nova-console.manpages 2013-03-01 14:23:35 +0000 |
2173 | @@ -1,1 +1,1 @@ |
2174 | -debian/mans/nova-console.8 |
2175 | +doc/build/man/nova-console.1 |
2176 | |
2177 | === removed file 'debian/nova-console.postrm' |
2178 | --- debian/nova-console.postrm 2012-09-14 12:15:44 +0000 |
2179 | +++ debian/nova-console.postrm 1970-01-01 00:00:00 +0000 |
2180 | @@ -1,7 +0,0 @@ |
2181 | -#!/bin/sh -e |
2182 | - |
2183 | -if [ "$1" = purge ]; then |
2184 | - update-rc.d nova-console remove |
2185 | -fi |
2186 | - |
2187 | -#DEBHELPER# |
2188 | |
2189 | === added file 'debian/nova-console.upstart' |
2190 | --- debian/nova-console.upstart 1970-01-01 00:00:00 +0000 |
2191 | +++ debian/nova-console.upstart 2013-03-01 14:23:35 +0000 |
2192 | @@ -0,0 +1,19 @@ |
2193 | +description "Nova Console" |
2194 | +author "Vishvananda Ishaya <vishvananda@gmail.com>" |
2195 | + |
2196 | +start on runlevel [2345] |
2197 | +stop on runlevel [!2345] |
2198 | + |
2199 | +respawn |
2200 | + |
2201 | +chdir /var/run |
2202 | + |
2203 | +pre-start script |
2204 | + mkdir -p /var/run/nova |
2205 | + chown nova:root /var/run/nova |
2206 | + |
2207 | + mkdir -p /var/lock/nova |
2208 | + chown nova:root /var/lock/nova |
2209 | +end script |
2210 | + |
2211 | +exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-console -- --config-file=/etc/nova/nova.conf |
2212 | |
2213 | === removed file 'debian/nova-console.upstart.in' |
2214 | --- debian/nova-console.upstart.in 2012-08-23 14:04:37 +0000 |
2215 | +++ debian/nova-console.upstart.in 1970-01-01 00:00:00 +0000 |
2216 | @@ -1,19 +0,0 @@ |
2217 | -description "Nova Console" |
2218 | -author "Vishvananda Ishaya <vishvananda@gmail.com>" |
2219 | - |
2220 | -start on runlevel [2345] |
2221 | -stop on runlevel [016] |
2222 | - |
2223 | -respawn |
2224 | - |
2225 | -chdir /var/run |
2226 | - |
2227 | -pre-start script |
2228 | - mkdir -p /var/run/nova |
2229 | - chown nova:root /var/run/nova |
2230 | - |
2231 | - mkdir -p /var/lock/nova |
2232 | - chown nova:root /var/lock/nova |
2233 | -end script |
2234 | - |
2235 | -exec su -s /bin/sh -c "exec nova-console --config-file=/etc/nova/nova.conf" nova |
2236 | |
2237 | === removed file 'debian/nova-consoleauth.init' |
2238 | --- debian/nova-consoleauth.init 2012-06-05 23:34:09 +0000 |
2239 | +++ debian/nova-consoleauth.init 1970-01-01 00:00:00 +0000 |
2240 | @@ -1,97 +0,0 @@ |
2241 | -#!/bin/sh |
2242 | -### BEGIN INIT INFO |
2243 | -# Provides: nova-console |
2244 | -# Required-Start: $network $local_fs $remote_fs $syslog |
2245 | -# Required-Stop: $remote_fs |
2246 | -# Default-Start: 2 3 4 5 |
2247 | -# Default-Stop: 0 1 6 |
2248 | -# Short-Description: Nova Console for XenServer and XVP |
2249 | -# Description: Nova Console for XenServer and XVP |
2250 | -### END INIT INFO |
2251 | - |
2252 | -# Author: Julien Danjou <acid@debian.org> |
2253 | - |
2254 | -# PATH should only include /usr/* if it runs after the mountnfs.sh script |
2255 | -PATH=/sbin:/usr/sbin:/bin:/usr/bin |
2256 | -DESC="OpenStack Compute Console" |
2257 | -NAME=nova-consoleauth |
2258 | -DAEMON=/usr/bin/nova-consoleauth |
2259 | -DAEMON_ARGS="--config-file=/etc/nova/nova.conf" |
2260 | -PIDFILE=/var/run/$NAME.pid |
2261 | -SCRIPTNAME=/etc/init.d/$NAME |
2262 | -NOVA_USER=nova |
2263 | -LOCK_DIR=/var/lock/nova/ |
2264 | - |
2265 | -# Exit if the package is not installed |
2266 | -[ -x $DAEMON ] || exit 0 |
2267 | - |
2268 | -mkdir -p ${LOCK_DIR} |
2269 | -chown ${NOVA_USER} ${LOCK_DIR} |
2270 | - |
2271 | -# Read configuration variable file if it is present |
2272 | -[ -r /etc/default/$NAME ] && . /etc/default/$NAME |
2273 | - |
2274 | -. /lib/lsb/init-functions |
2275 | - |
2276 | -do_start() |
2277 | -{ |
2278 | - start-stop-daemon --start --background --quiet --chuid ${NOVA_USER}:nova --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null \ |
2279 | - || return 1 |
2280 | - start-stop-daemon --start --background --quiet --chuid ${NOVA_USER}:nova --make-pidfile --pidfile $PIDFILE --startas $DAEMON -- \ |
2281 | - $DAEMON_ARGS \ |
2282 | - || return 2 |
2283 | -} |
2284 | - |
2285 | -do_stop() |
2286 | -{ |
2287 | - start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE |
2288 | - RETVAL="$?" |
2289 | - rm -f $PIDFILE |
2290 | - return "$RETVAL" |
2291 | -} |
2292 | - |
2293 | -case "$1" in |
2294 | - start) |
2295 | - log_daemon_msg "Starting $DESC " "$NAME" |
2296 | - do_start |
2297 | - case "$?" in |
2298 | - 0|1) log_end_msg 0 ;; |
2299 | - 2) log_end_msg 1 ;; |
2300 | - esac |
2301 | - ;; |
2302 | - stop) |
2303 | - log_daemon_msg "Stopping $DESC" "$NAME" |
2304 | - do_stop |
2305 | - case "$?" in |
2306 | - 0|1) log_end_msg 0 ;; |
2307 | - 2) log_end_msg 1 ;; |
2308 | - esac |
2309 | - ;; |
2310 | - status) |
2311 | - status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? |
2312 | - ;; |
2313 | - restart|force-reload) |
2314 | - log_daemon_msg "Restarting $DESC" "$NAME" |
2315 | - do_stop |
2316 | - case "$?" in |
2317 | - 0|1) |
2318 | - do_start |
2319 | - case "$?" in |
2320 | - 0) log_end_msg 0 ;; |
2321 | - 1) log_end_msg 1 ;; # Old process is still running |
2322 | - *) log_end_msg 1 ;; # Failed to start |
2323 | - esac |
2324 | - ;; |
2325 | - *) |
2326 | - # Failed to stop |
2327 | - log_end_msg 1 |
2328 | - ;; |
2329 | - esac |
2330 | - ;; |
2331 | - *) |
2332 | - echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 |
2333 | - exit 3 |
2334 | - ;; |
2335 | -esac |
2336 | - |
2337 | -: |
2338 | |
2339 | === modified file 'debian/nova-consoleauth.manpages' |
2340 | --- debian/nova-consoleauth.manpages 2012-03-19 22:35:04 +0000 |
2341 | +++ debian/nova-consoleauth.manpages 2013-03-01 14:23:35 +0000 |
2342 | @@ -1,1 +1,1 @@ |
2343 | -debian/mans/nova-consoleauth.8 |
2344 | +doc/build/man/nova-consoleauth.1 |
2345 | |
2346 | === removed file 'debian/nova-consoleauth.postrm' |
2347 | --- debian/nova-consoleauth.postrm 2012-09-14 12:15:44 +0000 |
2348 | +++ debian/nova-consoleauth.postrm 1970-01-01 00:00:00 +0000 |
2349 | @@ -1,7 +0,0 @@ |
2350 | -#!/bin/sh -e |
2351 | - |
2352 | -if [ "$1" = purge ]; then |
2353 | - update-rc.d nova-consoleauth remove |
2354 | -fi |
2355 | - |
2356 | -#DEBHELPER# |
2357 | |
2358 | === added file 'debian/nova-consoleauth.upstart' |
2359 | --- debian/nova-consoleauth.upstart 1970-01-01 00:00:00 +0000 |
2360 | +++ debian/nova-consoleauth.upstart 2013-03-01 14:23:35 +0000 |
2361 | @@ -0,0 +1,19 @@ |
2362 | +description "Nova Console" |
2363 | +author "Vishvananda Ishaya <vishvananda@gmail.com>" |
2364 | + |
2365 | +start on runlevel [2345] |
2366 | +stop on runlevel [!2345] |
2367 | + |
2368 | +respawn |
2369 | + |
2370 | +chdir /var/run |
2371 | + |
2372 | +pre-start script |
2373 | + mkdir -p /var/run/nova |
2374 | + chown nova:root /var/run/nova |
2375 | + |
2376 | + mkdir -p /var/lock/nova |
2377 | + chown nova:root /var/lock/nova |
2378 | +end script |
2379 | + |
2380 | +exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-consoleauth -- --config-file=/etc/nova/nova.conf |
2381 | |
2382 | === removed file 'debian/nova-consoleauth.upstart.in' |
2383 | --- debian/nova-consoleauth.upstart.in 2012-08-23 14:04:37 +0000 |
2384 | +++ debian/nova-consoleauth.upstart.in 1970-01-01 00:00:00 +0000 |
2385 | @@ -1,19 +0,0 @@ |
2386 | -description "Nova Console" |
2387 | -author "Vishvananda Ishaya <vishvananda@gmail.com>" |
2388 | - |
2389 | -start on runlevel [2345] |
2390 | -stop on runlevel [016] |
2391 | - |
2392 | -respawn |
2393 | - |
2394 | -chdir /var/run |
2395 | - |
2396 | -pre-start script |
2397 | - mkdir -p /var/run/nova |
2398 | - chown nova:root /var/run/nova |
2399 | - |
2400 | - mkdir -p /var/lock/nova |
2401 | - chown nova:root /var/lock/nova |
2402 | -end script |
2403 | - |
2404 | -exec su -s /bin/sh -c "exec nova-consoleauth --config-file=/etc/nova/nova.conf" nova |
2405 | |
2406 | === removed file 'debian/nova-network.init' |
2407 | --- debian/nova-network.init 2012-06-05 23:34:09 +0000 |
2408 | +++ debian/nova-network.init 1970-01-01 00:00:00 +0000 |
2409 | @@ -1,97 +0,0 @@ |
2410 | -#!/bin/sh |
2411 | -### BEGIN INIT INFO |
2412 | -# Provides: nova-network |
2413 | -# Required-Start: $network $local_fs $remote_fs $syslog |
2414 | -# Required-Stop: $remote_fs |
2415 | -# Default-Start: 2 3 4 5 |
2416 | -# Default-Stop: 0 1 6 |
2417 | -# Short-Description: Nova Network |
2418 | -# Description: Provides network resources |
2419 | -### END INIT INFO |
2420 | - |
2421 | -# Author: Julien Danjou <acid@debian.org> |
2422 | - |
2423 | -# PATH should only include /usr/* if it runs after the mountnfs.sh script |
2424 | -PATH=/sbin:/usr/sbin:/bin:/usr/bin |
2425 | -DESC="OpenStack Compute Network" |
2426 | -NAME=nova-network |
2427 | -DAEMON=/usr/bin/nova-network |
2428 | -DAEMON_ARGS="--config-file=/etc/nova/nova.conf" |
2429 | -PIDFILE=/var/run/$NAME.pid |
2430 | -SCRIPTNAME=/etc/init.d/$NAME |
2431 | -NOVA_USER=nova |
2432 | -LOCK_DIR=/var/lock/nova/ |
2433 | - |
2434 | -# Exit if the package is not installed |
2435 | -[ -x $DAEMON ] || exit 0 |
2436 | - |
2437 | -mkdir -p ${LOCK_DIR} |
2438 | -chown ${NOVA_USER} ${LOCK_DIR} |
2439 | - |
2440 | -# Read configuration variable file if it is present |
2441 | -[ -r /etc/default/$NAME ] && . /etc/default/$NAME |
2442 | - |
2443 | -. /lib/lsb/init-functions |
2444 | - |
2445 | -do_start() |
2446 | -{ |
2447 | - start-stop-daemon --start --quiet --background --chuid ${NOVA_USER}:nova --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null \ |
2448 | - || return 1 |
2449 | - start-stop-daemon --start --quiet --background --chuid ${NOVA_USER}:nova --make-pidfile --pidfile $PIDFILE --startas $DAEMON -- \ |
2450 | - $DAEMON_ARGS \ |
2451 | - || return 2 |
2452 | -} |
2453 | - |
2454 | -do_stop() |
2455 | -{ |
2456 | - start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE |
2457 | - RETVAL="$?" |
2458 | - rm -f $PIDFILE |
2459 | - return "$RETVAL" |
2460 | -} |
2461 | - |
2462 | -case "$1" in |
2463 | - start) |
2464 | - log_daemon_msg "Starting $DESC " "$NAME" |
2465 | - do_start |
2466 | - case "$?" in |
2467 | - 0|1) log_end_msg 0 ;; |
2468 | - 2) log_end_msg 1 ;; |
2469 | - esac |
2470 | - ;; |
2471 | - stop) |
2472 | - log_daemon_msg "Stopping $DESC" "$NAME" |
2473 | - do_stop |
2474 | - case "$?" in |
2475 | - 0|1) log_end_msg 0 ;; |
2476 | - 2) log_end_msg 1 ;; |
2477 | - esac |
2478 | - ;; |
2479 | - status) |
2480 | - status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? |
2481 | - ;; |
2482 | - restart|force-reload) |
2483 | - log_daemon_msg "Restarting $DESC" "$NAME" |
2484 | - do_stop |
2485 | - case "$?" in |
2486 | - 0|1) |
2487 | - do_start |
2488 | - case "$?" in |
2489 | - 0) log_end_msg 0 ;; |
2490 | - 1) log_end_msg 1 ;; # Old process is still running |
2491 | - *) log_end_msg 1 ;; # Failed to start |
2492 | - esac |
2493 | - ;; |
2494 | - *) |
2495 | - # Failed to stop |
2496 | - log_end_msg 1 |
2497 | - ;; |
2498 | - esac |
2499 | - ;; |
2500 | - *) |
2501 | - echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 |
2502 | - exit 3 |
2503 | - ;; |
2504 | -esac |
2505 | - |
2506 | -: |
2507 | |
2508 | === modified file 'debian/nova-network.manpages' |
2509 | --- debian/nova-network.manpages 2011-04-14 05:56:46 +0000 |
2510 | +++ debian/nova-network.manpages 2013-03-01 14:23:35 +0000 |
2511 | @@ -1,2 +1,2 @@ |
2512 | -debian/mans/nova-network.8 |
2513 | -debian/mans/nova-dhcpbridge.8 |
2514 | +doc/build/man/nova-network.1 |
2515 | +doc/build/man/nova-dhcpbridge.1 |
2516 | |
2517 | === removed file 'debian/nova-network.postrm' |
2518 | --- debian/nova-network.postrm 2012-09-14 12:15:44 +0000 |
2519 | +++ debian/nova-network.postrm 1970-01-01 00:00:00 +0000 |
2520 | @@ -1,7 +0,0 @@ |
2521 | -#!/bin/sh -e |
2522 | - |
2523 | -if [ "$1" = purge ]; then |
2524 | - update-rc.d nova-network remove |
2525 | -fi |
2526 | - |
2527 | -#DEBHELPER# |
2528 | |
2529 | === added file 'debian/nova-network.upstart' |
2530 | --- debian/nova-network.upstart 1970-01-01 00:00:00 +0000 |
2531 | +++ debian/nova-network.upstart 2013-03-01 14:23:35 +0000 |
2532 | @@ -0,0 +1,17 @@ |
2533 | +description "Nova network worker" |
2534 | +author "Soren Hansen <soren@linux2go.dk>" |
2535 | + |
2536 | +start on runlevel [2345] |
2537 | +stop on runlevel [!2345] |
2538 | + |
2539 | +chdir /var/run |
2540 | + |
2541 | +pre-start script |
2542 | + mkdir -p /var/run/nova |
2543 | + chown nova:root /var/run/nova/ |
2544 | + |
2545 | + mkdir -p /var/lock/nova |
2546 | + chown nova:root /var/lock/nova/ |
2547 | +end script |
2548 | + |
2549 | +exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-network -- --config-file=/etc/nova/nova.conf |
2550 | |
2551 | === removed file 'debian/nova-network.upstart.in' |
2552 | --- debian/nova-network.upstart.in 2012-08-23 14:04:37 +0000 |
2553 | +++ debian/nova-network.upstart.in 1970-01-01 00:00:00 +0000 |
2554 | @@ -1,17 +0,0 @@ |
2555 | -description "Nova network worker" |
2556 | -author "Soren Hansen <soren@linux2go.dk>" |
2557 | - |
2558 | -start on runlevel [2345] |
2559 | -stop on runlevel [016] |
2560 | - |
2561 | -chdir /var/run |
2562 | - |
2563 | -pre-start script |
2564 | - mkdir -p /var/run/nova |
2565 | - chown nova:root /var/run/nova/ |
2566 | - |
2567 | - mkdir -p /var/lock/nova |
2568 | - chown nova:root /var/lock/nova/ |
2569 | -end script |
2570 | - |
2571 | -exec su -s /bin/sh -c "exec nova-network --config-file=/etc/nova/nova.conf" nova |
2572 | |
2573 | === modified file 'debian/nova-novncproxy.manpages' |
2574 | --- debian/nova-novncproxy.manpages 2012-10-02 19:34:36 +0000 |
2575 | +++ debian/nova-novncproxy.manpages 2013-03-01 14:23:35 +0000 |
2576 | @@ -1,1 +1,1 @@ |
2577 | -debian/mans/nova-novncproxy.8 |
2578 | +doc/build/man/nova-novncproxy.1 |
2579 | |
2580 | === removed file 'debian/nova-novncproxy.postrm' |
2581 | --- debian/nova-novncproxy.postrm 2012-10-02 19:34:36 +0000 |
2582 | +++ debian/nova-novncproxy.postrm 1970-01-01 00:00:00 +0000 |
2583 | @@ -1,7 +0,0 @@ |
2584 | -#!/bin/sh -e |
2585 | - |
2586 | -if [ "$1" = purge ]; then |
2587 | - update-rc.d nova-novncproxy remove |
2588 | -fi |
2589 | - |
2590 | -#DEBHELPER# |
2591 | |
2592 | === added file 'debian/nova-novncproxy.upstart' |
2593 | --- debian/nova-novncproxy.upstart 1970-01-01 00:00:00 +0000 |
2594 | +++ debian/nova-novncproxy.upstart 2013-03-01 14:23:35 +0000 |
2595 | @@ -0,0 +1,17 @@ |
2596 | +description "Nova NoVNC proxy" |
2597 | +author "Vishvananda Ishaya <vishvananda@gmail.com>" |
2598 | + |
2599 | +start on runlevel [2345] |
2600 | +stop on runlevel [!2345] |
2601 | + |
2602 | +chdir /var/run |
2603 | + |
2604 | +pre-start script |
2605 | + mkdir -p /var/run/nova |
2606 | + chown nova:root /var/run/nova/ |
2607 | + |
2608 | + mkdir -p /var/lock/nova |
2609 | + chown nova:root /var/lock/nova/ |
2610 | +end script |
2611 | + |
2612 | +exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-novncproxy -- --config-file=/etc/nova/nova.conf |
2613 | |
2614 | === removed file 'debian/nova-novncproxy.upstart.in' |
2615 | --- debian/nova-novncproxy.upstart.in 2012-10-02 19:34:36 +0000 |
2616 | +++ debian/nova-novncproxy.upstart.in 1970-01-01 00:00:00 +0000 |
2617 | @@ -1,17 +0,0 @@ |
2618 | -description "Nova NoVNC proxy" |
2619 | -author "Vishvananda Ishaya <vishvananda@gmail.com>" |
2620 | - |
2621 | -start on (filesystem and net-device-up IFACE!=lo) |
2622 | -stop on runlevel [016] |
2623 | - |
2624 | -chdir /var/run |
2625 | - |
2626 | -pre-start script |
2627 | - mkdir -p /var/run/nova |
2628 | - chown nova:root /var/run/nova/ |
2629 | - |
2630 | - mkdir -p /var/lock/nova |
2631 | - chown nova:root /var/lock/nova/ |
2632 | -end script |
2633 | - |
2634 | -exec su -s /bin/sh -c "exec nova-novncproxy --config-file=/etc/nova/nova.conf" nova |
2635 | |
2636 | === removed file 'debian/nova-objectstore.init' |
2637 | --- debian/nova-objectstore.init 2012-06-05 23:34:09 +0000 |
2638 | +++ debian/nova-objectstore.init 1970-01-01 00:00:00 +0000 |
2639 | @@ -1,97 +0,0 @@ |
2640 | -#!/bin/sh |
2641 | -### BEGIN INIT INFO |
2642 | -# Provides: nova-objectstore |
2643 | -# Required-Start: $network $local_fs $remote_fs $syslog |
2644 | -# Required-Stop: $remote_fs |
2645 | -# Default-Start: 2 3 4 5 |
2646 | -# Default-Stop: 0 1 6 |
2647 | -# Short-Description: Nova Objectstore |
2648 | -# Description: Provides virtual machine storage functionalities |
2649 | -### END INIT INFO |
2650 | - |
2651 | -# Author: Julien Danjou <acid@debian.org> |
2652 | - |
2653 | -# PATH should only include /usr/* if it runs after the mountnfs.sh script |
2654 | -PATH=/sbin:/usr/sbin:/bin:/usr/bin |
2655 | -DESC="OpenStack Compute Objectstore" |
2656 | -NAME=nova-objectstore |
2657 | -DAEMON=/usr/bin/nova-objectstore |
2658 | -DAEMON_ARGS="--config-file=/etc/nova/nova.conf" |
2659 | -PIDFILE=/var/run/$NAME.pid |
2660 | -SCRIPTNAME=/etc/init.d/$NAME |
2661 | -NOVA_USER=nova |
2662 | -LOCK_DIR=/var/lock/nova/ |
2663 | - |
2664 | -# Exit if the package is not installed |
2665 | -[ -x $DAEMON ] || exit 0 |
2666 | - |
2667 | -mkdir -p ${LOCK_DIR} |
2668 | -chown ${NOVA_USER} ${LOCK_DIR} |
2669 | - |
2670 | -# Read configuration variable file if it is present |
2671 | -[ -r /etc/default/$NAME ] && . /etc/default/$NAME |
2672 | - |
2673 | -. /lib/lsb/init-functions |
2674 | - |
2675 | -do_start() |
2676 | -{ |
2677 | - start-stop-daemon --start --quiet --background --chuid ${NOVA_USER}:nova --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null \ |
2678 | - || return 1 |
2679 | - start-stop-daemon --start --quiet --background --chuid ${NOVA_USER}:nova --make-pidfile --pidfile $PIDFILE --startas $DAEMON -- \ |
2680 | - $DAEMON_ARGS \ |
2681 | - || return 2 |
2682 | -} |
2683 | - |
2684 | -do_stop() |
2685 | -{ |
2686 | - start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE |
2687 | - RETVAL="$?" |
2688 | - rm -f $PIDFILE |
2689 | - return "$RETVAL" |
2690 | -} |
2691 | - |
2692 | -case "$1" in |
2693 | - start) |
2694 | - log_daemon_msg "Starting $DESC " "$NAME" |
2695 | - do_start |
2696 | - case "$?" in |
2697 | - 0|1) log_end_msg 0 ;; |
2698 | - 2) log_end_msg 1 ;; |
2699 | - esac |
2700 | - ;; |
2701 | - stop) |
2702 | - log_daemon_msg "Stopping $DESC" "$NAME" |
2703 | - do_stop |
2704 | - case "$?" in |
2705 | - 0|1) log_end_msg 0 ;; |
2706 | - 2) log_end_msg 1 ;; |
2707 | - esac |
2708 | - ;; |
2709 | - status) |
2710 | - status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? |
2711 | - ;; |
2712 | - restart|force-reload) |
2713 | - log_daemon_msg "Restarting $DESC" "$NAME" |
2714 | - do_stop |
2715 | - case "$?" in |
2716 | - 0|1) |
2717 | - do_start |
2718 | - case "$?" in |
2719 | - 0) log_end_msg 0 ;; |
2720 | - 1) log_end_msg 1 ;; # Old process is still running |
2721 | - *) log_end_msg 1 ;; # Failed to start |
2722 | - esac |
2723 | - ;; |
2724 | - *) |
2725 | - # Failed to stop |
2726 | - log_end_msg 1 |
2727 | - ;; |
2728 | - esac |
2729 | - ;; |
2730 | - *) |
2731 | - echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 |
2732 | - exit 3 |
2733 | - ;; |
2734 | -esac |
2735 | - |
2736 | -: |
2737 | |
2738 | === modified file 'debian/nova-objectstore.manpages' |
2739 | --- debian/nova-objectstore.manpages 2011-04-14 05:56:46 +0000 |
2740 | +++ debian/nova-objectstore.manpages 2013-03-01 14:23:35 +0000 |
2741 | @@ -1,1 +1,1 @@ |
2742 | -debian/mans/nova-objectstore.8 |
2743 | +doc/build/man/nova-objectstore.1 |
2744 | |
2745 | === removed file 'debian/nova-objectstore.postrm' |
2746 | --- debian/nova-objectstore.postrm 2012-09-14 12:15:44 +0000 |
2747 | +++ debian/nova-objectstore.postrm 1970-01-01 00:00:00 +0000 |
2748 | @@ -1,7 +0,0 @@ |
2749 | -#!/bin/sh -e |
2750 | - |
2751 | -if [ "$1" = purge ]; then |
2752 | - update-rc.d nova-objectstore remove |
2753 | -fi |
2754 | - |
2755 | -#DEBHELPER# |
2756 | |
2757 | === added file 'debian/nova-objectstore.upstart' |
2758 | --- debian/nova-objectstore.upstart 1970-01-01 00:00:00 +0000 |
2759 | +++ debian/nova-objectstore.upstart 2013-03-01 14:23:35 +0000 |
2760 | @@ -0,0 +1,17 @@ |
2761 | +description "Nova object store" |
2762 | +author "Soren Hansen <soren@linux2go.dk>" |
2763 | + |
2764 | +start on runlevel [2345] |
2765 | +stop on runlevel [!2345] |
2766 | + |
2767 | +chdir /var/run |
2768 | + |
2769 | +pre-start script |
2770 | + mkdir -p /var/run/nova |
2771 | + chown nova:root /var/run/nova/ |
2772 | + |
2773 | + mkdir -p /var/lock/nova |
2774 | + chown nova:root /var/lock/nova/ |
2775 | +end script |
2776 | + |
2777 | +exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-objectstore -- --config-file=/etc/nova/nova.conf |
2778 | |
2779 | === removed file 'debian/nova-objectstore.upstart.in' |
2780 | --- debian/nova-objectstore.upstart.in 2012-08-23 14:04:37 +0000 |
2781 | +++ debian/nova-objectstore.upstart.in 1970-01-01 00:00:00 +0000 |
2782 | @@ -1,17 +0,0 @@ |
2783 | -description "Nova object store" |
2784 | -author "Soren Hansen <soren@linux2go.dk>" |
2785 | - |
2786 | -start on runlevel [2345] |
2787 | -stop on runlevel [016] |
2788 | - |
2789 | -chdir /var/run |
2790 | - |
2791 | -pre-start script |
2792 | - mkdir -p /var/run/nova |
2793 | - chown nova:root /var/run/nova/ |
2794 | - |
2795 | - mkdir -p /var/lock/nova |
2796 | - chown nova:root /var/lock/nova/ |
2797 | -end script |
2798 | - |
2799 | -exec su -s /bin/sh -c "exec nova-objectstore --config-file=/etc/nova/nova.conf" nova |
2800 | |
2801 | === removed file 'debian/nova-scheduler.init' |
2802 | --- debian/nova-scheduler.init 2012-06-05 23:34:09 +0000 |
2803 | +++ debian/nova-scheduler.init 1970-01-01 00:00:00 +0000 |
2804 | @@ -1,97 +0,0 @@ |
2805 | -#!/bin/sh |
2806 | -### BEGIN INIT INFO |
2807 | -# Provides: nova-scheduler |
2808 | -# Required-Start: $network $local_fs $remote_fs $syslog |
2809 | -# Required-Stop: $remote_fs |
2810 | -# Default-Start: 2 3 4 5 |
2811 | -# Default-Stop: 0 1 6 |
2812 | -# Short-Description: Nova Scheduler |
2813 | -# Description: Schedules instances, volumes, etc. for Nova |
2814 | -### END INIT INFO |
2815 | - |
2816 | -# Author: Julien Danjou <acid@debian.org> |
2817 | - |
2818 | -# PATH should only include /usr/* if it runs after the mountnfs.sh script |
2819 | -PATH=/sbin:/usr/sbin:/bin:/usr/bin |
2820 | -DESC="OpenStack Compute Scheduler" |
2821 | -NAME=nova-scheduler |
2822 | -DAEMON=/usr/bin/nova-scheduler |
2823 | -DAEMON_ARGS="--config-file=/etc/nova/nova.conf" |
2824 | -PIDFILE=/var/run/$NAME.pid |
2825 | -SCRIPTNAME=/etc/init.d/$NAME |
2826 | -NOVA_USER=nova |
2827 | -LOCK_DIR=/var/lock/nova/ |
2828 | - |
2829 | -# Exit if the package is not installed |
2830 | -[ -x $DAEMON ] || exit 0 |
2831 | - |
2832 | -mkdir -p ${LOCK_DIR} |
2833 | -chown ${NOVA_USER} ${LOCK_DIR} |
2834 | - |
2835 | -# Read configuration variable file if it is present |
2836 | -[ -r /etc/default/$NAME ] && . /etc/default/$NAME |
2837 | - |
2838 | -. /lib/lsb/init-functions |
2839 | - |
2840 | -do_start() |
2841 | -{ |
2842 | - start-stop-daemon --start --quiet --background --chuid ${NOVA_USER}:nova --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null \ |
2843 | - || return 1 |
2844 | - start-stop-daemon --start --quiet --background --chuid ${NOVA_USER}:nova --make-pidfile --pidfile $PIDFILE --startas $DAEMON -- \ |
2845 | - $DAEMON_ARGS \ |
2846 | - || return 2 |
2847 | -} |
2848 | - |
2849 | -do_stop() |
2850 | -{ |
2851 | - start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE |
2852 | - RETVAL="$?" |
2853 | - rm -f $PIDFILE |
2854 | - return "$RETVAL" |
2855 | -} |
2856 | - |
2857 | -case "$1" in |
2858 | - start) |
2859 | - log_daemon_msg "Starting $DESC " "$NAME" |
2860 | - do_start |
2861 | - case "$?" in |
2862 | - 0|1) log_end_msg 0 ;; |
2863 | - 2) log_end_msg 1 ;; |
2864 | - esac |
2865 | - ;; |
2866 | - stop) |
2867 | - log_daemon_msg "Stopping $DESC" "$NAME" |
2868 | - do_stop |
2869 | - case "$?" in |
2870 | - 0|1) log_end_msg 0 ;; |
2871 | - 2) log_end_msg 1 ;; |
2872 | - esac |
2873 | - ;; |
2874 | - status) |
2875 | - status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? |
2876 | - ;; |
2877 | - restart|force-reload) |
2878 | - log_daemon_msg "Restarting $DESC" "$NAME" |
2879 | - do_stop |
2880 | - case "$?" in |
2881 | - 0|1) |
2882 | - do_start |
2883 | - case "$?" in |
2884 | - 0) log_end_msg 0 ;; |
2885 | - 1) log_end_msg 1 ;; # Old process is still running |
2886 | - *) log_end_msg 1 ;; # Failed to start |
2887 | - esac |
2888 | - ;; |
2889 | - *) |
2890 | - # Failed to stop |
2891 | - log_end_msg 1 |
2892 | - ;; |
2893 | - esac |
2894 | - ;; |
2895 | - *) |
2896 | - echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 |
2897 | - exit 3 |
2898 | - ;; |
2899 | -esac |
2900 | - |
2901 | -: |
2902 | |
2903 | === modified file 'debian/nova-scheduler.manpages' |
2904 | --- debian/nova-scheduler.manpages 2011-04-14 05:56:46 +0000 |
2905 | +++ debian/nova-scheduler.manpages 2013-03-01 14:23:35 +0000 |
2906 | @@ -1,1 +1,2 @@ |
2907 | -debian/mans/nova-scheduler.8 |
2908 | +doc/build/man/nova-scheduler.1 |
2909 | +doc/build/man/nova-rpc-zmq-receiver.1 |
2910 | |
2911 | === removed file 'debian/nova-scheduler.postrm' |
2912 | --- debian/nova-scheduler.postrm 2012-09-14 12:15:44 +0000 |
2913 | +++ debian/nova-scheduler.postrm 1970-01-01 00:00:00 +0000 |
2914 | @@ -1,7 +0,0 @@ |
2915 | -#!/bin/sh -e |
2916 | - |
2917 | -if [ "$1" = purge ]; then |
2918 | - update-rc.d nova-scheduler remove |
2919 | -fi |
2920 | - |
2921 | -#DEBHELPER# |
2922 | |
2923 | === added file 'debian/nova-scheduler.upstart' |
2924 | --- debian/nova-scheduler.upstart 1970-01-01 00:00:00 +0000 |
2925 | +++ debian/nova-scheduler.upstart 2013-03-01 14:23:35 +0000 |
2926 | @@ -0,0 +1,18 @@ |
2927 | +description "Nova scheduler" |
2928 | +author "Soren Hansen <soren@linux2go.dk>" |
2929 | + |
2930 | +start on runlevel [2345] |
2931 | +stop on runlevel [!2345] |
2932 | + |
2933 | + |
2934 | +chdir /var/run |
2935 | + |
2936 | +pre-start script |
2937 | + mkdir -p /var/run/nova |
2938 | + chown nova:root /var/run/nova/ |
2939 | + |
2940 | + mkdir -p /var/lock/nova |
2941 | + chown nova:root /var/lock/nova/ |
2942 | +end script |
2943 | + |
2944 | +exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-scheduler -- --config-file=/etc/nova/nova.conf |
2945 | |
2946 | === removed file 'debian/nova-scheduler.upstart.in' |
2947 | --- debian/nova-scheduler.upstart.in 2012-08-23 14:04:37 +0000 |
2948 | +++ debian/nova-scheduler.upstart.in 1970-01-01 00:00:00 +0000 |
2949 | @@ -1,18 +0,0 @@ |
2950 | -description "Nova scheduler" |
2951 | -author "Soren Hansen <soren@linux2go.dk>" |
2952 | - |
2953 | -start on runlevel [2345] |
2954 | -stop on runlevel [016] |
2955 | - |
2956 | - |
2957 | -chdir /var/run |
2958 | - |
2959 | -pre-start script |
2960 | - mkdir -p /var/run/nova |
2961 | - chown nova:root /var/run/nova/ |
2962 | - |
2963 | - mkdir -p /var/lock/nova |
2964 | - chown nova:root /var/lock/nova/ |
2965 | -end script |
2966 | - |
2967 | -exec su -s /bin/sh -c "exec nova-scheduler --config-file=/etc/nova/nova.conf" nova |
2968 | |
2969 | === added file 'debian/nova-spiceproxy.install' |
2970 | --- debian/nova-spiceproxy.install 1970-01-01 00:00:00 +0000 |
2971 | +++ debian/nova-spiceproxy.install 2013-03-01 14:23:35 +0000 |
2972 | @@ -0,0 +1,1 @@ |
2973 | +usr/bin/nova-spicehtml5proxy |
2974 | |
2975 | === added file 'debian/nova-spiceproxy.logrotate' |
2976 | --- debian/nova-spiceproxy.logrotate 1970-01-01 00:00:00 +0000 |
2977 | +++ debian/nova-spiceproxy.logrotate 2013-03-01 14:23:35 +0000 |
2978 | @@ -0,0 +1,7 @@ |
2979 | +/var/log/nova/nova-novncproxy.log { |
2980 | + daily |
2981 | + missingok |
2982 | + compress |
2983 | + delaycompress |
2984 | + notifempty |
2985 | +} |
2986 | |
2987 | === added file 'debian/nova-spiceproxy.upstart' |
2988 | --- debian/nova-spiceproxy.upstart 1970-01-01 00:00:00 +0000 |
2989 | +++ debian/nova-spiceproxy.upstart 2013-03-01 14:23:35 +0000 |
2990 | @@ -0,0 +1,17 @@ |
2991 | +description "Nova spice proxy" |
2992 | +author "Chuck Short <zulcss@ubnuntu.com" |
2993 | + |
2994 | +start on runlevel [2345] |
2995 | +stop on runlevel [!2345] |
2996 | + |
2997 | +chdir /var/run |
2998 | + |
2999 | +pre-start script |
3000 | + mkdir -p /var/run/nova |
3001 | + chown nova:root /var/run/nova/ |
3002 | + |
3003 | + mkdir -p /var/lock/nova |
3004 | + chown nova:root /var/lock/nova/ |
3005 | +end script |
3006 | + |
3007 | +exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-spicehtml5proxy -- --config-file=/etc/nova/nova.conf |
3008 | |
3009 | === removed file 'debian/nova-xcp-network.init' |
3010 | --- debian/nova-xcp-network.init 2012-02-20 01:43:23 +0000 |
3011 | +++ debian/nova-xcp-network.init 1970-01-01 00:00:00 +0000 |
3012 | @@ -1,167 +0,0 @@ |
3013 | -#!/bin/sh |
3014 | - |
3015 | -### BEGIN INIT INFO |
3016 | -# Provides: nova-xcp-network |
3017 | -# Required-Start: $remote_fs $syslog |
3018 | -# Required-Stop: $remote_fs $syslog |
3019 | -# Default-Start: 2 3 4 5 |
3020 | -# Default-Stop: 0 1 6 |
3021 | -# Short-Description: Apply initial OVS flows for Nova and network rules. |
3022 | -# Description: Apply initial OVS flows for Nova, and setup networking |
3023 | -# host rules for multi tenancy protections. |
3024 | -### END INIT INFO |
3025 | - |
3026 | -# Written by Thomas Goirand <zigo@debian.org> using |
3027 | -# plugins/xenserver/networking/etc/init.d/{openvswitch-nova,host-up} |
3028 | -# as examples. |
3029 | -# |
3030 | -# Licensed under the Apache License, Version 2.0 (the "License"); you may |
3031 | -# not use this file except in compliance with the License. You may obtain |
3032 | -# a copy of the License at |
3033 | -# |
3034 | -# http://www.apache.org/licenses/LICENSE-2.0 |
3035 | -# |
3036 | -# Unless required by applicable law or agreed to in writing, software |
3037 | -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
3038 | -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
3039 | -# License for the specific language governing permissions and limitations |
3040 | -# under the License. |
3041 | - |
3042 | -. /lib/init/vars.sh |
3043 | -. /lib/lsb/init-functions |
3044 | - |
3045 | -DESC="XCP openvswitch networking rules" |
3046 | -NAME="xcp-network" |
3047 | - |
3048 | -OVS_CONFIGURE_BASE_FLOWS=/usr/lib/xcp/plugins/ovs_configure_base_flows.py |
3049 | -IPTABLES=/sbin/iptables |
3050 | -EBTABLES=/sbin/ebtables |
3051 | -ARPTABLES=/sbin/arptables |
3052 | - |
3053 | -# Quick check if everything is there... |
3054 | -if ! [ -x ${OVS_CONFIGURE_BASE_FLOWS} ] ; then |
3055 | - exit 0 |
3056 | -fi |
3057 | -if ! [ -x ${IPTABLES} -a -x ${EBTABLES} -a -x ${ARPTABLES} ] ; then |
3058 | - exit 0 |
3059 | -fi |
3060 | -if ! [ -x /usr/bin/ovs-ofctl -a -x /usr/bin/ovs-vsctl -a -x /sbin/ip ] ; then |
3061 | - exit 0 |
3062 | -fi |
3063 | - |
3064 | -# Load the VERBOSE setting and other rcS variables |
3065 | -[ -r /lib/init/vars.sh ] && . /lib/init/vars.sh |
3066 | - |
3067 | -# Get $INTERFACES from /etc/default/openvswitch-nova, |
3068 | -# default to all what is available. |
3069 | -if [ -r /etc/default/openvswitch-nova ] ; then |
3070 | - . /etc/default/openvswitch-nova |
3071 | -fi |
3072 | -if [ -z "${INTERFACES}" ] ; then |
3073 | - INTERFACES=$(cd /sys/class/net/; /bin/ls -d eth*) |
3074 | -fi |
3075 | - |
3076 | -# Get $NETWORK_MODE from /etc/xcp/network.conf, |
3077 | -# default to openvswitch |
3078 | -if [ -e /etc/xcp/network.conf ] ; then |
3079 | - NETWORK_MODE=`cat /etc/xcp/network.conf` |
3080 | -fi |
3081 | - |
3082 | -if [ -z "${NETWORK_MODE}" ] ; then |
3083 | - NETWORK_MODE=openvswitch |
3084 | -fi |
3085 | - |
3086 | -# Check validity of $NETWORK_MODE |
3087 | -case "${NETWORK_MODE}" in |
3088 | -vswitch|openvswitch) |
3089 | - ;; |
3090 | -bridge) |
3091 | - exit 0 |
3092 | - ;; |
3093 | -*) |
3094 | - echo "Open vSwitch disabled (/etc/xcp/network.conf is invalid)" >&2 |
3095 | - exit 0 |
3096 | - ;; |
3097 | -esac |
3098 | - |
3099 | -run_ovs_conf_base_flows () { |
3100 | - my_action="${1}" |
3101 | - my_all_interfaces=$(cd /sys/class/net/; /bin/ls -d eth*) |
3102 | - for i in ${INTERFACES} ; do |
3103 | - /usr/bin/python $OVS_CONFIGURE_BASE_FLOWS $my_action $i |
3104 | - done |
3105 | -} |
3106 | - |
3107 | -# Functions to configure the firewall to work with openvswitch, XCP and nova |
3108 | -iptables_up () { |
3109 | - ${IPTABLES} -P FORWARD DROP |
3110 | - for i in ${INTERFACES} ; do |
3111 | - ${IPTABLES} -A FORWARD -m physdev --physdev-in ${i} -j ACCEPT |
3112 | - done |
3113 | -} |
3114 | -ebtables_up () { |
3115 | - ${EBTABLES} -P FORWARD DROP |
3116 | - for i in ${INTERFACES} ; do |
3117 | - ${EBTABLES} -A FORWARD -o ${i} -j ACCEPT |
3118 | - done |
3119 | -} |
3120 | -arptables_up () { |
3121 | - ${ARPTABLES} -P FORWARD DROP |
3122 | - for i in ${INTERFACES} ; do |
3123 | - ${ARPTABLES} -A FORWARD --opcode Request --in-interface ${i} -j ACCEPT |
3124 | - ${ARPTABLES} -A FORWARD --opcode Reply --in-interface ${i} -j ACCEPT |
3125 | - done |
3126 | -} |
3127 | -iptables_down () { |
3128 | - ${IPTABLES} -P FORWARD ACCEPT |
3129 | - for i in ${INTERFACES} ; do |
3130 | - ${IPTABLES} -D FORWARD -m physdev --physdev-in ${i} -j ACCEPT |
3131 | - done |
3132 | -} |
3133 | -ebtables_down () { |
3134 | - ${EBTABLES} -P FORWARD ACCEPT |
3135 | - for i in ${INTERFACES} ; do |
3136 | - ${EBTABLES} -D FORWARD -o ${i} -j ACCEPT |
3137 | - done |
3138 | -} |
3139 | -arptables_down () { |
3140 | - ${ARPTABLES} -P FORWARD ACCEPT |
3141 | - for i in ${INTERFACES} ; do |
3142 | - ${ARPTABLES} -D FORWARD --opcode Request --in-interface ${i} -j ACCEPT |
3143 | - ${ARPTABLES} -D FORWARD --opcode Reply --in-interface ${i} -j ACCEPT |
3144 | - done |
3145 | -} |
3146 | - |
3147 | -case "${1}" in |
3148 | -start) |
3149 | - [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" |
3150 | - iptables_up |
3151 | - ebtables_up |
3152 | - arptables_up |
3153 | - run_ovs_conf_base_flows online |
3154 | - [ "$VERBOSE" != no ] && log_end_msg 0 |
3155 | - ;; |
3156 | -stop) |
3157 | - [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" |
3158 | - run_ovs_conf_base_flows offline |
3159 | - iptables_down |
3160 | - ebtables_down |
3161 | - arptables_down |
3162 | - [ "$VERBOSE" != no ] && log_end_msg 0 |
3163 | - ;; |
3164 | -reload|force-reload) |
3165 | - [ "$VERBOSE" != no ] && log_daemon_msg "Restarting $DESC" "$NAME" |
3166 | - run_ovs_conf_base_flows reset |
3167 | - [ "$VERBOSE" != no ] && log_end_msg 0 |
3168 | - ;; |
3169 | -restart) |
3170 | - $0 start |
3171 | - sleep 1 |
3172 | - $0 stop |
3173 | - ;; |
3174 | -*) |
3175 | - echo "Usage: $0 {start|stop|status|restart|reload|force-reload}" >&2 |
3176 | - ;; |
3177 | -esac |
3178 | - |
3179 | -exit 0 |
3180 | |
3181 | === modified file 'debian/nova-xcp-plugins.install' |
3182 | --- debian/nova-xcp-plugins.install 2012-02-29 02:55:07 +0000 |
3183 | +++ debian/nova-xcp-plugins.install 2013-03-01 14:23:35 +0000 |
3184 | @@ -1,6 +1,6 @@ |
3185 | -plugins/xenserver/xenapi/etc/xapi.d/plugins/agent /usr/lib/xcp/plugins |
3186 | -plugins/xenserver/xenapi/etc/xapi.d/plugins/glance /usr/lib/xcp/plugins |
3187 | -plugins/xenserver/xenapi/etc/xapi.d/plugins/migration /usr/lib/xcp/plugins |
3188 | -plugins/xenserver/xenapi/etc/xapi.d/plugins/pluginlib_nova.py /usr/lib/xcp/plugins |
3189 | -plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost /usr/lib/xcp/plugins |
3190 | -plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py /usr/lib/xcp/plugins |
3191 | +plugins/xenserver/xenapi/etc/xapi.d/plugins/agent /usr/lib/xcp/plugins |
3192 | +plugins/xenserver/xenapi/etc/xapi.d/plugins/glance /usr/lib/xcp/plugins |
3193 | +plugins/xenserver/xenapi/etc/xapi.d/plugins/migration /usr/lib/xcp/plugins |
3194 | +plugins/xenserver/xenapi/etc/xapi.d/plugins/pluginlib_nova.py /usr/lib/xcp/plugins |
3195 | +plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost /usr/lib/xcp/plugins |
3196 | +plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py /usr/lib/xcp/plugins |
3197 | |
3198 | === removed file 'debian/nova-xvpvncproxy.init' |
3199 | --- debian/nova-xvpvncproxy.init 2012-06-05 23:34:09 +0000 |
3200 | +++ debian/nova-xvpvncproxy.init 1970-01-01 00:00:00 +0000 |
3201 | @@ -1,97 +0,0 @@ |
3202 | -#!/bin/sh |
3203 | -### BEGIN INIT INFO |
3204 | -# Provides: nova-xvpvncproxy |
3205 | -# Required-Start: $network $local_fs $remote_fs $syslog |
3206 | -# Required-Stop: $remote_fs |
3207 | -# Default-Start: 2 3 4 5 |
3208 | -# Default-Stop: 0 1 6 |
3209 | -# Short-Description: Nova XVP VNC proxy |
3210 | -# Description: Nova XVP VNC proxy |
3211 | -### END INIT INFO |
3212 | - |
3213 | -# Author: Julien Danjou <acid@debian.org> |
3214 | - |
3215 | -# PATH should only include /usr/* if it runs after the mountnfs.sh script |
3216 | -PATH=/sbin:/usr/sbin:/bin:/usr/bin |
3217 | -DESC="OpenStack XVP VNC proxy" |
3218 | -NAME=nova-xvpvncproxy |
3219 | -DAEMON=/usr/bin/nova-xvpvncproxy |
3220 | -DAEMON_ARGS="--config-file=/etc/nova/nova.conf" |
3221 | -PIDFILE=/var/run/$NAME.pid |
3222 | -SCRIPTNAME=/etc/init.d/$NAME |
3223 | -NOVA_USER=nova |
3224 | -LOCK_DIR=/var/lock/nova/ |
3225 | - |
3226 | -# Exit if the package is not installed |
3227 | -[ -x $DAEMON ] || exit 0 |
3228 | - |
3229 | -mkdir -p ${LOCK_DIR} |
3230 | -chown ${NOVA_USER} ${LOCK_DIR} |
3231 | - |
3232 | -# Read configuration variable file if it is present |
3233 | -[ -r /etc/default/$NAME ] && . /etc/default/$NAME |
3234 | - |
3235 | -. /lib/lsb/init-functions |
3236 | - |
3237 | -do_start() |
3238 | -{ |
3239 | - start-stop-daemon --start --background --quiet --chuid ${NOVA_USER}:nova --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null \ |
3240 | - || return 1 |
3241 | - start-stop-daemon --start --background --quiet --chuid ${NOVA_USER}:nova --make-pidfile --pidfile $PIDFILE --startas $DAEMON -- \ |
3242 | - $DAEMON_ARGS \ |
3243 | - || return 2 |
3244 | -} |
3245 | - |
3246 | -do_stop() |
3247 | -{ |
3248 | - start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE |
3249 | - RETVAL="$?" |
3250 | - rm -f $PIDFILE |
3251 | - return "$RETVAL" |
3252 | -} |
3253 | - |
3254 | -case "$1" in |
3255 | - start) |
3256 | - log_daemon_msg "Starting $DESC " "$NAME" |
3257 | - do_start |
3258 | - case "$?" in |
3259 | - 0|1) log_end_msg 0 ;; |
3260 | - 2) log_end_msg 1 ;; |
3261 | - esac |
3262 | - ;; |
3263 | - stop) |
3264 | - log_daemon_msg "Stopping $DESC" "$NAME" |
3265 | - do_stop |
3266 | - case "$?" in |
3267 | - 0|1) log_end_msg 0 ;; |
3268 | - 2) log_end_msg 1 ;; |
3269 | - esac |
3270 | - ;; |
3271 | - status) |
3272 | - status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? |
3273 | - ;; |
3274 | - restart|force-reload) |
3275 | - log_daemon_msg "Restarting $DESC" "$NAME" |
3276 | - do_stop |
3277 | - case "$?" in |
3278 | - 0|1) |
3279 | - do_start |
3280 | - case "$?" in |
3281 | - 0) log_end_msg 0 ;; |
3282 | - 1) log_end_msg 1 ;; # Old process is still running |
3283 | - *) log_end_msg 1 ;; # Failed to start |
3284 | - esac |
3285 | - ;; |
3286 | - *) |
3287 | - # Failed to stop |
3288 | - log_end_msg 1 |
3289 | - ;; |
3290 | - esac |
3291 | - ;; |
3292 | - *) |
3293 | - echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 |
3294 | - exit 3 |
3295 | - ;; |
3296 | -esac |
3297 | - |
3298 | -: |
3299 | |
3300 | === modified file 'debian/nova-xvpvncproxy.manpages' |
3301 | --- debian/nova-xvpvncproxy.manpages 2012-10-02 19:34:36 +0000 |
3302 | +++ debian/nova-xvpvncproxy.manpages 2013-03-01 14:23:35 +0000 |
3303 | @@ -1,1 +1,1 @@ |
3304 | -debian/mans/nova-xvpvncproxy.8 |
3305 | +doc/build/man/nova-xvpvncproxy.1 |
3306 | |
3307 | === removed file 'debian/nova-xvpvncproxy.postrm' |
3308 | --- debian/nova-xvpvncproxy.postrm 2012-10-02 19:34:36 +0000 |
3309 | +++ debian/nova-xvpvncproxy.postrm 1970-01-01 00:00:00 +0000 |
3310 | @@ -1,7 +0,0 @@ |
3311 | -#!/bin/sh -e |
3312 | - |
3313 | -if [ "$1" = purge ]; then |
3314 | - update-rc.d nova-xvpvncproxy remove |
3315 | -fi |
3316 | - |
3317 | -#DEBHELPER# |
3318 | |
3319 | === modified file 'debian/patches/avoid_setuptools_git_dependency.patch' |
3320 | --- debian/patches/avoid_setuptools_git_dependency.patch 2012-11-07 18:48:16 +0000 |
3321 | +++ debian/patches/avoid_setuptools_git_dependency.patch 2013-03-01 14:23:35 +0000 |
3322 | @@ -1,21 +1,11 @@ |
3323 | -Author: Adam Gandelman <adamg@canonical.com> |
3324 | -Date: Thu Oct 11 00:42:53 PDT 2012 |
3325 | -Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1059907 |
3326 | -Subject: Avoid installation of python-setuptools-git. |
3327 | - |
3328 | -Remove setuptools_git from pip-requires so that it is not automatically |
3329 | -added to the dependency list by dh_python2, and avoid having it and its |
3330 | -dependencies (git!) installed with python-nova. |
3331 | - |
3332 | - |
3333 | -diff -Naurp nova-2013.1.orig/tools/pip-requires nova-2013.1/tools/pip-requires |
3334 | ---- nova-2013.1.orig/tools/pip-requires 2012-11-07 12:06:53.000000000 -0600 |
3335 | -+++ nova-2013.1/tools/pip-requires 2012-11-07 12:47:21.279367076 -0600 |
3336 | -@@ -18,7 +18,6 @@ paramiko |
3337 | +diff -Naurp nova-2013.1.a4723.ge807e19.orig/tools/pip-requires nova-2013.1.a4723.ge807e19/tools/pip-requires |
3338 | +--- nova-2013.1.a4723.ge807e19.orig/tools/pip-requires 2013-02-28 08:59:17.000000000 -0600 |
3339 | ++++ nova-2013.1.a4723.ge807e19/tools/pip-requires 2013-02-28 09:01:41.143142227 -0600 |
3340 | +@@ -20,7 +20,6 @@ pyasn1 |
3341 | Babel>=0.9.6 |
3342 | iso8601>=0.1.4 |
3343 | httplib2 |
3344 | -setuptools_git>=0.4 |
3345 | - python-cinderclient |
3346 | - python-quantumclient>=2.1 |
3347 | + python-cinderclient>=1.0.1 |
3348 | + python-quantumclient>=2.1.2 |
3349 | python-glanceclient>=0.5.0,<2 |
3350 | |
3351 | === removed file 'debian/patches/fix-libvirt-tests.patch' |
3352 | --- debian/patches/fix-libvirt-tests.patch 2012-11-19 02:25:45 +0000 |
3353 | +++ debian/patches/fix-libvirt-tests.patch 1970-01-01 00:00:00 +0000 |
3354 | @@ -1,43 +0,0 @@ |
3355 | -From 3fa7511a0a6a880fca53769c3bc522bf679e03df Mon Sep 17 00:00:00 2001 |
3356 | -From: Chuck Short <chuck.short@canonical.com> |
3357 | -Date: Mon, 5 Nov 2012 10:16:31 -0600 |
3358 | -Subject: [PATCH 2/2] Accept python-lxml 3.0.1 for tests |
3359 | - |
3360 | -Tests were failing when using lxml 3.0.1. Accept |
3361 | -3.0.1 as a pip version and fix the apporiate tests. |
3362 | - |
3363 | -Change-Id: I84d53e69c61f684123eb6d2bc5541b5c02ddacc9 |
3364 | -Signed-off-by: Chuck Short <chuck.short@canonical.com> |
3365 | -diff -Naurp nova-2013.1.orig/nova/tests/test_libvirt_config.py nova-2013.1/nova/tests/test_libvirt_config.py |
3366 | ---- nova-2013.1.orig/nova/tests/test_libvirt_config.py 2012-11-18 20:12:07.000000000 -0600 |
3367 | -+++ nova-2013.1/nova/tests/test_libvirt_config.py 2012-11-18 20:24:43.738269795 -0600 |
3368 | -@@ -366,7 +366,7 @@ class LibvirtConfigGuestDiskTest(Libvirt |
3369 | - self.assertXmlEqual(xml, """ |
3370 | - <disk type="network" device="disk"> |
3371 | - <driver name="qemu" type="qcow2"/> |
3372 | -- <source protocol="iscsi" name="foo.bar.com"/> |
3373 | -+ <source name="foo.bar.com" protocol="iscsi"/> |
3374 | - <target bus="ide" dev="/dev/hda"/> |
3375 | - </disk>""") |
3376 | - |
3377 | -@@ -535,7 +535,7 @@ class LibvirtConfigGuestInterfaceTest(Li |
3378 | - <interface type="direct"> |
3379 | - <mac address="DE:AD:BE:EF:CA:FE"/> |
3380 | - <model type="virtio"/> |
3381 | -- <source mode="private" dev="eth0"/> |
3382 | -+ <source dev="eth0" mode="private"/> |
3383 | - <target dev="tap12345678"/> |
3384 | - <virtualport type="802.1Qbh"/> |
3385 | - </interface>""") |
3386 | -diff -Naurp nova-2013.1.orig/tools/pip-requires nova-2013.1/tools/pip-requires |
3387 | ---- nova-2013.1.orig/tools/pip-requires 2012-11-18 20:12:07.000000000 -0600 |
3388 | -+++ nova-2013.1/tools/pip-requires 2012-11-18 20:24:58.498269804 -0600 |
3389 | -@@ -5,7 +5,7 @@ anyjson>=0.2.4 |
3390 | - boto==2.1.1 |
3391 | - eventlet>=0.9.17 |
3392 | - kombu==1.0.4 |
3393 | --lxml>=2.3,<=2.3.5 |
3394 | -+lxml>=2.3,<=3.0.1 |
3395 | - routes==1.12.3 |
3396 | - WebOb==1.0.8 |
3397 | - greenlet>=0.3.1 |
3398 | |
3399 | === modified file 'debian/patches/fix-ubuntu-tests.patch' |
3400 | --- debian/patches/fix-ubuntu-tests.patch 2012-11-01 16:31:36 +0000 |
3401 | +++ debian/patches/fix-ubuntu-tests.patch 2013-03-01 14:23:35 +0000 |
3402 | @@ -1,14 +1,12 @@ |
3403 | -Description: Fix tests in ubuntu. |
3404 | -Author: Chuck Short <zulcss@ubuntu.com> |
3405 | -Forwarded: no |
3406 | ---- a/nova/tests/test_api.py |
3407 | -+++ b/nova/tests/test_api.py |
3408 | -@@ -436,7 +436,7 @@ class ApiEc2TestCase(test.TestCase): |
3409 | - raise self.failureException, 'EC2ResponseError not raised' |
3410 | - |
3411 | - # Invalid CIDR address |
3412 | -- _assert('Invalid CIDR', 'tcp', 80, 81, '0.0.0.0/0444') |
3413 | -+ #_assert('Invalid CIDR', 'tcp', 80, 81, '0.0.0.0/0444') |
3414 | - # Missing ports |
3415 | - _assert('Not enough parameters', 'tcp', '0.0.0.0/0') |
3416 | - # from port cannot be greater than to port |
3417 | +diff -Naurp nova-2013.1.a4257.g4df4762.orig/tools/hacking.py nova-2013.1.a4257.g4df4762/tools/hacking.py |
3418 | +--- nova-2013.1.a4257.g4df4762.orig/tools/hacking.py 2013-02-12 07:33:18.000000000 -0600 |
3419 | ++++ nova-2013.1.a4257.g4df4762/tools/hacking.py 2013-02-12 07:51:45.212644383 -0600 |
3420 | +@@ -589,7 +589,7 @@ if __name__ == "__main__": |
3421 | + #include nova path |
3422 | + sys.path.append(os.getcwd()) |
3423 | + #Run once tests (not per line) |
3424 | +- once_error = once_git_check_commit_title() |
3425 | ++ #once_error = once_git_check_commit_title() |
3426 | + #NOVA error codes start with an N |
3427 | + pep8.SELFTEST_REGEX = re.compile(r'(Okay|[EWN]\d{3}):\s(.*)') |
3428 | + pep8.ERRORCODE_REGEX = re.compile(r'[EWN]\d{3}') |
3429 | |
3430 | === modified file 'debian/patches/series' |
3431 | --- debian/patches/series 2012-11-20 15:45:24 +0000 |
3432 | +++ debian/patches/series 2013-03-01 14:23:35 +0000 |
3433 | @@ -3,5 +3,3 @@ |
3434 | fix-ubuntu-tests.patch |
3435 | fix-docs-build-without-network.patch |
3436 | avoid_setuptools_git_dependency.patch |
3437 | -fix-libvirt-tests.patch |
3438 | -ubuntu-show-tests.patch |
3439 | |
3440 | === removed file 'debian/patches/ubuntu-show-tests.patch' |
3441 | --- debian/patches/ubuntu-show-tests.patch 2012-11-08 14:10:12 +0000 |
3442 | +++ debian/patches/ubuntu-show-tests.patch 1970-01-01 00:00:00 +0000 |
3443 | @@ -1,15 +0,0 @@ |
3444 | -Description: Display the tests on the console as well in the log file. |
3445 | -Author: Chuck Short <zulcss@ubuntu.com> |
3446 | -Forwarded: Yes |
3447 | -diff -Naurp nova-2013.1.orig/run_tests.sh nova-2013.1/run_tests.sh |
3448 | ---- nova-2013.1.orig/run_tests.sh 2012-11-07 12:06:53.000000000 -0600 |
3449 | -+++ nova-2013.1/run_tests.sh 2012-11-08 08:06:11.797024712 -0600 |
3450 | -@@ -88,7 +88,7 @@ function run_tests { |
3451 | - # Cleanup *pyc |
3452 | - ${wrapper} find . -type f -name "*.pyc" -delete |
3453 | - # Just run the test suites in current environment |
3454 | -- ${wrapper} $NOSETESTS | tee nosetests.log |
3455 | -+ ${wrapper} $NOSETESTS 2>&1 | tee nosetests.log |
3456 | - # If we get some short import error right away, print the error log directly |
3457 | - RESULT=$? |
3458 | - if [ "$RESULT" -ne "0" ]; |
3459 | |
3460 | === modified file 'debian/pydist-overrides' |
3461 | --- debian/pydist-overrides 2012-09-20 18:07:36 +0000 |
3462 | +++ debian/pydist-overrides 2013-03-01 14:23:35 +0000 |
3463 | @@ -1,4 +1,4 @@ |
3464 | -nosexcover |
3465 | coverage |
3466 | setuptools-git |
3467 | babel |
3468 | +websockify |
3469 | |
3470 | === modified file 'debian/rules' |
3471 | --- debian/rules 2012-11-12 16:51:21 +0000 |
3472 | +++ debian/rules 2013-03-01 14:23:35 +0000 |
3473 | @@ -33,25 +33,18 @@ |
3474 | endif |
3475 | |
3476 | get-orig-source: |
3477 | - uscan --verbose --force-download --rename --destdir=../build-area |
3478 | - |
3479 | - |
3480 | -UPSTREAM_GIT=git://github.com/openstack/nova.git |
3481 | -DEBIAN_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p') |
3482 | -DEBIAN_NAME=nova |
3483 | - |
3484 | -get-orig-source-git: |
3485 | - git clone $(UPSTREAM_GIT) $(DEBIAN_NAME) |
3486 | - cd $(DEBIAN_NAME) ; \ |
3487 | - git archive master --format=tar.gz \ |
3488 | - --output=../$(DEBIAN_NAME)_$(DEBIAN_VERSION).orig.tar.gz \ |
3489 | - --prefix=$(DEBIAN_NAME)-$(DEBIAN_VERSION)/ |
3490 | + uscan --verbose --rename --destdir=../build-area |
3491 | + |
3492 | +version_prefix := $(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p') |
3493 | +get-vcs-source: |
3494 | + wget http://tarballs.openstack.org/nova/nova-master.tar.gz \ |
3495 | + -O ../nova_$(version_prefix).orig.tar.gz |
3496 | |
3497 | override_dh_install: |
3498 | dh_install --fail-missing -Xbin/nova-all |
3499 | chmod 440 $(CURDIR)/debian/nova-common/etc/sudoers.d/nova_sudoers |
3500 | install -D -m 644 debian/source_nova.py debian/php5-common/usr/share/apport/package-hooks/source_nova.py |
3501 | - install -D -m 0655 $(CURDIR)/etc/nova/logging_sample.conf $(CURDIR)/debian/nova-common/etc/nova/logging.conf |
3502 | + install -D -m 0644 $(CURDIR)/etc/nova/logging_sample.conf $(CURDIR)/debian/nova-common/etc/nova/logging.conf |
3503 | for hypervisor in qemu kvm xen uml lxc; do \ |
3504 | install -D -m 0600 $(CURDIR)/debian/nova-compute-$${hypervisor}.conf $(CURDIR)/debian/nova-compute-$${hypervisor}/etc/nova/nova-compute.conf; \ |
3505 | done |
3506 | @@ -65,18 +58,9 @@ |
3507 | |
3508 | ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) |
3509 | override_dh_auto_test: |
3510 | - ./run_tests.sh -N -P |
3511 | + testr init && testr run --parallel |
3512 | endif |
3513 | |
3514 | -override_dh_installinit: |
3515 | - if dpkg-vendor --derives-from ubuntu ; then \ |
3516 | - for i in debian/*.upstart.in ; do \ |
3517 | - MYPKG=`echo $$i | cut -d. -f1` ; \ |
3518 | - cp $$MYPKG.upstart.in $$MYPKG.upstart ; \ |
3519 | - done ; \ |
3520 | - fi |
3521 | - dh_installinit --error-handler=true |
3522 | - |
3523 | override_dh_python2: |
3524 | dh_python2 |
3525 | dh_python2 /usr/lib/xcp |
3526 | @@ -85,3 +69,6 @@ |
3527 | dh_installlogrotate |
3528 | dh_installlogrotate --name=nova-manage |
3529 | dh_installlogrotate --name=nova-dhcpbridge |
3530 | + |
3531 | +override_dh_installchangelogs: |
3532 | + dh_installchangelogs ChangeLog |
3533 | |
3534 | === modified file 'debian/watch' |
3535 | --- debian/watch 2012-08-29 14:13:07 +0000 |
3536 | +++ debian/watch 2013-03-01 14:23:35 +0000 |
3537 | @@ -1,3 +1,3 @@ |
3538 | version=3 |
3539 | -opts="uversionmangle=s/%7E/~/" https://launchpad.net/nova/+download https://launchpad.net/nova/.*/.*/.*/nova-(.*)\.tar\.gz |
3540 | -http://tarballs.openstack.org/nova/ nova-(\d.*).tar.gz |
3541 | +opts="uversionmangle=s/\.([a-zA-Z])/~$1/;s/%7E/~/" \ |
3542 | + https://launchpad.net/nova/+download https://launchpad.net/nova/.*/.*/.*/nova-(.*)\.tar\.gz |