diff --git a/build/package_configs/ubuntu1404/liberty/contrail_packages.cfg b/build/package_configs/ubuntu1404/liberty/contrail_packages.cfg index 1b5db2a26..5fd40dd4b 100644 --- a/build/package_configs/ubuntu1404/liberty/contrail_packages.cfg +++ b/build/package_configs/ubuntu1404/liberty/contrail_packages.cfg @@ -40,7 +40,7 @@ package_type = contrail-install-packages, contrail-packages [contrail] pkgs = contrail-analytics, contrail-config, contrail-control, contrail-lib, contrail-nova-driver, contrail-vrouter-agent, contrail-vrouter-dkms, - contrail-vrouter-source, + contrail-vrouter-dpdk, contrail-vrouter-source, contrail-vrouter-utils, python-contrail, python-contrail-vrouter-api, contrail-vrouter-3.13.0-40-generic, contrail-config-openstack, contrail-dns, python-opencontrail-vrouter-netns, contrail-utils, @@ -61,6 +61,10 @@ makeloc = tools/packaging/common/debian pkgs = contrail-vrouter-common makeloc = tools/packaging/common/debian +[contrail-vrouter-dpdk-init-deb] +pkgs = contrail-vrouter-dpdk-init +makeloc = tools/packaging/common/debian + [contrail-web-core-deb] pkgs = contrail-web-core makeloc = tools/packaging/common/debian @@ -153,8 +157,8 @@ builtloc = build/debian/ # Virtual Target; Just picks up already built packages [vrouter-openstack-extra] -#pkgs = nova-common, nova-compute, nova-compute-kvm, -# nova-compute-libvirt, python-nova +pkgs = nova-common, nova-compute, nova-compute-kvm, + nova-compute-libvirt, python-nova package_type = vrouter-openstack-extra builtloc = build/openstack target = @@ -175,14 +179,14 @@ target = sub_package_type = contrail-packages, vrouter-openstack-extra, cfgm-openstack-extra, contrail-thirdparty-packages, contrail-dependent-packages -#[openstack-nova-deb] -#pkgs = nova-api, nova-cells, nova-common, nova-compute, -# nova-compute-kvm, nova-conductor, nova-console, -# nova-consoleauth, nova-novncproxy, nova-objectstore, -# nova-scheduler, nova-compute-libvirt, python-nova -#makeloc = tools/packaging/openstack/debian -#builtloc = build/openstack -#package_type = contrail-install-packages, contrail-openstack-packages +[openstack-nova-deb] +pkgs = nova-api, nova-cells, nova-common, nova-compute, + nova-compute-kvm, nova-conductor, nova-console, + nova-consoleauth, nova-novncproxy, nova-objectstore, + nova-scheduler, nova-compute-libvirt, python-nova +makeloc = tools/packaging/openstack/debian +builtloc = build/openstack +package_type = contrail-install-packages, contrail-openstack-packages [contrail-openstack-ha-deb] pkgs = contrail-openstack-ha diff --git a/build/package_configs/ubuntu1404/liberty/depends_contrail_dependent_packages.cfg b/build/package_configs/ubuntu1404/liberty/depends_contrail_dependent_packages.cfg index 1d6d3e4f3..56f0b4be7 100644 --- a/build/package_configs/ubuntu1404/liberty/depends_contrail_dependent_packages.cfg +++ b/build/package_configs/ubuntu1404/liberty/depends_contrail_dependent_packages.cfg @@ -108,6 +108,10 @@ file = dnsmasq-base_2.68-1ubuntu0.1_amd64.deb md5 = aaee558be8eddbbdc86bb0623152786d source = repo:trusty-security/main +[dpdk-depends-packages_14.04-contrail6] +file = dpdk-depends-packages_14.04-contrail6_amd64.deb +md5 = 7740d91aaf564d93c473e90a6b540346 + [ebtables_2.0.10.4-3ubuntu1] file = ebtables_2.0.10.4-3ubuntu1_amd64.deb md5 = f96583701c00105823f3f47dea83d916 @@ -403,6 +407,11 @@ file = libusbredirparser1_0.6-2ubuntu1.1_amd64.deb md5 = 60574ac64168133bd8a974d58b7e9c5e source = repo:trusty-updates/main +[liburcu2_0.8.7-2~cloud2] +file = liburcu2_0.8.7-2~cloud2_amd64.deb +md5 = b42cd89fcfd0b4bbf84bd38c3f3ea2ef +source = repo:trusty-updates-liberty + [libvirt-bin_1.2.16-2ubuntu11~cloud0] file = libvirt-bin_1.2.16-2ubuntu11~cloud0_amd64.deb md5 = d306b1a7cf3d46b349d4c08c8202dfa5 @@ -768,21 +777,6 @@ file = nfs-kernel-server_1%%3a1.2.8-6ubuntu1.2_amd64.deb md5 = 84e9549cb2263fe0433bbc862fb4efc7 source = repo:trusty-updates/main -[nova-compute-kvm_2:12.0.0-0ubuntu2~cloud0] -file = nova-compute-kvm_2%%3a12.0.0-0ubuntu2~cloud0_all.deb -md5 = 1e66ddba54f94cbf9d5bfb79ebe78b9c -source = repo:trusty-updates-liberty/main - -[nova-compute-libvirt_2:12.0.0-0ubuntu2~cloud0] -file = nova-compute-libvirt_2%%3a12.0.0-0ubuntu2~cloud0_all.deb -md5 = ae1eec0691a03e3d7fd5dbfb05f9d271 -source = repo:trusty-updates-liberty/main - -[nova-compute_2:12.0.0-0ubuntu2~cloud0] -file = nova-compute_2%%3a12.0.0-0ubuntu2~cloud0_all.deb -md5 = 141850f52aefb5321b47c572c8ab843b -source = repo:trusty-updates-liberty/main - [open-iscsi_2.0.873-3ubuntu9] file = open-iscsi_2.0.873-3ubuntu9_amd64.deb md5 = baa821890ea97d60e291c87d2dc439ae diff --git a/build/package_configs/ubuntu1404/liberty/depends_contrail_openstack_packages.cfg b/build/package_configs/ubuntu1404/liberty/depends_contrail_openstack_packages.cfg index fb83993b3..aa6818ff4 100644 --- a/build/package_configs/ubuntu1404/liberty/depends_contrail_openstack_packages.cfg +++ b/build/package_configs/ubuntu1404/liberty/depends_contrail_openstack_packages.cfg @@ -87,6 +87,7 @@ source = repo:trusty-updates-liberty/main/ file = ceilometer-agent-compute_1%%3a5.0.2-0ubuntu1~cloud0_all.deb md5 = 250d76c1775e2e6f5fdbe47362580ff7 source = repo:trusty-updates-liberty/main/ +package_type = contrail-install-packages, contrail-openstack-packages, vrouter-openstack-extra [ceilometer-agent-notification_1:5.0.2-0ubuntu1~cloud0] file = ceilometer-agent-notification_1%%3a5.0.2-0ubuntu1~cloud0_all.deb @@ -117,6 +118,7 @@ source = repo:trusty-updates-liberty/main/ file = ceilometer-common_1%%3a5.0.2-0ubuntu1~cloud0_all.deb md5 = 24baa6f5e4b49292a8f9a4b999ed6c72 source = repo:trusty-updates-liberty/main/ +package_type = contrail-install-packages, contrail-openstack-packages, vrouter-openstack-extra [cinder-api_2:7.0.0-0ubuntu1.15.10.1~cloud0] file = cinder-api_2%%3a7.0.0-0ubuntu1.15.10.1~cloud0_all.deb @@ -568,46 +570,6 @@ file = nfs-common_1%%3a1.2.8-6ubuntu1.2_amd64.deb md5 = 64d83aabb28de942a6e367181ed580ca source = repo:trusty-updates/main -[nova-api_2:12.0.0-0ubuntu2~cloud0] -file = nova-api_2%%3a12.0.0-0ubuntu2~cloud0_all.deb -md5 = 572632d443686850b2c4fefa9790f365 -source = repo:trusty-updates-liberty/main - -[nova-common_2:12.0.0-0ubuntu2~cloud0] -file = nova-common_2%%3a12.0.0-0ubuntu2~cloud0_all.deb -md5 = 047e8698c56b8650474369dbe3c24968 -source = repo:trusty-updates-liberty/main - -[nova-conductor_2:12.0.0-0ubuntu2~cloud0] -file = nova-conductor_2%%3a12.0.0-0ubuntu2~cloud0_all.deb -md5 = 0268735564fa67e02fc6782caad16d68 -source = repo:trusty-updates-liberty/main - -[nova-console_2:12.0.0-0ubuntu2~cloud0] -file = nova-console_2%%3a12.0.0-0ubuntu2~cloud0_all.deb -md5 = 968fda4fe8b386484214c5372b4e674c -source = repo:trusty-updates-liberty/main - -[nova-consoleauth_2:12.0.0-0ubuntu2~cloud0] -file = nova-consoleauth_2%%3a12.0.0-0ubuntu2~cloud0_all.deb -md5 = 068e701e3e826ffdb8c4ce8381e59d9f -source = repo:trusty-updates-liberty/main - -[nova-novncproxy_2:12.0.0-0ubuntu2~cloud0] -file = nova-novncproxy_2%%3a12.0.0-0ubuntu2~cloud0_all.deb -md5 = 60d8b9753d18d4ce68741329e9f1c91f -source = repo:trusty-updates-liberty/main - -[nova-objectstore_2:12.0.0-0ubuntu2~cloud0] -file = nova-objectstore_2%%3a12.0.0-0ubuntu2~cloud0_all.deb -md5 = 7268e0e334b3d1fe888cacf825fe6915 -source = repo:trusty-updates-liberty/main - -[nova-scheduler_2:12.0.0-0ubuntu2~cloud0] -file = nova-scheduler_2%%3a12.0.0-0ubuntu2~cloud0_all.deb -md5 = 4bd7161d52451f9dfc17badd3aabdb78 -source = repo:trusty-updates-liberty/main - [novnc_1:0.4+dfsg+1+20131010+gitf68af8af3d-2] file = novnc_1%%3a0.4+dfsg+1+20131010+gitf68af8af3d-2_all.deb md5 = fae80db8696627b14491879893901708 @@ -702,11 +664,13 @@ source = repo:trusty-updates-liberty/main file = python-ceilometer_1%%3a5.0.2-0ubuntu1~cloud0_all.deb md5 = 73812e2d52c3f4eec1a92bf1f08a480a source = repo:trusty-updates-liberty/main/ +package_type = contrail-install-packages, contrail-openstack-packages, vrouter-openstack-extra [python-ceilometerclient_1.5.0-1~cloud0] file = python-ceilometerclient_1.5.0-1~cloud0_all.deb md5 = 67590bfe834d4ab532d736fdb2603222 source = repo:trusty-updates-liberty/main +package_type = contrail-install-packages, contrail-openstack-packages, vrouter-openstack-extra [python-cffi-backend_1.1.2-1ubuntu2~cloud2] file = python-cffi-backend_1.1.2-1ubuntu2~cloud2_amd64.deb @@ -727,6 +691,7 @@ source = repo:trusty-updates-liberty/main file = python-cinderclient_1%%3a1.4.0-2~cloud0_all.deb md5 = adc89632692659f58f1a494b1ced379c source = repo:trusty-updates-liberty/main +package_type = contrail-install-packages, contrail-openstack-packages, vrouter-openstack-extra [python-cliff_1.14.0-1ubuntu1~cloud0] file = python-cliff_1.14.0-1ubuntu1~cloud0_all.deb @@ -897,6 +862,7 @@ source = repo:trusty-updates-liberty/main file = python-glanceclient_1%%3a1.1.0-0ubuntu1~cloud0_all.deb md5 = 9ed4c8dd2ed9419113d3b0a1da08ced9 source = repo:trusty-updates-liberty/main +package_type = contrail-install-packages, contrail-openstack-packages, vrouter-openstack-extra [python-gridfs_3.0.3-1~cloud0] file = python-gridfs_3.0.3-1~cloud0_all.deb @@ -1078,11 +1044,6 @@ file = python-networkx_1.8.1-0ubuntu3_all.deb md5 = e56789bcfefec7b730a35c983670346b source = repo:trusty/main -[python-nova_2:12.0.0-0ubuntu2~cloud0] -file = python-nova_2%%3a12.0.0-0ubuntu2~cloud0_all.deb -md5 = 8622fa88c48a2b9cd628608a6d433264 -source = repo:trusty-updates-liberty/main - [python-novnc_1:0.4+dfsg+1+20131010+gitf68af8af3d-2] file = python-novnc_1%%3a0.4+dfsg+1+20131010+gitf68af8af3d-2_all.deb md5 = 88b3c3af0d2fe9339c37dae213af0d4a @@ -1448,6 +1409,7 @@ source = repo:trusty-updates/main file = python-swiftclient_1%%3a2.6.0-1ubuntu1~cloud0_all.deb md5 = c8ab0c74c29746c8c7523c48d7b938f7 source = repo:trusty-updates-liberty/main +package_type = contrail-install-packages, contrail-openstack-packages, vrouter-openstack-extra [python-tablib_0.9.11-2build1] file = python-tablib_0.9.11-2build1_all.deb diff --git a/openstack/debian/openstack-nova/liberty/debian/README.Source b/openstack/debian/openstack-nova/liberty/debian/README.Source new file mode 100644 index 000000000..8f506aa48 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/README.Source @@ -0,0 +1,6 @@ +To do a release to the ubuntu archive: + +1. dch --release && debcommit --release +2. bzr bd -S +3. dput +4. Once it has been accepted: bzr push diff --git a/openstack/debian/openstack-nova/liberty/debian/changelog b/openstack/debian/openstack-nova/liberty/debian/changelog new file mode 100644 index 000000000..530ae6a70 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/changelog @@ -0,0 +1,2204 @@ +nova (2:12.0.1-0ubuntu1~cloud0.1contrail) trusty-liberty; urgency=medium + + * Initial packaging for the OpenContrail. + + -- Michal Dubiel Tue, 22 Mar 2016 12:48:10 +0100 + +nova (2:12.0.1-0ubuntu1~cloud0) trusty-liberty; urgency=medium + + * New upstream release for the Ubuntu Cloud Archive. + + -- Openstack Ubuntu Testing Bot Fri, 22 Jan 2016 16:27:55 +0000 + +nova (2:12.0.1-0ubuntu1) wily; urgency=medium + + * New upstream point release for OpenStack Liberty (LP: #1530913): + - d/p/lp1508230.patch: Dropped. Fixed upstream. + + -- Corey Bryant Thu, 21 Jan 2016 11:02:52 -0500 + +nova (2:12.0.0-0ubuntu2.15.10.1) wily; urgency=high + + * Fix attribute error when cloning raw images in Ceph (LP: #1508230): + - d/p/lp1508230.patch: Cherry pick fix from upstream stable branch + in advance of pending point release. + + -- James Page Thu, 07 Jan 2016 09:56:57 +0000 + +nova (2:12.0.0-0ubuntu2) wily; urgency=medium + + * debian/tests/nova-compute-daemons: Give daemon 5 seconds to start. This is + racy as the postinst start job is done as soon as Python starts, but that + still needs some time to run nova-compute. Also, don't hide the apt-get + output as it's important for diagnostics. + + -- Martin Pitt Mon, 19 Oct 2015 14:47:17 +0200 + +nova (2:12.0.0-0ubuntu1) wily; urgency=medium + + * New upstream release for OpenStack Liberty. + + -- Corey Bryant Thu, 15 Oct 2015 17:19:13 -0400 + +nova (2:12.0.0~rc3-0ubuntu1) wily; urgency=medium + + * New upstream release candidate for OpenStack Liberty. + * d/control: Align dependencies with upstream. + + -- Corey Bryant Wed, 14 Oct 2015 11:28:11 -0400 + +nova (2:12.0.0~rc2-0ubuntu1) wily; urgency=medium + + * New upstream release candidate for OpenStack Liberty. + + -- Corey Bryant Thu, 08 Oct 2015 15:51:26 -0400 + +nova (2:12.0.0~rc1-0ubuntu1) wily; urgency=medium + + * d/watch: Update to cope with upstream rc versioning. + * New upstream release candidate for OpenStack Liberty. + * d/control: Bump minimum pbr version to 1.8. + * d/control: Align dependencies with upstream. + * d/p/arm-console-patch.patch: Rebased. + * d/p/ignore-proxies.patch: Rebased. + * d/p/disable-sphinxcontrib.seqdiag.patch: Rebased. + + -- Corey Bryant Mon, 28 Sep 2015 15:18:09 -0400 + +nova (2:12.0.0~b3-0ubuntu3) wily; urgency=medium + + * Fix a typo in package description. (LP: #1266432) + + -- Hans Joachim Desserud Fri, 18 Sep 2015 13:38:49 +0200 + +nova (2:12.0.0~b3-0ubuntu2) wily; urgency=medium + + * d/nova-common.install: Install nova-rootwrap-daemon. + + -- Corey Bryant Thu, 10 Sep 2015 10:08:05 -0400 + +nova (2:12.0.0~b3-0ubuntu1) wily; urgency=medium + + * New upstream milestone for OpenStack Liberty. + * d/control: Align (build-)depends with upstream. + * d/p/disable-websockify-tests.patch: Rebased. + * d/p/neutron-floating-ip-list.patch: Rebased. + + -- Corey Bryant Tue, 08 Sep 2015 16:02:01 -0400 + +nova (2:12.0.0~b2-0ubuntu2) wily; urgency=medium + + * d/control: Align (build-)depends with upstream. + * d/control: Add python-pymysql to depends. + + -- Corey Bryant Wed, 19 Aug 2015 14:37:58 -0400 + +nova (2:12.0.0~b2-0ubuntu1) wily; urgency=medium + + * New milestone for OpenStack Liberty. + * Update (build-)depends inline with upstream. + * Refresh patches. + * Disable use of sphinxcontrib.seqdiag. + + -- James Page Wed, 12 Aug 2015 09:19:17 +0100 + +nova (2:12.0.0~b1-0ubuntu3) wily; urgency=medium + + * No change rebuild with SQLAlchemy 1.0.6. + + -- James Page Fri, 24 Jul 2015 09:30:12 +0100 + +nova (2:12.0.0~b1-0ubuntu2) wily; urgency=medium + + * d/nova-compute.upstart.in: Fix (another) race between nova-compute and + neutron-ovs-cleanup (LP: #1471022). + + -- Edward Hope-Morley Mon, 06 Jul 2015 11:53:51 +0100 + +nova (2:12.0.0~b1-0ubuntu1) wily; urgency=medium + + * New milestone for OpenStack Liberty. + * Update (build-)depends inline with upstream. + * Refresh patches. + + -- James Page Thu, 25 Jun 2015 10:19:08 +0100 + +nova (1:2015.1.0-0ubuntu1) vivid; urgency=medium + + * New upstream release for OpenStack Kilo. (LP: #1449744) + + -- Chuck Short Sun, 03 May 2015 13:56:17 -0400 + +nova (1:2015.1~rc1-0ubuntu1) vivid; urgency=medium + + * New uptream milestone release: + - d/control: Align with upstream version requirements. + + -- Chuck Short Wed, 15 Apr 2015 14:00:05 -0400 + +nova (1:2015.1~b3-0ubuntu1) vivid; urgency=medium + + * New upstream milestone release: + - d/p/*: Refresh. + - d/p/compute-blkid-filter.patch,fix-oslo-transition.patch: Dropped, + no longer required. + - d/p/rate-limit-power-syncs.patch: Disable pending full rebase. + - d/control: Align with upstream version requirements. + - d/control: Add new dependencies on oslo-log, psutil. + - d/control: Move oslo-vmware dependency to nova-compute-vmware package + as no longer core. + - d/p/skip-proxy-test.patch: Skip test which fails in launchpad buildds + due to proxy confusion. + * d/control: Add python-testresources to BD's. + * d/pydist-overrides: Add overrides for oslo packages. + + -- James Page Mon, 30 Mar 2015 11:20:49 +0100 + +nova (1:2015.1~b2-0ubuntu6) vivid; urgency=medium + + * d/p/fixup-blkid.patch: Cherry pick inflight fix for return code + handling of blkid calls in libvirt kvm compute driver (LP: #1426324). + + -- James Page Tue, 03 Mar 2015 14:42:44 +0000 + +nova (1:2015.1~b2-0ubuntu5) vivid; urgency=medium + + * d/nova-compute.init.in: Start after neutron-ovs-cleanup if + installed. + * d/p/compute-blkid-filter.patch: Cherry pick fix for missing blkid + rootwrap filter from upstream gerrit (LP: #1424054). + + -- James Page Tue, 24 Feb 2015 14:13:16 +0000 + +nova (1:2015.1~b2-0ubuntu4) vivid; urgency=medium + + * Fixed race between nova-compute and neutron-ovs-cleanup (LP: #1420572). + + -- Edward Hope-Morley Mon, 23 Feb 2015 13:41:47 +0000 + +nova (1:2015.1~b2-0ubuntu3) vivid; urgency=medium + + * debian/control: Remove python-wsgiref and add it the blacklist. + + -- Chuck Short Fri, 13 Feb 2015 13:12:53 -0500 + +nova (1:2015.1~b2-0ubuntu2) vivid; urgency=medium + + [ Corey Byrant ] + * d/control: Align with upstream dependencies. + + [ Chuck Short] + * debian/patches/fix-oslo-transition.patch: Fixes oslo transtion. + + -- Chuck Short Thu, 12 Feb 2015 14:02:31 -0500 + +nova (1:2015.1~b2-0ubuntu1) vivid; urgency=medium + + [ Corey Byrant ] + * New upstream release. + - d/control: Align with upstream dependencies. + - d/p/arm-console-patch.patch: Rebased. + - d/p/update-run-tests.patch: Rebased. + - d/p/rate-limit-power-syncs.patch: Rebased. + - d/p/skip-ubuntu-tests.patch: Dropped. Patched code removed upstream. + + [ Chuck Short ] + * debian/control: Transition to new oslo namespace. + * debian/control: Dropped python-posix-ipc, python-anyjson, python-pycadf, + python-lockfile, python-simplejson, python-mox, python-feedparser, and, + python-wsgiref + * debian/patches/skip-ubuntu-tests.patch: Skipped failing tests. + + -- Chuck Short Thu, 12 Feb 2015 09:05:09 -0500 + +nova (1:2015.1~b1-0ubuntu5) vivid; urgency=medium + + * Rebuild to pick up pkgos upstart generation fix. + - d/control: Bump openstack-pkg-tools to ensure upstart fix inclusion. + + -- Corey Bryant Wed, 14 Jan 2015 16:27:46 +0000 + +nova (1:2015.1~b1-0ubuntu4) vivid; urgency=medium + + * d/nova-objectstore.init.in: Add missing init.in configuration for + object storage daemon, resolving DEP-8 test failure. + + -- James Page Mon, 12 Jan 2015 08:31:49 +0000 + +nova (1:2015.1~b1-0ubuntu3) vivid; urgency=medium + + * Systemd enablement: + - d/control,rules: Add BD on openstack-pkg-tools, include in rules file. + - d/*.init.in: Cherry pick and adapt init script template configurations + from Debian packaging (thanks Thomas). + - d/*.upstart: Drop all upstart configuration files in preference to + templates apart from nova-compute. + - d/nova-compute.upstart.in: Rename to make part of openstack-pkg-tools + templating. + * d/control,d/nova-serialproxy.*: Add nova-serialproxy binary package, + moved from nova-compute package. + * d/*.logrotate,nova-common.logrotate: Move to single logrotate + configuration file. + * d/compat,control: Bump debhelper compat level to 9. + * Patchworks: + - d/p/scalable-scheduler.patch: Cherry pick scalable scheduler feature + from upstream gerrit. + - d/p/rate-limit-power-syncs.patch: Cherry pick feature to rate limit + power sync tasks from compute nodes from upstream gerrit. + * d/changelog: Fixup formatting error for 1:2013.2~b3-0ubuntu2. + * d/*.manpages: Add any missing manpages. + * d/rules: General tidy. + * d/control: Drop obsolete ostack-lsb-base usage for dependency generation. + * d/control: Switch unversioned Breaks: nova-api to Conflicts. + + -- James Page Thu, 08 Jan 2015 10:09:44 +0000 + +nova (1:2015.1~b1-0ubuntu2) vivid; urgency=medium + + * d/tests/*: Drop nova-baremetal tests. + + -- James Page Sat, 20 Dec 2014 09:27:30 +0000 + +nova (1:2015.1~b1-0ubuntu1) vivid; urgency=medium + + [ Chuck Short ] + * Open for Kilo + * debian/control: Update bzr branch. + * debian/patches/arm-console-patch.patch: Refreshed. + * debian/patches/disable-websockify-tests.patch: Refreshed. + * debian/patches/skip-ubuntu-tests.patch: Refreshed. + * debian/control: Add python-oslo.middleware as a build dependency. + * debian/control: Add python-oslo.concurrency as a build dependency. + * debian/control: Add python-oslo.serializatoin as a build dependency. + * debian/control: Add python-oslo.utils as a build dependency. + * debian/control: Add python-requests-mock as a build dependency. + * debian/control: Add python-mox3 as a build depenency. + * debian/nova-baremetal.install: Remove baremetal helpers. + * debian/patches/skip-cinder-tests.patch: Skip cinder tests that + are not setup. + * debian/control: Remove nova-baremetal. + * debian/control: + - Bump python-sqlachemy-ext to 0.8.4. + - Bump python-eventlet to 0.15.2. + + [ James Page ] + * New upstream release: + - d/p/*: Refreshed. + - d/control: Align version requirements with upstream. + * d/control: Bumped Standards-Version to 3.9.6, no changes. + * d/rules: Limit package build tests to unit tests only. + + -- James Page Fri, 19 Dec 2014 17:16:33 +0000 + +nova (1:2014.2-0ubuntu1) utopic; urgency=medium + + [ Chuck Short ] + * New upstream release. + + [ James Page ] + * d/p/neutron-floating-ip-list.patch: Cherry pick proposed fix for + missing server uuids in floating-ip-list when using neutron networking + (LP: #1380965). + + -- Chuck Short Thu, 16 Oct 2014 13:44:25 -0400 + +nova (1:2014.2~rc2-0ubuntu1) utopic; urgency=medium + + [ Corey Bryant ] + * New upstream release candidate. + + -- Chuck Short Fri, 10 Oct 2014 13:42:33 -0400 + +nova (1:2014.2~rc1-0ubuntu2) utopic; urgency=medium + + * d/control: Drop websockify from BD's as its not ready for Ubuntu + main inclusion. + * d/p/disable-websockify-tests.patch: Skip websocketproxy tests + if import of websockify fails. + * d/watch: Limit matches to versions starting with numbers. + + -- James Page Wed, 08 Oct 2014 17:29:34 +0100 + +nova (1:2014.2~rc1-0ubuntu1) utopic; urgency=medium + + [ Chuck Short ] + * d/fix-requirements.patch: Dropped + * d/control: Add python-oslo.db as a dependency. + + [ James Page ] + * d/watch: Use tarballs.openstack.org for releases. + * New upstream release candidate: + - d/p/*: Refreshed. + - d/control: Aligned versioned dependencies with upstream. + - d/control: Add python-ironicclient, python-libvirt and + websockify to BD's. + * d/p/update-run-tests.sh: Let testr decide what test concurrency is + appropriate. + * d/control,rules: Drop python-nose BD, switch back to run_tests.sh wrapper + for unit test execution. + + -- James Page Wed, 01 Oct 2014 13:46:17 +0100 + +nova (1:2014.2~b3-0ubuntu1) utopic; urgency=medium + + * New upstream release. + * debian/nova-compute.install: Add nova-idmapshift and nova-serialproxy. + * debian/control: Add python-rfc3986 as a build dependency. + * debian/control: Add python-lockfile as a build dependency. + * debian/control: Add python-oslo.vmware as a build dependency + * debian/rules: Enable tests. + * debian/patches/debian/patches/arm-console-patch.patch: Refreshed + + -- Chuck Short Tue, 09 Sep 2014 09:32:37 -0400 + +nova (1:2014.2~b2-0ubuntu2) utopic; urgency=medium + + * debian/patches/fix-requirements.patch: Refreshed. + + -- Chuck Short Mon, 18 Aug 2014 11:13:13 -0400 + +nova (1:2014.2~b2-0ubuntu1) utopic; urgency=medium + + * New upstream version. + * debian/rules: Re-enabled tests. + * debian/patches/fix-requirements.patch: Refreshed. + * debian/control: Add python-hacking as a build dependency. + * debian/patches/skip-ipv6-tests.patch: Renamed to skip-ubunut-tests.patch + * debian/nova.conf: Cleaned up configuration file. + * debian/control: Add python-posix-ipc as a build dependency. + * debian/control: Add python-oslo.i18n as a build dependency. + + -- Chuck Short Fri, 25 Jul 2014 12:01:03 -0400 + +nova (1:2014.2~b1-0ubuntu3) utopic; urgency=medium + + * debian/tests/nova-daemon: Do not run nova-novncproxy. + + -- Chuck Short Fri, 27 Jun 2014 09:10:24 -0400 + +nova (1:2014.2~b1-0ubuntu2) utopic; urgency=medium + + * SECURITY UPDATE: specify /etc/nova/rootwrap.conf for use with + nova-rootwrap + - CVE-2013-1068 (LP: #1185019) + + -- Chuck Short Wed, 18 Jun 2014 11:17:52 -0400 + +nova (1:2014.2~b1-0ubuntu1) utopic; urgency=medium + + * New upstream release. + * debian/control: Open up juno. + * debian/patches/fix-requirements.patch: Refreshed. + * debian/nova-scheduler.install: Drop nova-clear-rabbit-queues. + * debian/control: Add python-oslotest as a build dependency. + * debian/rules: Temporarily disable tests since it doesnt build properly. + + -- Chuck Short Thu, 12 Jun 2014 12:56:12 -0400 + +nova (1:2014.1-0ubuntu1) trusty; urgency=medium + + [ Chuck Short ] + * debian/control: Add genisoimage as a dependency for nova-comute-vmware. + (LP: #1306484) + + [ Corey Bryant ] + * New upstream release (LP: #1299055). + + -- Chuck Short Fri, 02 May 2014 14:08:31 -0400 + +nova (1:2014.1~rc2-0ubuntu1) trusty; urgency=medium + + * New upstream release candidate (LP: #1299055) including fixes for: + - Require admin context for interfaces on external networks to prevent + non-admin users directly creating ports on external networks + (LP: #1284718). + + -- James Page Thu, 10 Apr 2014 10:59:37 +0100 + +nova (1:2014.1~rc1-0ubuntu1) trusty; urgency=medium + + [ Chuck Short ] + * debian/control: Use python-oslosphinx instead of python-oslo.sphinx. + * debian/patches/use-oslo.sphinx-namespace.patch: Dropped no longer needed + because of the python-oslo.sphinx rename. + * debian/patches/arm-console-patch.patch: Fix typo in patch to allow + booting ARM vm. + * debian/nova-common.install: Remove nova-rpc-zmq-receiver, it has been + removed upstream. + + [ Corey Bryant ] + * New upstream release. (LP: #1299055) + + -- Corey Bryant Mon, 31 Mar 2014 16:21:50 -0400 + +nova (1:2014.1~b3-0ubuntu2) trusty; urgency=medium + + * d/nova-common.postinst: Tidy detection of default sqlite to ensure + that db sync is only run against local databases (LP: #1290423). + + -- James Page Thu, 13 Mar 2014 11:00:23 +0000 + +nova (1:2014.1~b3-0ubuntu1) trusty; urgency=medium + + * New upstream release. + * debian/patches/fix-requirements.patch: Refreshed. + * debian/patches/fix-novnc-regression.patch: Dropped no longer needed. + * debian/patches/fix-docs-build-without-network.patch: Dropped no longer needed. + * debian/control: Add python-oslo.messaging as a build dependcy. + * debian/patches/sqlachemy-0.8.3-compat.patch: Dropped no longer needed. + * debian/patches/use-oslo.sphinx-namespace.patch: Use the oslo.sphinx name + space for documentation. + * debian/patches/arm-console-patch.patch: Add additonal tty for arm64. + * debian/patches/update-run-tests.patch: Display tests results while building + and set the concurrency to 1. + * debian/control: Add subunit as a build-dependency. + + -- Chuck Short Thu, 06 Mar 2014 12:02:41 -0500 + +nova (1:2014.1~b2-0ubuntu3) trusty; urgency=medium + + * debian/tests/nova-compute-daemons: Drop nova-compute-uml. + + -- Chuck Short Fri, 31 Jan 2014 14:40:23 -0500 + +nova (1:2014.1~b2-0ubuntu2) trusty; urgency=medium + + * debian/patches/fix-nova-api-fake-network.patch: Fixed nova-api-metadata + not starting. (LP: #1270845) + + -- Chuck Short Thu, 30 Jan 2014 14:06:29 -0500 + +nova (1:2014.1~b2-0ubuntu1) trusty; urgency=low + + [ Chuck Short ] + * New upstream release. + * debian/patches/fix-libvirt-regression.patch: Dropped. + * debian/patches/sqlachemy-0.8.3-compat.patch: Refreshed. + * debian/control: Add python-pycadf dependency. + * debian/patches/fix-requirements.patch: Refreshed. + + [ James Page ] + * d/nova-compute-*.conf: Update default hypervisor configurations + to use new libvirt section configuration. + * d/control: Bump version for stevedore to >= 0.12. + * d/p/*: Refreshed. + * d/control: Add new nova-compute-libvirt package to support libvirt + based hypervisors, rework dependencies for nova-compute{-*} to + align to this approach (LP: #928834). + * d/nova-compute.postinst: Renamed to nova-compute-libvirt.postinst + as its only appropriate for libvirt based hypervisors. + * d/control,nova-compute-vmware.*,rules: Add new nova-compute-vmware + hypervisor package. + * d/control: Add missing ebtables dependency for nova-network + (LP: #1161338). + * d/nova-compute.upstart: If libvirt-bin is installed, then wait + for it to reach running state before starting nova-compute + (LP: #907152, #1190280). + * d/nova-spiceproxy.logrotate: Manage the correct log file (LP: #1259332). + * d/control: Drop dependency on curl, no longer required. + * d/control,rules,nova-compute-uml.*: Drop nova-compute-uml package. + * d/nova-compute.postinst,nova-compute-libvirt.postinst: Move permissions + changes to compute rootwrap filters to nova-compute postinst. + * d/control: Add python-oslo.rootwrap to BD's. + + -- Chuck Short Thu, 23 Jan 2014 13:26:34 -0500 + +nova (1:2014.1~b1-0ubuntu2) trusty; urgency=low + + * d/nova-compute.postinst.in: rename to nova-compute.postinst + as libvirtd detection is no longer done in d/rules. + + -- James Page Wed, 11 Dec 2013 09:38:18 +0000 + +nova (1:2014.1~b1-0ubuntu1) trusty; urgency=low + + * New upstream release. + * debian/control: + - Open icehouse release. + - Bump the versioned dependencies of python-pbr, python-migrate, + and python-six. + - Add "X-Python-Version:" + * Dropped xcp support (LP: #1197386) (LP: #1199791): + - debian/patches/path-to-the-xenhost.conf-fixup.patch: Removed + - debian/control: Removed nova-compute-xcp, nova-xcp-plugins, + and nova-xcp-network. + * debian/patches/fix-boto-versioning.patch: Dropped no longer needed. + * debian/patches/native-lxc-hypervisor.patch: Dropped. + * Simplified debian/rules: + - Remove git vcs, its not being used by anyone, complain if you are. + - Removed libvirtd detection, no need for it so drop it. + - Simplify building required docs including mangpages. + - Add OSLO_VERSION to set correct distro version for package build. + * debian/patches/sqlachemy-0.8.3-compat.patch: Add support for + sqlachemy 0.8.3. + * debian/patches/avoid-failing-test.patch: Dropped. + * debian/patches/skip_ipv6_test.patch: Skip ipv6 test. + * debian/patches/fix-libvirt-regression.patch: Fix libvirt regression + while running the tests. + + -- Chuck Short Thu, 05 Dec 2013 11:25:41 -0500 + +nova (1:2013.2-0ubuntu1) saucy; urgency=low + + * New upstream release (LP: #1236462). + + -- Chuck Short Thu, 17 Oct 2013 11:27:05 -0400 + +nova (1:2013.2~rc2-0ubuntu1) saucy; urgency=low + + * New upstream release candidate (LP: #1239156): + - d/p/fix-boto-versioning.patch: Cherry picked fix from upstream gerrit for + test failures with boto < 2.13. + * d/control: Add epoch to versioned dependencies for python-oslo.config. + + -- James Page Sun, 13 Oct 2013 11:05:46 +0100 + +nova (1:2013.2~rc1-0ubuntu3) saucy; urgency=low + + * debian/patches/native-lxc-hypervisor.patch: Update + rootwrap.d/compute.filters to allow nova-network to start. + (LP: #1235373) + + -- Chuck Short Fri, 04 Oct 2013 13:18:17 -0400 + +nova (1:2013.2~rc1-0ubuntu2) saucy; urgency=low + + [ Chuck Short ] + * debian/patches/fix-novnc-regression.patch: Fix regression caused + by use of more recent version of websockify upstream (LP: #1235044). + + -- James Page Fri, 04 Oct 2013 11:13:34 +0100 + +nova (1:2013.2~rc1-0ubuntu1) saucy; urgency=low + + * New upstream release candidate. + * debian/control: + - Dropped python-setuptools-git, python-carrot, python-unittest2, + python-daemon, python-gflags, python-cheetah, python-glance, + python-lockfile, python-routes, python-xattr, python-novaclient, + python-pycurl, python-keystone, python-libxml2, python-pyparsing, + and python-d2to1. + - Suggest python-ldap for python-nova. + - Added python-mock, python-greenlet, python-keystoneclient, + python-anyjson, python-jsonschema, and python-six + - Bumped versioned dependencies for python-fixtures, python-testtools, and + testrepository, + python-stevedore, + - Added versioned depends for python-cinderclient, python-neutronclient, + python-boto, python-paramiko, python-amplib, python-eventlet, + python-glanceclient, python-oslo.config, python-paramiko, python-six + * debian/patches/fix-requirements.patch: Rediffed + * debian/patches/native-lxc-hypervisor.patch: Add native lxc support. + (LP: #1220701) + + -- Chuck Short Thu, 03 Oct 2013 09:42:52 -0400 + +nova (1:2013.2~b3-0ubuntu2) saucy; urgency=low + + * debian/tests: Removed tests for nova-compute-xen and nova-compute-xcp. + + -- Chuck Short Fri, 13 Sep 2013 10:12:52 -0400 + +nova (1:2013.2~b3-0ubuntu1) saucy; urgency=low + + * New usptream release. + * debian/patches/avoid_requirements_cheetah.patch: Dropped + * debian/patches/fix-sqlalchemy-0.7.9-usage.patch: Dropped + * debian/patches/fix-requirements.patch: Refreshed. + * debian/patches/path-to-the-xenhost.conf-fixup.patch: Refreshed + * debian/control: Add python-jinja2 + * debian/control: Dropped python-cheetah + + -- Chuck Short Mon, 09 Sep 2013 13:11:11 -0400 + +nova (1:2013.2~b2-0ubuntu2) saucy; urgency=low + + * debian/control: Fix python-sqlalchemy dependency. + + -- Chuck Short Fri, 19 Jul 2013 15:03:16 -0400 + +nova (1:2013.2~b2-0ubuntu1) saucy; urgency=low + + [ Adam Gandelman ] + * d/patches/requirements_drop_requests_vers_cap.patch: Remove + upper version limit on requests dependency, which was capped upstream + to fix centos-related gating issues. + * debian/control: + - Set version requirement python-kombu (>= 2.5.12). + - Set version requirement python-pyparsing (>= 1.5.6). + - Add websockify to nova-spiceproxy Depends. + - Add spice-html5 to nova-spiceproxy Depends (LP: #1197119) + * Add nova-xvpvncproxy upstart (LP: #1197163) + + [ James Page ] + * d/control: Update VCS fields for new branch locations. + + [ Chuck Short ] + * New upstream release. + * debian/patches/fix-requirements.patch: Combined several + patches into one. + * debian/control: Replace python-quantumclient with python-neutronclient. + * debian/patches/fix-sqlalchemy-0.7.9-usage.patch: Temporary patch to address a FTBFS + with sqlalchemy 0.7.9. + * debian/patches/avoid-failing-test.patch: Skip failing test on buildds. + + -- Chuck Short Fri, 19 Jul 2013 09:15:03 -0400 + +nova (1:2013.2~b1-0ubuntu3) saucy; urgency=low + + * Depend on python-oslo.config instead of python-oslo-config. + + -- Adam Conrad Sat, 06 Jul 2013 15:36:40 -0600 + +nova (1:2013.2~b1-0ubuntu2) saucy; urgency=low + + [Yolanda Robla] + * debian/tests: added autopkgtests + + [ Adam Gandelman ] + * debian/control: Set version requirements python-pbr (>= 0.5.11), + python-d2to1 (>= 0.2.10). + + -- Chuck Short Wed, 19 Jun 2013 13:00:11 -0500 + +nova (1:2013.2~b1-0ubuntu1) saucy; urgency=low + + [ Chuck Short ] + * New upstream version. + * debian/patches/avoid_setuptools_git_dependency.patch: Dropped + no longer needed. + * debian/control: Add python-pbr and python-d2to1 as build dependencies. + * debian/control: Drop pep8 dependency. + * debian/patches/fix-ubuntu-tests.patch: Dropped no longer needed. + + [ Adam Gandelman ] + * debian/patches/avoid_requirements_websockify.patch: Remove websockify + to avoid making it a dependency of every nova package. + * debian/patches/avoid_requirements_cheetah.patch: Temporarily remove + Cheetah until cheetah's dependencies have been MIR'd. + * debian/control: Add python-babel. + * debian/control: Set min. version 0.7.6 on python-netaddr dependency. + + -- Chuck Short Fri, 31 May 2013 07:44:38 -0500 + +nova (1:2013.1-0ubuntu2) raring; urgency=low + + * debian/nova-cells.upstart: Fix typo in upstart job. (LP: #1163218) + * debian/control: Add iptables dependency. (LP: #1172393) + + -- Chuck Short Wed, 24 Apr 2013 07:39:25 -0500 + +nova (1:2013.1-0ubuntu1) raring; urgency=low + + * New upstream release. + + -- Chuck Short Thu, 04 Apr 2013 10:42:21 -0500 + +nova (1:2013.1~rc2-0ubuntu1) raring; urgency=low + + [ James Page ] + * d/control: Promote novnc and websockify to Depends for + nova-novncproxy (LP: #1066845). + + [ Chuck Short ] + * New upstream release. + + -- Chuck Short Tue, 02 Apr 2013 08:44:39 -0500 + +nova (1:2013.1~rc1-0ubuntu1) raring; urgency=low + + [ Chuck Short ] + * New upstream release. + * debian/patches/avoid_setuptools_git_dependency.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. + - Add sqlite3 required for the testsuite. + + [ James Page ] + * d/watch: Update uversionmangle to deal with upstream versioning + changes, remove tarballs.openstack.org. + + -- Chuck Short Wed, 20 Mar 2013 12:59:22 -0500 + +nova (2013.1.g3-0ubuntu1) raring; urgency=low + + [ Chuck Short ] + * New usptream release. + * debian/patches/debian/patches/fix-ubuntu-tests.patch: Refreshed. + * debian/nova-baremetal.logrotate: Fix logfile path. + * debian/control, debian/nova-spiceproxy.{install, logrotate, upstart}: + Add spice html5 proxy support. + * debian/nova-novncproxy.upstart: Start on runlevel [2345] + * debian/rules: Call testr directly since run_tests.sh -N gives weird return + value when tests pass. + * debian/pyddist-overrides: Add websockify. + * 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. + * debian/control: Add python-oslo-config as a dependency. + * debian/control: Suggest sysfsutils, sg3-utils, multipath-tools for fibre + channel support. + + [ Adam Gandelman ] + * debian/control: Fix typo (websocikfy -> websockify). + + -- Chuck Short Fri, 22 Feb 2013 09:27:29 -0600 + +nova (2013.1~g2-0ubuntu3) raring; urgency=low + + * SECURITY UPDATE: fix lack of authentication on block device used for + os-volume_boot + - debian/patches/CVE-2013-0208.patch: adjust nova/compute/api.py to + validate we can access the volumes + - CVE-2013-0208 + + -- Jamie Strandboge Thu, 24 Jan 2013 08:23:44 -0600 + +nova (2013.1~g2-0ubuntu2) raring; urgency=low + + * Make nova-compute-kvm prefer qemu-system over kvm for the new qemu. + + -- Adam Conrad Sat, 19 Jan 2013 07:00:56 -0700 + +nova (2013.1~g2-0ubuntu1) raring; urgency=low + + [ Chuck Short ] + * New upstream release. + * debian/patches/ubuntu-show-tests.patch: Dropped no longer needed. + * debian/nova-xcp-plugins.install: Fix xcp-plugins empty packages + * debian/control: Drop python-nose in favor or testrepository + * debian/control: Add python-coverage as a build dep. + * debian/rules, debian/control: Run pep8 tests. + * debian/*.init: Remove they are not needed and take up space + * debian/control, debian/nova-cells.{install, logrotate, upstart}: Add + cells support. + * debian/patches/fix-ubuntu-tests.patch: temporarily disable failing tests. + * debian/control, debian/nova-baremetal.{install, logrotate, upstart}: Add + nova baremetal support. + * debian/control: Remove python-support. + + [ Adam Gandelman ] + * debian/*.manpages: Install Sphinx-generated manpages instead of + our own. + * debian/nova-compute-*.conf: Specify the newly required compute_driver + flag in addition to libvirt_type. + * debian/control: Specify required python-webob and python-stevedore + versions. + + [ Yolanda Robla ] + * debian/*.upstart: Use start-stop-daemon instead of su for chuid + (LP: #1086833). + * debian/rules: Remove override of dh_installinit for discriminating + between Debian and Ubuntu. + * debian/nova-common.docs: Installing changelogs from rules + * debian/rules: Replacing perms in /etc/nova/logging.conf for 0644 + * debian/control: adduser dependency on nova-compute. + * debian/control: added section oldlibs and priority extra on + nova-ajax-console-proxy. + * debian/nova-xvpvncproxy.postrm: removing because of duplicates. + + [ James Page ] + * d/control: Add ~ to python-sqlalchemy-ext versioned dependencies to + make backporting easier. + * d/control: Updated nova-volume description and depdendencies to + mark it as a transitional package, moved to oldlibs/extra. + * d/p/fix-libvirt-tests.patch: Dropped; accepted upstream. + * d/control: Added python-stevedore to BD's. + * d/*.postrm: Dropped postrm's that just run update-rc.d; this is not + required when deploying upstart configurations only. + * d/nova-scheduler.manpages: Add man page for nova-rpc-zmq-receiver. + * d/rules: Install upstream changelog with a policy compliant name. + * d/control: Mark nova-compute-xcp as virtual package. + * d/control: nova-api-os-volume; Depend on cinder-api and mark as + transitional package. + * d/nova-api-os-volume.lintian-overrides: Dropped - no longer required. + + -- Chuck Short Fri, 11 Jan 2013 13:06:56 -0600 + +nova (2013.1~g1-0ubuntu1) raring; urgency=low + + [ Adam Gandelman ] + * debian/control: Ensure novaclient is upgraded with nova, + require python-keystoneclient >= 1:2.9.0. (LP: #1073289) + * debian/patches/{ubuntu/*, rbd-security.patch}: Dropped, applied + upstream. + * debian/control: Add python-testtools to Build-Depends. + + [ Chuck Short ] + * New upstream version. + * Refreshed debian/patches/avoid_setuptools_git_dependency.patch. + * debian/rules: FTBFS if missing binaries. + * debian/nova-scheudler.install: Add missing rabbit-queues and + nova-rpc-zmq-receiver. + * Remove nova-volume since it doesnt exist anymore, transition to cinder-*. + * debian/rules: install apport hook in the right place. + * debian/patches/ubuntu-show-tests.patch: Display test failures. + * debian/control: Add depends on genisoimage + * debian/control: Suggest guestmount. + * debian/control: Suggest websockify. (LP: #1076442) + * debian/nova.conf: Disable nova-volume service. + * debian/control: Depend on xen-system-* rather than the hypervisor. + * debian/control, debian/mans/nova-conductor.8, debian/nova-conductor.init, + debian/nova-conductor.install, debian/nova-conductor.logrotate + debian/nova-conductor.manpages, debian/nova-conductor.postrm + debian/nova-conductor.upstart.in: Add nova-conductor service. + * debian/control: Add python-fixtures as a build deps. + + -- Chuck Short Fri, 23 Nov 2012 09:32:05 -0600 + +nova (2012.2-0ubuntu5) quantal; urgency=low + + [ Adam Gandelman ] + * Move management of /var/lib/nova/volumes from nova-common to + nova-volume. Ensure it has proper permissions. (LP: #1065320) + * debian/patches/avoid_setuptools_git_dependency.patch: Remove + setuptools_git from tools/pip-requires to avoid it being automatically + added to python-nova's runtime dependencies. (LP: #1059907) + + [ Chuck Short ] + * debian/patches/rbd-security.patch: Support override of ceph rbd + user and secret in nova-compute. (LP: #1065883) + * debian/patches/ubuntu/fix-libvirt-firewall-slowdown.patch: Fix + refreshing of security groups in libvirt not to block on RPC calls. + (LP: #1062314) + * debian/patches/ubuntu/fix-ec2-volume-id-mappings.patch: Read deleted + snapshot and volume id mappings. (LP: #1065785) + + -- Chuck Short Fri, 12 Oct 2012 12:35:01 -0500 + +nova (2012.2-0ubuntu4) quantal; urgency=low + + * debian/patches/ubuntu/ubuntu-fix-ec2-instance-id-mappings.patch: + Backport from trunk, Set read_deleted='yes' for instance_id_mappings. + (LP: #1061166) + + -- Chuck Short Tue, 09 Oct 2012 11:51:15 -0500 + +nova (2012.2-0ubuntu3) quantal; urgency=low + + * nova-xvpvncproxy, nova-novncproxy: Add missing .install, .logrotate, + .postrm, manpages and upstart jobs (LP: #1060336) + * debian/{rules, nova-volume.install}: Rename nova_tgt to nova_tgt.conf so + that it is actually loaded by tgt. (LP: #1060422) + + -- Adam Gandelman Tue, 02 Oct 2012 13:44:35 -0700 + +nova (2012.2-0ubuntu2) quantal; urgency=low + + * debian/patches/ubuntu-fix-32-64-bit-iss.patch: Backport + ba8cca2b59bb2904635520ad12f6d9a73f10242c, python's builtin + builtin hash returns different values on 32-bit and 64-bit architectures, + so it's safer to use a well-defined hash like MD5. This fixes a FTBFS + in Ubuntu's buildds. + + -- Chuck Short Fri, 28 Sep 2012 07:49:45 -0500 + +nova (2012.2-0ubuntu1) quantal; urgency=low + + [ Adam Gandelman ] + * debian/control: Depend on python-sqlalchemy >= 0.7.8-1. + + [ Chuck Short ] + * New upstream release. + * debian/control: Dont conflict with novnc. (LP: #1055505) + * debian/nova-volume.postinst, nova-common.dirs: Configure nova-volumes + to use tgtd properly. + + -- Chuck Short Thu, 27 Sep 2012 12:36:04 -0500 + +nova (2012.2~rc3-0ubuntu1) quantal; urgency=low + + * New upstream relase. + + -- Chuck Short Wed, 26 Sep 2012 12:56:25 -0500 + +nova (2012.2~rc2-0ubuntu1) quantal; urgency=low + + [ Adam Gandelman ] + * debian/control: Add python-cinderclient to python-nova Depends. + * wrap-and-sort. + + [ Chuck Short ] + * debian/nova-common.postinst: Change root_helper to rootwrap_config + when upgrading from precise + * debian/pydist-overrides: dont try to install babel. + * New upstream version. + * debian/rules: FTBFS if testsuite fails. + + -- Chuck Short Tue, 25 Sep 2012 10:54:59 -0500 + +nova (2012.2~rc1-0ubuntu1) quantal; urgency=low + + [ Adam Gandelman ] + * Ensure /etc/nova/rootwrap.d/ is only writable by root, ensure + those permissions on /etc/nova/rootwrap.conf as well as + all individual filter configurations. + + [ Chuck Short ] + * Fix lintian warnings + * debian/*.lograote: compress logfiles when they are rotated. (LP: + #1049915) + * debian/control: + - Suggest ceph-common for nova-volume. + - Add python-cinderclient as a build depends. + + [Vishvananda Ishaya] + * Split up vncproxy and xvpvncproxy. + + -- Chuck Short Thu, 20 Sep 2012 07:45:50 -0500 + +nova (2012.2~rc1~20120907.15996-0ubuntu1) quantal; urgency=low + + [ Chuck Short ] + * New upstream release. + * debian/nova-common.postinst: Drop nova_sudoers permission changing + since we do it in the debian/rules. (LP: #995285) + + [ Soren Hansen ] + * Update debian/watch to account for symbolically named tarballs and + use newer URL. + * Fix Launchpad URLs in debian/watch. + + -- Chuck Short Fri, 07 Sep 2012 17:49:53 -0500 + +nova (2012.2~rc1~20120827.15815-0ubuntu1) quantal; urgency=low + + [ Adam Gandelman ] + * New upstream release. + + [ Chuck Short ] + * debian/patches/0001-Update-tools-hacking-for-pep8-1.2-and- + beyond.patch: Dropped we dont run pep8 tests anymore. + * debian/control: Drop pep8 build depends + * debian/*.upstart.in: Make sure we transition correctly from runlevel + 1 to 2. (LP: #820694) + + -- Adam Gandelman Mon, 27 Aug 2012 15:37:18 -0700 + +nova (2012.2~f3-0ubuntu1) quantal; urgency=low + + [ Chuck Short ] + * New upstream version. + * debian/rules: Re-enable testsuite. + * debian/control: + - Add python-quantumclient as a build depends. + - Bump standards to 3.9.3 + - Fix lintian warnings. + - Recommend python-glanceclient and python-keystoneclient. + - Add dependency of iptables for nova-network. + * debian/watch: Update + * debian/rules: Do not run pep8 tests since upstream is still using an + older pep8. + * debian/patches/0001-Update-tools-hacking-for-pep8-1.2-and- + beyond.patch: Get the testsuite running again. + * debian/nova-volume.install, debian/nova_tgt: Add support for + persistent volumes. + + [ Adam Gandelman ] + * debian/{nova-api.install, nova-api-metadata.install}: Install + api-metadata.filters. (LP: #1002111) + * debian/control: Added python-glanceclient. + + -- Chuck Short Thu, 16 Aug 2012 14:04:11 -0500 + +nova (2012.2~f2-0ubuntu1) quantal; urgency=low + + [ Adam Gandelman ] + * Use new rootwrap configuration structure: + - debian/nova-{compute, network, volume}.{pyinstall, pyremove}: Dropped. + - debian/nova-common.dirs: Add /etc/nova/rootwrap.d/. + - debian/nova-common.install: Install /etc/nova/rootwrap.conf. + - debian/debian/nova.conf: Reference rootwrap.conf in calls to + nova-rootwrap. + - debian/nova-{compute, network, volume}.install: Install corresponding + filter in /etc/nova/rootwrap.d/ + * debian/rules: Install logging_sample.conf to /etc/nova/logging.conf + as part of nova-common. + * debian/pydist-overrides: Add setuptools-git. + * debian/control: Add python-setuptools-git as a Build-Depends. + * debian/rules: Do not remove nova.egg-info during auto_clean. Now that + upstream has moved to setuptools-git, doing so results in missing files + from built package. + + [ Chuck Short ] + * New upstream release. + + -- Chuck Short Fri, 06 Jul 2012 10:18:33 -0400 + +nova (2012.2~f2~20120531.14249-0ubuntu4) quantal; urgency=low + + * debian/rules: Temporarily disable test suite while blocking + tests are investigated. + * debian/patches/kombu_tests_timeout.patch: Dropped. + + -- Adam Gandelman Tue, 19 Jun 2012 17:10:26 -0700 + +nova (2012.2~f2~20120531.14249-0ubuntu3) quantal; urgency=low + + [ Adam Gandelman ] + * debian/patches/nova-manage_flagfile_location.patch: Dropped. + * debian/nova-common.postinst: Old format config will break nova-manage + if left in place. Move it away instead of copying before conversion. + * debian/nova.conf: Set booleans explicitly '=true', specify path to paste + config. + * debian/*.init, debian/*.upstart.in, debian/mans/*: Update to use + --config-file + flag instead of obsolete --flagfile. + * debian/nova-common.postinst: Also handle conversion of nova-compute.conf + to new .ini format. + + [ Paul Belanger ] + * Give nova group read permissions nova files / directories (LP: #989241) + * Add adm group to /var/log/nova (LP: #989242) + + -- Adam Gandelman Tue, 05 Jun 2012 10:39:42 -0700 + +nova (2012.2~f2~20120531.14249-0ubuntu2) quantal; urgency=low + + * Really fix quantal postinst. + + -- Chuck Short Fri, 01 Jun 2012 11:31:33 -0400 + +nova (2012.2~f2~20120531.14249-0ubuntu1) quantal; urgency=low + + * New upstream release. + * debian/nova-common.postinst: Fix typo when upgrading. (LP: #1005479) + * debian/nova-common.docs: Add ChangeLog + * debian/patches/nova-manage_flagfile_location.patch: Refreshed + * debian/patches/upstream: Removed + + -- Chuck Short Fri, 01 Jun 2012 11:07:00 -0400 + +nova (2012.2~f1-0ubuntu1) quantal; urgency=low + + * New upstream release. + * Prepare for quantal: + - Dropped debian/patches/upstream/0006-Use-project_id-in-ec2.cloud._format_image.patch + - Dropped debian/patches/upstream/0005-Populate-image-properties-with-project_id-again.patch + - Dropped debian/patches/upstream/0004-Fixed-bug-962840-added-a-test-case.patch + - Dropped debian/patches/upstream/0003-Allow-unprivileged-RADOS-users-to-access-rbd-volumes.patch + - Dropped debian/patches/upstream/0002-Stop-libvirt-test-from-deleting-instances-dir.patch + - Dropped debian/patches/upstream/0001-fix-bug-where-nova-ignores-glance-host-in-imageref.patch + - Dropped debian/patches/0001-fix-useexisting-deprecation-warnings.patch + * debian/control: Add python-keystone as a dependency. (LP: #907197) + * debian/patches/kombu_tests_timeout.patch: Refreshed. + * debian/nova.conf, debian/nova-common.postinst: Convert to new ini + file configuration + * debian/patches/nova-manage_flagfile_location.patch: Refreshed + + -- Chuck Short Thu, 24 May 2012 13:12:53 -0400 + +nova (2012.1-0ubuntu2) precise; urgency=low + + [ Adam Gandelman ] + * debian/rules: Properly create empty doc/build/man dir for builds that + skip doc building + * debian/control: Set 'Conflicts: nova-compute-hypervisor' for the various + nova-compute-$type packages. (LP: #975616) + * debian/control: Set 'Breaks: nova-api' for the various nova-api-$service + sub-packages. (LP: #966115) + + [ Chuck Short ] + * Resynchronize with stable/essex: + - b1d11b8 Use project_id in ec2.cloud._format_image() + - 6e988ed Fixes image publication using deprecated auth. (LP: #977765) + - 6e988ed Populate image properties with project_id again + - 3b14c74 Fixed bug 962840, added a test case. + - d4e96fe Allow unprivileged RADOS users to access rbd volumes. + - 4acfab6 Stop libvirt test from deleting instances dir + - 155c7b2 fix bug where nova ignores glance host in imageref + * debian/nova.conf: Enabled ec2_private_dns_show_ip so that juju can + connect to openstack instances. + * debian/patches/fix-docs-build-without-network.patch: Fix docs build + when there is no network access. + + -- Chuck Short Thu, 12 Apr 2012 14:14:29 -0400 + +nova (2012.1-0ubuntu1) precise; urgency=low + + * New upstream release. + + -- Chuck Short Thu, 05 Apr 2012 11:00:38 -0400 + +nova (2012.1~rc4-0ubuntu1) precise; urgency=low + + * New upstream release. + * debian/patches/nova-console-monitor.patch: Disabled. + * debian/nova.conf: Removed console-monitor option. + + -- Chuck Short Wed, 04 Apr 2012 16:55:52 -0400 + +nova (2012.1~rc3-0ubuntu1) precise; urgency=low + + * New Upstream release. + * debian/control: Conflict nova-vncproxy with novnc. + + -- Chuck Short Wed, 04 Apr 2012 09:25:14 -0400 + +nova (2012.1~rc2-0ubuntu1) precise; urgency=low + + [ Adam Gandelman ] + * debian/control: Remove unncessary nova-cert dependency from nova-api. + (LP: #965356) + * debian/nova-common.postinst: Clean up spacing, remove redundant chown, + set blanket 0700 nova.nova permissions on /etc/nova/ + * debian/nova-compute-{kvm, lxc, uml, xen}.postinst: Set proper permissions + on /etc/nova/nova-compute.conf (LP: #861459) + * debian/nova-common.postinst: Ensure default nova.sqlite database is not + world-readable. + * debian/{rules, nova-common.{install, postinst}}: Install api-paste.ini 0600 + with nova-common (in prepartion for proper nova-api-* package separation) + * debian/{nova-common.nova-manage.logrotate, + nova-network.nova-dhcpbridge.logrotate, rules}: Add lograte files, + override_dh_installlogrotate. (LP: #942646) + * Add manpage stubs for nova-api-ec2, nova-api-metadata, + nova-api-os-{volume, compute}, nova-rootwrap. Use sphinx built manpage + for nova-manage (nova-common.manpages) + * debian/nova-compute-{kvm, xen, uml, qemu}.postinst: Remove calls to + adduser since this is already handled from nova-compute.postsinst in a + vendor neutral way. Silences lintian errors regarding adduser dependency + + [ Chuck Short ] + * New upstream version. + * debian/patches/libvirt-use-console-pipe.patch: Dropped. + * debian/patches/nova-console-monitor.patch: Add console-monitor + option. + * debian/nova.conf: Enable use_console_monitor + * debian/patches/fix-ubuntu-tests.patch: Fix nova testsuite. + * debian/rules: fail package build if testsuite fails. + * debian/patches/validate_server_name_length.patch: Dropped no longer + needed. + * debian/patches/fix-docs-build-without-network.patch: Some docs need + a network connection in order to build. Disable fetching docs from + the internet. + * debian/patches/0001-fix-useexisting-deprecation-warnings.patch: + Remove deprecated warnings with sqlalchemy. + + [ Tyler Hicks ] + * SECURITY UPDATE: Denial of service via resource exhaustion in nova-api + (LP: #968411) + - debian/patches/validate_server_name_length.patch: Limit server names + to a maximum of 255 characters to prevent nova-api log files from + exhausting storage space. Based on upstream patch. + - CVE-2012-1585 + + -- Chuck Short Mon, 02 Apr 2012 11:17:33 -0400 + +nova (2012.1~rc1-0ubuntu2) precise; urgency=low + + * debian/control: Add Breaks/Replaces to nova-consoleauth, update + description, nova-console Recommends nova-consoleauth + * debian/nova-console.install: Remove nova-consoleauth + + -- Adam Gandelman Thu, 22 Mar 2012 11:31:35 -0700 + +nova (2012.1~rc1-0ubuntu1) precise; urgency=low + + [ Adam Gandelman ] + [Chuck Short] + * New upstream release. + * debian/patches/libvirt-use-console-pipe.patch: Refreshed + + [Adam Gandelman] + * debian/patches/libvirt-console.patch: Refresh + * debian/control: Split nova-consoleauth from nova-console into its own pkg + (LP: #959289) + * debian/nova-console.upstart.in: Specify shell + + -- Chuck Short Tue, 20 Mar 2012 11:06:11 -0400 + +nova (2012.1~rc1~20120316.13416-0ubuntu1) precise; urgency=low + + [Adam Gandelman] + * New upstream release. + * debian/patches/libvirt-conosle-patch: Refresh + * debian/control: Fix descriptions of nova-{doc, cert} (LP: #942541) + + [Paul Belanger] + * debian/control: python-nova depends on openssh-client (LP: #956177) + + -- Adam Gandelman Mon, 12 Mar 2012 12:09:45 -0700 + +nova (2012.1~rc1~20120309.13261-0ubuntu1) precise; urgency=low + + [ Chuck Short ] + * New upstream release. + * Refreshed libvirt-console-patch again. + + [ Adam Gandleman ] + * debian/patches/{ec2-fixes.patch, libvirt-console-pipe.patch}: Fix and + refresh. Add dep3 headers from original git commits. + * debian/patches/ec2-fixes.patch: Dropped. Merge upstream at 121537c3 + * debain/{rules, nova-docs.doc}: Docs now built in doc/build/. + * debian/patches/libvirt-use-console-pipe.patch: Update use of + instance['name'] instead of instance_name + + -- Chuck Short Fri, 09 Mar 2012 13:07:19 -0500 + +nova (2012.1~e4-0ubuntu1) precise; urgency=low + + [ Adam Gandleman ] + * debian/patches/libvirt-use-console-pipe.patch: Refreshed. + * debain/nova-volume.upstart.in: Ensure lock directory is created + (LP: #940780) + * debain/control: Fix nova-compute-$flavor Depends + * debian/control: Add python-iso8601 to python-nova Depends + + [ Chuck Short ] + * debian/rules: Fix FTBFS. + * Merge Ubuntu/Debian packaging: + - Thanks to Julien Danjou, Ghe Rivero, and Thomas Goirand + - debian/copyright: Update copyright file. + - debian/nova-api.init, debian/nova-compute.init, + debian/nova-network.init, debian/nova-objectstore, + debian/nova-scheduler, debian/nova-volume.init: + Synchronize init scripts. + - nova-common.install, debian/rules: Install policy.json + - debian/rules, debian/nova-xcp-network.install, + debian/nova-xcp-plugins.install, nova-xcp-plugins.postrm, + debian/nova-xcp-plugins.doc, debian/nova-xcp-plugins.postinst, + debian/README.xcp_and_openstack, debian/control, + debian/ubuntu_xen-openvswitch-nova.rules, + debian/patches/path-to-the-xenhost.conf-fixup.patch: + Add Xen XCP support. + - debian/control, + debian/nova-compute-{kvm,lxc,qemu,xen,uml}.postinst: Make + nova-compute a virtual package. + - Dropped ubuntu_ubuntu_control_vars: We dont use it + * New upstream release. + * Dropped python-babel, it will be handled by langpacks. + * debian/patches/ec2-fixes.patch: Backport turnk fix for ec2 + permissions. + * debian/patches/path-to-the-xenhost.conf-fixup.patch: Refreshed. + + -- Chuck Short Fri, 02 Mar 2012 11:18:35 -0500 + +nova (2012.1~e4~20120224.12913-0ubuntu1) precise; urgency=low + + [ Monty Taylor ] + * Move files from nova/locale to /usr/share/locale + + [ Chuck Short ] + * debian/rules: Fix FTBFS. + * debian/control: Add depends on python-babel. + * debian/control: Add depends on python-iso8601. + * debian/nova-api-os-volume.install: Fix FTBS. + * debian/patches/libvirt-use-console-pipe.patch: Refreshed and + Re-enabled. (LP: #879666) + * debian/control: Make sure we install nova-cert + + [ Joseph Heck ] + * debian/nova-console.install: Add nova-consoleauth. + * Add nova-api-ec2, nova-api-os-compute, and nova-api-os-volume. + + -- Chuck Short Fri, 24 Feb 2012 10:08:10 -0500 + +nova (2012.1~e4~20120217.12709-0ubuntu1) precise; urgency=low + + [ Dave Walker (Daviey) ] + * New upstream snapshot + * debian/patches/temp_fix_linux_net.patch: + - Dropped, applied upstream. LP: #929127 + * debian/patches/libvirt-use-console-pipe.patch: + - Rebased against latest trunk + + [ Chuck Short ] + * debian/nova.conf: Re-enable default iscsi_helper. + * debian/nova.conf: More fixups. + * debian/control: Dont depend and conflicts on nova-compute- + hypervisor. (LP: #923681) + * debian/patches/libvirt-us-console-pipe.patch: Refreshed. + * Temporarily disable console patch. (LP: #932787) + * New usptream version. + + -- Chuck Short Fri, 17 Feb 2012 11:02:12 -0500 + +nova (2012.1~e4~20120210.12574-0ubuntu1) precise; urgency=low + + [Chuck Short] + * New upstream release. + * debian/patches/nova-manage_flagfile_location.patch: + Refreshed patch. + * debian/patches/libvirt-use-console-pipe.patch: + Re-add from oneiric. + * Dropped debian/patches/packaged-ajaxterm-calls.patch. + * debian/control: + - Dropped recommends on ajaxterm for nova-compute + - Dropped nova-ajaxterm package. + + [Adam Gandleman] + * debian/patches/temp_fix_linux_net.patch: Temporary patch until LP: + 929127 is resolved. + + -- Chuck Short Fri, 10 Feb 2012 11:25:38 -0500 + +nova (2012.1~e4~20120208.12523-0ubuntu1) UNRELEASED; urgency=low + + [ Chuck Short ] + * debian/patches/fix-nova-rootwraper-env.patch: Dropped + no longer needed. + * debian/nova-compute-{kvm,xen,uml,lxc}.conf: Add the connection + type "--connection=libvirt" since libvirt is no longer the default. + + [ Adam Gandelman ] + * debian/nova.conf: Define connection_type=libvirt in common nova.conf + instead of nova-compute-*.conf until Bug #921294 is addressed. + + [ Vish Ishaya ] + * debian/mans/nova-cert.8, debian/nova-cert.init, debian/nova-cert.install, + debian/nova-cert.logrotate, debian/nova-cert.manpages, + debian/nova-cert.upstart.in, debian/control, debian/source_nova.py: + Add nova-cert. + + [ Soren Hansen ] + * Refresh flagfile location patch. + * Enable builds on versions of Ubuntu that do not have dh_python2. + * Remove ajaxterm patch (upstream performed a ajaxtermectomy) + * Replace ajax console proxy package with an empty, transitional + package. + * Add a nova-compute-qemu package. + + -- Soren Hansen Fri, 10 Feb 2012 17:41:50 +0100 + +nova (2012.1~e4~20120203.12454-0ubuntu1) precise; urgency=low + + [Chuck Short] + * New upstream version. + * debian/control: Replace m2crpto with python-crypto. + (LP: #917851) + * debian/*.upstart.in, debian/nova-common.postinst, + debian/nova_sudoers: Change default shell to /bin/false. + (LP: #890362) + + [Adam Gandleman] + * debian/nova-common.{install, postinst}: Install policy.json on all + Nova nodes (LP: #923817) + * debian/rules: Remove installation of policy.json (moved to nova-common), + point to the correct upstream git repository. + + -- Chuck Short Fri, 03 Feb 2012 09:03:12 -0500 + +nova (2012.1~e3-0ubuntu1) precise; urgency=low + + [Chuck short] + * New upstream release. + * debian/patches/fix-nova-rootwraper-env.patch: Dropped + no longer needed. + * debian/nova-compute-{kvm,xen,uml,lxc}.conf: Add the connection + type "--connection=libvirt" since libvirt is no longer the default. + + [Adam Gandelman] + * debian/nova.conf: Define connection_type=libvirt in common nova.conf + instead of nova-compute-*.conf until Bug #921294 is addressed. + + [Vish Ishaya] + * debian/mans/nova-cert.8, debian/nova-cert.init, debian/nova-cert.install, + debian/nova-cert.logrotate, debian/nova-cert.manpages, + debian/nova-cert.upstart.in, debian/control, debian/source_nova.py: + Add nova-cert. + + -- Chuck Short Thu, 26 Jan 2012 10:29:13 -0500 + +nova (2012.1~e3~20120120.12170-0ubuntu1) precise; urgency=low + + [Chuck Short] + * New upstream version. + * debian/nova-vncproxy.install, debian/nova-vncproxy.upstart.in: + nova-vncproxy becomes nova-xvpvncproxy. + * debian/nova.conf: Really use the nova rootwrapper. (LP: #918179) + * debian/nova_sudoers: Fix typo in rootwrap usage. + * debian/patches/kombu_tests_timeout.patch: Skip + "test_iterconsume_errors_will_reconnect" test. + + [Dan Prince] + * Add policy.json to packages. + + [Thierry Carrez] + * debian/*.pyinstall: Ship filter files in each node... (LP: #919105) + * debian/python-nova.pyremove: ...and no longer in python-nova (LP: #919105) + * debian/patches/fix-nova-rootwraper-env.patch: Fix temporary issue with + nova-rootwrap and nova-compute. + + -- Chuck Short Fri, 20 Jan 2012 11:54:15 -0500 + +nova (2012.1~e3~20120113.12049-0ubuntu1) precise; urgency=low + + [ Chuck Short ] + * New upstream version. + * debian/nova_sudoers, debian/nova-common.install, + Switch out to nova-rootwrap. (LP: #681774) + * Add "get-origsource-git" which allows developers to + generate a tarball from github, by doing: + fakeroot debian/rules get-orig-source-git + * debian/debian/nova-objectstore.logrotate: Dont determine + if we are running Debian or Ubuntu. (LP: #91379) + + [ Adam Gandleman ] + * Removed python-nova.postinst, let dh_python2 generate instead since + python-support is not a dependency. (LP: #907543) + + -- Chuck Short Fri, 13 Jan 2012 09:51:10 +0100 + +nova (2012.1~e2-0ubuntu4) precise; urgency=low + + * SECURITY UPDATE: fix tenant bypass by authenticated users via OpenStack + API (LP: #904072) + - CVE-2012-XXXX + + -- Jamie Strandboge Thu, 05 Jan 2012 08:58:46 -0600 + +nova (2012.1~e2-0ubuntu2) precise; urgency=low + + [ Chuck Short ] + * debian/nova.conf: Fix misconfiguration. + + [ Dan Prince ] + * debian/nova_sudoers: Fix typo + * Add policy.json to packages. + + -- Thierry Carrez (ttx) Thu, 22 Dec 2011 16:15:22 +0100 + +nova (2012.1~e2-0ubuntu1) precise; urgency=low + + * New usptream release. Fixes the following bugs: + (LP: #871278, #848643, #859679, #83199) + * debian/nova-console.install: Fix empty package. + * debian/patches, debian/pydist-overrides: Cleaner way + of disabling unwanted python-dependencies. + * debian/control: + - Suggest python-keystone. (LP: #901881) + - Update build dependencies. + * debian/nova.conf: Use virtio networking by default. + (LP: #904480) + * debian/fix-traversal-via-image-register.patch: Dropped + fixed upstream. + + -- Chuck Short Fri, 16 Dec 2011 13:03:55 -0500 + +nova (2012.1~e2~20111208.11721-0ubuntu3) precise; urgency=low + + * SECURITY UPDATE: fix directory traversal during image registration via + EC2 API and S3/RegisterImage + - fix-traversal-via-image-register.patch: adjust nova/image/s3.py to + use basename instead of absolute path + - CVE-2011-4596 + + -- Jamie Strandboge Tue, 13 Dec 2011 08:39:13 -0600 + +nova (2012.1~e2~20111208.11721-0ubuntu2) precise; urgency=low + + * Disable python-coverage as well. + + -- Chuck Short Mon, 12 Dec 2011 10:13:04 -0500 + +nova (2012.1~e2~20111208.11721-0ubuntu1) precise; urgency=low + + * New upstream release. + * debian/control: + + Add python-suds as a dependency. + * debian/patches: Temporarily disable python-nosexcover. + + -- Chuck Short Fri, 09 Dec 2011 14:24:07 -0500 + +nova (2012.1~e2~20111202.11641-0ubuntu2) precise; urgency=low + + * debian/nova.conf: Remove parameter to --force_dhcp_release + (LP: #891227) + + -- Adam Gandelman Fri, 02 Dec 2011 11:31:34 -0800 + +nova (2012.1~e2~20111202.11641-0ubuntu1) precise; urgency=low + + * New upstream release. + * debian/nova_sudoers: Clean up to remove unused programs + needed by root. (LP: #989583) + + -- Chuck Short Fri, 02 Dec 2011 10:56:30 -0500 + +nova (2012.1~e2~20111125.11566-0ubuntu1) precise; urgency=low + + * New upstream release. + * Refreshed debian/patches/packaged-ajaxterm-calls.patch. + + -- Chuck Short Fri, 25 Nov 2011 14:02:18 -0500 + +nova (2012.1~e2~20111116.11495-0ubuntu1) precise; urgency=low + + * New upstream version. + * Refreshed debian/patches/packaged-ajaxterm-calls.patch. + + -- Chuck Short Fri, 18 Nov 2011 09:40:58 -0500 + +nova (2012.1~e1-0ubuntu3) precise; urgency=low + + * debian/rules: Take the api-paste.ini from nova/etc. + + -- Chuck Short Thu, 17 Nov 2011 14:10:03 -0500 + +nova (2012.1~e1-0ubuntu2) precise; urgency=low + + * Revert debian/nova-manage_flagfile_location.patch: It + was causing more problems then it should have. (LP: #891229) + + -- Chuck Short Wed, 16 Nov 2011 21:12:34 -0500 + +nova (2012.1~e1-0ubuntu1) precise; urgency=low + + * New upstream release. + * debian/control: Dropped python-feedparser until MIR comes through. + * Synced with upstream bzr packaging. + + -- Chuck Short Fri, 11 Nov 2011 09:25:25 -0500 + +nova (2012.1~e1~20111020.11229-0ubuntu1) precise; urgency=low + + * New upstream release. + * Dropped patches, already applied upstream: + - debian/patches/backport-iscsitarget-choice.patch + - debian/patches/backport-libvirt-console-pipe.patch + - debian/patches/backport-lxc-container-console-fix.patch + - debian/patches/backport-recreate-gateway-using-dhcp.patch + - debian/patches/backport-snapshot-cleanup.patch + - debian/patches/block-migration-needs-copy-backingfile.patch + - debian/patches/fix-iscsi-target-path.patch + - debian/patches/fix-lp838581-removed-db_pool-complexities.patch + - debian/patches/fix-lp863305-images-permission.patch + - debian/patches/fqdn-in-local-hostname-of-ec2-metadata.patch + - debian/patches/use-netcat-instead-of-socat.patc + * debian/control: + - Add python-feedparser as a build dependency. + - Bump standards version to 3.9.2 + - Point to the essex branch. + * debian/patches/nova-manage_flagfile_location.patch: + Update patch to take in account of devstack (LP: #870405) + + -- Chuck Short Fri, 21 Oct 2011 14:37:26 -0400 + +nova (2012.1~e1~20110909.1546-0ubuntu0) UNRELEASED; urgency=low + + [ Dan Prince ] + * Fix dnsmasq line in nova_sudoers. + * Update ajaxterm patch to work with latest nova code. + + [ Monty Taylor ] + * Added python-feedparser to build-deps. + * Added branching logic to allow for building on lucid. + * Indicate depend on pastedeploy 1.5.0, since it's required. + + [ Tushar Patil ] + * Added iputils-arping to Depends and arping to sudoers + + [Chuck Short] + * Merged ubuntu packaging changes: + - debian/control: Drop socat in favor of netcat. + - debian/nova-compute.upstart.in, debian/nova.conf: + Move reference of nova-compute.conf from nova.conf to + nova-compute's argv. + - debian/nova-common.postinst: Create 'nova' group, add user to it. + - debian/nova-common.postinst: Restrict permissions of /var/log/nova + * Updated debian/patches/packaged-ajaxterm-calls.patch to fix FTBFS. + * Updated debian/patches/nova-manage_flagfile_location.patch + * debian/nova-api.install, debian/rules: Use etc/nova/api-paste.ini. + * debian/nova_sudoers: Clean up sudoers. + * debian/control: Add dependencies. + + [ Mark Washenberger ] + * Add support for nova-console package. + + -- Monty Taylor Fri, 30 Sep 2011 09:33:16 -0700 + +nova (2011.3-0ubuntu6.1) oneiric-proposed; urgency=low + + [Scott Moser] + * Removed db_pool complexities from nova.db.sqlalchemy.session (LP: #838581) + + [Chuck Short] + * debian/patches/fix-iscsi-target-path.patch: Fix ISCSI target path patch. + (LP: #871278) + * debian/control: Either install xen-hypervisor-4.1-amd64 or + xen-hypervisor-4.1-i386 for nova-compute-xen. (LP: #873243) + + -- Chuck Short Wed, 12 Oct 2011 14:33:25 -0400 + +nova (2011.3-0ubuntu6) oneiric; urgency=low + + * debian/patches/backport-libvirt-console-pipe.patch: + - Patch updated to fix race on instance termination (LP: #868349) + + -- Robie Basak Wed, 05 Oct 2011 17:37:49 +0100 + +nova (2011.3-0ubuntu5) oneiric; urgency=low + + * debian/nova-common.postinst: + - Set permissions recursively on /var/lib/nova to nova:nova for new + installations (LP: #865169). + * debian/patches/backport-libvirt-console-pipe.patch: + - Patch updated to use correct patchset from upstream - incorrect version + was uploaded in -0ubuntu4 (LP: #832507). + + -- James Page Tue, 04 Oct 2011 09:43:55 +0100 + +nova (2011.3-0ubuntu4) oneiric; urgency=low + + [James Page] + * debian/nova-common.postinst: + - Exclude mounted LXC rootfs filesystems within /var/lib/nova from + user/group ownership changes (LP: #861260). + - Ensure that primary group for 'nova' user is 'nova' so that files + created by this user have the correct group ownership. + + [Adam Gandelman] + * debian/nova-common.postinst: Restrict permissions of /var/log/nova + (LP: #862816) + + [Ante Karamatic] + * Add /usr/sbin/ietadm to sudoers (LP: #861547) + * debian/control: Fix typo in Vcs-Bzr + + [Chuck Short] + * debian/patches/backport-libvirt-console-pipe.patch: + Move console.log to a ringbuffer so that the console.log + keeps filling up. (LP: #832507) + * debian/patches/backport-lxc-container-console-fix.patch: + Make euca-get-console-output usable for LXC containers. + (LP: #832159) + * debian/patches/backport-snapshot-cleanup.patch: + Enforce snapshot cleanup. (LP: #861582). + * debian/patches/fix-lp863305-images-permission.patch: + Fix image access control. (LP: #863305) + + -- Chuck Short Fri, 30 Sep 2011 15:21:56 -0400 + +nova (2011.3-0ubuntu3) oneiric; urgency=low + + [Adam Gandelman] + * debian/nova-common.postinst: Create 'nova' group, add user to it + (LP: #856530) + * debian/nova.conf, debian/nova-compute.upstart.in: Move reference of + nova-compute.conf from nova.conf to nova-compute's argv. (LP: #839796) + + [Chuck Short] + * debian/patches/backport-recreate-gateway-using-dhcp.patch: + Makes sure to recreate gateway for moved ip. (LP: #859587) + * debian/control: Update Vcs info. + + [ Scott Moser ] + * debian/patches/fqdn-in-local-hostname-of-ec2-metadata.patch + Make the 'local-hostname' in the EC2 Metadata service contain + the domainname also. (LP: #854614) + + -- Chuck Short Tue, 27 Sep 2011 14:56:59 -0400 + +nova (2011.3-0ubuntu2) oneiric; urgency=low + + [Chuck Short] + * debian/rules, debian/control: Use dh_python2 + * debian/control, debian/series, + debian/patches/backport-iscsitarget-choice.patch, + debian/nova_sudoers: + + Change the default from iscsitarget to tgt. + * debian/control, debian/series, + debian/patches/use-netcat-instead-of-socat.patch, + debian/nova_sudoers: + + Change from socat to netcat. + * debian/patches/block-migration-needs-copy-backingfile.patch: + Fix block migration by needing to copy backing_file. + + [Monty Taylor] + * Install a new paste config to enable deprecated auth., + + -- Chuck Short Fri, 23 Sep 2011 13:34:51 -0400 + +nova (2011.3-0ubuntu1) oneiric; urgency=low + + [Chuck Short] + * New upstream release. + * debian/control, debian/nova_sudoers: + + Add iputils-arping and add /usr/bin/apring. + * debian/nova_sudoers: Clean up missing binaries. + + [Monty Taylor] + * debian/control: + + Add vlan to nova-compute + + -- Chuck Short Thu, 22 Sep 2011 09:33:49 -0400 + +nova (2011.3~rc~20110920.r1192-0ubuntu2) oneiric; urgency=low + + * debian/nova_sudoers: + + Fix typo in nova_sudoers. + + Tabs vs Spaces. + * debian/nova.conf: + + Use force_dhcp_release. + + -- Chuck Short Tue, 20 Sep 2011 15:44:39 -0400 + +nova (2011.3~rc~20110920.r1192-0ubuntu1) oneiric; urgency=low + + [Chuck Short] + * New Upstream release. + + [ Monty Taylor ] + * Add branching logic for building on lucid. + + [Vish Ishaya] + * Add dnsmas-utils to nova-network dependencies + * Add dhcp_release to sudoers. + + -- Chuck Short Tue, 20 Sep 2011 10:02:04 -0400 + +nova (2011.3~rc~20110916.r1173-0ubuntu1) oneiric; urgency=low + + [ Chuck Short ] + * New uptream version. + * debian/rules: Dont fail tests. + + [ Monty Taylor ] + * Add branching logic for building on lucid. + * Add vlan as a depend for nova-compute. + + -- Monty Taylor Wed, 21 Sep 2011 17:49:43 -0400 + +nova (2011.3~rc~20110909.r1155-0ubuntu1) oneiric; urgency=low + + * New upstream version. + + -- Chuck Short Fri, 09 Sep 2011 15:09:02 -0400 + +nova (2011.3~rc~20110901.1523-0ubuntu1) oneiric; urgency=low + + [ Chuck Short ] + * Really remove python-ipy. + * New upstream release. + * Use "--use_deprecated_auth" by default because we dont support + kestone yet. (LP: #838768) + + [ James E. Blair ] + * Add python-unittest2 as a build dep. + + [ Dave Walker (Daviey) ] + * debian/control: Added python-kombu as a build and run depends. + - LP: #798876 + + [ Scott Moser ] + * add dependency on qemu-kvm to nova-compute (LP: #833530) + + -- Chuck Short Fri, 02 Sep 2011 13:21:22 -0400 + +nova (2011.3~d4-0ubuntu1) oneiric; urgency=low + + [Chuck Short] + * New upstream release. + + [Thierry Carrez] + * No longer run nova-objectstore as root (LP: #820968) + + -- Chuck Short Fri, 26 Aug 2011 13:31:14 -0400 + +nova (2011.3~d4~20110812.1417-0ubuntu1) oneiric; urgency=low + + [Chuck Short] + * New upstream version + * Dont respawn the upstart jobs if nova is failing. + * Remove python-ipy. + + [ Dan Prince ] + * Updated the ajaxterm patch to work with latest nova code (privsep) + * Added python-lxml to python-nova build-deps. + + [ Thomas Goirand ] + * Add copyright info for ipv6 class for boto. + + [ Soren Hansen ] + * Add parted to sudoers file. + * Add Depends: python-simplejson and Conflicts: python-cjson due to + bug #800465 which caused the test suite to fail. + * Remove nova-instancemonitor package (dropped upstream). + * Remove twisted dependency (dropped upstream). + * Create nova-compute-{kvm,lxc,uml,xen} packages that pull in the + right packages and configures nova to use the hypervisor in + question. + + [ Thierry Carrez (ttx) ] + * Added python-xattr to build deps, apprently this is now needed + * Removed python-xattr from build deps, now that python-glance properly + depends on it + * Added radvd to nova_sudoers file (LP: #758072) + * Make nova.conf non-world-readable, as it may contain DB passwords + (LP: #798878) + + [ Brian Waldon ] + * Remove nova-instancemonitor man page stub. + * Remove nova-instancemonitor from apport hook. + + [ Monty Taylor ] + * Added python-lxml to build-deps. + + [ Scott Moser ] + * use trailing '/' on all usages of chown to support the case where + the directory is a symlink + + -- Chuck Short Fri, 12 Aug 2011 03:12:38 -0400 + +nova (2011.3~d1-0ubuntu1) oneiric; urgency=low + + [Chuck Short] + * New upstream version. + + [Soren Hansen] + * libvirt plugin was refactored. Adjust ajaxterm patch accordingly. + * Add /sbin/brctl to sudoers (it moved from /usr/sbin to /sbin in + Oneiric). + * Add dependencies on dnsmasq-base and bridge-utils to nova-network. + (LP: #790661) + + -- Chuck Short Thu, 02 Jun 2011 09:30:39 -0400 + +nova (2011.3~bzr1108-0ubuntu1) oneiric; urgency=low + + [ Thomas Goirand ] + * Removes embedded jquery.js from nova-doc package. + * Added some manpages stubs to make package lintian clean. + * Adds a nova-volume.default where the admin can decide what VG to use. + * debian/nova-objectstore.logrotate working in Debian. + * Do not have debian/*.upstart files in Debian. Using debian/*.upstart.in + and copying them as .upstart only if building in Ubuntu. + * Nova init files reviewed so that they are working in Debian. + * Initscripts of nova-compute now has a Should-Start: libvirt-bin + * nova-compute.postinst working with libvirt group in Debian. + * Reviewed the package descriptions. + * Reviewed some dependencies in debian/control (added some adduser and + lsb-base depends). + * Added missing binary Depends: (nova-manage must depends on + python-amqplib unless failing puiparts tests, nova-compute is pretty + usless without qemu-utils) + * Removes .gitignore files from binaries. + * Don't package nova-manage.1 man page if we aren't building docs. + * Packages correctly: nova-manage.1 and not novamanage.1 !!! + + [ Soren Hansen ] + * Bump required version of libvirt-bin on Ubuntu to 0.8.8. + * Drop the last of the AOE dependencies. iSCSI is the default + nowadays. + * Make the decision about the name of the libvirt group at build time + rather than runtime. (LP: #781716) + + [ Vishvananda Ishaya ] + * Add dd to the sudo cmd list. + * Add a nova-vncproxy package. + + -- Soren Hansen Wed, 25 May 2011 15:57:03 +0200 + +nova (2011.2-0ubuntu1) natty; urgency=low + + * New upstream release. + + -- Chuck Short Fri, 15 Apr 2011 07:14:43 -0400 + +nova (2011.2~gamma1-0ubuntu1) natty; urgency=low + + [Chuck Short] + * New upstream release. + * debian/nova-doc.docs: Adjust directory to the right docs path. + + [Soren Hansen] + * Refresh nova-manage-flags patch. + * Adjust call to ajaxterm to work with the packaged ajaxterm instead + of the one we ship in the tarball. + * Remove all traces of the adminclient package. It moved to its own + tarball. There are no known consumers, so this should not be a + problem. + * Remove build-dependency on python-suds again. + * setup.py now takes care of installing the CA code, so yank those + bits from debian/nova-common.install. + * setup.py now places api-paste.ini correctly, so stop working around + it. + + -- Chuck Short Fri, 08 Apr 2011 10:49:10 -0400 + +nova (2011.2~bzr925-0ubuntu1) natty; urgency=low + + [Chuck Short] + * New upstream release. + + [Soren Hansen] + * Make the build fail if the test suite does. The test that used to + fail on the buildd's has been complete rewritten. (LP: #712481) + * Specify that we need Sphinx > 1.0 to build. + * Remove refresh_bzr_branches target from debian/rules. It is not used + anymore. + * Clean up after doc builds on debian/rules clean. + * Add a nova-ajax-console-proxy package. + * Add Recommends: ajaxterm to nova-compute, so that nova-ajax-console- + proxy will have something to connect to. + * Stop depending on aoetools. iscsi is the default nowadays (and has + been for a while). + * Move dependency on open-iscsi from nova-volume to nova-compute. + They're client tools, so that's where they belong. + * Add a build-depends on python-suds. + * Add logrote config for nova-ajax-console-proxy. + * Add upstart job for nova-ajax-console-proxy. + + -- Chuck Short Thu, 31 Mar 2011 11:25:10 -0400 + +nova (2011.2~bzr828-0ubuntu1) natty; urgency=low + + * New upstream version. + * debian/control: Add python-lockfile as a build dependency. + + -- Chuck Short Fri, 18 Mar 2011 09:28:17 -0400 + +nova (2011.2~bzr786-0ubuntu1) natty; urgency=low + + [Chuck Short] + * New upstream version. + + [ Thierry Carrez (ttx) ] + * nova-api.conf was renamed api-paste.ini (LP: #705453) + + [ Soren Hansen ] + * Start on filesystem event rather than local-filesystems. + * Weed out a *lot* of out-dated information from debian/control. + * Create /var/lock/nova in upstart jobs and set lock_path in the + flagfile. + * Add dependency on python-novaclient. + + -- Chuck Short Fri, 11 Mar 2011 09:41:45 -0500 + +nova (2011.2~bzr760-0ubuntu1) natty; urgency=low + + [Chuck Short] + * New upstream version. + * Fix up typos in debian/control. (LP: #721414) + + [ Thierry Carrez (ttx) ] + * Add python-distutils-extra as build-dep (for i18n) + * Ship .mo files in /usr/share/locale + * Add lvdisplay to nova_sudoers, clean up dupe entries + + [ Soren Hansen ] + * Always run "nova-manage db sync" from postinst, unless an explicit + sql_connection has been set in nova.conf. (LP: #705758) + + -- Chuck Short Fri, 04 Mar 2011 10:19:52 -0500 + +nova (2011.2~bzr700-0ubuntu1) natty; urgency=low + + [ Chuck Short ] + * New upstream version. + + [ Soren Hansen ] + * Rely on --logdir to find and use the correct logfile. + * Remove the postrotate magic for all but nova-objectstore. It is not + needed anymore due to using RotatingFileHandler for logging. + + [ Thierry Carrez ] + * Ship adminclient in a separate package. + + -- Chuck Short Fri, 18 Feb 2011 09:36:22 -0500 + +nova (2011.2~bzr663-0ubuntu1) natty; urgency=low + + [ Chuck Short ] + * New upstream verison. + * Add python-paramiko to debian/control. + + [Soren Hansen] + * Honour nocheck and nodocs in DEB_BUILD_OPTIONS. + * Add /sbin/route to sudoers file. + + -- Chuck Short Fri, 11 Feb 2011 10:27:54 -0500 + +nova (2011.1-0ubuntu2) natty; urgency=low + + * Dont fail unittest because of buildd problems. + + -- Chuck Short Thu, 03 Feb 2011 07:26:54 -0500 + +nova (2011.1-0ubuntu1) natty; urgency=low + + * New upstream release. + * Add recommends to python-mysqldb (LP: #708511) + * Add dependency of iscsitarget to nova-volume and a sugestion to use + sheepdog (LP: #708141) + * Suggest radvd for those who want to try ipv6. + + -- Chuck Short Thu, 03 Feb 2011 07:00:52 -0500 + +nova (2011.1~bzr638-0ubuntu1) natty; urgency=low + + * New upstream snapshot. + + -- Chuck Short Fri, 28 Jan 2011 13:41:00 -0500 + +nova (2011.1~bzr597-0ubuntu1) natty; urgency=low + + [ Chuck Short ] + * New upstream snapshot. + * Add socat, iscsiadm, and vgs to nova_sudoers. + * Add aoetools, open-iscsi to dependencies for nova-volume. + * Add socat to dependencies for nova-network. + * Add python-paste and python-pastedeploy as build dependency. + * Add python-tempita and python-migrate as build dependency. + + [ Soren Hansen ] + * Add dependency on sudo. + * Add upstart jobs for everything. + * Adjust test run for nosetests newness. + * Quiet nova-compute's postinst script. + * Change the dependency on sqlalchemy to ensure the C extension gets + installed for versions of the package where that was split out. + * Don't chgrp anything to the 'nogroup' group. The whole idea of the + nogroup group is that it doesn't own anything, so only being a + member of that shouldn't grant you access to anything. Making dirs + and files owned by nogroup messes this up. + * Update nova-manage patch. + * Add iptables-{restore,save} to sudoers file. + * Create a logrotate config for each daemon. Make them restart the + service after rotation. + * Drop python-redis dependency. + * Change python compatibility from "2.6" to "2.6-" + * Add launchpad page to watch file. + * Set Python-Version control fields for python-nova. + * Add ip6tables-{save,restore} to sudoers file. (LP: #704458) + * Add python-glance dependency. + * Include paste config for nova-api. + * Initialise database on initial install. + + [ Rick Clark ] + * Add dependency on python-cheetah + * Added iscsi target admin tool to sudoers file. + * Specified log for nova-objectstore. + * Set verbose logging in nova.conf. + + [ Monty Taylor ] + * Add dependency on python-netaddr + + [ Thierry Carrez (ttx) ] + * Added qemu-nbd to nova_sudoers + * Added modprobe nbd to nova-compute upstart script + + -- Thierry Carrez (ttx) Mon, 24 Jan 2011 14:32:19 +0100 + +nova (2011.1~bzr456-0ubuntu1) natty; urgency=low + + [ Chuck Short ] + * New upstream snapshot. + * debian/source_nova.py: + Add apport hook. + + [ Soren Hansen ] + * Removed logdir.patch. Merged upstream. + * Drop flagfile_location.patch: Merged upstream. + * Use new --state_path flag and weed out the many direct references to + /var/lib/nova. + * Leave it to upstream's 'setup.py install' to install templates. + Remove explicit paths from nova.conf. + + -- Chuck Short Mon, 13 Dec 2010 10:17:01 -0500 + +nova (2011.1~bzr412-0ubuntu1) natty; urgency=low + + [ Soren Hansen ] + * New upstream snapshot. + * Added the new tarballs page to debian/watch. + * Clean out patch-branches (everything is upstream now). + * Remove redis-server as a build-depends and don't start it for tests + anymore. + * Add missing dependency on python-webob. + * Force a python-support run (so avoid deferring it until dpkg + triggers run). (LP: #660428) + * Remove build and runtime dependencies on python-tornado. It's not + needed anymore. + * logdir.patch: Add a --logdir option to workers so that they can all + use the same flagfile. (lp:~soren/nova/logdir-flag) + * Consolidate all the flagfiles into one. + * flagfile_location.patch: Patch from upstream to ensure all workers + have a consistent way of finding their flagfile. + (lp:~soren/nova/unify-default-flagfile-location) + * nova-manage_flagfile_location.patch: Make sure nova-manage uses + /etc/nova/nova.conf by default. + * Add build and runtime dependency on openssl. It used to be pulled in + by python-tornado, but is actually used directly by nova. + + [ Chuck Short ] + * debian/control: + - Add dependency to python-rrdtool so that nova-instancemonitor + doesnt complain about missing python modules when starting. + * debian/nova-common.install: Add missing templates. + * debian/nova-*.conf: Update flagfiles to handle upstream changes. + * Dropped start-redis since we dont do redis anymore. + + -- Soren Hansen Tue, 23 Nov 2010 11:17:09 +0100 + +nova (0.9.1~bzr331-0ubuntu2) maverick; urgency=low + + * Add a minimal patch to ensure a string gets returned as an + instance's internal ID. (LP: #657053) + + -- Soren Hansen Fri, 08 Oct 2010 23:16:58 +0200 + +nova (0.9.1~bzr331-0ubuntu1) maverick; urgency=low + + [ Soren Hansen ] + * New upstream snapshot (FFe ref: LP #645936) + * Add SQLAlchemy dependency. + * Specify that we want sqlite and we want it in + /var/lib/nova/nova.sqlite. + * Move "adduser nova libvirtd" to nova-compute.postinst. + * Add python-eventlet and python-routes dependencies. + * Make /bin/true our error handler for init scripts. + * Install nova-api-new as nova-api. + * Add nova-scheduler package. + * Add /bin/kill to sudoers. + * Make sure nova_sudoers has the correct mode, otherwise sudo gets + very upset. + * Add ebtables and gawk dependencies for nwfilter stuff to work. + + [ Chuck Short ] + * Add dependency on lvm2 for nova-volume. + * Add lvm commands to sudoers list. + + -- Soren Hansen Tue, 21 Sep 2010 16:36:37 +0200 + +nova (0.9.1~bzr265-0ubuntu1) maverick; urgency=low + + * New upstream snapshot (FFe: LP: #628027) + * Install uml libvirt xml file. + * Add adduser as a dependency of nova-common so that we can create a + nova user. + * Create a nova user on install. + * Create a separate tmpdir for nova, so that we can limit calls to + chmod/chown to dirs and files in that directory. + * Add nova-network package. + * Add a sudoers file for nova, so that we don't have to run as root + anymore. + * Fix all init scripts to run their respective daemons as nova. + * Update nova-compute flag file to account for moved libvirt + templates. + * Make all init scripts create /var/run/nova. + * Move all pidfiles into /var/run/nova. + * Make all daemons create a log file in /var/log/nova. + * Respect DEB_BUILD_OPTIONS=nocheck. + * Add a logrotate config file. + + -- Soren Hansen Tue, 07 Sep 2010 13:12:10 +0200 + +nova (0.9.1~bzr204-0ubuntu2) maverick; urgency=low + + * Make sure debian/start-redis is executable. + + -- Soren Hansen Sat, 07 Aug 2010 11:38:30 +0200 + +nova (0.9.1~bzr204-0ubuntu1) maverick; urgency=low + + * First OpenStack release. + + -- Soren Hansen Wed, 04 Aug 2010 13:27:50 +0200 + diff --git a/openstack/debian/openstack-nova/liberty/debian/compat b/openstack/debian/openstack-nova/liberty/debian/compat new file mode 100644 index 000000000..ec635144f --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/compat @@ -0,0 +1 @@ +9 diff --git a/openstack/debian/openstack-nova/liberty/debian/control b/openstack/debian/openstack-nova/liberty/debian/control new file mode 100644 index 000000000..9a774dcf3 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/control @@ -0,0 +1,836 @@ +Source: nova +Section: net +Priority: extra +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Openstack Maintainers +Uploaders: Soren Hansen , + Thomas Goirand , +Build-Depends: debhelper (>= 9), + dh-python, + dh-systemd, + openstack-pkg-tools (>= 23~), + python-all, + python-pbr (>= 1.8), + python-setuptools (>= 16.0), + python-sphinx, +Build-Depends-Indep: alembic (>= 0.8.0), + bandit, + openssh-client, + python-babel (>= 1.3), + python-barbicanclient (>= 3.3.0), + python-boto (>= 2.32.1), + python-cinderclient (>= 1:1.3.1), + python-coverage (>= 3.6), + python-cryptography (>= 1.0), + python-decorator (>= 3.4.0), + python-eventlet (>= 0.17.4), + python-fixtures (>= 1.3.1), + python-glanceclient (>= 1:0.18.0), + python-greenlet (>= 0.3.2), + python-hacking, + python-ironicclient (>= 0.8.0), + python-iso8601 (>= 0.1.9), + python-jinja2 (>= 2.6), + python-jsonschema (>= 2.0.0), + python-keystoneclient (>= 1:1.6.0), + python-keystonemiddleware (>= 2.0.0), + python-lxml (>= 2.3), + python-migrate (>= 0.9.6), + python-mock (>= 1.2), + python-mox3 (>= 0.7.0), + python-netaddr (>= 0.7.12), + python-netifaces (>= 0.10.4), + python-neutronclient (>= 2.6.0), + python-os-brick (>= 0.4.0), + python-oslo.concurrency (>= 2.3.0), + python-oslo.config (>= 1:2.3.0), + python-oslo.context (>= 0.2.0), + python-oslo.db (>= 2.4.1), + python-oslo.i18n (>= 1.5.0), + python-oslo.log (>= 1.8.0), + python-oslo.messaging (>= 1.16.0), + python-oslo.middleware (>= 2.8.0), + python-oslo.reports (>= 0.1.0), + python-oslo.rootwrap (>= 2.0.0), + python-oslo.serialization (>= 1.4.0), + python-oslo.service (>= 0.7.0), + python-oslo.utils (>= 2.0.0), + python-oslo.versionedobjects (>= 0.9.0), + python-oslo.vmware (>= 1.16.0), + python-oslosphinx (>= 2.5.0), + python-oslotest (>= 1.10.0), + python-paramiko (>= 1.13.0), + python-paste, + python-pastedeploy (>= 1.5.0), + python-prettytable (>= 0.7), + python-psutil (>= 1.1.1), + python-psycopg2 (>= 2.5), + python-pymysql, + python-requests (>= 2.5.2), + python-requests-mock (>= 0.6.0), + python-rfc3986 (>= 0.2.0), + python-routes (>= 1.12.3), + python-six (>= 1.9.0), + python-sqlalchemy (>= 0.9.9), + python-stevedore (>= 1.5.0), + python-tempest-lib (>= 0.8.0), + python-testresources (>= 0.2.4), + python-testtools (>= 1.4.0), + python-webob (>= 1.2.3), + subunit (>= 0.0.18), + testrepository (>= 0.0.18), +Build-Conflicts: python-cjson, +Standards-Version: 3.9.6 +Homepage: http://launchpad.net/nova +Vcs-Browser: https://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/nova +Vcs-Git: git://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/nova +XS-Testsuite: autopkgtest +X-Python-Version: >= 2.7 + +Package: python-nova +Architecture: all +Section: python +Depends: alembic (>= 0.8.0), + openssh-client, + openssl, + python-babel (>= 1.3), + python-boto (>= 2.32.1), + python-cinderclient (>= 1:1.3.1), + python-cryptography (>= 1.0), + python-decorator (>= 3.4.0), + python-eventlet (>= 0.17.4), + python-glanceclient (>= 1:0.18.0), + python-greenlet (>= 0.3.2), + python-iso8601 (>= 0.1.9), + python-jinja2 (>= 2.6), + python-jsonschema (>= 2.0.0), + python-keystoneclient (>= 1:1.6.0), + python-keystonemiddleware (>= 2.0.0), + python-lxml (>= 2.3), + python-migrate (>= 0.9.6), + python-netaddr (>= 0.7.12), + python-netifaces (>= 0.10.4), + python-neutronclient (>= 2.6.0), + python-os-brick (>= 0.4.0), + python-oslo.concurrency (>= 2.3.0), + python-oslo.config (>= 1:2.3.0), + python-oslo.context (>= 0.2.0), + python-oslo.db (>= 2.4.1), + python-oslo.i18n (>= 1.5.0), + python-oslo.log (>= 1.8.0), + python-oslo.messaging (>= 1.16.0), + python-oslo.middleware (>= 2.8.0), + python-oslo.reports (>= 0.1.0), + python-oslo.rootwrap (>= 2.0.0), + python-oslo.serialization (>= 1.4.0), + python-oslo.service (>= 0.7.0), + python-oslo.utils (>= 2.0.0), + python-oslo.versionedobjects (>= 0.9.0), + python-paramiko (>= 1.13.0), + python-paste, + python-pastedeploy (>= 1.5.0), + python-prettytable (>= 0.7), + python-psutil (>= 1.1.1), + python-pymysql, + python-requests (>= 2.5.2), + python-rfc3986 (>= 0.2.0), + python-routes (>= 1.12.3), + python-setuptools (>= 16.0), + python-six (>= 1.9.0), + python-sqlalchemy (>= 0.9.9), + python-stevedore (>= 1.5.0), + python-webob (>= 1.2.3), + ${misc:Depends}, + ${python:Depends}, +Suggests: python-ldap, +Conflicts: python-cjson, +XB-Python-Version: ${python:Versions} +Provides: ${python:Provides}, +Description: OpenStack Compute Python libraries + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This package contains the core Python parts of Nova. + +Package: nova-common +Architecture: all +Depends: adduser, + python-nova (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, +Provides: ${python:Provides}, +Recommends: python-glanceclient, + python-keystone, +Description: OpenStack Compute - common files + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This package contains things that are needed by all parts of Nova. + +Package: nova-compute +Architecture: all +Depends: nova-common (= ${binary:Version}), + nova-compute-kvm | nova-compute-hypervisor, + ${misc:Depends}, + ${python:Depends}, +Description: OpenStack Compute - compute node base + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This is the package you will install on the nodes that will run your + virtual machines. + +Package: nova-compute-libvirt +Architecture: all +Depends: adduser, + ebtables, + genisoimage, + iptables, + kpartx, + libvirt-bin, + nova-compute (= ${binary:Version}), + open-iscsi, + parted, + python-libvirt, + qemu-utils, + vlan, + ${misc:Depends}, + ${python:Depends}, +Suggests: guestmount, + multipath-tools, + sg3-utils, + sysfsutils, +Description: OpenStack Compute - compute node libvirt support + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This dependency package provides common dependencies and setup for all libvirt + based hypervisor options. + +Package: nova-compute-lxc +Architecture: all +Depends: nova-compute-libvirt (= ${binary:Version}), + ${misc:Depends}, +Provides: nova-compute-hypervisor, +Conflicts: nova-compute-hypervisor, +Description: OpenStack Compute - compute node (LXC) + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + Install this package on your compute nodes if you're using LXC. + +Package: nova-compute-xen +Architecture: all +Depends: nova-compute-libvirt (= ${binary:Version}), + xen-system-amd64 | xen-system-i386, + ${misc:Depends}, +Provides: nova-compute-hypervisor, +Conflicts: nova-compute-hypervisor, +Description: OpenStack Compute - compute node (Xen) + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + Install this package on your compute nodes if you're using Xen. + +Package: nova-compute-qemu +Architecture: all +Depends: nova-compute-libvirt (= ${binary:Version}), + qemu, + ${misc:Depends}, +Provides: nova-compute-hypervisor, +Conflicts: nova-compute-hypervisor, +Description: OpenStack Compute - compute node (QEmu) + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + Install this package on your compute nodes if you're using QEmu. + +Package: nova-compute-kvm +Architecture: all +Depends: nova-compute-libvirt (= ${binary:Version}), + qemu-system (>= 1.3.0) | kvm, + ${misc:Depends}, +Provides: nova-compute-hypervisor, +Conflicts: nova-compute-hypervisor, +Description: OpenStack Compute - compute node (KVM) + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + Install this package on your compute nodes if you're using kvm. + +Package: nova-compute-vmware +Architecture: all +Depends: genisoimage, + nova-compute (= ${binary:Version}), + python-oslo.vmware (>= 0.11.0), + ${misc:Depends}, +Provides: nova-compute-hypervisor, +Conflicts: nova-compute-hypervisor, +Description: OpenStack Compute - compute node (VMware) + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + Install this package on your compute nodes if you're using VMware vCenter. + +Package: nova-conductor +Architecture: all +Depends: nova-common (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, +Description: OpenStack Compute - conductor service + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This is the Nova conductor service component + +Package: nova-cert +Architecture: all +Depends: nova-common (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, +Description: OpenStack Compute - certificate management + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This is the Nova certificate management component. + +Package: nova-scheduler +Architecture: all +Depends: nova-common (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, +Description: OpenStack Compute - virtual machine scheduler + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This is the Nova scheduler. + +Package: nova-volume +Section: oldlibs +Priority: extra +Architecture: all +Depends: cinder-api, + cinder-scheduler, + cinder-volume, + ${misc:Depends}, +Description: OpenStack Compute - storage + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This is a dummy transitional package that can be removed after upgrade. + +Package: nova-ajax-console-proxy +Architecture: all +Section: oldlibs +Priority: extra +Depends: nova-common (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, +Description: OpenStack Compute - AJAX console proxy - transitional package + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This package used to provide the AJAX proxy, which is now gone. + +Package: nova-novncproxy +Architecture: all +Depends: nova-common (= ${binary:Version}), + novnc, + ${misc:Depends}, + ${python:Depends}, +Description: OpenStack Compute - NoVNC proxy + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This package provides the VNC proxy. It is a publically reachable + component which proxies access to VNCs running on compute nodes. + +Package: nova-xvpvncproxy +Architecture: all +Depends: nova-common (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, +Description: OpenStack Compute - XVP VNC proxy + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This package provides the VNC proxy. It is a publically reachable + component which proxies access to VNCs running on compute nodes. + +Package: nova-spiceproxy +Architecture: all +Depends: nova-common (= ${binary:Version}), + spice-html5, + ${misc:Depends}, + ${python:Depends}, +Description: OpenStack Compute - spice html5 proxy + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This package provides the spice proxy. It is a publically reachable + component which proxies access to qemu-space running on compute nodes + +Package: nova-serialproxy +Architecture: all +Depends: nova-common (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, +Breaks: nova-compute (<< 1:2015.1-0ubuntu3~), +Replaces: nova-compute (<< 1:2015.1-0ubuntu3~), +Description: OpenStack Compute - serial proxy + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This package provides the serial proxy. It is a publically reachable + component which proxies access to qemu-space running on compute nodes + +Package: nova-api +Architecture: all +Depends: iptables, + nova-common (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, +Description: OpenStack Compute - API frontend + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This package provides the API frontend. + +Package: nova-network +Architecture: all +Depends: bridge-utils, + dnsmasq-base, + dnsmasq-utils, + ebtables, + iptables, + iputils-arping, + netcat, + nova-common (= ${binary:Version}), + vlan, + ${misc:Depends}, + ${python:Depends}, +Suggests: radvd, +Description: OpenStack Compute - Network manager + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This is the package you will install on the network nodes. This service is + responsible for managing floating and fixed IPs, DHCP, bridging and VLANs, and + in some cases acts as a gateway. Different networking strategies are available + to the service by changing the network_manager flag to FlatManager, + FlatDHCPManager, or VlanManager (default is VLAN). + +Package: nova-objectstore +Architecture: all +Depends: nova-common (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, +Description: OpenStack Compute - object store + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This package contains a very simple S3-like object store. + For production use, you should use OpenStack Storage, aka. Swift. + +Package: nova-console +Architecture: all +Depends: nova-common (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, +Recommends: nova-consoleauth (>= 2012.1~rc1-0ubuntu2), +Description: OpenStack Compute - Console + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This package provides the console server. This enables the use of consoles + to be used along with XVP and XenServer. It is a publically reachable + component which proxies access to VNCs running on compute nodes. + +Package: nova-consoleauth +Architecture: all +Depends: nova-common (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, +Breaks: nova-console (<< 2012.1~rc1-0ubuntu2), +Replaces: nova-console (<< 2012.1~rc1-0ubuntu2), +Description: OpenStack Compute - Console Authenticator + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This package provides the authentication service for nova-console. It grants + user requests for console access based on tokens in the identity service and + allows access to virtual consoles via a browser. + +Package: nova-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, +Recommends: libjs-jquery, +Description: OpenStack Compute - documentation + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This package contains the documentation for Nova. + +Package: nova-api-metadata +Architecture: all +Depends: nova-common (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, +Conflicts: nova-api, +Description: OpenStack Compute - metadata API frontend + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + This package provides the metadata API backend for guest VMs. + +Package: nova-api-os-compute +Architecture: all +Depends: nova-common (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, +Conflicts: nova-api, +Description: OpenStack Compute - OpenStack Compute API frontend + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + This package provides the OpenStack Compute API frontend. + +Package: nova-api-os-volume +Section: oldlibs +Priority: extra +Architecture: all +Depends: cinder-api, + ${misc:Depends}, +Description: OpenStack Compute - OpenStack Volume API frontend + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + This is a dummy transitional package that can be removed after upgrade. + +Package: nova-api-ec2 +Architecture: all +Depends: nova-common (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, +Conflicts: nova-api, +Description: OpenStack Compute - EC2 API frontend + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This package provides the EC2 API. + +Package: nova-cells +Architecture: all +Depends: nova-common (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, +Description: Openstack Compute - cells + OpenStack is a reliable cloud infrastructure. Its mission is to produce + the ubiquitous cloud computing platform that will meet the needs of public + and private cloud providers regardless of size, by being simple to implement + and massively scalable. + . + OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In + addition to its "native" API (the OpenStack API), it also supports the Amazon + EC2 API. + . + Nova is intended to be modular and easy to extend and adapt. It supports many + different hypervisors (KVM and Xen to name a few), different database backends + (SQLite, MySQL, and PostgreSQL, for instance), different types of user + databases (LDAP or SQL), etc. + . + This is the Nova cells component. diff --git a/openstack/debian/openstack-nova/liberty/debian/copyright b/openstack/debian/openstack-nova/liberty/debian/copyright new file mode 100644 index 000000000..e8a718e4a --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/copyright @@ -0,0 +1,49 @@ +Format: http://dep.debian.net/deps/dep5- +Upstream-Name: nova +Source: https://code.launchpad.net/nova + +Files: * +Copyright: 2010 United States Government as represented + by the Administrator of the National Aeronautics + and Space Administration. +Copyright: 2010 OpenStack LLC +Copyright: Others (See individual files for more details) +License: Apache-2 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian-based systems the full text of the Apache version 2.0 license + can be found in `/usr/share/common-licenses/Apache-2.0'. + +Files: contrib/boto_v6/* +Copyright: 2006-2010, Mitch Garnaat http://garnaat.org/ + 2010, Eucalyptus Systems, Inc. +License: BSD-Style + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. diff --git a/openstack/debian/openstack-nova/liberty/debian/gbp.conf b/openstack/debian/openstack-nova/liberty/debian/gbp.conf new file mode 100644 index 000000000..f69e09e74 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/gbp.conf @@ -0,0 +1,7 @@ +[DEFAULT] +debian-branch = stable/liberty +upstream-tag = %(version)s +pristine-tar = True + +[buildpackage] +export-dir = ../build-area diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-api-ec2.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-api-ec2.init.in new file mode 100644 index 000000000..7adb82394 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-api-ec2.init.in @@ -0,0 +1,20 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-api-ec2 +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: postgresql mysql keystone rabbitmq-server ntp +# Should-Stop: postgresql mysql keystone rabbitmq-server ntp +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova API server +# Description: Frontend Nova API server +### END INIT INFO + +# Author: Julien Danjou + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Compute ec2 API" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-api-ec2 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-api-ec2.install b/openstack/debian/openstack-nova/liberty/debian/nova-api-ec2.install new file mode 100644 index 000000000..2dd1f7012 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-api-ec2.install @@ -0,0 +1 @@ +usr/bin/nova-api-ec2 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-api-ec2.manpages b/openstack/debian/openstack-nova/liberty/debian/nova-api-ec2.manpages new file mode 100644 index 000000000..fef8183f0 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-api-ec2.manpages @@ -0,0 +1 @@ +doc/build/man/nova-api-ec2.1 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-api-metadata.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-api-metadata.init.in new file mode 100644 index 000000000..bff705a7c --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-api-metadata.init.in @@ -0,0 +1,20 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-api-metadata +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: postgresql mysql keystone rabbitmq-server ntp +# Should-Stop: postgresql mysql keystone rabbitmq-server ntp +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova API metadata server +# Description: Frontend Nova API metadata server +### END INIT INFO + +# Author: Julien Danjou + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Compute metadata API" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-api-metadata diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-api-metadata.install b/openstack/debian/openstack-nova/liberty/debian/nova-api-metadata.install new file mode 100644 index 000000000..3ca6585b5 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-api-metadata.install @@ -0,0 +1,2 @@ +etc/nova/rootwrap.d/api-metadata.filters +usr/bin/nova-api-metadata diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-api-metadata.manpages b/openstack/debian/openstack-nova/liberty/debian/nova-api-metadata.manpages new file mode 100644 index 000000000..2ce208dd4 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-api-metadata.manpages @@ -0,0 +1 @@ +doc/build/man/nova-api-metadata.1 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-api-metadata.postinst b/openstack/debian/openstack-nova/liberty/debian/nova-api-metadata.postinst new file mode 100644 index 000000000..b1c7d2e5e --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-api-metadata.postinst @@ -0,0 +1,7 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + chown root:root /etc/nova/rootwrap.d/api-metadata.filters +fi + +#DEBHELPER# diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-api-os-compute.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-api-os-compute.init.in new file mode 100644 index 000000000..3e626db9b --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-api-os-compute.init.in @@ -0,0 +1,20 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-api-os-compute +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: postgresql mysql keystone rabbitmq-server ntp +# Should-Stop: postgresql mysql keystone rabbitmq-server ntp +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova API server +# Description: Frontend Nova API server +### END INIT INFO + +# Author: Julien Danjou + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Compute OS API" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-api-os-compute diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-api-os-compute.install b/openstack/debian/openstack-nova/liberty/debian/nova-api-os-compute.install new file mode 100644 index 000000000..b2bdd3c1d --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-api-os-compute.install @@ -0,0 +1 @@ +usr/bin/nova-api-os-compute diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-api-os-compute.manpages b/openstack/debian/openstack-nova/liberty/debian/nova-api-os-compute.manpages new file mode 100644 index 000000000..9f5f82f65 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-api-os-compute.manpages @@ -0,0 +1 @@ +doc/build/man/nova-api-os-compute.1 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-api.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-api.init.in new file mode 100644 index 000000000..203adcaa7 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-api.init.in @@ -0,0 +1,20 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-api +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: postgresql mysql keystone rabbitmq-server ntp +# Should-Stop: postgresql mysql keystone rabbitmq-server ntp +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova API server +# Description: Frontend Nova API server +### END INIT INFO + +# Author: Julien Danjou + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Compute API" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-api diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-api.install b/openstack/debian/openstack-nova/liberty/debian/nova-api.install new file mode 100644 index 000000000..475c85c1b --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-api.install @@ -0,0 +1,2 @@ +etc/nova/rootwrap.d/api-metadata.filters +usr/bin/nova-api diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-api.manpages b/openstack/debian/openstack-nova/liberty/debian/nova-api.manpages new file mode 100644 index 000000000..a4c5c96af --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-api.manpages @@ -0,0 +1 @@ +doc/build/man/nova-api.1 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-api.postinst b/openstack/debian/openstack-nova/liberty/debian/nova-api.postinst new file mode 100644 index 000000000..b1c7d2e5e --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-api.postinst @@ -0,0 +1,7 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + chown root:root /etc/nova/rootwrap.d/api-metadata.filters +fi + +#DEBHELPER# diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-baremetal.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-baremetal.init.in new file mode 100644 index 000000000..3e5e7361f --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-baremetal.init.in @@ -0,0 +1,20 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-baremetal +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: postgresql mysql keystone +# Should-Stop: postgresql mysql keystone +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova API server +# Description: Frontend Nova API server +### END INIT INFO + +# Author: Julien Danjou + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Compute Baremetal" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-baremetal-deploy-helper diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-cells.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-cells.init.in new file mode 100644 index 000000000..59b32b152 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-cells.init.in @@ -0,0 +1,20 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-cells +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: postgresql mysql keystone +# Should-Stop: postgresql mysql keystone +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova Cells server +# Description: Frontend Nova Cells server +### END INIT INFO + +# Author: Julien Danjou + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Compute Cells" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-cells diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-cells.install b/openstack/debian/openstack-nova/liberty/debian/nova-cells.install new file mode 100644 index 000000000..6ebc28f83 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-cells.install @@ -0,0 +1 @@ +usr/bin/nova-cells diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-cert.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-cert.init.in new file mode 100644 index 000000000..5ab2f9c72 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-cert.init.in @@ -0,0 +1,20 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-cert +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: postgresql mysql keystone rabbitmq-server ntp +# Should-Stop: postgresql mysql keystone rabbitmq-server ntp +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova Cert server +# Description: Nova Cert server +### END INIT INFO + +# Author: Julien Danjou + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Compute Cert" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-cert diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-cert.install b/openstack/debian/openstack-nova/liberty/debian/nova-cert.install new file mode 100644 index 000000000..ff4af36df --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-cert.install @@ -0,0 +1 @@ +usr/bin/nova-cert diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-cert.manpages b/openstack/debian/openstack-nova/liberty/debian/nova-cert.manpages new file mode 100644 index 000000000..daddb099e --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-cert.manpages @@ -0,0 +1 @@ +doc/build/man/nova-cert.1 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-common.dirs b/openstack/debian/openstack-nova/liberty/debian/nova-common.dirs new file mode 100644 index 000000000..40b2696d9 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-common.dirs @@ -0,0 +1,14 @@ +etc/nova +etc/nova/rootwrap.d +var/lib/nova/CA +var/lib/nova/CA/INTER +var/lib/nova/CA/newcerts +var/lib/nova/CA/private +var/lib/nova/CA/reqs +var/lib/nova/buckets +var/lib/nova/images +var/lib/nova/instances +var/lib/nova/keys +var/lib/nova/networks +var/lib/nova/tmp +var/log/nova diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-common.install b/openstack/debian/openstack-nova/liberty/debian/nova-common.install new file mode 100644 index 000000000..52a808cde --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-common.install @@ -0,0 +1,9 @@ +debian/nova.conf etc/nova +debian/nova_sudoers etc/sudoers.d +etc/nova/api-paste.ini etc/nova +etc/nova/policy.json etc/nova +etc/nova/policy.json etc/nova +etc/nova/rootwrap.conf etc/nova +usr/bin/nova-manage +usr/bin/nova-rootwrap +usr/bin/nova-rootwrap-daemon diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-common.logrotate b/openstack/debian/openstack-nova/liberty/debian/nova-common.logrotate new file mode 100644 index 000000000..51c7caf73 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-common.logrotate @@ -0,0 +1,7 @@ +/var/log/nova/*.log { + daily + missingok + compress + delaycompress + copytruncate +} diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-common.manpages b/openstack/debian/openstack-nova/liberty/debian/nova-common.manpages new file mode 100644 index 000000000..ccd4972af --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-common.manpages @@ -0,0 +1,2 @@ +doc/build/man/nova-manage.1 +doc/build/man/nova-rootwrap.1 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-common.postinst b/openstack/debian/openstack-nova/liberty/debian/nova-common.postinst new file mode 100644 index 000000000..998772f63 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-common.postinst @@ -0,0 +1,77 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + if ! getent group nova > /dev/null 2>&1; then + addgroup --system nova >/dev/null + fi + + if ! getent passwd nova > /dev/null 2>&1; then + adduser --system --home /var/lib/nova --ingroup nova --no-create-home --shell /bin/false nova + fi + + if [ "$(id -gn nova)" = "nogroup" ]; then + usermod -g nova nova + fi + + if [ -z "$2" ]; then + # New install - blanket permissions + chown -R nova:nova /var/lib/nova/ + elif dpkg --compare-versions "$2" lt "2011.3-0ubuntu4"; then + # make sure that LXC rootfs mount points are excleuded + # during upgrades from previous versions + find /var/lib/nova/ -name 'rootfs' -prune -o \ + -group root -a -user nova -exec chown nova:nova {} \; + find /var/lib/nova/ -name 'rootfs' -prune -o \ + -group nogroup -a -user nova -exec chown nova:nova {} \; + elif dpkg --compare-versions "$2" lt "2012.2~f1~20120503.13935-0ubuntu1"; then + # convert the root_helper to rootwrap_config + sed -e "s,^root_helper=.\+,rootwrap_config=/etc/nova/rootwrap.conf," -i /etc/nova/nova.conf + fi + + if [ "$(id -gn nova)" = "nogroup" ]; then + usermod -g nova nova + fi + + if dpkg --compare-versions "$2" lt "2012.1~e3-0ubuntu2"; then + usermod -s "/bin/false" nova + fi + + chown -R nova:nova /etc/nova + chown -R nova:adm /var/log/nova + + if [ -z "$2" ]; then + # New install - blanket permissions + chown -R nova:nova /var/lib/nova/ + elif dpkg --compare-versions "$2" lt "2011.3-0ubuntu4"; then + # Make sure the LXC rootfs mount points are excluded + # during upgrades from previous versions + find /var/lib/nova/ -name 'rootfs' -prune -o \ + -group root -a -user nova -exec chown nova:nova {} \; + find /var/lib/nova/ -name 'rootfs' -prune -o \ + -group nogroup -a -user nova -exec chown nova:nova {} \; + fi + + chmod 0640 /etc/nova/nova.conf + chmod 0640 /etc/nova/policy.json + chmod 0640 /etc/nova/api-paste.ini + chmod 0750 /etc/nova + chmod 0750 /var/log/nova + chown root:root /etc/nova/rootwrap.conf + chown root:root /etc/nova/rootwrap.d + chmod 0755 /etc/nova/rootwrap.d + + if ! grep -qE "^(sql_)?connection( )?=.*" /etc/nova/nova.conf || \ + grep -qE "^(sql_)?connection.*sqlite.*" /etc/nova/nova.conf + then + su -s /bin/sh -c 'nova-manage db sync' nova + fi + + if [ -e /var/lib/nova/nova.sqlite ] + then + chown nova:nova /var/lib/nova/nova.sqlite + chmod 0640 /var/lib/nova/nova.sqlite + fi + +fi + +#DEBHELPER# diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-compute-kvm.conf b/openstack/debian/openstack-nova/liberty/debian/nova-compute-kvm.conf new file mode 100644 index 000000000..48ad48903 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-compute-kvm.conf @@ -0,0 +1,4 @@ +[DEFAULT] +compute_driver=libvirt.LibvirtDriver +[libvirt] +virt_type=kvm diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-compute-kvm.postinst b/openstack/debian/openstack-nova/liberty/debian/nova-compute-kvm.postinst new file mode 100644 index 000000000..914d3d9e1 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-compute-kvm.postinst @@ -0,0 +1,8 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + chown nova:nova /etc/nova/nova-compute.conf + chmod 0600 /etc/nova/nova-compute.conf +fi + +#DEBHELPER# diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-compute-libvirt.postinst b/openstack/debian/openstack-nova/liberty/debian/nova-compute-libvirt.postinst new file mode 100644 index 000000000..44bd7be24 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-compute-libvirt.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + if ! getent group libvirtd | grep -qE '\' + then + adduser nova libvirtd + fi +fi + +#DEBHELPER# diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-compute-lxc.conf b/openstack/debian/openstack-nova/liberty/debian/nova-compute-lxc.conf new file mode 100644 index 000000000..725f9f657 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-compute-lxc.conf @@ -0,0 +1,4 @@ +[DEFAULT] +compute_driver=libvirt.LibvirtDriver +[libvirt] +virt_type=lxc diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-compute-lxc.postinst b/openstack/debian/openstack-nova/liberty/debian/nova-compute-lxc.postinst new file mode 100644 index 000000000..914d3d9e1 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-compute-lxc.postinst @@ -0,0 +1,8 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + chown nova:nova /etc/nova/nova-compute.conf + chmod 0600 /etc/nova/nova-compute.conf +fi + +#DEBHELPER# diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-compute-qemu.conf b/openstack/debian/openstack-nova/liberty/debian/nova-compute-qemu.conf new file mode 100644 index 000000000..1ef5590c3 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-compute-qemu.conf @@ -0,0 +1,4 @@ +[DEFAULT] +compute_driver=libvirt.LibvirtDriver +[libvirt] +virt_type=qemu diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-compute-qemu.postinst b/openstack/debian/openstack-nova/liberty/debian/nova-compute-qemu.postinst new file mode 100644 index 000000000..914d3d9e1 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-compute-qemu.postinst @@ -0,0 +1,8 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + chown nova:nova /etc/nova/nova-compute.conf + chmod 0600 /etc/nova/nova-compute.conf +fi + +#DEBHELPER# diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-compute-vmware.conf b/openstack/debian/openstack-nova/liberty/debian/nova-compute-vmware.conf new file mode 100644 index 000000000..751b12393 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-compute-vmware.conf @@ -0,0 +1,2 @@ +[DEFAULT] +compute_driver=vmwareapi.VMwareVCDriver diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-compute-vmware.postinst b/openstack/debian/openstack-nova/liberty/debian/nova-compute-vmware.postinst new file mode 100644 index 000000000..914d3d9e1 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-compute-vmware.postinst @@ -0,0 +1,8 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + chown nova:nova /etc/nova/nova-compute.conf + chmod 0600 /etc/nova/nova-compute.conf +fi + +#DEBHELPER# diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-compute-xen.conf b/openstack/debian/openstack-nova/liberty/debian/nova-compute-xen.conf new file mode 100644 index 000000000..c76daad00 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-compute-xen.conf @@ -0,0 +1,4 @@ +[DEFAULT] +compute_driver=libvirt.LibvirtDriver +[libvirt] +virt_type=xen diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-compute-xen.postinst b/openstack/debian/openstack-nova/liberty/debian/nova-compute-xen.postinst new file mode 100644 index 000000000..914d3d9e1 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-compute-xen.postinst @@ -0,0 +1,8 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + chown nova:nova /etc/nova/nova-compute.conf + chmod 0600 /etc/nova/nova-compute.conf +fi + +#DEBHELPER# diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-compute.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-compute.init.in new file mode 100644 index 000000000..1dba36a39 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-compute.init.in @@ -0,0 +1,26 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-compute +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: libvirtd postgresql mysql keystone rabbitmq-server ntp neutron-ovs-cleanup +# Should-Stop: libvirtd postgresql mysql keystone rabbitmq-server ntp +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova Compute server +# Description: Provides compute server resources for the +# OpenStack cloud computing system +### END INIT INFO + +# Author: Julien Danjou + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Compute" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-compute +DAEMON_ARGS="" +if [ -f '/etc/nova/nova-compute.conf' ] ; then + DAEMON_ARGS="--config-file=/etc/nova/nova-compute.conf" +fi + diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-compute.install b/openstack/debian/openstack-nova/liberty/debian/nova-compute.install new file mode 100644 index 000000000..b62a25359 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-compute.install @@ -0,0 +1,3 @@ +etc/nova/rootwrap.d/compute.filters +usr/bin/nova-compute +usr/bin/nova-idmapshift diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-compute.manpages b/openstack/debian/openstack-nova/liberty/debian/nova-compute.manpages new file mode 100644 index 000000000..6f33ce19e --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-compute.manpages @@ -0,0 +1 @@ +doc/build/man/nova-compute.1 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-compute.postinst b/openstack/debian/openstack-nova/liberty/debian/nova-compute.postinst new file mode 100644 index 000000000..d36002aa1 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-compute.postinst @@ -0,0 +1,7 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + chown root:root /etc/nova/rootwrap.d/compute.filters +fi + +#DEBHELPER# diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-compute.upstart b/openstack/debian/openstack-nova/liberty/debian/nova-compute.upstart new file mode 100644 index 000000000..d675de348 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-compute.upstart @@ -0,0 +1,56 @@ +# vim: set ft=upstart et ts=2: +description "Nova compute worker" +author "Soren Hansen " + +start on runlevel [2345] +stop on runlevel [!2345] + +chdir /var/run + +env MAX_STATUS_CHECK_RETRIES=20 + +pre-start script + mkdir -p /var/run/nova + chown nova:root /var/run/nova/ + + mkdir -p /var/lock/nova + chown nova:root /var/lock/nova/ + + modprobe nbd + + # If libvirt-bin is installed, always wait for it to start first + if status libvirt-bin; then + start wait-for-state WAIT_FOR=libvirt-bin WAIT_STATE=running WAITER=nova-compute + fi + + # If installed, wait for neutron-ovs-cleanup to complete prior to starting + # nova-compute. + if status neutron-ovs-cleanup; then + # See LP #1471022 for explanation of why we do like this + retries=$MAX_STATUS_CHECK_RETRIES + delay=1 + while true; do + # Already running? + s=`status neutron-ovs-cleanup` + echo $s + `echo $s| grep -qE "\sstart/running"` && break + if retries=`expr $retries - 1`; then + # Give it a push + echo "Attempting to start neutron-ovs-cleanup" + start neutron-ovs-cleanup || : + # Wait a bit to avoid hammering ovs-cleanup (which itself may be waiting + # on dependencies) + echo "Recheck neutron-ovs-cleanup status in ${delay}s" + sleep $delay + if _=`expr $retries % 2`; then + delay=`expr $delay + 2` + fi + else + echo "Max retries ($MAX_STATUS_CHECK_RETRIES) reached - no longer waiting for neutron-ovs-cleanup to start" + break + fi + done + fi +end script + +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 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-conductor.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-conductor.init.in new file mode 100644 index 000000000..d0170b7f0 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-conductor.init.in @@ -0,0 +1,20 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-conductor +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: postgresql mysql keystone rabbitmq-server ntp +# Should-Stop: postgresql mysql keystone rabbitmq-server ntp +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova Conductor server +# Description: Frontend Nova Conductor server +### END INIT INFO + +# Author: Julien Danjou + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Compute Conductor" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-conductor diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-conductor.install b/openstack/debian/openstack-nova/liberty/debian/nova-conductor.install new file mode 100644 index 000000000..873ae74df --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-conductor.install @@ -0,0 +1 @@ +usr/bin/nova-conductor diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-conductor.manpages b/openstack/debian/openstack-nova/liberty/debian/nova-conductor.manpages new file mode 100644 index 000000000..c28bc8af6 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-conductor.manpages @@ -0,0 +1 @@ +doc/build/man/nova-conductor.1 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-console.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-console.init.in new file mode 100644 index 000000000..809d627eb --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-console.init.in @@ -0,0 +1,18 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-console +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: postgresql mysql keystone rabbitmq-server ntp +# Should-Stop: postgresql mysql keystone rabbitmq-server ntp +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova Console for XenServer and XVP +# Description: Nova Console for XenServer and XVP +### END INIT INFO + +# Author: Julien Danjou + +DESC="OpenStack Compute Console" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-console diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-console.install b/openstack/debian/openstack-nova/liberty/debian/nova-console.install new file mode 100644 index 000000000..b16c6968c --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-console.install @@ -0,0 +1 @@ +usr/bin/nova-console diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-console.manpages b/openstack/debian/openstack-nova/liberty/debian/nova-console.manpages new file mode 100644 index 000000000..814f2b99a --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-console.manpages @@ -0,0 +1 @@ +doc/build/man/nova-console.1 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-consoleauth.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-consoleauth.init.in new file mode 100644 index 000000000..39bc82322 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-consoleauth.init.in @@ -0,0 +1,18 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-consoleauth +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: postgresql mysql keystone rabbitmq-server ntp +# Should-Stop: postgresql mysql keystone rabbitmq-server ntp +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova Console Auth +# Description: Nova Console Auth +### END INIT INFO + +# AUthor: Thomas Goirand + +DESC="OpenStack Compute Console" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-consoleauth diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-consoleauth.install b/openstack/debian/openstack-nova/liberty/debian/nova-consoleauth.install new file mode 100644 index 000000000..1f8bba5af --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-consoleauth.install @@ -0,0 +1 @@ +usr/bin/nova-consoleauth diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-consoleauth.manpages b/openstack/debian/openstack-nova/liberty/debian/nova-consoleauth.manpages new file mode 100644 index 000000000..8e28693f6 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-consoleauth.manpages @@ -0,0 +1 @@ +doc/build/man/nova-consoleauth.1 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-doc.doc-base b/openstack/debian/openstack-nova/liberty/debian/nova-doc.doc-base new file mode 100644 index 000000000..8ae125edf --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-doc.doc-base @@ -0,0 +1,9 @@ +Document: nova-doc +Title: Nova Documentation +Author: OpenStack +Abstract: Sphinx documentation for Nova +Section: Network/File Transfer + +Format: HTML +Index: /usr/share/doc/nova-doc/html/index.html +Files: /usr/share/doc/nova-doc/html/* diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-doc.docs b/openstack/debian/openstack-nova/liberty/debian/nova-doc.docs new file mode 100644 index 000000000..8137b041c --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-doc.docs @@ -0,0 +1 @@ +doc/build/html diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-doc.links b/openstack/debian/openstack-nova/liberty/debian/nova-doc.links new file mode 100644 index 000000000..f27d3f14a --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-doc.links @@ -0,0 +1,6 @@ +# Overwrite jquery.js from upstream tarball with a link to jquery.js +# Overwrite underscore.js from upstream tarball with a link to underscore.min.js +# provided by Underscore Debian package +# provided by jQuery Debian package +/usr/share/javascript/jquery/jquery.js usr/share/doc/nova-doc/html/_static/jquery.js +/usr/share/javascript/underscore/underscore.min.js usr/share/doc/nova-doc/html/_static/underscore.js diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-network.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-network.init.in new file mode 100644 index 000000000..c53d6a608 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-network.init.in @@ -0,0 +1,18 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-network +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: postgresql mysql keystone +# Should-Stop: postgresql mysql keystone +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova Network +# Description: Provides network resources +### END INIT INFO + +# Author: Thomas Goirand + +DESC="OpenStack Compute Network" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-network diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-network.install b/openstack/debian/openstack-nova/liberty/debian/nova-network.install new file mode 100644 index 000000000..b68424652 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-network.install @@ -0,0 +1,3 @@ +etc/nova/rootwrap.d/network.filters +usr/bin/nova-dhcpbridge +usr/bin/nova-network diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-network.manpages b/openstack/debian/openstack-nova/liberty/debian/nova-network.manpages new file mode 100644 index 000000000..a30f7d668 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-network.manpages @@ -0,0 +1,2 @@ +doc/build/man/nova-dhcpbridge.1 +doc/build/man/nova-network.1 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-network.postinst b/openstack/debian/openstack-nova/liberty/debian/nova-network.postinst new file mode 100644 index 000000000..5fccd753f --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-network.postinst @@ -0,0 +1,7 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + chown root:root /etc/nova/rootwrap.d/network.filters +fi + +#DEBHELPER# diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-novncproxy.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-novncproxy.init.in new file mode 100644 index 000000000..3b484d4b6 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-novncproxy.init.in @@ -0,0 +1,20 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-novncproxy +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: nova-consoleauth +# Should-Stop: nova-consoleauth +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova novncproxy server +# Description: Frontend Nova novncproxy server +### END INIT INFO + +# Authors: Julien Danjou & Thomas Goirand + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Compute novncproxy" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-novncproxy diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-novncproxy.install b/openstack/debian/openstack-nova/liberty/debian/nova-novncproxy.install new file mode 100644 index 000000000..20eec0ebc --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-novncproxy.install @@ -0,0 +1 @@ +usr/bin/nova-novncproxy diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-novncproxy.manpages b/openstack/debian/openstack-nova/liberty/debian/nova-novncproxy.manpages new file mode 100644 index 000000000..50418bc04 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-novncproxy.manpages @@ -0,0 +1 @@ +doc/build/man/nova-novncproxy.1 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-objectstore.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-objectstore.init.in new file mode 100644 index 000000000..056d393ad --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-objectstore.init.in @@ -0,0 +1,18 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-objectstore +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: postgresql mysql keystone +# Should-Stop: postgresql mysql keystone +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova Objectstore +# Description: S3 Object Storage for Nova +### END INIT INFO + +# Author: James Page + +DESC="OpenStack Objectstore" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-objectstore diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-objectstore.install b/openstack/debian/openstack-nova/liberty/debian/nova-objectstore.install new file mode 100644 index 000000000..a82d10f01 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-objectstore.install @@ -0,0 +1 @@ +usr/bin/nova-objectstore diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-objectstore.manpages b/openstack/debian/openstack-nova/liberty/debian/nova-objectstore.manpages new file mode 100644 index 000000000..ce0b54107 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-objectstore.manpages @@ -0,0 +1 @@ +doc/build/man/nova-objectstore.1 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-scheduler.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-scheduler.init.in new file mode 100644 index 000000000..5bb7a4071 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-scheduler.init.in @@ -0,0 +1,18 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-scheduler +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: postgresql mysql keystone +# Should-Stop: postgresql mysql keystone +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova Scheduler +# Description: Schedules instances, volumes, etc. for Nova +### END INIT INFO + +# Author: Julien Danjou + +DESC="OpenStack Compute Scheduler" +PROJECT_NAME=nova +NAME=nova-scheduler diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-scheduler.install b/openstack/debian/openstack-nova/liberty/debian/nova-scheduler.install new file mode 100644 index 000000000..f74e12aac --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-scheduler.install @@ -0,0 +1 @@ +usr/bin/nova-scheduler diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-scheduler.manpages b/openstack/debian/openstack-nova/liberty/debian/nova-scheduler.manpages new file mode 100644 index 000000000..779f10b33 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-scheduler.manpages @@ -0,0 +1 @@ +doc/build/man/nova-scheduler.1 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-serialproxy.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-serialproxy.init.in new file mode 100644 index 000000000..0c4b86fad --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-serialproxy.init.in @@ -0,0 +1,20 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-serialproxy +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: nova-consoleauth +# Should-Stop: nova-consoleauth +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova serialproxy server +# Description: Frontend Nova serialproxy server +### END INIT INFO + +# Authors: Thomas Goirand + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Compute serialproxy" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-serialproxy diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-serialproxy.install b/openstack/debian/openstack-nova/liberty/debian/nova-serialproxy.install new file mode 100644 index 000000000..bacfd916f --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-serialproxy.install @@ -0,0 +1 @@ +usr/bin/nova-serialproxy diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-serialproxy.manpages b/openstack/debian/openstack-nova/liberty/debian/nova-serialproxy.manpages new file mode 100644 index 000000000..9f3f954a4 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-serialproxy.manpages @@ -0,0 +1 @@ +doc/build/man/nova-serialproxy.1 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-spiceproxy.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-spiceproxy.init.in new file mode 100644 index 000000000..0d778a6c6 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-spiceproxy.init.in @@ -0,0 +1,21 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-spiceproxy +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: nova-consoleauth +# Should-Stop: nova-consoleauth +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova Spice HTML5 Proxy +# Description: Nova Spice HTML5 Proxy +### END INIT INFO + +# Author: Thomas Goirand + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Compute Spice HTML5 Proxy" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-spiceproxy +DAEMON=/usr/bin/${PROJECT_NAME}-spicehtml5proxy diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-spiceproxy.install b/openstack/debian/openstack-nova/liberty/debian/nova-spiceproxy.install new file mode 100644 index 000000000..c781b8386 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-spiceproxy.install @@ -0,0 +1 @@ +usr/bin/nova-spicehtml5proxy diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-spiceproxy.manpages b/openstack/debian/openstack-nova/liberty/debian/nova-spiceproxy.manpages new file mode 100644 index 000000000..5fab058a9 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-spiceproxy.manpages @@ -0,0 +1 @@ +doc/build/man/nova-spicehtml5proxy.1 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-xvpvncproxy.init.in b/openstack/debian/openstack-nova/liberty/debian/nova-xvpvncproxy.init.in new file mode 100644 index 000000000..06cf65cda --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-xvpvncproxy.init.in @@ -0,0 +1,16 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-xvpvncproxy nova-xenvncproxy +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova XVP VNC proxy +# Description: Nova XVP VNC proxy +### END INIT INFO + +# Authors: Thomas Goirand + +DESC="OpenStack XVP VNC proxy" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-xvpvncproxy diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-xvpvncproxy.install b/openstack/debian/openstack-nova/liberty/debian/nova-xvpvncproxy.install new file mode 100644 index 000000000..4b07b9cb5 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-xvpvncproxy.install @@ -0,0 +1 @@ +usr/bin/nova-xvpvncproxy diff --git a/openstack/debian/openstack-nova/liberty/debian/nova-xvpvncproxy.manpages b/openstack/debian/openstack-nova/liberty/debian/nova-xvpvncproxy.manpages new file mode 100644 index 000000000..640efd9d5 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova-xvpvncproxy.manpages @@ -0,0 +1 @@ +doc/build/man/nova-xvpvncproxy.1 diff --git a/openstack/debian/openstack-nova/liberty/debian/nova.conf b/openstack/debian/openstack-nova/liberty/debian/nova.conf new file mode 100644 index 000000000..a2a354d2d --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova.conf @@ -0,0 +1,12 @@ +[DEFAULT] +dhcpbridge_flagfile=/etc/nova/nova.conf +dhcpbridge=/usr/bin/nova-dhcpbridge +logdir=/var/log/nova +state_path=/var/lib/nova +lock_path=/var/lock/nova +force_dhcp_release=True +libvirt_use_virtio_for_bridges=True +verbose=True +ec2_private_dns_show_ip=True +api_paste_config=/etc/nova/api-paste.ini +enabled_apis=ec2,osapi_compute,metadata diff --git a/openstack/debian/openstack-nova/liberty/debian/nova_sudoers b/openstack/debian/openstack-nova/liberty/debian/nova_sudoers new file mode 100644 index 000000000..8f9c40ede --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova_sudoers @@ -0,0 +1,3 @@ +Defaults:nova !requiretty + +nova ALL = (root) NOPASSWD: /usr/bin/nova-rootwrap /etc/nova/rootwrap.conf * diff --git a/openstack/debian/openstack-nova/liberty/debian/nova_tgt.conf b/openstack/debian/openstack-nova/liberty/debian/nova_tgt.conf new file mode 100644 index 000000000..d417feea6 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/nova_tgt.conf @@ -0,0 +1 @@ +include /var/lib/nova/volumes/* diff --git a/openstack/debian/openstack-nova/liberty/debian/patches/arm-console-patch.patch b/openstack/debian/openstack-nova/liberty/debian/patches/arm-console-patch.patch new file mode 100644 index 000000000..653d91dad --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/patches/arm-console-patch.patch @@ -0,0 +1,31 @@ +--- a/nova/tests/unit/virt/libvirt/test_driver.py ++++ b/nova/tests/unit/virt/libvirt/test_driver.py +@@ -1243,7 +1243,7 @@ + self.assertEqual(1, cfg.vcpus) + self.assertEqual(vm_mode.EXE, cfg.os_type) + self.assertEqual("/sbin/init", cfg.os_init_path) +- self.assertEqual("console=tty0 console=ttyS0", cfg.os_cmdline) ++ self.assertEqual("console=tty0 console=ttyS0 console=ttyAMA0", cfg.os_cmdline) + self.assertIsNone(cfg.os_root) + self.assertEqual(3, len(cfg.devices)) + self.assertIsInstance(cfg.devices[0], +@@ -1268,7 +1268,7 @@ + self.assertEqual(1, cfg.vcpus) + self.assertEqual(vm_mode.EXE, cfg.os_type) + self.assertEqual("/sbin/init", cfg.os_init_path) +- self.assertEqual("console=tty0 console=ttyS0", cfg.os_cmdline) ++ self.assertEqual("console=tty0 console=ttyS0 console=ttyAMA0", cfg.os_cmdline) + self.assertIsNone(cfg.os_root) + self.assertEqual(3, len(cfg.devices)) + self.assertIsInstance(cfg.devices[0], +--- a/nova/virt/libvirt/driver.py ++++ b/nova/virt/libvirt/driver.py +@@ -311,7 +311,7 @@ + DISABLE_REASON_UNDEFINED = None + + # Guest config console string +-CONSOLE = "console=tty0 console=ttyS0" ++CONSOLE = "console=tty0 console=ttyS0 console=ttyAMA0" + + GuestNumaConfig = collections.namedtuple( + 'GuestNumaConfig', ['cpuset', 'cputune', 'numaconfig', 'numatune']) diff --git a/openstack/debian/openstack-nova/liberty/debian/patches/disable-sphinxcontrib.seqdiag.patch b/openstack/debian/openstack-nova/liberty/debian/patches/disable-sphinxcontrib.seqdiag.patch new file mode 100644 index 000000000..0b72d79d2 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/patches/disable-sphinxcontrib.seqdiag.patch @@ -0,0 +1,10 @@ +--- a/doc/source/conf.py ++++ b/doc/source/conf.py +@@ -33,7 +33,6 @@ + 'sphinx.ext.graphviz', + 'oslosphinx', + "ext.support_matrix", +- 'sphinxcontrib.seqdiag', + ] + + todo_include_todos = True diff --git a/openstack/debian/openstack-nova/liberty/debian/patches/disable-websockify-tests.patch b/openstack/debian/openstack-nova/liberty/debian/patches/disable-websockify-tests.patch new file mode 100644 index 000000000..dfdc729d6 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/patches/disable-websockify-tests.patch @@ -0,0 +1,100 @@ +Description: Disable websockify usage + Its not in Ubuntu main, so disable testing that requires it. +Author: James Page +Forwared: not-needed + +--- a/nova/tests/unit/console/test_websocketproxy.py ++++ b/nova/tests/unit/console/test_websocketproxy.py +@@ -16,8 +16,13 @@ + + + import mock ++import testtools ++ ++try: ++ from nova.console import websocketproxy ++except: ++ websocketproxy = None + +-from nova.console import websocketproxy + from nova import exception + from nova import test + from oslo_config import cfg +@@ -27,6 +32,7 @@ + + class NovaProxyRequestHandlerBaseTestCase(test.NoDBTestCase): + ++ @testtools.skipIf(websocketproxy is None, "websockify not available") + def setUp(self): + super(NovaProxyRequestHandlerBaseTestCase, self).setUp() + +--- a/nova/tests/unit/cmd/test_baseproxy.py ++++ /dev/null +@@ -1,67 +0,0 @@ +-# Copyright 2015 IBM Corp. +-# +-# Licensed under the Apache License, Version 2.0 (the "License"); +-# you may not use this file except in compliance with the License. +-# You may obtain a copy of the License at +-# +-# http://www.apache.org/licenses/LICENSE-2.0 +-# +-# Unless required by applicable law or agreed to in writing, software +-# distributed under the License is distributed on an "AS IS" BASIS, +-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-# See the License for the specific language governing permissions and +-# limitations under the License. +- +-import mock +-from oslo_log import log as logging +-from oslo_reports import guru_meditation_report as gmr +- +-from nova.cmd import baseproxy +-from nova import config +-from nova.console import websocketproxy +-from nova import test +-from nova import version +- +- +-@mock.patch.object(config, 'parse_args', new=lambda *args, **kwargs: None) +-class BaseProxyTestCase(test.NoDBTestCase): +- +- @mock.patch('os.path.exists', return_value=False) +- # NOTE(mriedem): sys.exit raises TestingException so we can actually exit +- # the test normally. +- @mock.patch('sys.exit', side_effect=test.TestingException) +- def test_proxy_ssl_without_cert(self, mock_exit, mock_exists): +- self.flags(ssl_only=True) +- self.assertRaises(test.TestingException, baseproxy.proxy, +- '0.0.0.0', '6080') +- mock_exit.assert_called_once_with(-1) +- +- @mock.patch('os.path.exists', return_value=False) +- @mock.patch('sys.exit', side_effect=test.TestingException) +- def test_proxy_web_dir_does_not_exist(self, mock_exit, mock_exists): +- self.flags(web='/my/fake/webserver/') +- self.assertRaises(test.TestingException, baseproxy.proxy, +- '0.0.0.0', '6080') +- mock_exit.assert_called_once_with(-1) +- +- @mock.patch('os.path.exists', return_value=True) +- @mock.patch.object(logging, 'setup') +- @mock.patch.object(gmr.TextGuruMeditation, 'setup_autorun') +- @mock.patch('nova.console.websocketproxy.NovaWebSocketProxy.__init__', +- return_value=None) +- @mock.patch('nova.console.websocketproxy.NovaWebSocketProxy.start_server') +- def test_proxy(self, mock_start, mock_init, mock_gmr, mock_log, +- mock_exists): +- # Force verbose=False so something else testing nova.cmd.baseproxy +- # doesn't impact the call to mocked NovaWebSocketProxy.__init__. +- self.flags(verbose=False) +- baseproxy.proxy('0.0.0.0', '6080') +- mock_log.assert_called_once_with(baseproxy.CONF, 'nova') +- mock_gmr.mock_assert_called_once_with(version) +- mock_init.assert_called_once_with( +- listen_host='0.0.0.0', listen_port='6080', source_is_ipv6=False, +- verbose=False, cert='self.pem', key=None, ssl_only=False, +- daemon=False, record=False, traffic=False, +- web='/usr/share/spice-html5', file_only=True, +- RequestHandlerClass=websocketproxy.NovaProxyRequestHandler) +- mock_start.assert_called_once_with() diff --git a/openstack/debian/openstack-nova/liberty/debian/patches/fixup-blkid.patch b/openstack/debian/openstack-nova/liberty/debian/patches/fixup-blkid.patch new file mode 100644 index 000000000..1a7dcfab7 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/patches/fixup-blkid.patch @@ -0,0 +1,41 @@ +From 27bbef87c4f0830c04844b1e4b0b2619a9e37530 Mon Sep 17 00:00:00 2001 +From: James Page +Date: Fri, 27 Feb 2015 11:27:30 +0000 +Subject: [PATCH] Handle return code 2 from blkid calls + +blkid returns code 2 if the requested TYPE key is not found +for the specified device. + +Ensure that this situation is handled correctly; blkid will +not return any data, so the return value will be empty. + +Change-Id: I38cd7b53cdfd694c0eba1b6054d8e4c33759b0b8 +Closes-Bug: #1426324 +--- + nova/tests/unit/virt/disk/vfs/test_localfs.py | 3 ++- + nova/virt/disk/vfs/localfs.py | 3 ++- + 2 files changed, 4 insertions(+), 2 deletions(-) + +--- a/nova/tests/unit/virt/disk/vfs/test_localfs.py ++++ b/nova/tests/unit/virt/disk/vfs/test_localfs.py +@@ -416,7 +416,8 @@ class VirtDiskVFSLocalFSTest(test.NoDBTe + execute.assert_called_once_with('blkid', '-o', + 'value', '-s', + 'TYPE', '/dev/xyz', +- run_as_root=True) ++ run_as_root=True, ++ check_exit_code=[0, 2]) + + @mock.patch.object(tempfile, 'mkdtemp') + @mock.patch.object(nova.virt.disk.mount.nbd, 'NbdMount') +--- a/nova/virt/disk/vfs/localfs.py ++++ b/nova/virt/disk/vfs/localfs.py +@@ -164,6 +164,7 @@ class VFSLocalFS(vfs.VFS): + out, err = utils.execute('blkid', '-o', + 'value', '-s', + 'TYPE', self.mount.device, +- run_as_root=True) ++ run_as_root=True, ++ check_exit_code=[0, 2]) + return out.strip() + return "" diff --git a/openstack/debian/openstack-nova/liberty/debian/patches/ignore-proxies.patch b/openstack/debian/openstack-nova/liberty/debian/patches/ignore-proxies.patch new file mode 100644 index 000000000..203ee0f36 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/patches/ignore-proxies.patch @@ -0,0 +1,24 @@ +Description: Ensure any proxies are ignored +Author: James Page +Forwarded: no + +--- a/nova/tests/unit/test_wsgi.py ++++ b/nova/tests/unit/test_wsgi.py +@@ -315,6 +315,7 @@ + + @testtools.skipIf(not utils.is_ipv6_supported(), "no ipv6 support") + def test_app_using_ipv6_and_ssl(self): ++ self.skipTest("Fails due to ProxyError in sbuild/builds") + greetings = 'Hello, World!!!' + + @webob.dec.wsgify +--- a/nova/tests/unit/test_fixtures.py ++++ b/nova/tests/unit/test_fixtures.py +@@ -157,6 +157,7 @@ + class TestOSAPIFixture(testtools.TestCase): + def test_responds_to_version(self): + """Ensure the OSAPI server responds to calls sensibly.""" ++ self.skipTest("Fails due to ProxyError in sbuild/builds") + self.useFixture(fixtures.OutputStreamCapture()) + self.useFixture(fixtures.StandardLogging()) + self.useFixture(conf_fixture.ConfFixture()) diff --git a/openstack/debian/openstack-nova/liberty/debian/patches/neutron-floating-ip-list.patch b/openstack/debian/openstack-nova/liberty/debian/patches/neutron-floating-ip-list.patch new file mode 100644 index 000000000..75c9c4426 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/patches/neutron-floating-ip-list.patch @@ -0,0 +1,35 @@ +From 6b40fc8b18d0294ca68cc53aaea158bf622371cf Mon Sep 17 00:00:00 2001 +From: James Page +Date: Thu, 16 Oct 2014 09:57:16 +0100 +Subject: [PATCH] Deal with neutron and nova-network data formats + +The Floating IP model returned via the Neutron v2 API is different to +that provided by the Nova Network API; check to see if instance uuid +is present in the top level of the Floating IP data and use that if +found. + +Resolves missing server uuids in 'nova floating-ip-list' when used +with Neutron networking. + +Change-Id: I82671546e40dbb06a2854d6ff6448beab7bbd763 +Closes-Bug: #1380965 +--- + nova/api/openstack/compute/contrib/floating_ips.py | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +--- a/nova/api/openstack/compute/floating_ips.py ++++ b/nova/api/openstack/compute/floating_ips.py +@@ -49,7 +49,12 @@ + except (TypeError, KeyError, AttributeError): + result['fixed_ip'] = None + try: +- result['instance_id'] = floating_ip['fixed_ip']['instance_uuid'] ++ # NOTE(jamespage) neutron based data uses a slight different ++ # underlying data format - use that if present ++ if 'instance' in floating_ip: ++ result['instance_id'] = floating_ip['instance']['uuid'] ++ else: ++ result['instance_id'] = floating_ip['fixed_ip']['instance_uuid'] + except (TypeError, KeyError, AttributeError): + result['instance_id'] = None + return {'floating_ip': result} diff --git a/openstack/debian/openstack-nova/liberty/debian/patches/rate-limit-power-syncs.patch b/openstack/debian/openstack-nova/liberty/debian/patches/rate-limit-power-syncs.patch new file mode 100644 index 000000000..4cfe6bbff --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/patches/rate-limit-power-syncs.patch @@ -0,0 +1,179 @@ +From ed8e35acea29bd67d83a16fbe6b3ece50b76c2ac Mon Sep 17 00:00:00 2001 +From: James Page +Date: Fri, 31 Oct 2014 14:18:54 +0000 +Subject: [PATCH] Rate limit power sync tasks to avoid overloading + +Performing all database <-> hypervisor period power state syncs in +parallel is a bad idea as this increases the loading on the +message broker and the conductors inline with the number of instances +running in the cloud. + +Provide a configuration option and spawn a sync manager thread to +rate limit the number of parallel sync activities happening during +the _sync_power_states period task using an eventlet queue. + +DocImpact + +Change-Id: I3d518249e6513d60b61d3877e7f647e82df60ed0 +Closes-bug: #1388077 +--- + nova/compute/manager.py | 60 +++++++++++++++++++-------- + nova/tests/unit/compute/eventlet_utils.py | 5 +++ + nova/tests/unit/compute/test_compute_mgr.py | 5 ++- + nova/tests/unit/compute/test_compute_xen.py | 5 ++- + 4 files changed, 55 insertions(+), 20 deletions(-) + +--- a/nova/compute/manager.py ++++ b/nova/compute/manager.py +@@ -143,6 +143,11 @@ + help='Interval to sync power states between the database and ' + 'the hypervisor. Set to -1 to disable. ' + 'Setting this to 0 will run at the default rate.'), ++ cfg.IntOpt('sync_power_state_concurrency', ++ default=20, ++ help='The level of concurrency that will be used during sync ' ++ 'of power states between the database and the ' ++ 'hypervisor.'), + cfg.IntOpt("heal_instance_info_cache_interval", + default=60, + help="Number of seconds between instance info_cache self " +@@ -621,8 +626,11 @@ + self.scheduler_rpcapi = scheduler_rpcapi.SchedulerAPI() + self._resource_tracker_dict = {} + self.instance_events = InstanceEvents() +- self._sync_power_pool = eventlet.GreenPool() ++ self._sync_power_pool = ( ++ eventlet.GreenPool(CONF.sync_power_state_concurrency)) ++ self._sync_power_queue = eventlet.Queue() + self._syncs_in_progress = {} ++ self._sync_manager = None + if CONF.max_concurrent_builds != 0: + self._build_semaphore = eventlet.semaphore.Semaphore( + CONF.max_concurrent_builds) +@@ -5816,33 +5824,49 @@ + {'num_db_instances': num_db_instances, + 'num_vm_instances': num_vm_instances}) + +- def _sync(db_instance): +- # NOTE(melwitt): This must be synchronized as we query state from +- # two separate sources, the driver and the database. +- # They are set (in stop_instance) and read, in sync. +- @utils.synchronized(db_instance.uuid) +- def query_driver_power_state_and_sync(): +- self._query_driver_power_state_and_sync(context, db_instance) ++ def _sync_manager(): ++ def _sync(db_instance): ++ # NOTE(melwitt): ++ # This must be synchronized as we query state from ++ # two separate sources, the driver and the database. ++ # They are set (in stop_instance) and read, in sync. ++ @utils.synchronized(db_instance.uuid) ++ def query_driver_power_state_and_sync(): ++ self._query_driver_power_state_and_sync(context, ++ db_instance) + +- try: +- query_driver_power_state_and_sync() +- except Exception: +- LOG.exception(_LE("Periodic sync_power_state task had an " +- "error while processing an instance."), +- instance=db_instance) +- +- self._syncs_in_progress.pop(db_instance.uuid) ++ try: ++ query_driver_power_state_and_sync() ++ except Exception: ++ LOG.exception(_LE("Periodic sync_power_state task had an " ++ "error while processing an instance."), ++ instance=db_instance) ++ ++ self._syncs_in_progress.pop(db_instance.uuid) ++ ++ while True: ++ while not self._sync_power_queue.empty(): ++ db_instance = self._sync_power_queue.get() ++ self._sync_power_pool.spawn_n(_sync, db_instance) ++ self._sync_power_pool.waitall() ++ if self._sync_power_queue.empty(): ++ self._sync_manager = None ++ break + + for db_instance in db_instances: +- # process syncs asynchronously - don't want instance locking to +- # block entire periodic task thread + uuid = db_instance.uuid + if uuid in self._syncs_in_progress: + LOG.debug('Sync already in progress for %s' % uuid) + else: + LOG.debug('Triggering sync for uuid %s' % uuid) + self._syncs_in_progress[uuid] = True +- self._sync_power_pool.spawn_n(_sync, db_instance) ++ self._sync_power_queue.put(db_instance) ++ ++ if not self._sync_manager: ++ # process syncs asynchronously via the sync manager as we ++ # don't want instance locking to block the entire periodic ++ # task thread ++ self._sync_manager = eventlet.spawn_n(_sync_manager) + + def _query_driver_power_state_and_sync(self, context, db_instance): + if db_instance.task_state is not None: +--- a/nova/tests/unit/compute/eventlet_utils.py ++++ b/nova/tests/unit/compute/eventlet_utils.py +@@ -15,6 +15,11 @@ + import eventlet + + ++def sync_spawn_n(func, *args, **kwargs): ++ """Synchronous spawn_n for testing threaded code.""" ++ func(*args, **kwargs) ++ ++ + class SyncPool(eventlet.GreenPool): + """Synchronous pool for testing threaded code without adding sleep + waits. +--- a/nova/tests/unit/compute/test_compute_mgr.py ++++ b/nova/tests/unit/compute/test_compute_mgr.py +@@ -42,6 +42,7 @@ + from nova.objects import block_device as block_device_obj + from nova.openstack.common import uuidutils + from nova import test ++from nova.tests.unit.compute import eventlet_utils + from nova.tests.unit.compute import fake_resource_tracker + from nova.tests.unit import fake_block_device + from nova.tests.unit import fake_instance +@@ -1081,10 +1082,12 @@ + self.mox.ReplayAll() + self.compute._instance_usage_audit(self.context) + ++ @mock.patch('eventlet.spawn_n') + @mock.patch.object(objects.InstanceList, 'get_by_host') +- def test_sync_power_states(self, mock_get): ++ def test_sync_power_states(self, mock_get, mock_spawn_n): + instance = mock.Mock() + mock_get.return_value = [instance] ++ mock_spawn_n.side_effect = eventlet_utils.sync_spawn_n + with mock.patch.object(self.compute._sync_power_pool, + 'spawn_n') as mock_spawn: + self.compute._sync_power_states(mock.sentinel.context) +--- a/nova/tests/unit/compute/test_compute_xen.py ++++ b/nova/tests/unit/compute/test_compute_xen.py +@@ -12,6 +12,7 @@ + + """Tests for expectations of behaviour from the Xen driver.""" + ++import mock + from oslo.config import cfg + from oslo.utils import importutils + +@@ -42,7 +43,9 @@ + # execute power syncing synchronously for testing: + self.compute._sync_power_pool = eventlet_utils.SyncPool() + +- def test_sync_power_states_instance_not_found(self): ++ @mock.patch('eventlet.spawn_n') ++ def test_sync_power_states_instance_not_found(self, _spawn_n): ++ _spawn_n.side_effect = eventlet_utils.sync_spawn_n + db_instance = fake_instance.fake_db_instance() + ctxt = context.get_admin_context() + instance_list = instance_obj._make_instance_list(ctxt, diff --git a/openstack/debian/openstack-nova/liberty/debian/patches/series b/openstack/debian/openstack-nova/liberty/debian/patches/series new file mode 100644 index 000000000..efa5195ae --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/patches/series @@ -0,0 +1,8 @@ +# Ubuntu specific patches below here. Note these can be dropped eventually. +arm-console-patch.patch +update-run-tests.patch +disable-websockify-tests.patch +neutron-floating-ip-list.patch +skip-cinder-tests.patch +ignore-proxies.patch +disable-sphinxcontrib.seqdiag.patch diff --git a/openstack/debian/openstack-nova/liberty/debian/patches/skip-cinder-tests.patch b/openstack/debian/openstack-nova/liberty/debian/patches/skip-cinder-tests.patch new file mode 100644 index 000000000..2d9ed95a5 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/patches/skip-cinder-tests.patch @@ -0,0 +1,61 @@ +--- a/nova/tests/unit/test_cinder.py ++++ b/nova/tests/unit/test_cinder.py +@@ -115,15 +115,21 @@ class CinderTestCase(BaseCinderTestCase, + self.create_client().client.endpoint_override) + + def test_get_non_existing_volume(self): +- self.requests.get(self.URL + '/volumes/nonexisting', +- status_code=404) ++ try: ++ self.requests.get(self.URL + '/volumes/nonexisting', ++ status_code=404) ++ except: ++ self.skipTest('Failed to connect') + + self.assertRaises(exception.VolumeNotFound, self.api.get, self.context, + 'nonexisting') + + def test_volume_with_image_metadata(self): + v = self.stub_volume(id='1234', volume_image_metadata=_image_metadata) +- m = self.requests.get(self.URL + '/volumes/5678', json={'volume': v}) ++ try: ++ m = self.requests.get(self.URL + '/volumes/5678', json={'volume': v}) ++ except: ++ self.skipTest('Skipped by Ubuntu') + + volume = self.api.get(self.context, '5678') + self.assertThat(m.last_request.path, +@@ -175,19 +181,28 @@ class CinderV2TestCase(BaseCinderTestCas + def test_cinder_endpoint_template(self): + endpoint = 'http://other_host:8776/v2/%(project_id)s' + self.flags(endpoint_template=endpoint, group='cinder') +- self.assertEqual('http://other_host:8776/v2/project_id', +- self.create_client().client.endpoint_override) ++ try: ++ self.assertEqual('http://other_host:8776/v2/project_id', ++ self.create_client().client.endpoint_override) ++ except: ++ self.skipTest('Skipped by Ubuntu') + + def test_get_non_existing_volume(self): +- self.requests.get(self.URL + '/volumes/nonexisting', +- status_code=404) ++ try: ++ self.requests.get(self.URL + '/volumes/nonexisting', ++ status_code=404) ++ except: ++ self.skipTest('Skipped by Ubuntu') + + self.assertRaises(exception.VolumeNotFound, self.api.get, self.context, + 'nonexisting') + + def test_volume_with_image_metadata(self): + v = self.stub_volume(id='1234', volume_image_metadata=_image_metadata) +- self.requests.get(self.URL + '/volumes/5678', json={'volume': v}) ++ try: ++ self.requests.get(self.URL + '/volumes/5678', json={'volume': v}) ++ except: ++ self.skipTest('Environment not setup') + volume = self.api.get(self.context, '5678') + self.assertIn('volume_image_metadata', volume) + self.assertEqual(_image_metadata, volume['volume_image_metadata']) diff --git a/openstack/debian/openstack-nova/liberty/debian/patches/skip-ubuntu-tests.patch b/openstack/debian/openstack-nova/liberty/debian/patches/skip-ubuntu-tests.patch new file mode 100644 index 000000000..b9dde8098 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/patches/skip-ubuntu-tests.patch @@ -0,0 +1,68 @@ +--- a/nova/tests/unit/compute/test_claims.py ++++ b/nova/tests/unit/compute/test_claims.py +@@ -177,18 +177,24 @@ class ClaimTestCase(test.NoDBTestCase): + + def test_disk_insufficient(self, mock_get): + limits = {'disk_gb': 45} +- self.assertRaisesRegex( +- exception.ComputeResourcesUnavailable, +- "disk", +- self._claim, limits=limits, root_gb=10, ephemeral_gb=40) ++ try: ++ self.assertRaisesRegex( ++ exception.ComputeResourcesUnavailable, ++ "disk", ++ self._claim, limits=limits, root_gb=10, ephemeral_gb=40) ++ except: ++ self.skipTest('Skipped by Ubuntu') + + def test_disk_and_memory_insufficient(self, mock_get): + limits = {'disk_gb': 45, 'memory_mb': 8192} +- self.assertRaisesRegex( +- exception.ComputeResourcesUnavailable, +- "memory.*disk", +- self._claim, limits=limits, root_gb=10, ephemeral_gb=40, +- memory_mb=16384) ++ try: ++ self.assertRaisesRegex( ++ exception.ComputeResourcesUnavailable, ++ "memory.*disk", ++ self._claim, limits=limits, root_gb=10, ephemeral_gb=40, ++ memory_mb=16384) ++ except: ++ self.skipTest('Skipped by Ubuntu') + + @pci_fakes.patch_pci_whitelist + def test_pci_pass(self, mock_get): +--- a/nova/tests/unit/objects/test_objects.py ++++ b/nova/tests/unit/objects/test_objects.py +@@ -457,8 +457,11 @@ class _TestObject(object): + class Foo(base.NovaObject): + fields = {'foobar': fields.IntegerField()} + obj = Foo() +- with self.assertRaisesRegex(NotImplementedError, ".*foobar.*"): +- obj.foobar ++ try: ++ with self.assertRaisesRegex(NotImplementedError, ".*foobar.*"): ++ obj.foobar ++ except: ++ self.skipTest('Skipped by Ubuntu') + + def test_loaded_in_primitive(self): + obj = MyObj(foo=1) +--- a/nova/tests/unit/test_wsgi.py ++++ b/nova/tests/unit/test_wsgi.py +@@ -327,8 +327,11 @@ class TestWSGIServerWithSSL(test.NoDBTes + + server.start() + +- response = requests.get('https://[::1]:%d/' % server.port, +- verify=os.path.join(SSL_CERT_DIR, 'ca.crt')) ++ try: ++ response = requests.get('https://[::1]:%d/' % server.port, ++ verify=os.path.join(SSL_CERT_DIR, 'ca.crt')) ++ except: ++ self.skipTest('Skipped by Ubuntu') + self.assertEqual(greetings, response.text) + + server.stop() diff --git a/openstack/debian/openstack-nova/liberty/debian/patches/update-run-tests.patch b/openstack/debian/openstack-nova/liberty/debian/patches/update-run-tests.patch new file mode 100644 index 000000000..ce6a31c57 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/patches/update-run-tests.patch @@ -0,0 +1,22 @@ +Description: Update run_tests.sh to show results. +Author: Chuck Short +Forwarded: not-needed + +--- a/run_tests.sh ++++ b/run_tests.sh +@@ -140,14 +140,7 @@ function run_tests { + ${wrapper} python setup.py egg_info + fi + echo "Running \`${wrapper} $TESTRTESTS\`" +- if ${wrapper} which subunit-2to1 >/dev/null 2>&1 +- then +- # subunit-2to1 is present, testr subunit stream should be in version 2 +- # format. Convert to version one before colorizing. +- bash -c "${wrapper} $TESTRTESTS | ${wrapper} subunit-2to1 | ${wrapper} tools/colorizer.py" +- else +- bash -c "${wrapper} $TESTRTESTS | ${wrapper} tools/colorizer.py" +- fi ++ bash -c "${wrapper} $TESTRTESTS | ${wrapper} subunit2pyunit" + RESULT=$? + set -e + diff --git a/openstack/debian/openstack-nova/liberty/debian/pycompat b/openstack/debian/openstack-nova/liberty/debian/pycompat new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/openstack/debian/openstack-nova/liberty/debian/pydist-overrides b/openstack/debian/openstack-nova/liberty/debian/pydist-overrides new file mode 100644 index 000000000..50f4f95bf --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/pydist-overrides @@ -0,0 +1,5 @@ +coverage +setuptools-git +babel +websockify +wsgiref diff --git a/openstack/debian/openstack-nova/liberty/debian/python-nova.install b/openstack/debian/openstack-nova/liberty/debian/python-nova.install new file mode 100644 index 000000000..f451f8864 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/python-nova.install @@ -0,0 +1,2 @@ +debian/source_nova.py /usr/share/apport/package-hooks/ +usr/lib/python*/dist-packages/* diff --git a/openstack/debian/openstack-nova/liberty/debian/rules b/openstack/debian/openstack-nova/liberty/debian/rules new file mode 100755 index 000000000..58604cf4d --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/rules @@ -0,0 +1,85 @@ +#!/usr/bin/make -f + +# Verbose mode +#export DH_VERBOSE=1 + +export SB_TOP := $(shell pwd | sed -re "s/(.*)\/build\/openstack\/(.*)/\1/") +export BUILDDIR:= ${SB_TOP}/build/openstack/nova + +DEBVERS ?= $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p') +VERSION := $(shell dpkg-parsechangelog | sed -rne 's,^Version: ([0-9]:)*([^-]+).*,\2,p') +export OSLO_PACKAGE_VERSION=$(VERSION) +DEB_BUILD_OPTIONS += nodocs nocheck + +BUILDTAG = +ifdef TAG +BUILDTAG = $(TAG) +else +BUILDTAG = $(BUILDTIME) +endif + +%: + dh $@ --with python2 + +override_dh_auto_clean: + dh_auto_clean + rm -rf doc/build/* doc/source/api doc/.autogenerated + rm -rf tests.sqlite clean.sqlite run_tests.log + rm -rf CA + rm -f po/nova.pot + rm -rf .autogenerated + +override_dh_auto_build: + sed -i 's,BUILDTAG,$(BUILDTAG),g' debian/changelog + cd $(BUILDDIR); python setup.py build; python setup.py install -O2 --root $(BUILDDIR)/nova/debian/tmp + dh_auto_build +ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) + mkdir -p doc/build/html + mkdir -p doc/build/man + touch $(CURDIR)/doc/build/man/nova-rootwrap.1 + touch $(CURDIR)/doc/build/man/nova-manage.1 + sphinx-build -b man doc/source doc/build/man + sphinx-build -b html doc/source doc/build/html +endif + +get-orig-source: + uscan --verbose --rename --destdir=../build-area + +override_dh_install: + # Fix any api sample template files with broken permissions + find $(CURDIR)/debian/tmp -name *.tpl -exec chmod a-x {} \; + dh_install --fail-missing -Xbin/nova-all + chmod 440 $(CURDIR)/debian/nova-common/etc/sudoers.d/nova_sudoers + install -D -m 644 debian/source_nova.py debian/php5-common/usr/share/apport/package-hooks/source_nova.py + install -D -m 0644 $(CURDIR)/etc/nova/logging_sample.conf $(CURDIR)/debian/nova-common/etc/nova/logging.conf + for hypervisor in qemu kvm xen lxc vmware; do \ + install -D -m 0600 $(CURDIR)/debian/nova-compute-$${hypervisor}.conf $(CURDIR)/debian/nova-compute-$${hypervisor}/etc/nova/nova-compute.conf; \ + done + +override_dh_installdocs: + +override_dh_installman: + +override_dh_fixperms: + dh_fixperms -Xnova_sudoers -Xnova_tgt.conf + rm -f $(CURDIR)/debian/python-nova/usr/share/pyshared/nova/CA/.gitignore + rm -f $(CURDIR)/debian/python-nova/usr/share/pyshared/nova/CA/projects/.gitignore + rm -f $(CURDIR)/debian/python-nova/usr/share/pyshared/nova/CA/reqs/.gitignore + echo $(DEB_BUILD_OPTIONS) + echo $(CURDIR) + +ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) +override_dh_auto_test: + ./run_tests.sh -N -P nova.tests.unit + #testr init && testr run +endif + +override_dh_python2: + dh_python2 --no-guessing-deps + +override_dh_installlogrotate: + dh_installlogrotate + dh_installlogrotate --name=nova-manage + dh_installlogrotate --name=nova-dhcpbridge + +override_dh_installchangelogs: diff --git a/openstack/debian/openstack-nova/liberty/debian/source/format b/openstack/debian/openstack-nova/liberty/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/openstack/debian/openstack-nova/liberty/debian/source_nova.py b/openstack/debian/openstack-nova/liberty/debian/source_nova.py new file mode 100644 index 000000000..cea030f34 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/source_nova.py @@ -0,0 +1,34 @@ +#!/usr/bin/python + +'''openstack Apport interface + +Copyright (C) 2010 Canonical Ltd. +Author: Chuck Short + +This program is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2 of the License, or (at your +option) any later version. See http://www.gnu.org/copyleft/gpl.html for +the full text of the license. +''' + +import os +import subprocess +from apport.hookutils import * + +def add_info(report,ui): + response = ui.yesno("The contents of your /etc/nova/nova.conf file " + "may help developers diagnose your bug more " + "quickly. However, it may contain sensitive " + "information. Do you want to include it in your " + "bug report?") + if response == None: # user cancelled + raise StopIteration + + elif response == True: + attach_file(report, '/etc/nova/nova.conf', 'NovaConf') + + attach_related_packages(report, + ['python-nova', 'nova-common', 'nova-compute', 'nova-scheduler', + 'nova-volume', 'nova-api', 'nova-network', 'nova-objectstore', + 'nova-doc', 'nova-cert']) diff --git a/openstack/debian/openstack-nova/liberty/debian/tests/control b/openstack/debian/openstack-nova/liberty/debian/tests/control new file mode 100644 index 000000000..4aa3c250d --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/tests/control @@ -0,0 +1,5 @@ +Tests: nova-compute-daemons nova-daemons nova-clients nova-api python-nova +Depends: nova-compute, nova-conductor, nova-cert, nova-scheduler, nova-novncproxy, + nova-xvpvncproxy, nova-api, nova-network, nova-objectstore, nova-console, + nova-consoleauth, python-nova +Restrictions: needs-root diff --git a/openstack/debian/openstack-nova/liberty/debian/tests/nova-api b/openstack/debian/openstack-nova/liberty/debian/tests/nova-api new file mode 100755 index 000000000..1ec552f58 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/tests/nova-api @@ -0,0 +1,19 @@ +#!/bin/bash +#----------------- +# Testing nova-api +#----------------- +set -e +DAEMONS=('nova-api-metadata' 'nova-api-os-compute' 'nova-api-ec2') + +for daemon in "${DAEMONS[@]}"; do + apt-get install -y $daemon 2>&1 > /dev/null + + if pidof -x $daemon > /dev/null; then + echo "OK" + else + echo "ERROR: ${daemon} IS NOT RUNNING" + exit 1 + fi + + apt-get remove -y $daemon 2>&1 > /dev/null +done diff --git a/openstack/debian/openstack-nova/liberty/debian/tests/nova-clients b/openstack/debian/openstack-nova/liberty/debian/tests/nova-clients new file mode 100755 index 000000000..5d4a60301 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/tests/nova-clients @@ -0,0 +1,14 @@ +#!/bin/bash +#------------------------- +# Testing client utilities +#------------------------- +set -e + +HELP_CLIENTS=('nova-xvpvncproxy' 'nova-api') +for client in "${HELP_CLIENTS[@]}"; do + RET=$($client -h 2>&1 > /dev/null) + + if [[ $RET ]]; then + echo "ERROR, ${client} is not running" + fi +done diff --git a/openstack/debian/openstack-nova/liberty/debian/tests/nova-compute-daemons b/openstack/debian/openstack-nova/liberty/debian/tests/nova-compute-daemons new file mode 100755 index 000000000..38aeb7932 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/tests/nova-compute-daemons @@ -0,0 +1,27 @@ +#!/bin/bash +#--------------------- +# Testing nova-compute +#--------------------- +set -e +DAEMONS=('nova-compute-kvm' 'nova-compute-lxc' 'nova-compute-qemu') + +for daemon in "${DAEMONS[@]}"; do + apt-get install -y nova-compute $daemon 2>&1 + + TIMEOUT=50 + while [ "$TIMEOUT" -gt 0 ]; do + if pidof -x nova-compute > /dev/null; then + echo "OK" + break + fi + TIMEOUT=$((TIMEOUT - 1)) + sleep 0.1 + done + + if [ "$TIMEOUT" -le 0 ]; then + echo "ERROR: NOVA-COMPUTE FOR $daemon IS NOT RUNNING" + exit 1 + fi + + apt-get remove -y $daemon nova-compute 2>&1 +done diff --git a/openstack/debian/openstack-nova/liberty/debian/tests/nova-daemons b/openstack/debian/openstack-nova/liberty/debian/tests/nova-daemons new file mode 100755 index 000000000..248d7a84e --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/tests/nova-daemons @@ -0,0 +1,16 @@ +#!/bin/bash +#--------------------- +# Testing nova-daemons +#--------------------- +set -e +DAEMONS=('nova-conductor' 'nova-cert' 'nova-scheduler' 'nova-network' 'nova-objectstore' \ + 'nova-console' 'nova-consoleauth') + +for daemon in "${DAEMONS[@]}"; do + if pidof -x $daemon > /dev/null; then + echo "OK" + else + echo "ERROR: ${daemon} IS NOT RUNNING" + exit 1 + fi +done diff --git a/openstack/debian/openstack-nova/liberty/debian/tests/python-nova b/openstack/debian/openstack-nova/liberty/debian/tests/python-nova new file mode 100755 index 000000000..878b8e284 --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/tests/python-nova @@ -0,0 +1,14 @@ +#!/bin/bash +#------------------------- +# Testing client utilities +#------------------------- +set -e + +result=$(python `dirname $0`/test_import_nova.py 2>&1) +if [ "$result" ]; then + echo "ERROR: PYTHON-NOVA MODULE CANNOT BE IMPORTED" + exit 1 +else + echo "OK" + exit 0 +fi diff --git a/openstack/debian/openstack-nova/liberty/debian/tests/test_import_nova.py b/openstack/debian/openstack-nova/liberty/debian/tests/test_import_nova.py new file mode 100644 index 000000000..297bd5bab --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/tests/test_import_nova.py @@ -0,0 +1,4 @@ +try: + import nova +except ImportError, e: + print "ERROR IMPORTING MODULE" diff --git a/openstack/debian/openstack-nova/liberty/debian/watch b/openstack/debian/openstack-nova/liberty/debian/watch new file mode 100644 index 000000000..21473ad5a --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/\.([a-zA-Z])/~$1/;s/%7E/~/;s/\.0b/~b/;s/\.0rc/~rc/" \ + http://tarballs.openstack.org/nova/ nova-(\d.*)\.tar\.gz diff --git a/openstack/debian/openstack-nova/liberty/debian/xen-openvswitch-nova.rules b/openstack/debian/openstack-nova/liberty/debian/xen-openvswitch-nova.rules new file mode 100644 index 000000000..75682fb5a --- /dev/null +++ b/openstack/debian/openstack-nova/liberty/debian/xen-openvswitch-nova.rules @@ -0,0 +1 @@ +SUBSYSTEM=="xen-backend", KERNEL=="vif*", RUN+="/usr/lib/xcp/scripts/ovs_configure_vif_flows.py $env{ACTION} %k all"