Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: libmath-tamuanova-perl

libmath-tamuanova-perl (1.0.2-2ubuntu7) disco; urgency=medium * No-change rebuild for the perl 5.28 transition. -- Adam Conrad <adconrad@ubuntu.com> Fri, 02 Nov 2018 18:11:59 -0600 libmath-tamuanova-perl (1.0.2-2ubuntu6) artful; urgency=medium * No-change rebuild for perl 5.26.0. -- Matthias Klose <doko@ubuntu.com> Wed, 26 Jul 2017 20:07:45 +0000 libmath-tamuanova-perl (1.0.2-2ubuntu5) zesty; urgency=medium * No-change rebuild for perl 5.24 transition -- Iain Lane <iain@orangesquash.org.uk> Mon, 24 Oct 2016 10:24:01 +0100 libmath-tamuanova-perl (1.0.2-2ubuntu4) xenial; urgency=medium * Rebuild for Perl 5.22.1. -- Colin Watson <cjwatson@ubuntu.com> Thu, 17 Dec 2015 15:50:25 +0000 libmath-tamuanova-perl (1.0.2-2ubuntu3) utopic; urgency=medium * Rebuild for Perl 5.20.0. -- Colin Watson <cjwatson@ubuntu.com> Wed, 20 Aug 2014 12:33:26 +0100 libmath-tamuanova-perl (1.0.2-2ubuntu2) trusty; urgency=low * Rebuild for Perl 5.18. -- Colin Watson <cjwatson@ubuntu.com> Mon, 21 Oct 2013 10:23:18 +0100 libmath-tamuanova-perl (1.0.2-2ubuntu1) raring; urgency=low * Merge from Debian unstable. (LP: #1077296) Remaining changes: - Build with -Wl,--no-as-needed because libgsl is underlinked. -- Vibhav Pant <vibhavp@gmail.com> Sat, 10 Nov 2012 10:24:41 +0530

Modifications :
  1. Download patch debian/rules

    --- 1.0.2-2/debian/rules 2012-08-08 13:26:21.000000000 +0000 +++ 1.0.2-2ubuntu7/debian/rules 2012-11-12 09:22:09.000000000 +0000 @@ -1,6 +1,7 @@ #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- +export LDFLAGS += -Wl,--no-as-needed %: dh $@
  2. Download patch debian/control

    --- 1.0.2-2/debian/control 2012-08-08 13:26:21.000000000 +0000 +++ 1.0.2-2ubuntu7/debian/control 2012-11-12 09:22:09.000000000 +0000 @@ -6,7 +6,8 @@ Build-Depends: debhelper (>= 9.20120312) libtamuanova-dev, libtest-deep-perl, perl -Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org> Uploaders: Vincent Danjean <vdanjean@debian.org>, Nathan Handler <nhandler@ubuntu.com> Standards-Version: 3.9.3

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: nova

nova (2:19.0.0-0ubuntu6) eoan; urgency=medium * Drop skip-openssl-1.1.1-tests.patch, now properly fixed with xenapi- agent-change-openssl-error-handling.patch. -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 21 May 2019 10:44:19 +0100 nova (2:19.0.0-0ubuntu5) eoan; urgency=medium * d/p/bug_1825882.patch: Cherry-picked from upstream to ensure virsh disk attach does not fail silently (LP: #1825882). * d/p/bug_1826523.patch: Cherry-picked from upstream to ensure always disconnect volumes after libvirt exceptions (LP: #1826523). -- Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com> Thu, 16 May 2019 10:41:27 +0200 nova (2:19.0.0-0ubuntu4) eoan; urgency=medium * d/p/xenapi-agent-change-openssl-error-handling.patch: Cherry-picked from upstream to ensure xenapi agent only raises a RuntimeError exception when openssl returns a non-zero exit code (LP: #1771506). -- Corey Bryant <corey.bryant@canonical.com> Wed, 01 May 2019 17:10:47 -0400 nova (2:19.0.0-0ubuntu3) eoan; urgency=medium * d/p/eventlet-monkey-patching-should-be-as-early-as-possible.patch: Cherry-picked from upstream master branch to fix py3+wsgi+ssl crash (LP: #1808951). -- Corey Bryant <corey.bryant@canonical.com> Thu, 25 Apr 2019 09:51:42 -0400 nova (2:19.0.0-0ubuntu2) disco; urgency=medium * d/p/skip-openssl-1.1.1-tests.patch: Skip openssl 1.1.1 incompatible tests from 18.04 onwards. -- James Page <james.page@ubuntu.com> Mon, 15 Apr 2019 08:42:30 +0100 nova (2:19.0.0-0ubuntu1) disco; urgency=medium * Upstream release for OpenStack Stein. -- Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com> Fri, 12 Apr 2019 11:31:18 +0100 nova (2:19.0.0~rc1-0ubuntu1) disco; urgency=medium * d/watch: track 19.x series. * New upstream release candidate for OpenStack Stein. * d/control: Align (Build-)Depends with upstream. * d/p/*: Refresh. -- James Page <james.page@ubuntu.com> Fri, 22 Mar 2019 10:10:50 +0000 nova (2:19.0.0~b1~git2019031419.b7bd97bc88-0ubuntu1) disco; urgency=medium * New upstream snapshot for OpenStack Stein. * d/control: Align (Build-)Depends with upstream. -- James Page <james.page@ubuntu.com> Thu, 14 Mar 2019 14:11:20 +0000 nova (2:19.0.0~b1~git2019013113.33aad0fe41-0ubuntu2) disco; urgency=medium * d/control: Add python3-websockify to Depends (LP: #1108935). Also move nova-common binary package to the end of d/control file as it makes more sense to be after python3-nova. * d/p/skip-openssl-1.1.1-tests.patch: Updated to use lsb_release.get_distro_information as lsb_release.get_lsb_information is not available in the disco version. -- Corey Bryant <corey.bryant@canonical.com> Thu, 07 Feb 2019 10:04:09 -0500 nova (2:19.0.0~b1~git2019013113.33aad0fe41-0ubuntu1) disco; urgency=medium * New upstream snapshot for OpenStack Stein. * d/control: Align (Build-)Depends with upstream. * d/p/ensure-rbd-auth-fallback-uses-matching-credentials.patch: Dropped. Fixed in new upstream snapshot. * d/p/*: Rebased. * d/p/skip-py3.7-tests.patch, d/p/py37-misc-fixes.patch: Dropped. The py37 issues have been fixed upstream by Christ Dent in https://review.openstack.org/#/c/624055/. -- Corey Bryant <corey.bryant@canonical.com> Thu, 31 Jan 2019 13:17:41 -0500 nova (2:19.0.0~b1~git2018120609.c9dca64fa6-0ubuntu4) disco; urgency=medium * d/nova-api-os-compute.*, d/control, d/tests/nova-api: Drop systemd init in favor of apache2+mod_wsgi (LP: #1812672). Also drop libapache2-mod-wsgi from nova-placement-api. -- Corey Bryant <corey.bryant@canonical.com> Fri, 25 Jan 2019 09:29:10 -0500 nova (2:19.0.0~b1~git2018120609.c9dca64fa6-0ubuntu3) disco; urgency=medium * d/tests/nova-daemons: sqlalchemy now defaults to mysqldb so we must override the driver to use pymysql. -- Corey Bryant <corey.bryant@canonical.com> Thu, 10 Jan 2019 14:20:57 -0500 nova (2:19.0.0~b1~git2018120609.c9dca64fa6-0ubuntu2) disco; urgency=medium * d/p/ensure-rbd-auth-fallback-uses-matching-credentials.patch: Cherry- picked from upstream to ensure ceph backend continues to work for upgrades from pre-Ocata (LP: #1809454). -- Corey Bryant <corey.bryant@canonical.com> Fri, 21 Dec 2018 09:20:12 -0500 nova (2:19.0.0~b1~git2018120609.c9dca64fa6-0ubuntu1) disco; urgency=medium * d/tests/control, d/tests/nova-daemons: Switch to using mysql-server databases in autopkgtests. * New upstream snapshot for OpenStack Stein. * d/control: Ensure python3-migrate version is compatable with sqlite>=3.26 (LP: #1807262). -- Corey Bryant <corey.bryant@canonical.com> Thu, 06 Dec 2018 09:31:17 -0500 nova (2:19.0.0~b1~git2018112010.ea26392239-0ubuntu1) disco; urgency=medium * New upstream snapshot for OpenStack Stein. * d/control: Align (Build-)Depends with upstream. * d/p/skip-py3.7-tests.patch: Rebased. * d/py(3)dist-overrides: Rename pydist-overrides to py3dist-overrides to align with dropping of Python 2 support. -- Corey Bryant <corey.bryant@canonical.com> Tue, 20 Nov 2018 10:15:24 -0500 nova (2:19.0.0~b1~git2018111953.3e756ff674-0ubuntu1) disco; urgency=medium * New upstream snapshot for OpenStack Stein. * d/control,rules,python*,d/tests: Drop Python 2 support. * d/p/*: Drop and rebase as needed. * d/p/py37-misc-fixes.patch: Misc Py 3.7 fixes (LP: #1782786). -- James Page <james.page@ubuntu.com> Mon, 19 Nov 2018 16:33:22 +0000 nova (2:18.0.1-0ubuntu3) disco; urgency=medium * d/tests/nova-shebangs-py3: Update shebang for Python 3.7. -- Corey Bryant <corey.bryant@canonical.com> Wed, 07 Nov 2018 09:11:09 -0500 nova (2:18.0.1-0ubuntu2) disco; urgency=medium * d/p/disk-size-live-migration-overcommit.patch: Cherry-picked from https://review.openstack.org/#/c/602477 to ensure proper disk calculation during live migration with over-commit (LP: #1744079). -- Corey Bryant <corey.bryant@canonical.com> Mon, 05 Nov 2018 09:31:21 -0500 nova (2:18.0.1-0ubuntu1) cosmic; urgency=medium * New stable point release for OpenStack Rocky. * d/p/skip-openssl-1.1.1-tests.patch: Skip tests for >= cosmic that fail with openssl 1.1.1 (LP: #1771506). * d/p/py3.7-get-context-manager-async.patch: Cherry-picked from upstream master. This is needed for py3.7 where async is a keyword (LP: #1788833). * d/rules: Skip py3.7 tests until they run successfully upstream. -- Corey Bryant <corey.bryant@canonical.com> Wed, 03 Oct 2018 07:59:30 -0400 nova (2:18.0.0-0ubuntu5) cosmic; urgency=medium * d/control: Set min python-oslo.db to rocky version (4.40.0) as requirements.txt min version is too low (LP: #1793353). -- Corey Bryant <corey.bryant@canonical.com> Thu, 20 Sep 2018 11:26:53 +0200 nova (2:18.0.0-0ubuntu4) cosmic; urgency=medium * d/p/skip-py3.7-tests.patch: Update to skip test_check_doubled_words on all Python versions, working around hacking unit test failure with Python snapshots in Ubuntu Cosmic. -- James Page <james.page@ubuntu.com> Wed, 05 Sep 2018 11:36:27 +0100 nova (2:18.0.0-0ubuntu3) cosmic; urgency=medium * d/control: nova-common - Add Breaks/Replaces on python-nova to resolve issue with upgrade from prior versions. -- James Page <james.page@ubuntu.com> Tue, 04 Sep 2018 14:33:29 +0100 nova (2:18.0.0-0ubuntu2) cosmic; urgency=medium * Misc fixes for /etc/nova and -common moves: - d/control: Drop depends from -common to python-nova | python3-nova. - d/*.postinst: Ensure files in /etc/nova are root:nova owned, with 0640 permissions for access. - d/*.postinst: Ensure files in /etc/nova/rootwrap.d are root:root owned with 0644 access. * d/control: Drop obsolete fields. * d/tests/control: Add needs-root, allow-stderr to py3 tests. -- James Page <james.page@ubuntu.com> Fri, 31 Aug 2018 12:39:23 +0100 nova (2:18.0.0-0ubuntu1) cosmic; urgency=medium * New upstream release for OpenStack Rocky. -- Corey Bryant <corey.bryant@canonical.com> Thu, 30 Aug 2018 10:28:12 -0400 nova (2:18.0.0~rc1-0ubuntu3) cosmic; urgency=medium * d/control: Drop Breaks/Replaces of glance-api as it was not intended (copy/paste fail). -- Corey Bryant <corey.bryant@canonical.com> Fri, 17 Aug 2018 10:52:26 -0400 nova (2:18.0.0~rc1-0ubuntu2) cosmic; urgency=medium * d/control: Move python(3)-zvmcloudconnector from Suggests to Depends. -- Corey Bryant <corey.bryant@canonical.com> Fri, 17 Aug 2018 10:15:16 -0400 nova (2:18.0.0~rc1-0ubuntu1) cosmic; urgency=medium * New upstream milestone for OpenStack Rocky. * d/control: Align (Build-)Depends with upstream. * d/p/fix-convert-image-test.patch: Dropped. Fixed in upstream milestone. * d/p/*: Rebased. * d/p/drop-sphinx-feature-classification.patch: Drop sphinx_feature_classification.support_matrix until package is available. * New upstream release candidate for OpenStack Rocky. * d/control: Align (Build-)Depends with upstream. * d/p/py3.7-async-keyword.patch: Dropped. Fixed upstream. -- Corey Bryant <corey.bryant@canonical.com> Fri, 10 Aug 2018 17:29:02 -0400 nova (2:18.0.0~b2-0ubuntu3) cosmic; urgency=medium * Add support for Python 3: - d/control: Add Py3 BDs and python3-nova package. - d/control: Support Py2 first and Py3 as alternative. - d/control: Move all python deps to python(3)-nova Depends. - d/control, d/rules, d/*.install: Move common files to nova-common and have python(3)-nova depend on it. - d/rules: Add Py3 support. - d/rules: Use pkgos-dh_auto_install as this helps name binaries for update-alternatives. - d/rules: Run tests with pkgos-dh_auto_test. - d/python-nova.install: Drop install of usr/lib/python*, not needed. - d/*.install: Drop usr/bin/* as pkgos-dh_auto_install handles install of those files. - d/python(3)-nova.post*, d/python(3)-nova.prerm: Add update-alternatives to enable correct shebangs for Python binaries. - d/tests/*: Enable Py3 tests for nova daemons and add shebang tests. - d/p/py3.7-async-keyword.patch: Cherry-pick from gerrit for py3.7 compatibility. - d/p/skip-py3.7-tests.patch: Skip remaining 2 failing Py3.7 tests and file bug upstream. -- Corey Bryant <corey.bryant@canonical.com> Mon, 16 Jul 2018 18:08:31 -0400 nova (2:18.0.0~b2-0ubuntu2) cosmic; urgency=medium * d/control: Drop circular dependencies. nova-compute depends on nova-compute-* packages. nova-compute-* packages shouldn't depend on nova-compute. nova-compute-* should however depend on nova-common. (LP: #1761140). -- Corey Bryant <corey.bryant@canonical.com> Wed, 27 Jun 2018 10:40:01 -0400 nova (2:18.0.0~b2-0ubuntu1) cosmic; urgency=medium * New upstream milestone for OpenStack Rocky. * d/control: Align (Build-)Depends with upstream. * d/p/mock-utils.execute-in-qemu-img-unit-test.patch: Dropped. Fixed in new upstream milestone. * d/p/*: Rebased. * d/control: Drop python-openstackdocstheme and python-wsgi-intercept BDs to min versions that are currently available. * d/p/fix-convert-image-test.patch: Fix mock in failing image convert test. -- Corey Bryant <corey.bryant@canonical.com> Wed, 13 Jun 2018 14:54:52 -0400 nova (2:18.0.0~b1-0ubuntu1) cosmic; urgency=medium * d/watch: Scope to 18.x series. * New upstream milestone for OpenStack Rocky. * d/control: Align (Build-)Depends with upstream. * d/control, d/rules: Update Standards-Version to 4.1.4. * d/watch, d/control, d/copyright: Use https URLs. * d/control: Drop obsolete XS-Testsuite: autopkgtest header. * d/control: Enable autopkgtest-pkg-python testsuite. * d/p/mock-utils.execute-in-qemu-img-unit-test.patch: Cherry-picked from upstream master branch to fix failing test. -- Corey Bryant <corey.bryant@canonical.com> Wed, 16 May 2018 14:51:23 -0400 nova (2:17.0.3-0ubuntu2) cosmic; urgency=medium * New stable point release for OpenStack Queens (LP: #1767128). * d/p/arm-console-patch.patch: Rebased. -- Corey Bryant <corey.bryant@canonical.com> Wed, 02 May 2018 15:13:48 -0400 nova (2:17.0.1-0ubuntu1) bionic; urgency=medium * New upstream point release for OpenStack Queens. -- Corey Bryant <corey.bryant@canonical.com> Mon, 12 Mar 2018 12:43:39 -0400 nova (2:17.0.0-0ubuntu2) bionic; urgency=medium * Add Depends nova-compute-kvm -> ipxe-qemu{-256k-compat-efi-roms} to ensure that required ROM's are installed for all architectures (LP: #1754015). -- James Page <james.page@ubuntu.com> Mon, 12 Mar 2018 16:06:06 +0000 nova (2:17.0.0-0ubuntu1) bionic; urgency=medium * New upstream release for OpenStack Queens. -- Corey Bryant <corey.bryant@canonical.com> Wed, 28 Feb 2018 12:44:34 -0500 nova (2:17.0.0~rc3-0ubuntu1) bionic; urgency=medium * New upstream release candidate for OpenStack Queens. -- Corey Bryant <corey.bryant@canonical.com> Mon, 26 Feb 2018 16:18:37 -0500 nova (2:17.0.0~rc2-0ubuntu1) bionic; urgency=medium * New upstream release candidate for OpenStack Queens. * d/control: Align (Build-)Depends with upstream. -- Corey Bryant <corey.bryant@canonical.com> Tue, 20 Feb 2018 12:47:40 -0500 nova (2:17.0.0~rc1-0ubuntu1) bionic; urgency=medium * New upstream milestone for OpenStack Queens. * d/control: Align (Build-)Depends with upstream. * d/control: Switch to python3-sphinx. -- James Page <james.page@ubuntu.com> Tue, 13 Feb 2018 11:09:31 +0000 nova (2:17.0.0~b3-0ubuntu4) bionic; urgency=medium * d/tests/control: allow-stderr to avoid test failures due to deprecation notices being printed to stderr (LP: #1748123). -- James Page <james.page@ubuntu.com> Thu, 08 Feb 2018 09:11:59 +0000 nova (2:17.0.0~b3-0ubuntu3) bionic; urgency=medium * d/control: Drop min version of python-sphinxcontrib.blockdiag/seqdiag. -- Corey Bryant <corey.bryant@canonical.com> Thu, 01 Feb 2018 09:30:56 -0500 nova (2:17.0.0~b3-0ubuntu2) bionic; urgency=medium * d/p/revert-generalize-db-conf-group-copying.patch: Revert upstream patch due to failure described in https://bugs.launchpad.net/bugs/1746530. -- Corey Bryant <corey.bryant@canonical.com> Wed, 31 Jan 2018 09:06:59 -0500 nova (2:17.0.0~b3-0ubuntu1) bionic; urgency=medium [ Christian Ehrhardt ] * d/control: move libvirt dependency from transitional libvirt-bin to new package libvirt-daemon-system (LP: #1694159). [ James Page ] * d/nova-compute.init.in: Update startup dependency from libvirt-bin to libvirtd. [ Corey Bryant ] * New upstream milestone for OpenStack Queens. * d/control: Align (Build-)Depends with upstream. -- Corey Bryant <corey.bryant@canonical.com> Fri, 26 Jan 2018 13:10:05 -0500 nova (2:17.0.0~b2-0ubuntu2) bionic; urgency=medium * d/nova-common.postinst: Use reserved uid/gid for nova user/group, ensuring consistency across deployments (LP: #1657202). -- James Page <james.page@ubuntu.com> Tue, 12 Dec 2017 15:20:52 +0000 nova (2:17.0.0~b2-0ubuntu1) bionic; urgency=medium * New upstream milestone for OpenStack Queens. * d/control: Align (Build-)Depends with upstream. * d/*: wrap-and-sort -bast. * d/control,compat: Bump debhelper compat to 10, drop BD on dh- systemd. * d/control: Bumped Standards-Version to 4.1.2. * d/watch: Limit uscan to 17.x series. * d/nova-compute.install: Drop nova-idmapshift. -- James Page <james.page@ubuntu.com> Mon, 11 Dec 2017 09:53:05 +0000 nova (2:17.0.0~b1-0ubuntu1) bionic; urgency=medium * New upstream milestone for OpenStack Queens. * d/control: Align (Build-)Depends with upstream. * d/p/*: Refresh, drop patches no longer needed. * d/*.install: Fix install from data_files locations. -- James Page <james.page@ubuntu.com> Wed, 15 Nov 2017 16:52:42 +0000 nova (2:16.0.1-0ubuntu2) bionic; urgency=medium [ James Page ] * d/p/qemu-2.10-compat.patch: Drop, fix included upstream. [ Corey Bryant ] * d/nova-placement-api.conf: Align with keystone apache2 site config (LP: #1684468). -- Corey Bryant <corey.bryant@canonical.com> Tue, 31 Oct 2017 13:40:22 -0400 nova (2:16.0.1-0ubuntu1) artful; urgency=medium * New stable point release for OpenStack Pike (LP: #1719728). -- Corey Bryant <corey.bryant@canonical.com> Wed, 27 Sep 2017 09:59:14 -0400 nova (2:16.0.0-0ubuntu2) artful; urgency=medium * d/p/qemu-2.10-compat.patch: Compatibility patch to resolve issues with qemu-img info calls on running instances, which blocks live migration of instances among other things (LP: #1718133). -- James Page <james.page@ubuntu.com> Wed, 20 Sep 2017 18:12:27 +0100 nova (2:16.0.0-0ubuntu1) artful; urgency=medium * New upstream release for OpenStack Pike. -- James Page <james.page@ubuntu.com> Wed, 30 Aug 2017 14:55:07 +0100 nova (2:16.0.0~rc2-0ubuntu3) artful; urgency=medium * d/tests/nova-daemons: Run db sync prior to testing services are running. -- Corey Bryant <corey.bryant@canonical.com> Tue, 29 Aug 2017 16:36:46 -0400 nova (2:16.0.0~rc2-0ubuntu2) artful; urgency=medium * d/nova-common.postinst: Drop db sync (LP: #1713059). -- Corey Bryant <corey.bryant@canonical.com> Tue, 29 Aug 2017 11:12:46 -0400 nova (2:16.0.0~rc2-0ubuntu1) artful; urgency=medium * New upstream release candidate for OpenStack Pike. -- Corey Bryant <corey.bryant@canonical.com> Fri, 25 Aug 2017 08:22:28 -0400 nova (2:16.0.0~rc1-0ubuntu1) artful; urgency=medium * New upstream release candidate for OpenStack Pike. * d/control: Align (Build-)Depends with upstream. * d/p/*: Rebased. * d/p/skip-ssl-tests.patch: Skip SSL tests that are timing out. -- Corey Bryant <corey.bryant@canonical.com> Wed, 16 Aug 2017 21:55:53 -0400 nova (2:16.0.0~b3-0ubuntu3) artful; urgency=medium * d/control: Set min python-requests to 2.14.2. -- Corey Bryant <corey.bryant@canonical.com> Thu, 03 Aug 2017 16:18:50 -0400 nova (2:16.0.0~b3-0ubuntu2) artful; urgency=medium * d/p/skip-test.patch: Skip test_validate_volume_no_mtab_entry as it depends on /etc/mtab which isn't available in LP builds. -- Corey Bryant <corey.bryant@canonical.com> Wed, 02 Aug 2017 12:12:04 -0400 nova (2:16.0.0~b3-0ubuntu1) artful; urgency=medium * New upstream release for OpenStack Pike. * d/control: Align (Build-)Depends with upstream. * d/p/arm-console-patch.patch: Rebased. * d/p/aarch64-libvirt-compat.patch: Rebased. * d/p/drop-openstackdoctheme.patch: Temporarily drop openstackdocstheme sphinx extension until sphinx>=1.6.2 is available. * d/rules: Set PYTHONPATH for nova import when running sphinx. -- Corey Bryant <corey.bryant@canonical.com> Mon, 31 Jul 2017 14:49:40 -0400 nova (2:16.0.0~b2-0ubuntu2) artful; urgency=medium * d/tests/*: Drop nova-cert from DEP-8 tests. * d/p/aarch64-libvirt-compat.patch: Compatibility shim to resolve issues on aarch64 architecture (LP: #1697610). -- James Page <james.page@ubuntu.com> Thu, 27 Jul 2017 13:29:38 +0100 nova (2:16.0.0~b2-0ubuntu1) artful; urgency=medium * d/p/drop-iscsi-test.patch: Drop, included upstream. * d/control: Add python-pypowervm to (Build-)Depends. * d/*: wrap-and-sort. * d/python-nova.install: Install WSGI entry points for API and Metadata services. * d/nova-cert.*,control: Drop nova-cert package, removed post deprecation upstream. * d/control: Add python-os-traits to (Build-)Depends. * New upstream release for OpenStack Pike. * d/control: Align (Build-)Depends with upstream. * d/control: Bumped Standards-Version to 3.9.8, no changes. -- James Page <james.page@ubuntu.com> Fri, 16 Jun 2017 16:48:51 +0100 nova (2:16.0.0~b1-0ubuntu4) artful; urgency=medium * Resolve autopkgtest failures: - d/rules: Set sane default for state_path in nova.conf. - d/rules: Set sane default for nova api database connection. - d/nova-common.postinst: Sync Nova API database and fix permissions if configured with sqlite. -- James Page <james.page@ubuntu.com> Tue, 02 May 2017 21:35:01 -0400 nova (2:16.0.0~b1-0ubuntu3) artful; urgency=medium * d/p/drop-iscsi-test.patch: Cherry pick fix for compat with os-brick 1.12.0. * d/rules,control: Switch to crudini to set defaults for nova.conf. -- James Page <james.page@ubuntu.com> Fri, 28 Apr 2017 15:50:08 +0100 nova (2:16.0.0~b1-0ubuntu2) artful; urgency=medium * No-change rebuild for sqlalchemy 1.1.x. -- James Page <james.page@ubuntu.com> Fri, 28 Apr 2017 09:58:52 +0100 nova (2:16.0.0~b1-0ubuntu1) artful; urgency=medium [ Chuck Short ] * d/pydist-override: Remove dead dependencies. * d/README.Debian: Remove outdated information. * d/debian/xen-openvswitch-nova.rules: Dropped no longer installed anywhere. * d/control: Add python-tooz * d/rules, d/nova-conf.dist, d/setup-nova-config.sh: - Remove deprecated configuration options. - Simplify /etc/nova/nova.conf file generation. * d/control: Add python-cursive as dependency. [ James Page ] * New upstream milestone for OpenStack Pike. * Align (Build-)Depends with upstream milestone. -- James Page <james.page@ubuntu.com> Fri, 21 Apr 2017 17:11:59 +0100 nova (2:15.0.2-0ubuntu1) zesty; urgency=medium * New upstream point release for OpenStack Ocata. -- Chuck Short <zulcss@ubuntu.com> Wed, 22 Mar 2017 08:42:18 -0400 nova (2:15.0.1-0ubuntu1) zesty; urgency=medium * New upstream point release for OpenStack Ocata. -- James Page <james.page@ubuntu.com> Wed, 15 Mar 2017 14:52:46 +0000 nova (2:15.0.0-0ubuntu1.1) zesty; urgency=medium * d/nova-placement-api.conf: Fix typo in combined log format (LP: #1671509). -- Corey Bryant <corey.bryant@canonical.com> Thu, 09 Mar 2017 15:28:19 -0500 nova (2:15.0.0-0ubuntu1) zesty; urgency=medium * New upstream release for OpenStack Ocata. -- Corey Bryant <corey.bryant@canonical.com> Wed, 22 Feb 2017 09:57:01 -0500 nova (2:15.0.0~rc2-0ubuntu1) zesty; urgency=medium * New upstream milestone for Ocata. * d/p/add-update_cell-command-to-nova-manage.patch: Dropped no longer needed. * d/p/enable-defaults-for-update_cell-command.patch: Dropped no longer needed. -- Chuck Short <zulcss@ubuntu.com> Fri, 17 Feb 2017 08:40:43 -0500 nova (2:15.0.0~rc1-0ubuntu3) zesty; urgency=medium * d/p/add-update_cell-command-to-nova-manage.patch: Cherry-picked from upstream stable/ocata branch to enable update of existing v2 cell. This enables scaling of rabbitmq-server. * d/p/enable-defaults-for-update_cell-command.patch: Cherry-picked from gerrit to enable use of default arguments with update_cell. -- Corey Bryant <corey.bryant@canonical.com> Wed, 15 Feb 2017 11:43:48 -0500 nova (2:15.0.0~rc1-0ubuntu2) zesty; urgency=medium * debian/rules, debian/tests: Fix autopkgtests. -- Chuck Short <zulcss@ubuntu.com> Wed, 08 Feb 2017 16:23:32 -0500 nova (2:15.0.0~rc1-0ubuntu1) zesty; urgency=medium * New upstream milestone for Ocata. -- Chuck Short <zulcss@ubuntu.com> Tue, 07 Feb 2017 13:24:09 -0500 nova (2:15.0.0~b3-0ubuntu2) zesty; urgency=medium * debian/control: Fix bad dependencies. -- Chuck Short <zulcss@ubuntu.com> Wed, 01 Feb 2017 08:57:57 -0500 nova (2:15.0.0~b3-0ubuntu1) zesty; urgency=medium [ Chuck Short ] * debian/nova-common.install: Add nova-status command. * debian/control: Add python-os-xenapi package. * debian/control: Add python-osprofiler package. * New upstream milestone for OpenStack Ocata. * d/control: Align (Build-)Depends with upstream. -- Chuck Short <zulcss@ubuntu.com> Fri, 27 Jan 2017 12:31:56 -0500 nova (2:15.0.0~b2-0ubuntu4) zesty; urgency=medium * d/control: Add bridge-utils dep to nova-compute. -- Corey Bryant <corey.bryant@canonical.com> Tue, 24 Jan 2017 12:16:53 -0500 nova (2:15.0.0~b2-0ubuntu3) zesty; urgency=medium * d/p/os-vif-1.4-compat.patch: Cherry pick patch for compat with os-vif >= 1.4. -- James Page <james.page@ubuntu.com> Mon, 23 Jan 2017 09:55:39 +0000 nova (2:15.0.0~b2-0ubuntu2) zesty; urgency=medium * d/t/*: Drop nova-network from tests as it is being deprecated and nova/cmd/network.py errors out of cells aren't enabled. -- Corey Bryant <corey.bryant@canonical.com> Wed, 21 Dec 2016 13:53:22 -0500 nova (2:15.0.0~b2-0ubuntu1) zesty; urgency=medium [ Chuck Short ] * debian/tests/nova-compute-daemon: Re-add tests. * debian/control: Add python-ddt as a dependency. * debian/patches/arm-console-patch.patch: Refreshed. * debian/nova-conf.dist: - Disable cells - Remove verbose logging [ Corey Bryant ] * d/p/arm-console-patch.patch: Rebased. * d/nova-placement-api.{apache2,conf,init.in}, d/control, d/rules: Run nova-placement-api under apache2 with mod_wsgi. * d/control: Drop 'Conflicts: nova-api' from nova-placement-api because placement api can't be specified on nova.conf's enabled_apis, which is used to specify which APIs to run when nova-api is used (confirmed by cdent). * New upstream version. * d/p/arm-console-patch.patch: Rebased. * New upstream milestone for OpenStack Ocata. * d/control: Align (Build-)Depends with upstream. * d/p/arm-console-patch.patch: Rebased. -- Corey Bryant <corey.bryant@canonical.com> Fri, 16 Dec 2016 14:48:56 -0500 nova (2:15.0.0~b1-1ubuntu3) zesty; urgency=medium * debian/tests/nova-compute-daemon: Simplify smoke test. -- Chuck Short <zulcss@ubuntu.com> Mon, 21 Nov 2016 13:44:20 -0500 nova (2:15.0.0~b1-1ubuntu2) zesty; urgency=medium * debian/setup-nova-config.sh: Fix nova.conf generation script. -- Chuck Short <zulcss@ubuntu.com> Fri, 18 Nov 2016 06:59:19 -0500 nova (2:15.0.0~b1-1ubuntu1) zesty; urgency=medium [ Chuck Short ] * New upstream release. * debian/pratches/wsgi-intercept.patch: Dropped no longer needed. * debian/patches/libvirt-add-hugepages-support-for-arm64.patch: Dropped no longer needed. * debian/control: Bump version dependencies. [ Corey Bryant ] * d/rules, d/nova-common.install: policy.json has been dropped since default policies are registered in code. Generate sample policy.yaml and install in /usr/share/nova. * d/debian/nova-common.postinst: Drop chmod of policy.json. * d/rules, d/nova-common.install, d/nova.conf: Drop hardcoded nova.conf and generate it instead (LP: #1506667). -- Chuck Short <zulcss@ubuntu.com> Thu, 17 Nov 2016 09:55:41 -0500 nova (2:14.0.1-0ubuntu1) yakkety; urgency=medium * New upstream point release for OpenStack Newton. -- Corey Bryant <corey.bryant@canonical.com> Wed, 12 Oct 2016 07:53:11 -0400 nova (2:14.0.0-0ubuntu1) yakkety; urgency=medium * New upstream release for OpenStack Newton. * d/t/nova-compute-daemons: Skip test execution if running within a container, ensuring that autopkgtests don't fail on armhf and s390x. * d/t/control,nova-compute-daemons: Don't install nova-compute as part of the autopkgtest control setup, direct install hypervisor specific nova-compute packages ensuring packages are configured in the correct order and that nova-compute can access the libvirt socket. -- James Page <james.page@ubuntu.com> Fri, 07 Oct 2016 08:48:28 +0100 nova (2:14.0.0~rc2-0ubuntu3) yakkety; urgency=medium * d/p/libvirt-add-hugepages-support-for-arm64.patch (LP: #1623871). * d/t/nova-compute-daemons: Restore old timeout for pid detection on autopkgtests, try all daemons before exiting, and dump nova-compute log on failure. * d/nova.conf: Various updates to align with Newton config options. -- dann frazier <dannf.frazier@canonical.com> Wed, 05 Oct 2016 15:23:36 -0600 nova (2:14.0.0~rc2-0ubuntu2) yakkety; urgency=medium * d/t/nova-compute-daemons: Bump timeout for pid detection as autopkgtests are timing out on some architectures. -- Corey Bryant <corey.bryant@canonical.com> Tue, 04 Oct 2016 12:11:43 -0400 nova (2:14.0.0~rc2-0ubuntu1) yakkety; urgency=medium [ James Page ] * New upstream snapshot. * Refresh patches. [ Corey Bryant ] * d/control: oslo.log min version level in global-requirements is too low, so set min version to upper-constraints level (LP: #1628883). * New upstream release candidate for OpenStack Newton. -- Corey Bryant <corey.bryant@canonical.com> Mon, 03 Oct 2016 11:03:58 -0400 nova (2:14.0.0~rc1-0ubuntu2) yakkety; urgency=medium * d/p/wsgi-intercept.patch: Cherry pick patch to disable runtime requirement on wsgi-intercept (LP: #1625653). -- James Page <james.page@ubuntu.com> Tue, 20 Sep 2016 21:09:38 +0100 nova (2:14.0.0~rc1-0ubuntu1) yakkety; urgency=medium * New upstream release candidate for OpenStack Newton. * d/control: Align (Build-)Depends with upstream. -- Corey Bryant <corey.bryant@canonical.com> Fri, 16 Sep 2016 08:59:39 -0400 nova (2:14.0.0~b4~dev96-0ubuntu1) yakkety; urgency=medium * d/control: add Suggests: rsync to nova-compute-libvirt, which may optionally use rsync for migration of instance disks between compute hosts (LP: #1534662). * New upstream snapshot in preparation for RC (LP: #1608934). -- James Page <james.page@ubuntu.com> Tue, 13 Sep 2016 20:29:05 +0100 nova (2:14.0.0~b3-0ubuntu2) yakkety; urgency=medium * Add timeout to the nova-daemons autopkgtest, to get it to pass more reliably on s390x. LP: #1618812 -- Dimitri John Ledkov <xnox@ubuntu.com> Mon, 05 Sep 2016 11:10:08 +0100 nova (2:14.0.0~b3-0ubuntu1) yakkety; urgency=medium [ Corey Bryant ] * d/rules: Add PBR_VERSION to set correct distro version for package build. [ James Page ] * New upstream version. * d/rules: Limit test execution to unit tests for package build. * d/tests/control: Add rabbitmq-server to dependencies for testing, avoiding autopkgtest failures (LP: #1602103). * d/tests/control,nova-daemons,nova-clients: Drop nova-clients test, test nova-api as part of nova-daemons. [ Corey Bryant ] * New upstream version. * d/control: Add python-oslo.privsep to (Build-)Depends. * New upstream version. [ James Page ] * d/control,nova-placement-api.*: Add binary package for new Nova placement API for managing resource providers. * New upstream release. * d/nova-common.install: Install nova-policy binary. -- James Page <james.page@ubuntu.com> Fri, 02 Sep 2016 10:23:10 +0100 nova (2:14.0.0~b2-0ubuntu1) yakkety; urgency=medium [ James Page ] * d/nova-common.postinst: Drop calls to usermod to change group of nova user from nogroup -> nova; this switch happened way back in time and can safely be dropped (LP: #1585794). * d/p/fix-asserts.patch: Drop, included upstream. [ Corey Bryant ] * New upstream version. * d/p/fix-parameters-to-migrateToURI3.patch: Dropped. Included upstream. * d/p/add-get-job-info.patch: Dropped. Included upstream. * d/p/fix-block-migration.patch: Dropped. Included upstream. * d/p/arm-console-patch.patch: Rebased. * d/control: Bump min python-fixtures to 3.0.0. [ James Page ] * d/control: Switch BD on websockify -> python-websockify. * New upstream version. [ Corey Bryant ] * New upstream milestone for OpenStack Newton. * d/control: Align (Build-)Depends with upstream. -- Corey Bryant <corey.bryant@canonical.com> Thu, 14 Jul 2016 11:35:16 -0400 nova (2:14.0.0~b1-0ubuntu3) yakkety; urgency=medium * Include changes from 2:13.0.0-0ubuntu4: - Prefer qemu-kvm, now that that correctly exists on all arches. -- Corey Bryant <corey.bryant@canonical.com> Thu, 16 Jun 2016 20:43:29 -0400 nova (2:14.0.0~b1-0ubuntu2) yakkety; urgency=medium * d/p/fix-block-migration.patch: Cherry pick and rebase patch from upstream master branch to fix block migration (LP: #1576093). * d/p/add-get-job-info.patch, d/p/fix-parameters-to-migrateToURI3.patch: Cherry pick and rebase from upstream master branch in support of fix-block-migration.patch. -- Corey Bryant <corey.bryant@canonical.com> Thu, 16 Jun 2016 15:26:03 -0400 nova (2:14.0.0~b1-0ubuntu1) yakkety; urgency=medium [ James Page ] * d/control,d/p/disable-websockify-tests.patch: Add BD on websockify, drop patch to skip tests. * d/p/doc-conf-git.patch: Drop, no longer needed. * d/p/neutron-floating-ip-list.patch: Dropped, fixed upstream. * d/control: Add python-microversion-parse to (Build-)Depends. * d/rules: Switch to using ostestr for test execution. * d/p/*: Tidy up redundant test skip patching. * d/p/fix-asserts.patch: Cherry pick proposed fix for misuse of assert calls in unit tests (DROPME WHEN LANDS). [ Corey Bryant ] * New upstream milestone for OpenStack Newton. * d/control: Align (Build-)Depends with upstream. * d/control: Leave paramiko at >= 1.16.0 for b1. -- Corey Bryant <corey.bryant@canonical.com> Mon, 06 Jun 2016 15:11:07 -0400 nova (2:13.0.0-0ubuntu4) yakkety; urgency=medium * Prefer qemu-kvm, now that that correctly exists on all arches. -- Adam Conrad <adconrad@ubuntu.com> Fri, 13 May 2016 18:49:03 -0600 nova (2:13.0.0-0ubuntu3) yakkety; urgency=medium * d/nova-compute-libvirt.postinst: Account for both libvirt and libvirtd groups when adding nova user to group. libvirt switched from libvirtd group to libvirt group in 1.3.3-2ubuntu1. -- Corey Bryant <corey.bryant@canonical.com> Fri, 13 May 2016 10:05:50 -0400 nova (2:13.0.0-0ubuntu2) xenial; urgency=medium * d/nova-compute.init.in: Switch dependency on libvirtd -> libvirt-bin inline with libvirt packaging in Ubuntu (LP: #1567811). -- James Page <james.page@ubuntu.com> Mon, 11 Apr 2016 11:15:06 +0100 nova (2:13.0.0-0ubuntu1) xenial; urgency=medium * New upstream release for OpenStack Mitaka. -- Corey Bryant <corey.bryant@canonical.com> Thu, 07 Apr 2016 16:04:26 -0400 nova (2:13.0.0~rc3-0ubuntu1) xenial; urgency=medium * New upstream release candidate for OpenStack Mitaka. -- James Page <james.page@ubuntu.com> Thu, 07 Apr 2016 09:01:20 +0100 nova (2:13.0.0~rc1-0ubuntu1) xenial; urgency=medium * New upstream release candidate for OpenStack Mitaka. * d/control: Align (Build-)Depends with upstream. * d/p/extend-fake-cert-expire.patch: Dropped. Fixed upstream. -- Corey Bryant <corey.bryant@canonical.com> Thu, 24 Mar 2016 08:34:59 -0400 nova (2:13.0.0~b3-0ubuntu1) xenial; urgency=medium [ James Page ] * d/control: Bump minimum version of openstack-pkg-tools to ensure that OSLO_LOCK_PATH and systemd stop timeouts are set correctly. [ Corey Bryant ] * New upstream release * d/control: Align (Build-)Depends with upstream. * d/p/*: Rebased patches. * d/p/skip-failing-wsgi-tests.patch: Skip test_ssl_server and test_two_servers, as they are failing on package builds since the replacement of eventlet- based raw socket client with requests. * d/p/extend-fake-cert-expire.patch: Cherry pick upstream patch to extend fake certificate expiration and fix intermittent test failure. -- Corey Bryant <corey.bryant@canonical.com> Fri, 04 Mar 2016 10:55:29 -0500 nova (2:13.0.0~b2-0ubuntu1) xenial; urgency=medium [ James Page ] * d/nova-compute.upstart.in: Don't try to modprobe kernel modules if running within a container (LP: #1535271). [ Corey Bryant ] * New upstream milestone for OpenStack Mitaka. * d/control: Align (build-)depends with upstream. * d/p/update-run-tests.patch: Dropped. run_tests.sh is being deprecated. * d/p/arm-console-patch.patch: Rebased. * d/p/disable-websockify-tests.patch: Rebased. * d/rules: Run tests with testr as run_tests.sh is being deprecated. * d/p/doc-conf-git.patch: Drop git commands that fail sphinx-build. * Drop EC2 API support as it is removed from the nova tree in Mitaka. Removes everything related to nova-api-ec2. * Drop nova-objectstore support as it is removed in Mitaka. Removes everything related to nova-objectstore. -- Corey Bryant <corey.bryant@canonical.com> Fri, 22 Jan 2016 10:44:27 -0500 nova (2:13.0.0~b1-0ubuntu1) xenial; urgency=medium * New upstream milestone for OpenStack Mitaka. * d/control: Align (build-)depends with upstream. * d/p/disable-sphinxcontrib.seqdiag.patch: Dropped. No longer needed. * d/p/ignore-proxies.patch: Rebased. -- Corey Bryant <corey.bryant@canonical.com> Thu, 17 Dec 2015 11:20:37 -0500 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 <martin.pitt@ubuntu.com> 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 <corey.bryant@canonical.com> 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 <corey.bryant@canonical.com> 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 <corey.bryant@canonical.com> 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 <corey.bryant@canonical.com> 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 <ubuntu@desserud.org> 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 <corey.bryant@canonical.com> 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 <corey.bryant@canonical.com> 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 <corey.bryant@canonical.com> 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 <james.page@ubuntu.com> 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 <james.page@ubuntu.com> 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 <edward.hope-morley@canonical.com> 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 <james.page@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <james.page@ubuntu.com> 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 <james.page@ubuntu.com> 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 <james.page@ubuntu.com> 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 <edward.hope-morley@canonical.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <corey.bryant@canonical.com> 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 <james.page@ubuntu.com> 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 <james.page@ubuntu.com> 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 <james.page@ubuntu.com> 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 <james.page@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <james.page@ubuntu.com> 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 <james.page@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <james.page@ubuntu.com> 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 <corey.bryant@canonical.com> 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 <james.page@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <james.page@ubuntu.com> 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 <zulcss@ubuntu.com> Thu, 05 Dec 2013 11:25:41 -0500 nova (1:2013.2-0ubuntu1) saucy; urgency=low * New upstream release (LP: #1236462). -- Chuck Short <zulcss@ubuntu.com> 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 <james.page@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <james.page@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <adconrad@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> Wed, 24 Apr 2013 07:39:25 -0500 nova (1:2013.1-0ubuntu1) raring; urgency=low * New upstream release. -- Chuck Short <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <jamie@ubuntu.com> 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 <adconrad@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <adamg@canonical.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> Thu, 27 Sep 2012 12:36:04 -0500 nova (2012.2~rc3-0ubuntu1) quantal; urgency=low * New upstream relase. -- Chuck Short <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <adamg@canonical.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <adamg@canonical.com> 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 <adamg@canonical.com> Tue, 05 Jun 2012 10:39:42 -0700 nova (2012.2~f2~20120531.14249-0ubuntu2) quantal; urgency=low * Really fix quantal postinst. -- Chuck Short <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> Thu, 12 Apr 2012 14:14:29 -0400 nova (2012.1-0ubuntu1) precise; urgency=low * New upstream release. -- Chuck Short <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <adamg@canonical.com> 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 <zulcss@ubuntu.com> 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 <adamg@canonical.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> Fri, 10 Feb 2012 11:25:38 -0500 nova (2012.1~e4~20120208.12523-0ubuntu1) zesty; 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 <soren@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <jamie@ubuntu.com> 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) <thierry@openstack.org> 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 <zulcss@ubuntu.com> 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 <jamie@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <adamg@canonical.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> Fri, 21 Oct 2011 14:37:26 -0400 nova (2012.1~e1~20110909.1546-0ubuntu0) zesty; 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 <mordred@inaugust.com> 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 <zulcss@ubuntu.com> 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 <robie.basak@ubuntu.com> 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 <james.page@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <mordred@inaugust.com> Wed, 21 Sep 2011 17:49:43 -0400 nova (2011.3~rc~20110909.r1155-0ubuntu1) oneiric; urgency=low * New upstream version. -- Chuck Short <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <soren@ubuntu.com> Wed, 25 May 2011 15:57:03 +0200 nova (2011.2-0ubuntu1) natty; urgency=low * New upstream release. -- Chuck Short <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> Fri, 11 Feb 2011 10:27:54 -0500 nova (2011.1-0ubuntu2) natty; urgency=low * Dont fail unittest because of buildd problems. -- Chuck Short <zulcss@ubuntu.com> 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 <zulcss@ubuntu.com> Thu, 03 Feb 2011 07:00:52 -0500 nova (2011.1~bzr638-0ubuntu1) natty; urgency=low * New upstream snapshot. -- Chuck Short <zulcss@ubuntu.com> 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) <thierry@openstack.org> 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 <zulcss@ubuntu.com> 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 <soren@ubuntu.com> 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 <soren@ubuntu.com> 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 <soren@ubuntu.com> 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 <soren@ubuntu.com> 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 <soren@ubuntu.com> Sat, 07 Aug 2010 11:38:30 +0200 nova (0.9.1~bzr204-0ubuntu1) maverick; urgency=low * First OpenStack release. -- Soren Hansen <soren@ubuntu.com> Wed, 04 Aug 2010 13:27:50 +0200

Modifications :
  1. Download patch debian/nova_sudoers

    --- 2:19.0.0-1/debian/nova_sudoers 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova_sudoers 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1,3 @@ +Defaults:nova !requiretty + +nova ALL = (root) NOPASSWD: /usr/bin/nova-rootwrap /etc/nova/rootwrap.conf *
  2. Download patch debian/nova-compute-kvm.conf

    --- 2:19.0.0-1/debian/nova-compute-kvm.conf 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-compute-kvm.conf 2019-05-16 08:41:27.000000000 +0000 @@ -1,9 +1,4 @@ [DEFAULT] compute_driver=libvirt.LibvirtDriver -neutron_ovs_bridge=br-int [libvirt] virt_type=kvm -vif_driver=nova.virt.libvirt.vif.LibvirtGenericVIFDriver -use_virtio_for_bridges=true -# This may be needed for -#cpu_mode=host-passthrough
  3. Download patch debian/nova-consoleproxy.nova-serialproxy.init.in

    --- 2:19.0.0-1/debian/nova-consoleproxy.nova-serialproxy.init.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-consoleproxy.nova-serialproxy.init.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,33 +0,0 @@ -#!/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 <zigo@debian.org> -DESC="OpenStack Nova Serial Proxy (nova-serialproxy)" -PROJECT_NAME=nova -NAME=${PROJECT_NAME}-serialproxy - -# Exit if the default file not present, or not set to run this daemon -if [ -r /etc/default/nova-consoleproxy ] ; then - . /etc/default/nova-consoleproxy -else - # This is to prevent pkgos-gen-systemd-unit to exit - if [ -z "${INIT_TEMPLATE}" ] ; then - exit 0 - fi -fi -if ! [ ""$(echo "${NOVA_SERIAL_PROXY_START}" | tr '[:upper:]' '[:lower:]') = "true" ] || [ "${NOVA_SERIAL_PROXY_START}" = "1" ] ; then - # This is to prevent pkgos-gen-systemd-unit to exit - if [ -z "${INIT_TEMPLATE}" ] ; then - exit 0 - fi -fi
  4. Download patch debian/nova-api.init.in

    --- 2:19.0.0-1/debian/nova-api.init.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-api.init.in 2019-05-16 08:41:27.000000000 +0000 @@ -14,9 +14,7 @@ # Author: Julien Danjou <acid@debian.org> # PATH should only include /usr/* if it runs after the mountnfs.sh script -DESC="OpenStack Nova API (nova-api)" +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Compute API" PROJECT_NAME=nova NAME=${PROJECT_NAME}-api -SYSTEMD_DOC="man:${NAME}(1)" -SYSTEMD_TYPE=notify -SYSTEMD_NOTIFY_ACCESS=all
  5. Download patch debian/nova-common.config.in

    --- 2:19.0.0-1/debian/nova-common.config.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-common.config.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,79 +0,0 @@ -#!/bin/sh -set -e - -. /usr/share/debconf/confmodule - -NOVA_CONF=/etc/nova/nova.conf - -#PKGOS-INCLUDE# - -set_enabled_apis_multiselect () { - local NOVA_APIS NOVA_API MULTISEL_VAL - pkgos_inifile get ${NOVA_CONF} DEFAULT enabled_apis - if [ -n "${RET}" ] && [ ! "${RET}" = "NOT_FOUND" ] ; then - NOVA_APIS=`echo $RET | sed "s/,/ /g"` - for NOVA_API in ${NOVA_APIS} ; do - if [ -n "${MULTISEL_VAL}" ] ; then - MULTISEL_VAL="${MULTISEL_VAL}, " - fi - MULTISEL_VAL="${MULTISEL_VAL}${NOVA_API}" - done - if [ -n "${MULTISEL_VAL}" ] ; then - db_set nova/active-api ${MULTISEL_VAL} - fi - fi - db_input high nova/active-api || true - db_go -} - -manage_nova_my_ip () { - pkgos_inifile get ${NOVA_CONF} DEFAULT my_ip - if [ -n "${RET}" ] && [ ! "${RET}" = "NOT_FOUND" ] ; then - db_set nova/my-ip "${RET}" - else - DEFROUTE_IF=`awk '{ if ( $2 == "00000000" ) print $1 }' /proc/net/route | head -n 1` - if [ -n "${DEFROUTE_IF}" ] ; then - DEFROUTE_IP=`LC_ALL=C ip addr show "${DEFROUTE_IF}" | grep inet | head -n 1 | awk '{print $2}' | cut -d/ -f1 | grep -E '^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$'` - if [ -n "${DEFROUTE_IP}" ] ; then - db_set nova/my-ip ${DEFROUTE_IP} - fi - fi - fi - db_input high nova/my-ip || true - db_go -} - -read_placement_config () { - pkgos_read_config -p high ${NOVA_CONF} placement project_name nova/placement_admin_tenant_name - pkgos_read_config -p high ${NOVA_CONF} placement region_name nova/placement_os_region_name - pkgos_read_config -p high ${NOVA_CONF} placement username nova/placement_admin_username - pkgos_read_config -p high ${NOVA_CONF} placement password nova/placement_admin_password -} - -read_neutron_config () { - # Keystone auth credential to talk to Neutron - pkgos_read_config -p high ${NOVA_CONF} neutron endpoint_override nova/neutron_url - pkgos_read_config -p medium ${NOVA_CONF} neutron project_name nova/neutron_admin_tenant_name - pkgos_read_config -p medium ${NOVA_CONF} neutron username nova/neutron_admin_username - pkgos_read_config -p high ${NOVA_CONF} neutron password nova/neutron_admin_password - - # The metadata_proxy_shared_secret - pkgos_read_config -p high ${NOVA_CONF} neutron metadata_proxy_shared_secret nova/metadata_secret -} - -pkgos_var_user_group nova /bin/sh -pkgos_dbc_read_conf -pkg nova-common ${NOVA_CONF} database connection nova $@ -pkgos_rabbit_read_conf ${NOVA_CONF} oslo_messaging_rabbit nova -pkgos_read_admin_creds ${NOVA_CONF} keystone_authtoken nova -read_neutron_config -read_placement_config - -set_enabled_apis_multiselect -manage_nova_my_ip - -# Cinder os_region_name config -pkgos_read_config -p high ${NOVA_CONF} cinder os_region_name nova/cinder_os_region_name -# Glance api_servers config -pkgos_read_config -p high ${NOVA_CONF} glance api_servers nova/glance_api_servers - -exit 0
  6. Download patch debian/nova-cells.install

    --- 2:19.0.0-1/debian/nova-cells.install 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-cells.install 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -usr/bin/nova-cells
  7. Download patch debian/nova-compute-qemu.postinst

    --- 2:19.0.0-1/debian/nova-compute-qemu.postinst 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-compute-qemu.postinst 2019-05-16 08:41:27.000000000 +0000 @@ -1,13 +1,8 @@ -#!/bin/sh - -set -e +#!/bin/sh -e if [ "$1" = "configure" ]; then - if dpkg-vendor --derives-from ubuntu ; then - adduser --quiet nova libvirtd - else - adduser --quiet nova libvirt - fi + chown root:nova /etc/nova/nova-compute.conf + chmod 0640 /etc/nova/nova-compute.conf fi #DEBHELPER#
  8. Download patch debian/nova-api-os-compute.conf

    --- 2:19.0.0-1/debian/nova-api-os-compute.conf 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-api-os-compute.conf 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1,37 @@ +Listen 8774 + +<VirtualHost *:8774> + WSGIScriptAlias / /usr/bin/nova-api-wsgi + WSGIDaemonProcess nova-api processes=5 threads=1 user=nova group=nova display-name=%{GROUP} + WSGIProcessGroup nova-api + WSGIApplicationGroup %{GLOBAL} + WSGIPassAuthorization On + LimitRequestBody 114688 + + <IfVersion >= 2.4> + ErrorLogFormat "%{cu}t %M" + </IfVersion> + + ErrorLog /var/log/apache2/nova_api_error.log + CustomLog /var/log/apache2/nova_api_access.log combined + + <Directory /usr/bin> + <IfVersion >= 2.4> + Require all granted + </IfVersion> + <IfVersion < 2.4> + Order allow,deny + Allow from all + </IfVersion> + </Directory> +</VirtualHost> + +Alias /nova-api /usr/bin/nova-api +<Location /nova-api> + SetHandler wsgi-script + Options +ExecCGI + + WSGIProcessGroup nova-api + WSGIApplicationGroup %{GLOBAL} + WSGIPassAuthorization On +</Location>
  9. Download patch debian/nova-scheduler.postrm

    --- 2:19.0.0-1/debian/nova-scheduler.postrm 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-scheduler.postrm 1970-01-01 00:00:00.000000000 +0000 @@ -1,10 +0,0 @@ -#!/bin/sh - -set -e - -if [ "$1" = "purge" ] ; then - rm -f /var/log/nova/nova-scheduler.log* -fi - - -#DEBHELPER#
  10. Download patch debian/nova-placement-api.conf

    --- 2:19.0.0-1/debian/nova-placement-api.conf 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-placement-api.conf 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1,37 @@ +Listen 8778 + +<VirtualHost *:8778> + WSGIScriptAlias / /usr/bin/nova-placement-api + WSGIDaemonProcess nova-placement processes=5 threads=1 user=nova group=nova display-name=%{GROUP} + WSGIProcessGroup nova-placement + WSGIApplicationGroup %{GLOBAL} + WSGIPassAuthorization On + LimitRequestBody 114688 + + <IfVersion >= 2.4> + ErrorLogFormat "%{cu}t %M" + </IfVersion> + + ErrorLog /var/log/apache2/nova_placement_error.log + CustomLog /var/log/apache2/nova_placement_access.log combined + + <Directory /usr/bin> + <IfVersion >= 2.4> + Require all granted + </IfVersion> + <IfVersion < 2.4> + Order allow,deny + Allow from all + </IfVersion> + </Directory> +</VirtualHost> + +Alias /placement /usr/bin/nova-placement-api +<Location /placement> + SetHandler wsgi-script + Options +ExecCGI + + WSGIProcessGroup nova-placement + WSGIApplicationGroup %{GLOBAL} + WSGIPassAuthorization On +</Location>
  11. Download patch debian/nova-console.init.in

    --- 2:19.0.0-1/debian/nova-console.init.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-console.init.in 2019-05-16 08:41:27.000000000 +0000 @@ -12,7 +12,7 @@ ### END INIT INFO # Author: Julien Danjou <acid@debian.org> -DESC="OpenStack Nova Console (nova-console)" + +DESC="OpenStack Compute Console" PROJECT_NAME=nova NAME=${PROJECT_NAME}-console -SYSTEMD_DOC="man:${NAME}(1)"
  12. Download patch debian/nova-common.postinst

    --- 2:19.0.0-1/debian/nova-common.postinst 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-common.postinst 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1,72 @@ +#!/bin/sh -e + +NOVA_UID=64060 +NOVA_GID=64060 + +if [ "$1" = "configure" ]; then + if ! getent group nova > /dev/null 2>&1; then + addgroup --quiet --system \ + --gid $NOVA_GID nova 2>/dev/null + fi + + if ! getent passwd nova > /dev/null 2>&1; then + adduser --quiet --system \ + --home /var/lib/nova \ + --no-create-home \ + --uid $NOVA_UID \ + --gid $NOVA_GID \ + --shell /bin/false nova 2>/dev/null + 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 + + chown -R nova:adm /var/log/nova + chmod 0750 /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 + + chown root:nova /etc/nova + chmod 0750 /etc/nova + + chown root:nova /etc/nova/*.conf /etc/nova/*.ini + chmod 0640 /etc/nova/*.conf /etc/nova/*.ini + + chown root:root /etc/nova/rootwrap.d /etc/nova/rootwrap.d/* + chmod 0755 /etc/nova/rootwrap.d + + if [ -e /var/lib/nova/nova.sqlite ] + then + chown nova:nova /var/lib/nova/nova.sqlite + chmod 0640 /var/lib/nova/nova.sqlite + fi + if [ -e /var/lib/nova/nova_api.sqlite ] + then + chown nova:nova /var/lib/nova/nova_api.sqlite + chmod 0640 /var/lib/nova/nova_api.sqlite + fi +fi + +#DEBHELPER#
  13. Download patch debian/nova-compute-xen.postinst

    --- 2:19.0.0-1/debian/nova-compute-xen.postinst 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-compute-xen.postinst 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1,8 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + chown root:nova /etc/nova/nova-compute.conf + chmod 0640 /etc/nova/nova-compute.conf +fi + +#DEBHELPER#
  14. Download patch debian/nova-compute-vmware.conf

    --- 2:19.0.0-1/debian/nova-compute-vmware.conf 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-compute-vmware.conf 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1,2 @@ +[DEFAULT] +compute_driver=vmwareapi.VMwareVCDriver
  15. Download patch debian/nova-common.prerm

    --- 2:19.0.0-1/debian/nova-common.prerm 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-common.prerm 1970-01-01 00:00:00.000000000 +0000 @@ -1,36 +0,0 @@ -#!/bin/sh - -set -e - -remove_cell0_database (){ - dump_timestamp=$(date +"%Y-%m-%d-%H-%M-%S") - if [ "${dbc_dbtype}" = "mysql" ]; then - # Drop nova_cell0 database - echo "===> nova-common: Dumping ${dbc_dbname}_cell0 database to /var/tmp/nova-common.${dbc_dbname}_cell0.${dump_timestamp}.mysql" - mysqldump -h ${dbc_dbserver} -u ${dbc_dbadmin} -p${dbc_dbadmpass} ${dbc_dbname}_cell0 > /var/tmp/nova-common.${dbc_dbname}_cell0.${dump_timestamp}.mysql - echo "===> nova-common: Revoking all privileges from '${dbc_dbuser}'@'${dbc_dballow}' for ${dbc_dbname}_cell0" - echo "REVOKE ALL PRIVILEGES ON ${dbc_dbname}_cell0.* FROM '${dbc_dbuser}'@'${dbc_dballow}';" | mysql -h ${dbc_dbserver} -u ${dbc_dbadmin} -p${dbc_dbadmpass} - echo "===> nova-common: Droping database ${dbc_dbname}_cell0" - echo "DROP DATABASE ${dbc_dbname}_cell0" | mysql -h ${dbc_dbserver} -u ${dbc_dbadmin} -p${dbc_dbadmpass} - elif [ "$nova_database_type" = "sqlite3" ]; then - echo "===> nova-common: Creation of database in sqlite3 is not currently supported. If you've created manually, delete also manually." - else - echo "===> nova-common: Database configuration available only for mysql currently. If you've created database manually, delete also manually." - fi -} - -if [ "${1}" = "remove" ] && [ -r /usr/share/debconf/confmodule ] && [ -r /usr/share/dbconfig-common/dpkg/prerm ] ; then - . /usr/share/debconf/confmodule - db_get nova/configure_db || true - if [ "$RET" = "true" ] ; then - . /usr/share/dbconfig-common/dpkg/prerm - dbc_go nova-common $@ - if [ "$dbc_remove" = "true" ]; then - remove_cell0_database - fi - fi -fi - -#DEBHELPER# - -exit 0
  16. Download patch debian/nova-api.install

    --- 2:19.0.0-1/debian/nova-api.install 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-api.install 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -etc/nova/rootwrap.d/api-metadata.filters -usr/bin/nova-api
  17. Download patch debian/nova-placement-api.templates.in

    --- 2:19.0.0-1/debian/nova-placement-api.templates.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-placement-api.templates.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -Template: nova-placement-api/configure_db -Type: boolean -Default: false -_Description: Set up a database for Nova Placement API? - No database has been set up for Nova placement to use. If you want - to set one up now, please make sure you have all needed - information: - . - * the host name of the database server (which must allow TCP - connections from this machine); - * a username and password to access the database; - * the type of database management software you want to use. - . - If you don't choose this option, no database will be set up and Nova - Placement api will use regular SQLite support. - . - You can change this setting later on by running "dpkg-reconfigure - -plow nova-placement-api". -
  18. Download patch debian/nova-common.triggers

    --- 2:19.0.0-1/debian/nova-common.triggers 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-common.triggers 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -interest nova-common-db-sync
  19. Download patch debian/nova-api.postinst.in

    --- 2:19.0.0-1/debian/nova-api.postinst.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-api.postinst.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,34 +0,0 @@ -#!/bin/sh - -set -e - -#PKGOS-INCLUDE# - -if [ "$1" = "configure" ] ; then - . /usr/share/debconf/confmodule - pkgos_register_endpoint_postinst nova nova compute "Nova Compute Service" 8774 /v2.1 - - db_get nova/active-api - if [ -n "${RET}" ] ; then - NOVA_APIS=`echo ${RET} | sed "s/ //g"` - pkgos_inifile set /etc/nova/nova.conf DEFAULT enabled_apis ${NOVA_APIS} - fi - - db_get novaapi/configure_db - if [ "$RET" = "true" ]; then - pkgos_dbc_postinst --suite nova /etc/nova/nova.conf api_database connection novaapi $@ - echo "===> nova-common: Now running \"nova-manage api_db sync\", this may take a while..." - su nova -s /bin/sh -c "nova-manage api_db sync" || true - echo "===> nova-common: Registering nova cell0 database" - su nova -s /bin/sh -c "nova-manage cell_v2 map_cell0 2>/dev/null" || true - echo "===> nova-common: Creating nova cell1 database" - su nova -s /bin/sh -c "nova-manage cell_v2 create_cell --name=cell1 --verbose 2>/dev/null" || true - dpkg-trigger --no-await nova-common-db-sync - fi - - db_stop -fi - -#DEBHELPER# - -exit 0
  20. Download patch debian/nova-consoleproxy.mydefault

    --- 2:19.0.0-1/debian/nova-consoleproxy.mydefault 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-consoleproxy.mydefault 1970-01-01 00:00:00.000000000 +0000 @@ -1,12 +0,0 @@ -# The below switch enables you to select which type of console proxy daemon you -# wish to start at boot time. Possible values are: -# - spicehtml5 -# - xenvnc -# - novnc - -NOVA_CONSOLE_PROXY_TYPE=spicehtml5 - -# This switch decides if you want to start or not the serialproxy daemon. -# Only allowed values are: TRUE or FALSE (case sensitive) - -NOVA_SERIAL_PROXY_START=true
  21. Download patch debian/nova-conductor.init.in

    --- 2:19.0.0-1/debian/nova-conductor.init.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-conductor.init.in 2019-05-16 08:41:27.000000000 +0000 @@ -11,12 +11,10 @@ # Description: Frontend Nova Conductor server ### END INIT INFO -# Author: Julien Danjou <acid@debian.org>, Thomas Goirand <zigo@debian.org> +# Author: Julien Danjou <acid@debian.org> # PATH should only include /usr/* if it runs after the mountnfs.sh script -DESC="OpenStack Nova Conductor (nova-conductor)" +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Compute Conductor" PROJECT_NAME=nova NAME=${PROJECT_NAME}-conductor -SYSTEMD_DOC="man:${NAME}(1)" -SYSTEMD_TYPE=notify -SYSTEMD_NOTIFY_ACCESS=all
  22. Download patch debian/patches/clean-up-build_requests-table-on-upgrades.patch

    --- 2:19.0.0-1/debian/patches/clean-up-build_requests-table-on-upgrades.patch 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/patches/clean-up-build_requests-table-on-upgrades.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -Description: Clean-up build_requests on upgrades -Author: Thomas Goirand <zigo@debian.org> -Forwarded: no -Last-Update: 2016-10-19 - ---- nova-14.0.0.orig/nova/db/sqlalchemy/api_migrations/migrate_repo/versions/013_build_request_extended_attrs.py -+++ nova-14.0.0/nova/db/sqlalchemy/api_migrations/migrate_repo/versions/013_build_request_extended_attrs.py -@@ -48,5 +48,7 @@ def upgrade(migrate_engine): - constrs = inspector.get_unique_constraints('build_requests') - constr_names = [constr['name'] for constr in constrs] - if 'uniq_build_requests0instance_uuid' not in constr_names: -+ sql = ("DELETE from build_requests WHERE instance_uuid IS NULL") -+ migrate_engine.execute(sql) - UniqueConstraint('instance_uuid', table=build_requests, - name='uniq_build_requests0instance_uuid').create()
  23. Download patch debian/nova-compute-libvirt.postinst

    --- 2:19.0.0-1/debian/nova-compute-libvirt.postinst 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-compute-libvirt.postinst 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1,19 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + # libvirt switched from libvirtd group to libvirt group in 1.3.3 + libvirt_group=$(getent group libvirt) || true + libvirtd_group=$(getent group libvirtd) || true + + if [ $libvirt_group ]; then + if ! echo $libvirt_group | grep -qE '\<nova\>'; then + adduser nova libvirt + fi + elif [ $libvirtd_group ]; then + if ! echo $libvirtd_group | grep -qE '\<nova\>'; then + adduser nova libvirtd + fi + fi +fi + +#DEBHELPER#
  24. Download patch debian/nova-api-os-compute.apache2

    --- 2:19.0.0-1/debian/nova-api-os-compute.apache2 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-api-os-compute.apache2 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1 @@ +site debian/nova-api-os-compute.conf
  25. Download patch debian/nova-xvpvncproxy.init.in

    --- 2:19.0.0-1/debian/nova-xvpvncproxy.init.in 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-xvpvncproxy.init.in 2019-05-16 08:41:27.000000000 +0000 @@ -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 <zigo@debian.org> + +DESC="OpenStack XVP VNC proxy" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-xvpvncproxy
  26. Download patch debian/nova-console.postrm

    --- 2:19.0.0-1/debian/nova-console.postrm 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-console.postrm 1970-01-01 00:00:00.000000000 +0000 @@ -1,10 +0,0 @@ -#!/bin/sh - -set -e - -if [ "$1" = "purge" ] ; then - rm -f /var/log/nova/nova-console*.log* -fi - - -#DEBHELPER#
  27. Download patch debian/nova-compute.postrm

    --- 2:19.0.0-1/debian/nova-compute.postrm 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-compute.postrm 1970-01-01 00:00:00.000000000 +0000 @@ -1,9 +0,0 @@ -#!/bin/sh - -set -e - -if [ "$1" = "purge" ] ; then - rm -f /var/log/nova/nova-compute.log* -fi - -#DEBHELPER#
  28. Download patch debian/nova-api.prerm

    --- 2:19.0.0-1/debian/nova-api.prerm 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-api.prerm 1970-01-01 00:00:00.000000000 +0000 @@ -1,16 +0,0 @@ -#!/bin/sh - -set -e - -if [ "${1}" = "remove" ] && [ -r /usr/share/debconf/confmodule ] && [ -r /usr/share/dbconfig-common/dpkg/prerm ] ; then - . /usr/share/debconf/confmodule - db_get novaapi/configure_db || true - if [ "$RET" = "true" ] ; then - . /usr/share/dbconfig-common/dpkg/prerm - dbc_go nova-api $@ - fi -fi - -#DEBHELPER# - -exit 0
  29. Download patch debian/nova-serialproxy.init.in

    --- 2:19.0.0-1/debian/nova-serialproxy.init.in 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-serialproxy.init.in 2019-05-16 08:41:27.000000000 +0000 @@ -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 <zigo@debian.org> + +# 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
  30. Download patch debian/nova-placement-api.apache2

    --- 2:19.0.0-1/debian/nova-placement-api.apache2 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-placement-api.apache2 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1 @@ +site debian/nova-placement-api.conf
  31. Download patch debian/nova-consoleproxy.nova-spicehtml5proxy.init.in

    --- 2:19.0.0-1/debian/nova-consoleproxy.nova-spicehtml5proxy.init.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-consoleproxy.nova-spicehtml5proxy.init.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,35 +0,0 @@ -#!/bin/sh -### BEGIN INIT INFO -# Provides: nova-spicehtml5proxy -# 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 <zigo@debian.org> -DESC="OpenStack Nova SPICE HTML5 Proxy (nova-spicehtml5proxy)" -PROJECT_NAME=nova -NAME=${PROJECT_NAME}-spicehtml5proxy - -# Exit if the default file not present, or not set to this daemon -if [ -r /etc/default/nova-consoleproxy ] ; then - . /etc/default/nova-consoleproxy -else - # This is to prevent pkgos-gen-systemd-unit to exit - if [ -z "${INIT_TEMPLATE}" ] ; then - exit 0 - fi -fi - -# If SERVICE_FILE is set, we're generating the .service file, and we don't want to exit -if ! [ "${NOVA_CONSOLE_PROXY_TYPE}" = "spicehtml5" ] && [ -z "${SERVICE_FILE}" ] ; then - # This is to prevent pkgos-gen-systemd-unit to exit - if [ -z "${INIT_TEMPLATE}" ] ; then - exit 0 - fi -fi
  32. Download patch debian/control
  33. Download patch debian/patches/bug_1826523.patch

    --- 2:19.0.0-1/debian/patches/bug_1826523.patch 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/patches/bug_1826523.patch 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1,54 @@ +From 091a910576d9b580678f1881fffa425ab4632f48 Mon Sep 17 00:00:00 2001 +From: Lee Yarwood <lyarwood@redhat.com> +Date: Thu, 25 Apr 2019 15:34:41 +0100 +Subject: [PATCH] libvirt: Always disconnect volumes after libvirtError + exceptions + +Building on Ib440f4f2e484312af5f393722363846f6c95b760 we should always +attempt to disconnect volumes from the host when exceptions are thrown +while attempting to attach a volume to a domain. This was previously +done for generic exceptions but not for libvirtError exceptions. + +Closes-Bug: #1826523 +Change-Id: If21230869826c992e7d0398434b9a4b255940213 +--- + nova/tests/unit/virt/libvirt/test_driver.py | 10 ++++++++-- + nova/virt/libvirt/driver.py | 2 ++ + 2 files changed, 10 insertions(+), 2 deletions(-) + +--- a/nova/tests/unit/virt/libvirt/test_driver.py ++++ b/nova/tests/unit/virt/libvirt/test_driver.py +@@ -7754,11 +7754,13 @@ + mock.patch.object(drvr._host, 'get_guest'), + mock.patch('nova.virt.libvirt.driver.LOG'), + mock.patch.object(drvr, '_connect_volume'), ++ mock.patch.object(drvr, '_disconnect_volume'), + mock.patch.object(drvr, '_get_volume_config'), + mock.patch.object(drvr, '_check_discard_for_attach_volume'), + mock.patch.object(drvr, '_build_device_metadata'), + ) as (mock_get_guest, mock_log, mock_connect_volume, +- mock_get_volume_config, mock_check_discard, mock_build_metadata): ++ mock_disconnect_volume, mock_get_volume_config, ++ mock_check_discard, mock_build_metadata): + + mock_conf = mock.MagicMock() + mock_guest = mock.MagicMock() +@@ -7773,6 +7775,7 @@ + disk_bus=bdm['disk_bus'], device_type=bdm['device_type']) + mock_log.exception.assert_called_once_with(u'Failed to attach ' + 'volume at mountpoint: %s', '/dev/vdb', instance=instance) ++ mock_disconnect_volume.assert_called_once() + + @mock.patch('nova.utils.get_image_from_system_metadata') + @mock.patch('nova.virt.libvirt.blockinfo.get_info_from_bdm') +--- a/nova/virt/libvirt/driver.py ++++ b/nova/virt/libvirt/driver.py +@@ -1516,6 +1516,8 @@ + else: + LOG.exception(_('Failed to attach volume at mountpoint: ' + '%s'), mountpoint, instance=instance) ++ self._disconnect_volume(context, connection_info, instance, ++ encryption=encryption) + except Exception: + LOG.exception(_('Failed to attach volume at mountpoint: %s'), + mountpoint, instance=instance)
  34. Download patch debian/nova-consoleproxy.postrm

    --- 2:19.0.0-1/debian/nova-consoleproxy.postrm 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-consoleproxy.postrm 1970-01-01 00:00:00.000000000 +0000 @@ -1,11 +0,0 @@ -#!/bin/sh - -set -e - -if [ "$1" = "purge" ] ; then - rm -f /var/log/nova/nova-*proxy.log* - rm -f /etc/default/nova-consoleproxy -fi - - -#DEBHELPER#
  35. Download patch debian/nova-consoleproxy.nova-xenvncproxy.init.in

    --- 2:19.0.0-1/debian/nova-consoleproxy.nova-xenvncproxy.init.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-consoleproxy.nova-xenvncproxy.init.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,33 +0,0 @@ -#!/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 <zigo@debian.org> -DESC="OpenStack Nova XVP VNC proxy (nova-xvpvncproxy)" -PROJECT_NAME=nova -NAME=${PROJECT_NAME}-xvpvncproxy -SYSTEMD_DOC="man:${NAME}(1)" - -# Exit if the default file not present, or not set to this daemon -if [ -r /etc/default/nova-consoleproxy ] ; then - . /etc/default/nova-consoleproxy -else - if [ -z "${INIT_TEMPLATE}" ] ; then - exit 0 - fi -fi - -# If SERVICE_FILE is set, we're generating the .service file, and we don't want to exit -if ! [ "${NOVA_CONSOLE_PROXY_TYPE}" = "xenvnc" ] && [ -z "${SERVICE_FILE}" ] ; then - # This is to prevent pkgos-gen-systemd-unit to exit - if [ -z "${INIT_TEMPLATE}" ] ; then - exit 0 - fi -fi
  36. Download patch debian/nova-console.install

    --- 2:19.0.0-1/debian/nova-console.install 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-console.install 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -usr/bin/nova-console
  37. Download patch ChangeLog
  38. Download patch debian/nova_tgt

    --- 2:19.0.0-1/debian/nova_tgt 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova_tgt 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -include /var/lib/nova/volumes/*
  39. Download patch debian/nova-placement-api.postinst.in

    --- 2:19.0.0-1/debian/nova-placement-api.postinst.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-placement-api.postinst.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,25 +0,0 @@ -#!/bin/sh - -set -e - -#PKGOS-INCLUDE# - -if [ "$1" = "configure" ] ; then - . /usr/share/debconf/confmodule - pkgos_register_endpoint_postinst nova-placement-api placement placement "Placement API" 8778 "" - - db_get nova-placement-api/configure_db - if [ "$RET" = "true" ]; then - pkgos_dbc_postinst --suite nova /etc/nova/nova.conf placement_database connection nova-placement-api $@ - echo "===> nova-common: Now running \"nova-manage api_db sync\", this may take a while..." - # This command is failing when api_database not filled, but it is false positive - # If we have nova api db populated , it is OK , placement db is not required still in rocky - su nova -s /bin/sh -c "nova-manage api_db sync 2>/dev/null" || true - fi - - db_stop -fi - -#DEBHELPER# - -exit 0
  40. Download patch debian/nova-placement-api.config.in

    --- 2:19.0.0-1/debian/nova-placement-api.config.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-placement-api.config.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,14 +0,0 @@ -#!/bin/sh - -set -e - -. /usr/share/debconf/confmodule - -NOVA_CONF=/etc/nova/nova.conf - -#PKGOS-INCLUDE# - -pkgos_register_endpoint_config nova-placement-api -pkgos_dbc_read_conf -pkg nova-placement-api ${NOVA_CONF} placement_database connection nova-placement-api $@ - -exit 0
  41. Download patch debian/nova-consoleproxy.config

    --- 2:19.0.0-1/debian/nova-consoleproxy.config 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-consoleproxy.config 1970-01-01 00:00:00.000000000 +0000 @@ -1,21 +0,0 @@ -#!/bin/sh - -set -e - -. /usr/share/debconf/confmodule - -if [ -r /etc/default/nova-consoleproxy ] ; then - . /etc/default/nova-consoleproxy -fi - -if [ "${NOVA_CONSOLE_PROXY_TYPE}" = "novnc" ] ; then - db_set nova-consoleproxy/daemon_type novnc -elif [ "${NOVA_CONSOLE_PROXY_TYPE}" = "xenvnc" ] ; then - db_set nova-consoleproxy/daemon_type xenvnc -else - db_set nova-consoleproxy/daemon_type spicehtml5 -fi -db_input medium nova-consoleproxy/daemon_type || true -db_go - -exit 0
  42. Download patch debian/nova-conductor.install

    --- 2:19.0.0-1/debian/nova-conductor.install 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-conductor.install 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -usr/bin/nova-conductor
  43. Download patch debian/nova-compute-vmware.postinst

    --- 2:19.0.0-1/debian/nova-compute-vmware.postinst 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-compute-vmware.postinst 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1,8 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + chown root:nova /etc/nova/nova-compute.conf + chmod 0640 /etc/nova/nova-compute.conf +fi + +#DEBHELPER#
  44. Download patch debian/nova-api-metadata.manpages

    --- 2:19.0.0-1/debian/nova-api-metadata.manpages 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-api-metadata.manpages 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1 @@ +doc/build/man/nova-api-metadata.1
  45. Download patch debian/nova-compute-uml.postinst

    --- 2:19.0.0-1/debian/nova-compute-uml.postinst 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-compute-uml.postinst 1970-01-01 00:00:00.000000000 +0000 @@ -1,13 +0,0 @@ -#!/bin/sh - -set -e - -if [ "$1" = "configure" ]; then - if dpkg-vendor --derives-from ubuntu ; then - adduser --quiet nova libvirtd - else - adduser --quiet nova libvirt - fi -fi - -#DEBHELPER#
  46. Download patch debian/nova-baremetal.init.in

    --- 2:19.0.0-1/debian/nova-baremetal.init.in 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-baremetal.init.in 2019-05-16 08:41:27.000000000 +0000 @@ -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 <acid@debian.org> + +# 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
  47. Download patch debian/nova-compute-ironic.conf

    --- 2:19.0.0-1/debian/nova-compute-ironic.conf 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-compute-ironic.conf 1970-01-01 00:00:00.000000000 +0000 @@ -1,10 +0,0 @@ -[DEFAULT] -compute_driver=nova.virt.ironic.IronicDriver -firewall_driver=nova.virt.firewall.NoopFirewallDriver -scheduler_host_manager=nova.scheduler.ironic_host_manager.IronicHostManager -ram_allocation_ratio=1.0 -reserved_host_memory_mb=0 -compute_manager=ironic.nova.compute.manager.ClusteredComputeManager - -[libvirt] -virt_type=qemu
  48. Download patch debian/nova-api.postrm.in

    --- 2:19.0.0-1/debian/nova-api.postrm.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-api.postrm.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,14 +0,0 @@ -#!/bin/sh - -set -e - -#PKGOS-INCLUDE# - -if [ "$1" = "purge" ] ; then - pkgos_dbc_postrm novaapi nova-api $@ - - rm -f /var/log/nova/nova-api.log* -fi - - -#DEBHELPER#
  49. Download patch debian/nova-compute.dirs

    --- 2:19.0.0-1/debian/nova-compute.dirs 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-compute.dirs 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -/var/lib/nova/instances
  50. Download patch debian/nova-compute-lxc.postinst

    --- 2:19.0.0-1/debian/nova-compute-lxc.postinst 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-compute-lxc.postinst 2019-05-16 08:41:27.000000000 +0000 @@ -1,13 +1,8 @@ -#!/bin/sh - -set -e +#!/bin/sh -e if [ "$1" = "configure" ]; then - if dpkg-vendor --derives-from ubuntu ; then - adduser --quiet nova libvirtd - else - adduser --quiet nova libvirt - fi + chown root:nova /etc/nova/nova-compute.conf + chmod 0640 /etc/nova/nova-compute.conf fi #DEBHELPER#
  51. Download patch debian/patches/arm-console-patch.patch

    --- 2:19.0.0-1/debian/patches/arm-console-patch.patch 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/patches/arm-console-patch.patch 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1,31 @@ +--- a/nova/tests/unit/virt/libvirt/test_driver.py ++++ b/nova/tests/unit/virt/libvirt/test_driver.py +@@ -2370,7 +2370,7 @@ class LibvirtConnTestCase(test.NoDBTestC + self.assertEqual(instance_ref.flavor.vcpus, cfg.vcpus) + self.assertEqual(fields.VMMode.EXE, cfg.os_type) + self.assertEqual("/sbin/init", cfg.os_init_path) +- self.assertEqual("console=tty0 console=ttyS0 console=hvc0", ++ self.assertEqual("console=tty0 console=ttyS0 console=hvc0 console=ttyAMA0", + cfg.os_cmdline) + self.assertIsNone(cfg.os_root) + self.assertEqual(3, len(cfg.devices)) +@@ -2396,7 +2396,7 @@ class LibvirtConnTestCase(test.NoDBTestC + self.assertEqual(instance_ref.vcpus, cfg.vcpus) + self.assertEqual(fields.VMMode.EXE, cfg.os_type) + self.assertEqual("/sbin/init", cfg.os_init_path) +- self.assertEqual("console=tty0 console=ttyS0 console=hvc0", ++ self.assertEqual("console=tty0 console=ttyS0 console=hvc0 console=ttyAMA0", + cfg.os_cmdline) + self.assertIsNone(cfg.os_root) + self.assertEqual(3, len(cfg.devices)) +--- a/nova/virt/libvirt/driver.py ++++ b/nova/virt/libvirt/driver.py +@@ -150,7 +150,7 @@ DISABLE_PREFIX = 'AUTO: ' + DISABLE_REASON_UNDEFINED = None + + # Guest config console string +-CONSOLE = "console=tty0 console=ttyS0 console=hvc0" ++CONSOLE = "console=tty0 console=ttyS0 console=hvc0 console=ttyAMA0" + + GuestNumaConfig = collections.namedtuple( + 'GuestNumaConfig', ['cpuset', 'cputune', 'numaconfig', 'numatune'])
  52. Download patch debian/nova-compute.init.in

    --- 2:19.0.0-1/debian/nova-compute.init.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-compute.init.in 2019-05-16 08:41:27.000000000 +0000 @@ -3,7 +3,7 @@ # Provides: nova-compute # Required-Start: $network $local_fs $remote_fs $syslog # Required-Stop: $remote_fs -# Should-Start: libvirtd postgresql mysql keystone rabbitmq-server ntp +# 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 @@ -12,17 +12,15 @@ # OpenStack cloud computing system ### END INIT INFO -# Author: Julien Danjou <acid@debian.org>, Thomas Goirand <zigo@debian.org> +# Author: Julien Danjou <acid@debian.org> # PATH should only include /usr/* if it runs after the mountnfs.sh script -DESC="OpenStack Nova Compute (nova-compute)" +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Compute" PROJECT_NAME=nova NAME=${PROJECT_NAME}-compute -SYSTEMD_DOC="man:${NAME}(1)" DAEMON_ARGS="" if [ -f '/etc/nova/nova-compute.conf' ] ; then DAEMON_ARGS="--config-file=/etc/nova/nova-compute.conf" fi -SYSTEMD_TYPE=notify -SYSTEMD_NOTIFY_ACCESS=all
  53. Download patch debian/nova-novncproxy.init.in

    --- 2:19.0.0-1/debian/nova-novncproxy.init.in 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-novncproxy.init.in 2019-05-16 08:41:27.000000000 +0000 @@ -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 <acid@debian.org> & Thomas Goirand <zigo@debian.org> + +# 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
  54. Download patch debian/nova-doc.links
  55. Download patch debian/nova-consoleproxy.postinst

    --- 2:19.0.0-1/debian/nova-consoleproxy.postinst 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-consoleproxy.postinst 1970-01-01 00:00:00.000000000 +0000 @@ -1,27 +0,0 @@ -#!/bin/sh - -set -e - -DEF_FILE=/etc/default/nova-consoleproxy - -if [ "${1}" = "configure" ] || [ "$1" = "reconfigure" ] ; then - if [ ! -e ${DEF_FILE} ] && [ -r /usr/share/nova-consoleproxy/default ] ; then - cp /usr/share/nova-consoleproxy/default ${DEF_FILE} - fi - if [ ! -r ${DEF_FILE} ] ; then - exit 0 - fi - - . /usr/share/debconf/confmodule - db_get nova-consoleproxy/daemon_type - DAEMON_TYPE=$RET - if ! grep -E -q "^[- \t]*NOVA_CONSOLE_PROXY_TYPE=" ${DEF_FILE} ; then - echo "xenapi_connection_url=" >> ${DEF_FILE} - fi - sed -i "s#^[- \t]*NOVA_CONSOLE_PROXY_TYPE=.*#NOVA_CONSOLE_PROXY_TYPE=${DAEMON_TYPE}#" ${DEF_FILE} - db_stop -fi - -#DEBHELPER# - -exit 0
  56. Download patch debian/nova-consoleauth.init.in

    --- 2:19.0.0-1/debian/nova-consoleauth.init.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-consoleauth.init.in 2019-05-16 08:41:27.000000000 +0000 @@ -12,9 +12,7 @@ ### END INIT INFO # AUthor: Thomas Goirand <zigo@debian.org> -DESC="OpenStack Nova Console Auth (nova-consoleauth)" + +DESC="OpenStack Compute Console" PROJECT_NAME=nova NAME=${PROJECT_NAME}-consoleauth -SYSTEMD_DOC="man:${NAME}(1)" -SYSTEMD_TYPE=notify -SYSTEMD_NOTIFY_ACCESS=all
  57. Download patch debian/nova-network.init.in

    --- 2:19.0.0-1/debian/nova-network.init.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-network.init.in 2019-05-16 08:41:27.000000000 +0000 @@ -12,7 +12,7 @@ ### END INIT INFO # Author: Thomas Goirand <zigo@debian.org> -DESC="OpenStack Nova Network (nova-network)" + +DESC="OpenStack Compute Network" PROJECT_NAME=nova NAME=${PROJECT_NAME}-network -SYSTEMD_DOC="man:${NAME}(1)"
  58. Download patch debian/nova-compute-xen.conf

    --- 2:19.0.0-1/debian/nova-compute-xen.conf 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-compute-xen.conf 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1,4 @@ +[DEFAULT] +compute_driver=libvirt.LibvirtDriver +[libvirt] +virt_type=xen
  59. Download patch debian/nova-novncproxy.manpages

    --- 2:19.0.0-1/debian/nova-novncproxy.manpages 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-novncproxy.manpages 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1 @@ +doc/build/man/nova-novncproxy.1
  60. Download patch debian/nova-network.dirs

    --- 2:19.0.0-1/debian/nova-network.dirs 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-network.dirs 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -/var/lib/nova/networks
  61. Download patch debian/nova-consoleproxy.templates

    --- 2:19.0.0-1/debian/nova-consoleproxy.templates 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-consoleproxy.templates 1970-01-01 00:00:00.000000000 +0000 @@ -1,12 +0,0 @@ -Template: nova-consoleproxy/daemon_type -Type: select -Choices: spicehtml5, xenvnc, novnc -Default: spicehtml5 -_Description: Type of console daemon to start at boot time: - Nova Console supports 3 types of consoles. One is specific to Xen, called - XVP (Xen VNC Proxy), and the other daemon supports KVM. While the SPICE - protocol is normally faster than VNC, it also requires support for web - sockets in your browser, and that is a feature only very modern browsers - have support for. - . - This can later be edited in /etc/default/nova-consoleproxy.
  62. Download patch debian/nova-common.postrm.in

    --- 2:19.0.0-1/debian/nova-common.postrm.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-common.postrm.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,23 +0,0 @@ -#!/bin/sh - -set -e - -#PKGOS-INCLUDE# - -if [ "$1" = "purge" ] ; then - pkgos_dbc_postrm nova nova-common $@ - - rm -f /var/log/nova/nova-manage.log - rm -rf /var/lib/nova/CA - rm -f /var/lib/nova/.rnd - rm -f /etc/nova/nova.conf - rm -f /etc/default/nova-common - rm -f /etc/nova/api-paste.ini - rm -f /etc/nova/logging.conf - rm -f /etc/nova/placement-policy.json - rmdir --ignore-fail-on-non-empty /etc/nova -fi - -#DEBHELPER# - -exit 0
  63. Download patch debian/nova-placement-api.postrm

    --- 2:19.0.0-1/debian/nova-placement-api.postrm 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-placement-api.postrm 1970-01-01 00:00:00.000000000 +0000 @@ -1,9 +0,0 @@ -#!/bin/sh - -set -e - -if [ "$1" = "purge" ] ; then - rm -f /var/log/nova/nova-placement-api.log* -fi - -#DEBHELPER#
  64. Download patch debian/nova_tgt.conf

    --- 2:19.0.0-1/debian/nova_tgt.conf 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova_tgt.conf 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1 @@ +include /var/lib/nova/volumes/*
  65. Download patch debian/nova-scheduler.init.in

    --- 2:19.0.0-1/debian/nova-scheduler.init.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-scheduler.init.in 2019-05-16 08:41:27.000000000 +0000 @@ -11,10 +11,8 @@ # Description: Schedules instances, volumes, etc. for Nova ### END INIT INFO -# Author: Thomas Goirand <zigo@debian.org> -DESC="OpenStack Nova Scheduler (nova-scheduler)" +# Author: Julien Danjou <acid@debian.org> + +DESC="OpenStack Compute Scheduler" PROJECT_NAME=nova -NAME=${PROJECT_NAME}-scheduler -SYSTEMD_DOC="man:${NAME}(1)" -SYSTEMD_TYPE=notify -SYSTEMD_NOTIFY_ACCESS=all +NAME=nova-scheduler
  66. Download patch debian/nova-placement-api-uwsgi.ini

    --- 2:19.0.0-1/debian/nova-placement-api-uwsgi.ini 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-placement-api-uwsgi.ini 1970-01-01 00:00:00.000000000 +0000 @@ -1,60 +0,0 @@ -[uwsgi] -############################ -### Generic UWSGI config ### -############################ - -# Override the default size for headers from the 4k default. -buffer-size = 65535 - -# This avoids error 104: "Connection reset by peer" -rem-header = Content-Length - -# This is running standalone -master = true - -# Threads and processes -enable-threads = true - -processes = 4 - -# uwsgi recommends this to prevent thundering herd on accept. -thunder-lock = true - -plugins = python3 - -# This ensures that file descriptors aren't shared between the WSGI application processes. -lazy-apps = true - -# Log from the wsgi application: needs python3-pastescript as runtime depends. -paste-logger = true - -# automatically kill workers if master dies -no-orphans = true - -# exit instead of brutal reload on SIGTERM -die-on-term = true - -################################## -### OpenStack service specific ### -################################## - -# This is the standard port for the WSGI application, listening on all available IPs -logto = /var/log/nova/nova-placement-api.log -name = nova-placement-api -uid = nova -gid = nova -chdir = /var/lib/nova -wsgi-file = /usr/bin/nova-placement-api - -# This is controled by the init script using the --http-socket -# or using the --https thing. https will be activated if a file -# /etc/nova/ssl/private/*.pem is found. In both case, port 9292 -# on all IPs will be used. -# The partern to search for the private key file is: -# find /etc/nova/ssl/private -type f -iname '*.pem' | head -n 1 -# and for the certificate: -# find /etc/nova/ssl/private -type f -iname '*.crt' | head -n 1 -# just drop files there and restart the daemon, and you'll have -# SSL up and running. -#http-socket = :8778 -#https-socket = 0.0.0.0:8778,foobar.crt,foobar.key
  67. Download patch debian/nova-compute.install

    --- 2:19.0.0-1/debian/nova-compute.install 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-compute.install 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -etc/nova/rootwrap.d/compute.filters -usr/bin/nova-compute
  68. Download patch debian/nova-network.postrm

    --- 2:19.0.0-1/debian/nova-network.postrm 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-network.postrm 1970-01-01 00:00:00.000000000 +0000 @@ -1,10 +0,0 @@ -#!/bin/sh - -set -e - -if [ "$1" = "purge" ] ; then - rm -f /var/log/nova/nova-network.log* - rm -f /var/log/nova/nova-dhcpbridge.log* -fi - -#DEBHELPER#
  69. Download patch debian/nova-compute-kvm.postinst

    --- 2:19.0.0-1/debian/nova-compute-kvm.postinst 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-compute-kvm.postinst 2019-05-16 08:41:27.000000000 +0000 @@ -1,13 +1,8 @@ -#!/bin/sh - -set -e +#!/bin/sh -e if [ "$1" = "configure" ]; then - if dpkg-vendor --derives-from ubuntu ; then - adduser --quiet nova libvirtd - else - adduser --quiet nova libvirt - fi + chown root:nova /etc/nova/nova-compute.conf + chmod 0640 /etc/nova/nova-compute.conf fi #DEBHELPER#
  70. Download patch debian/nova-consoleauth.install

    --- 2:19.0.0-1/debian/nova-consoleauth.install 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-consoleauth.install 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -usr/bin/nova-consoleauth
  71. Download patch debian/nova-placement-api.prerm

    --- 2:19.0.0-1/debian/nova-placement-api.prerm 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-placement-api.prerm 1970-01-01 00:00:00.000000000 +0000 @@ -1,16 +0,0 @@ -#!/bin/sh - -set -e - -if [ "${1}" = "remove" ] && [ -r /usr/share/debconf/confmodule ] && [ -r /usr/share/dbconfig-common/dpkg/prerm ] ; then - . /usr/share/debconf/confmodule - db_get nova-placement-api/configure_db || true - if [ "$RET" = "true" ] ; then - . /usr/share/dbconfig-common/dpkg/prerm - dbc_go nova-placement-api $@ - fi -fi - -#DEBHELPER# - -exit 0
  72. Download patch debian/nova-network.install

    --- 2:19.0.0-1/debian/nova-network.install 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-network.install 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -etc/nova/rootwrap.d/network.filters -usr/bin/nova-dhcpbridge -usr/bin/nova-network
  73. Download patch debian/nova-consoleproxy.install

    --- 2:19.0.0-1/debian/nova-consoleproxy.install 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-consoleproxy.install 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -usr/bin/nova-novncproxy -usr/bin/nova-serialproxy -usr/bin/nova-spicehtml5proxy -usr/bin/nova-xvpvncproxy
  74. Download patch debian/nova-common.postinst.in
  75. Download patch debian/nova-placement-api.init.in

    --- 2:19.0.0-1/debian/nova-placement-api.init.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-placement-api.init.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -#!/bin/sh -### BEGIN INIT INFO -# Provides: nova-placement-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 Placement API server -# Description: Frontend Nova Placement API server -### END INIT INFO - -DESC="OpenStack Nova Placement API (nova-placement-api)" -PROJECT_NAME=nova -NAME=${PROJECT_NAME}-placement-api -UWSGI_PORT=8778 -UWSGI_INI_PATH=/etc/nova/nova-placement-api-uwsgi.ini -UWSGI_INI_APP=/usr/bin/nova-placement-api
  76. Download patch debian/nova-xvpvncproxy.manpages

    --- 2:19.0.0-1/debian/nova-xvpvncproxy.manpages 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-xvpvncproxy.manpages 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1 @@ +doc/build/man/nova-xvpvncproxy.1
  77. Download patch debian/nova-serialproxy.manpages

    --- 2:19.0.0-1/debian/nova-serialproxy.manpages 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-serialproxy.manpages 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1 @@ +doc/build/man/nova-serialproxy.1
  78. Download patch debian/nova-spiceproxy.manpages

    --- 2:19.0.0-1/debian/nova-spiceproxy.manpages 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-spiceproxy.manpages 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1 @@ +doc/build/man/nova-spicehtml5proxy.1
  79. Download patch debian/nova-compute-uml.conf

    --- 2:19.0.0-1/debian/nova-compute-uml.conf 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-compute-uml.conf 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -[DEFAULT] -compute_driver=libvirt.LibvirtDriver -[libvirt] -virt_type=uml
  80. Download patch AUTHORS
  81. Download patch debian/nova-scheduler.install

    --- 2:19.0.0-1/debian/nova-scheduler.install 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-scheduler.install 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -usr/bin/nova-scheduler
  82. Download patch debian/nova-common.templates.in

    --- 2:19.0.0-1/debian/nova-common.templates.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-common.templates.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,102 +0,0 @@ -# These templates have been reviewed by the debian-l10n-english -# team -# -# If modifications/additions/rewording are needed, please ask -# debian-l10n-english@lists.debian.org for advice. -# -# Even minor modifications require translation updates and such -# changes should be coordinated with translators and reviewers. - -Template: nova/active-api -Type: multiselect -Choices: osapi_compute, metadata -_Description: API to activate: - Openstack Nova supports different API services, each of them binding on a - different port. Select which one nova-api should support. - . - If it is a compute node that you are setting-up, then you only need to run the - metadata API server. If you run Cinder, then you don't need osapi_volume (you - cannot run osapi_volume and cinder-api on the same server: they bind on the - same port). - -Template: nova/my-ip -Type: string -_Description: Value for my_ip: - This value will be stored in the my_ip directive of nova.conf. - -Template: nova/neutron_url -Type: string -Default: http://127.0.0.1:9696 -_Description: Neutron server URL: - Please enter the URL of the Neutron server. - -Template: nova/neutron_admin_tenant_name -Type: string -Default: admin -_Description: Neutron admin tenant name: - Nova needs to be able to communicate with Neutron through Keystone. Therefore - Nova needs to know the Neutron admin tenant, username and password. - . - Please enter the name of the admin tenant for Neutron. - -Template: nova/neutron_admin_username -Type: string -Default: admin -_Description: Neutron administrator username: - Please enter the username of the Neutron administrator. - -Template: nova/neutron_admin_password -Type: password -_Description: Neutron administrator password: - Please enter the password of the Neutron administrator. - -Template: nova/metadata_secret -Type: password -_Description: Metadata proxy shared secret: - VM instances using Neutron to handle networking retrieve their metadata - through the Neutron metadata agent, which serves as a proxy to the Nova - metadata REST API server. - . - Please enter the password that should be used to protect communications - between the Neutron metadata proxy agent and the Nova metadata server. The - same shared password should be used when setting up the neutron-metadata-agent - package. - -Template: nova/cinder_os_region_name -Type: string -Default: regionOne -_Description: Cinder os region name: - Please enter the region name for cinder service. - -Template: nova/glance_api_servers -Type: string -Default: http://localhost:9292 -_Description: Glance api server URL: - Please enter the URL of the Glance api server. - -Template: nova/placement_admin_tenant_name -Type: string -Default: service -_Description: Placement admin tenant name: - Nova needs to be able to communicate with Placement through Keystone. Therefore - Nova needs to know the Placement admin tenant, username and password. - . - Please enter the name of the admin tenant for Placement. - -Template: nova/placement_admin_username -Type: string -Default: placement -_Description: Placement administrator username: - Please enter the username of the Placement administrator. - -Template: nova/placement_admin_password -Type: password -_Description: Placement administrator password: - Please enter the password of the Placement administrator. - -Template: nova/placement_os_region_name -Type: string -Default: regionOne -_Description: Placement os region name: - Please enter the region name for Placement service. -
  83. Download patch debian/nova-common.sudoers

    --- 2:19.0.0-1/debian/nova-common.sudoers 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-common.sudoers 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -nova ALL = (root) NOPASSWD: /usr/bin/nova-rootwrap /etc/nova/rootwrap.conf * -nova ALL = (root) NOPASSWD: /usr/bin/privsep-helper *
  84. Download patch debian/nova-api.config.in

    --- 2:19.0.0-1/debian/nova-api.config.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-api.config.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,14 +0,0 @@ -#!/bin/sh - -set -e - -. /usr/share/debconf/confmodule - -NOVA_CONF=/etc/nova/nova.conf - -#PKGOS-INCLUDE# - -pkgos_register_endpoint_config nova -pkgos_dbc_read_conf -pkg nova-api ${NOVA_CONF} api_database connection novaapi $@ - -exit 0
  85. Download patch debian/nova-placement-api.install

    --- 2:19.0.0-1/debian/nova-placement-api.install 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-placement-api.install 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -debian/nova-placement-api-uwsgi.ini /etc/nova -usr/bin/nova-placement-api
  86. Download patch debian/nova-common.install

    --- 2:19.0.0-1/debian/nova-common.install 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-common.install 2019-05-16 08:41:27.000000000 +0000 @@ -1,10 +1,7 @@ -etc/nova/api-paste.ini usr/share/nova-common -etc/nova/rootwrap.conf etc/nova -usr/bin/nova-api-wsgi -usr/bin/nova-dhcpbridge -usr/bin/nova-manage -usr/bin/nova-metadata-wsgi -usr/bin/nova-policy -usr/bin/nova-rootwrap -usr/bin/nova-rootwrap-daemon -usr/bin/nova-status +debian/nova_sudoers etc/sudoers.d +debian/source_nova.py /usr/share/apport/package-hooks/ +etc/nova/api-paste.ini +etc/nova/nova.conf +etc/nova/policy.yaml.sample usr/share/nova +etc/nova/rootwrap.conf +etc/nova/rootwrap.d/*
  87. Download patch debian/nova-api-metadata.init.in

    --- 2:19.0.0-1/debian/nova-api-metadata.init.in 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-api-metadata.init.in 2019-05-16 08:41:27.000000000 +0000 @@ -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 <acid@debian.org> + +# 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
  88. Download patch debian/patches/bug_1825882.patch

    --- 2:19.0.0-1/debian/patches/bug_1825882.patch 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/patches/bug_1825882.patch 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1,101 @@ +From bc57ae50734fa6a70115b6369e867079fb5eb4b8 Mon Sep 17 00:00:00 2001 +From: Lee Yarwood <lyarwood@redhat.com> +Date: Thu, 25 Apr 2019 14:42:09 +0100 +Subject: [PATCH] libvirt: Stop ignoring unknown libvirtError exceptions during + volume attach + +Id346bce6e47431988cce7001abcf29a9faf2936a attempted to introduce a +simple breadcrumb in the logs to highlight a known Libvirt issue. +Unfortunately this change resulted in libvirtError exceptions that +didn't match the known issue being silently ignored. + +This change corrects this by using excutils.save_and_reraise_exception +to ensure all libvirtError exceptions are logged and raised regardless +of being linked to the known issue. + +Change-Id: Ib440f4f2e484312af5f393722363846f6c95b760 +Closes-Bug: #1825882 +--- + nova/tests/unit/virt/libvirt/test_driver.py | 40 +++++++++++++++++++++ + nova/virt/libvirt/driver.py | 14 +++++--- + 2 files changed, 49 insertions(+), 5 deletions(-) + +diff --git a/nova/tests/unit/virt/libvirt/test_driver.py b/nova/tests/unit/virt/libvirt/test_driver.py +index f647915c5f..666cf97cee 100644 +--- a/nova/tests/unit/virt/libvirt/test_driver.py ++++ b/nova/tests/unit/virt/libvirt/test_driver.py +@@ -7794,6 +7794,46 @@ class LibvirtConnTestCase(test.NoDBTestCase, + disk_bus=bdm['disk_bus'], device_type=bdm['device_type']) + mock_log.warning.assert_called_once() + ++ @mock.patch('nova.virt.libvirt.blockinfo.get_info_from_bdm') ++ def test_attach_volume_with_libvirt_exception(self, mock_get_info): ++ drvr = libvirt_driver.LibvirtDriver(fake.FakeVirtAPI(), False) ++ instance = objects.Instance(**self.test_instance) ++ connection_info = {"driver_volume_type": "fake", ++ "data": {"device_path": "/fake", ++ "access_mode": "rw"}} ++ bdm = {'device_name': 'vdb', ++ 'disk_bus': 'fake-bus', ++ 'device_type': 'fake-type'} ++ disk_info = {'bus': bdm['disk_bus'], 'type': bdm['device_type'], ++ 'dev': 'vdb'} ++ libvirt_exc = fakelibvirt.make_libvirtError(fakelibvirt.libvirtError, ++ "Target vdb already exists', device is busy", ++ error_code=fakelibvirt.VIR_ERR_INTERNAL_ERROR) ++ ++ with test.nested( ++ mock.patch.object(drvr._host, 'get_guest'), ++ mock.patch('nova.virt.libvirt.driver.LOG'), ++ mock.patch.object(drvr, '_connect_volume'), ++ mock.patch.object(drvr, '_get_volume_config'), ++ mock.patch.object(drvr, '_check_discard_for_attach_volume'), ++ mock.patch.object(drvr, '_build_device_metadata'), ++ ) as (mock_get_guest, mock_log, mock_connect_volume, ++ mock_get_volume_config, mock_check_discard, mock_build_metadata): ++ ++ mock_conf = mock.MagicMock() ++ mock_guest = mock.MagicMock() ++ mock_guest.attach_device.side_effect = libvirt_exc ++ mock_get_volume_config.return_value = mock_conf ++ mock_get_guest.return_value = mock_guest ++ mock_get_info.return_value = disk_info ++ mock_build_metadata.return_value = objects.InstanceDeviceMetadata() ++ ++ self.assertRaises(fakelibvirt.libvirtError, drvr.attach_volume, ++ self.context, connection_info, instance, "/dev/vdb", ++ disk_bus=bdm['disk_bus'], device_type=bdm['device_type']) ++ mock_log.exception.assert_called_once_with(u'Failed to attach ' ++ 'volume at mountpoint: %s', '/dev/vdb', instance=instance) ++ + @mock.patch('nova.utils.get_image_from_system_metadata') + @mock.patch('nova.virt.libvirt.blockinfo.get_info_from_bdm') + @mock.patch('nova.virt.libvirt.host.Host._get_domain') +diff --git a/nova/virt/libvirt/driver.py b/nova/virt/libvirt/driver.py +index c9939c8d30..db81b292b5 100644 +--- a/nova/virt/libvirt/driver.py ++++ b/nova/virt/libvirt/driver.py +@@ -1542,11 +1542,15 @@ class LibvirtDriver(driver.ComputeDriver): + # distributions provide Libvirt 3.3.0 or earlier with + # https://libvirt.org/git/?p=libvirt.git;a=commit;h=7189099 applied. + except libvirt.libvirtError as ex: +- if 'Incorrect number of padding bytes' in six.text_type(ex): +- LOG.warning(_('Failed to attach encrypted volume due to a ' +- 'known Libvirt issue, see the following bug for details: ' +- 'https://bugzilla.redhat.com/show_bug.cgi?id=1447297')) +- raise ++ with excutils.save_and_reraise_exception(): ++ if 'Incorrect number of padding bytes' in six.text_type(ex): ++ LOG.warning(_('Failed to attach encrypted volume due to a ' ++ 'known Libvirt issue, see the following bug ' ++ 'for details: ' ++ 'https://bugzilla.redhat.com/1447297')) ++ else: ++ LOG.exception(_('Failed to attach volume at mountpoint: ' ++ '%s'), mountpoint, instance=instance) + except Exception: + LOG.exception(_('Failed to attach volume at mountpoint: %s'), + mountpoint, instance=instance) +-- +2.20.1 +
  89. Download patch debian/gbp.conf

    --- 2:19.0.0-1/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/gbp.conf 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1,7 @@ +[DEFAULT] +debian-branch = master +upstream-tag = %(version)s +pristine-tar = True + +[buildpackage] +export-dir = ../build-area
  90. Download patch debian/nova-placement-api.postrm.in

    --- 2:19.0.0-1/debian/nova-placement-api.postrm.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-placement-api.postrm.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,12 +0,0 @@ -#!/bin/sh - -set -e - -#PKGOS-INCLUDE# - -if [ "$1" = "purge" ] ; then - pkgos_dbc_postrm nova-placement-api nova-placement-api $@ -fi - - -#DEBHELPER#
  91. Download patch debian/nova-spiceproxy.init.in

    --- 2:19.0.0-1/debian/nova-spiceproxy.init.in 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-spiceproxy.init.in 2019-05-16 08:41:27.000000000 +0000 @@ -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 <zigo@debian.org> + +# 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
  92. Download patch debian/nova-compute.upstart.in

    --- 2:19.0.0-1/debian/nova-compute.upstart.in 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-compute.upstart.in 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1,59 @@ +# vim: set ft=upstart et ts=2: +description "Nova compute worker" +author "Soren Hansen <soren@linux2go.dk>" + +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/ + + # Only try to modprobe if not running within a container + if [ ! -f /run/container_type ]; then + modprobe nbd + fi + + # 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
  93. Download patch debian/nova-cells.init.in

    --- 2:19.0.0-1/debian/nova-cells.init.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-cells.init.in 2019-05-16 08:41:27.000000000 +0000 @@ -14,8 +14,7 @@ # Author: Julien Danjou <acid@debian.org> # PATH should only include /usr/* if it runs after the mountnfs.sh script -DESC="OpenStack Nova Cells (nova-cells)" +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="OpenStack Compute Cells" PROJECT_NAME=nova NAME=${PROJECT_NAME}-cells -SYSTEMD_TYPE=notify -SYSTEMD_NOTIFY_ACCESS=all
  94. Download patch debian/copyright
  95. Download patch debian/nova-consoleproxy.nova-novncproxy.init.in

    --- 2:19.0.0-1/debian/nova-consoleproxy.nova-novncproxy.init.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-consoleproxy.nova-novncproxy.init.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,34 +0,0 @@ -#!/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 <acid@debian.org> & Thomas Goirand <zigo@debian.org> -DESC="OpenStack Nova NoVNC Proxy (nova-novncproxy)" -PROJECT_NAME=nova -NAME=${PROJECT_NAME}-novncproxy -SYSTEMD_DOC="man:${NAME}(1)" - -# Exit if the default file not present, or not set to this daemon -if [ -r /etc/default/nova-consoleproxy ] ; then - . /etc/default/nova-consoleproxy -else - # This is to prevent pkgos-gen-systemd-unit to exit - if [ -z "${INIT_TEMPLATE}" ] ; then - exit 0 - fi -fi -if ! [ "${NOVA_CONSOLE_PROXY_TYPE}" = "novnc" ] ; then - # This is to prevent pkgos-gen-systemd-unit to exit - if [ -z "${INIT_TEMPLATE}" ] ; then - exit 0 - fi -fi
  96. Download patch debian/nova-consoleproxy.manpages

    --- 2:19.0.0-1/debian/nova-consoleproxy.manpages 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-consoleproxy.manpages 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -doc/build/man/nova-novncproxy.1 -doc/build/man/nova-xvpvncproxy.1
  97. Download patch debian/nova-api.templates.in

    --- 2:19.0.0-1/debian/nova-api.templates.in 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-api.templates.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -Template: novaapi/configure_db -Type: boolean -Default: false -_Description: Set up a database for Nova API? - No database has been set up for Nova to use. If you want - to set one up now, please make sure you have all needed - information: - . - * the host name of the database server (which must allow TCP - connections from this machine); - * a username and password to access the database; - * the type of database management software you want to use. - . - If you don't choose this option, no database will be set up and Nova - will use regular SQLite support. - . - You can change this setting later on by running "dpkg-reconfigure - -plow nova-api". -
  98. Download patch debian/debian_control_vars

    --- 2:19.0.0-1/debian/debian_control_vars 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/debian_control_vars 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -ostack-lsb-base= lsb-base (>= 3.0.6)
  99. Download patch debian/nova-doc.docs

    --- 2:19.0.0-1/debian/nova-doc.docs 1970-01-01 00:00:00.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-doc.docs 2019-05-16 08:41:27.000000000 +0000 @@ -0,0 +1 @@ +doc/build/html
  100. Download patch debian/nova-common.tmpfile

    --- 2:19.0.0-1/debian/nova-common.tmpfile 2019-04-11 08:32:57.000000000 +0000 +++ 2:19.0.0-0ubuntu6/debian/nova-common.tmpfile 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -d /run/nova 0755 nova nova -
  101. ...

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: python-novaclient

python-novaclient (2:14.2.0-0ubuntu1) eoan; urgency=medium * New upstream release for OpenStack Train. * d/control: Align (Build-)Depends with upstream. -- Corey Bryant <corey.bryant@canonical.com> Tue, 30 Jul 2019 15:32:48 -0400 python-novaclient (2:14.1.0-0ubuntu1) eoan; urgency=medium * Merge from Debian experimental. Remaining changes: - d/gbp.conf: Retain for gbp and pristine-tar config. - d/control: Enable autopkgtest-pkg-python testsuite. - d/watch: Get tarball from pypi.debian.net. * New upstream release for OpenStack Train. * d/control: Align (Build-)Depends with upstream. -- Corey Bryant <corey.bryant@canonical.com> Wed, 05 Jun 2019 14:56:38 -0400

Modifications :
  1. Download patch python_novaclient.egg-info/dependency_links.txt

    --- 2:13.0.0-2/python_novaclient.egg-info/dependency_links.txt 1970-01-01 00:00:00.000000000 +0000 +++ 2:14.2.0-0ubuntu1/python_novaclient.egg-info/dependency_links.txt 2019-07-15 14:56:48.000000000 +0000 @@ -0,0 +1 @@ +
  2. Download patch python_novaclient.egg-info/SOURCES.txt
  3. Download patch novaclient/tests/unit/v2/test_servers.py

    --- 2:13.0.0-2/novaclient/tests/unit/v2/test_servers.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/tests/unit/v2/test_servers.py 2019-07-15 14:55:19.000000000 +0000 @@ -76,6 +76,15 @@ class ServersTest(utils.FixturedTestCase for s in sl: self.assertIsInstance(s, servers.Server) + def test_filter_servers_unlocked(self): + # calling the cs.servers.list python binding + # will fail before 2.73 microversion. + e = self.assertRaises(exceptions.UnsupportedAttribute, + self.cs.servers.list, + search_opts={'locked': False}) + self.assertIn("'locked' argument is only allowed since " + "microversion 2.73.", six.text_type(e)) + def test_list_servers_undetailed(self): sl = self.cs.servers.list(detailed=False) self.assert_request_id(sl, fakes.FAKE_REQUEST_ID_LIST) @@ -1703,3 +1712,130 @@ class ServersV268Test(ServersV267Test): ex = self.assertRaises(TypeError, self.cs.servers.live_migrate, host='hostname', force=True) self.assertIn('force', six.text_type(ex)) + + +class ServersV273Test(ServersV268Test): + + api_version = "2.73" + + def test_lock_server(self): + s = self.cs.servers.get(1234) + ret = s.lock() + self.assert_request_id(ret, fakes.FAKE_REQUEST_ID_LIST) + self.assert_called('POST', '/servers/1234/action', + {'lock': None}) + ret = s.lock(reason='zombie-apocalypse') + self.assert_request_id(ret, fakes.FAKE_REQUEST_ID_LIST) + self.assert_called('POST', '/servers/1234/action', + {'lock': {'locked_reason': 'zombie-apocalypse'}}) + + def test_lock_server_pre_273_fails_with_reason(self): + self.cs.api_version = api_versions.APIVersion('2.72') + s = self.cs.servers.get(1234) + e = self.assertRaises(TypeError, + s.lock, reason='blah') + self.assertIn("unexpected keyword argument 'reason'", six.text_type(e)) + + def test_filter_servers_unlocked(self): + # support locked=False + sl = self.cs.servers.list(search_opts={'locked': False}) + self.assert_request_id(sl, fakes.FAKE_REQUEST_ID_LIST) + self.assert_called('GET', '/servers/detail?locked=False') + for s in sl: + self.assertIsInstance(s, servers.Server) + + +class ServersV274Test(ServersV273Test): + + api_version = "2.74" + + def test_create_server_with_host(self): + self.cs.servers.create( + name="My server", + image=1, + flavor=1, + nics="auto", + host="new-host" + ) + self.assert_called('POST', '/servers', + {'server': { + 'flavorRef': '1', + 'imageRef': '1', + 'max_count': 1, + 'min_count': 1, + 'name': 'My server', + 'networks': 'auto', + 'host': 'new-host' + }} + ) + + def test_create_server_with_hypervisor_hostname(self): + self.cs.servers.create( + name="My server", + image=1, + flavor=1, + nics="auto", + hypervisor_hostname="new-host" + ) + self.assert_called('POST', '/servers', + {'server': { + 'flavorRef': '1', + 'imageRef': '1', + 'max_count': 1, + 'min_count': 1, + 'name': 'My server', + 'networks': 'auto', + 'hypervisor_hostname': 'new-host' + }} + ) + + def test_create_server_with_host_and_hypervisor_hostname(self): + self.cs.servers.create( + name="My server", + image=1, + flavor=1, + nics="auto", + host="new-host", + hypervisor_hostname="new-host" + ) + self.assert_called('POST', '/servers', + {'server': { + 'flavorRef': '1', + 'imageRef': '1', + 'max_count': 1, + 'min_count': 1, + 'name': 'My server', + 'networks': 'auto', + 'host': 'new-host', + 'hypervisor_hostname': 'new-host' + }} + ) + + def test_create_server_with_host_pre_274_fails(self): + self.cs.api_version = api_versions.APIVersion('2.73') + ex = self.assertRaises(exceptions.UnsupportedAttribute, + self.cs.servers.create, + name="My server", image=1, flavor=1, + nics='auto', host="new-host") + self.assertIn("'host' argument is only allowed since microversion " + "2.74", six.text_type(ex)) + + def test_create_server_with_hypervisor_hostname_pre_274_fails(self): + self.cs.api_version = api_versions.APIVersion('2.73') + ex = self.assertRaises(exceptions.UnsupportedAttribute, + self.cs.servers.create, + name="My server", image=1, flavor=1, + nics='auto', hypervisor_hostname="new-host") + self.assertIn("'hypervisor_hostname' argument is only allowed since " + "microversion 2.74", six.text_type(ex)) + + def test_create_server_with_host_and_hypervisor_hostname_pre_274_fails( + self): + self.cs.api_version = api_versions.APIVersion('2.73') + ex = self.assertRaises(exceptions.UnsupportedAttribute, + self.cs.servers.create, + name="My server", image=1, flavor=1, + nics='auto', host="new-host", + hypervisor_hostname="new-host") + self.assertIn("'host' argument is only allowed since microversion " + "2.74", six.text_type(ex))
  4. Download patch novaclient/v2/shell.py

    --- 2:13.0.0-2/novaclient/v2/shell.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/v2/shell.py 2019-07-15 14:55:23.000000000 +0000 @@ -19,7 +19,6 @@ from __future__ import print_function import argparse -import codecs import collections import datetime import getpass @@ -146,7 +145,7 @@ def _parse_block_device_mapping_v2(cs, a 'delete_on_termination': False} bdm.append(bdm_dict) - supports_volume_type = cs.api_version == api_versions.APIVersion('2.67') + supports_volume_type = cs.api_version >= api_versions.APIVersion('2.67') for device_spec in args.block_device: spec_dict = _parse_device_spec(device_spec) @@ -518,6 +517,12 @@ def _boot(cs, args): if 'tags' in args and args.tags: boot_kwargs["tags"] = args.tags.split(',') + if 'host' in args and args.host: + boot_kwargs["host"] = args.host + + if 'hypervisor_hostname' in args and args.hypervisor_hostname: + boot_kwargs["hypervisor_hostname"] = args.hypervisor_hostname + if include_files: boot_kwargs['files'] = files @@ -943,6 +948,21 @@ def _boot(cs, args): 'May be specified multiple times to pass multiple trusted image ' 'certificate IDs.'), start_version="2.63") +@utils.arg( + '--host', + metavar='<host>', + dest='host', + default=None, + help=_('Requested host to create servers. Admin only by default.'), + start_version="2.74") +@utils.arg( + '--hypervisor-hostname', + metavar='<hypervisor-hostname>', + dest='hypervisor_hostname', + default=None, + help=_('Requested hypervisor hostname to create servers. Admin only by ' + 'default.'), + start_version="2.74") def do_boot(cs, args): """Boot a new server.""" boot_args, boot_kwargs = _boot(cs, args) @@ -1419,14 +1439,6 @@ def _print_flavor(flavor): default=None, help=_('Search with regular expression match by name.')) @utils.arg( - '--instance-name', - dest='instance_name', - metavar='<name-regexp>', - default=None, - action=shell.DeprecatedAction, - help=_('Search with regular expression match by server name. The option ' - 'is not used and will be removed in T release.')) -@utils.arg( '--status', dest='status', metavar='<status>', @@ -1572,6 +1584,15 @@ def _print_flavor(flavor): "case is 'NOT(t1 OR t2)'. Tags must be separated by commas: " "--not-tags-any <tag1,tag2>"), start_version="2.26") +@utils.arg( + '--locked', + dest='locked', + metavar='<locked>', + default=None, + help=_("Display servers based on their locked value. A value must be " + "specified; eg. 'true' will list only locked servers and 'false' " + "will list only unlocked servers."), + start_version="2.73") def do_list(cs, args): """List servers.""" imageid = None @@ -1596,7 +1617,6 @@ def do_list(cs, args): 'user_id': args.user, 'host': args.host, 'deleted': args.deleted, - 'instance_name': args.instance_name, 'changes-since': args.changes_since} for arg in ('tags', "tags-any", 'not-tags', 'not-tags-any'): @@ -1649,6 +1669,11 @@ def do_list(cs, args): raise exceptions.CommandError(_('Invalid changes-before value: %s') % search_opts['changes-before']) + # In microversion 2.73 we added ``locked`` option in server details. + have_added_locked = cs.api_version >= api_versions.APIVersion('2.73') + if have_added_locked and args.locked: + search_opts['locked'] = args.locked + servers = cs.servers.list(detailed=detailed, search_opts=search_opts, sort_keys=sort_keys, @@ -2165,12 +2190,23 @@ def do_start(cs, args): _("Unable to start the specified server(s).")) +# From microversion 2.73, we can specify a reason for locking the server. @utils.arg('server', metavar='<server>', help=_('Name or ID of server.')) +@utils.arg( + '--reason', + metavar='<reason>', + help=_('Reason for locking the server.'), + start_version='2.73') def do_lock(cs, args): """Lock a server. A normal (non-admin) user will not be able to execute actions on a locked server. """ - _find_server(cs, args.server).lock() + update_kwargs = {} + if 'reason' in args and args.reason is not None: + update_kwargs['reason'] = args.reason + + server = _find_server(cs, args.server) + server.lock(**update_kwargs) @utils.arg('server', metavar='<server>', help=_('Name or ID of server.')) @@ -2759,10 +2795,7 @@ def do_console_log(cs, args): """Get console log output of a server.""" server = _find_server(cs, args.server) data = server.get_console_output(length=args.length) - - if data and data[-1] != '\n': - data += '\n' - codecs.getwriter('utf-8')(sys.stdout).write(data) + print(data) @utils.arg('server', metavar='<server>', help=_('Name or ID of server.'))
  5. Download patch novaclient/tests/functional/v2/legacy/test_os_services.py

    --- 2:13.0.0-2/novaclient/tests/functional/v2/legacy/test_os_services.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/tests/functional/v2/legacy/test_os_services.py 2019-07-15 14:55:19.000000000 +0000 @@ -28,7 +28,7 @@ class TestOsServicesNovaClient(base.Clie # services returned by client # NOTE(sdague): service disable has the chance in racing # with other tests. Now functional tests for novaclient are launched - # in serial way (https://review.openstack.org/#/c/217768/), but + # in serial way (https://review.opendev.org/#/c/217768/), but # it's a potential issue for making these tests parallel in the future for serv in self.client.services.list(): # In Pike the os-services API was made multi-cell aware and it
  6. Download patch doc/source/reference/deprecation-policy.rst

    --- 2:13.0.0-2/doc/source/reference/deprecation-policy.rst 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/doc/source/reference/deprecation-policy.rst 2019-07-15 14:55:19.000000000 +0000 @@ -21,9 +21,9 @@ The process for command deprecation is: 2. Once the change is approved, have a member of the `nova-release`_ team release a new version of `python-novaclient`. - .. _nova-release: https://review.openstack.org/#/admin/groups/147,members + .. _nova-release: https://review.opendev.org/#/admin/groups/147,members -3. Example: `<https://review.openstack.org/#/c/185141/>`_ +3. Example: `<https://review.opendev.org/#/c/185141/>`_ This change was made while the nova 12.0.0 Liberty release was in development. The current version of `python-novaclient` at the time was
  7. Download patch releasenotes/notes/remove-deprecated-option-14.0.0-c6d7189938f5f063.yaml

    --- 2:13.0.0-2/releasenotes/notes/remove-deprecated-option-14.0.0-c6d7189938f5f063.yaml 1970-01-01 00:00:00.000000000 +0000 +++ 2:14.2.0-0ubuntu1/releasenotes/notes/remove-deprecated-option-14.0.0-c6d7189938f5f063.yaml 2019-07-15 14:55:19.000000000 +0000 @@ -0,0 +1,7 @@ +--- +upgrade: + - | + The following deprecated options have been removed. + + * ``--endpoint-override`` (Authentication option) + * ``--instance-name`` (``nova list`` command)
  8. Download patch PKG-INFO

    --- 2:13.0.0-2/PKG-INFO 1970-01-01 00:00:00.000000000 +0000 +++ 2:14.2.0-0ubuntu1/PKG-INFO 2019-07-15 14:56:48.000000000 +0000 @@ -0,0 +1,65 @@ +Metadata-Version: 1.1 +Name: python-novaclient +Version: 14.2.0 +Summary: Client library for OpenStack Compute API +Home-page: https://docs.openstack.org/python-novaclient/latest +Author: OpenStack +Author-email: openstack-discuss@lists.openstack.org +License: Apache License, Version 2.0 +Description: ======================== + Team and repository tags + ======================== + + .. image:: https://governance.openstack.org/tc/badges/python-novaclient.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html + + .. Change things from this point on + + ============================================ + Python bindings to the OpenStack Compute API + ============================================ + + .. image:: https://img.shields.io/pypi/v/python-novaclient.svg + :target: https://pypi.org/project/python-novaclient/ + :alt: Latest Version + + This is a client for the OpenStack Compute API. It provides a Python API (the + ``novaclient`` module) and a command-line script (``nova``). Each implements + 100% of the OpenStack Compute API. + + * License: Apache License, Version 2.0 + * `PyPi`_ - package installation + * `Online Documentation`_ + * `Launchpad project`_ - release management + * `Blueprints`_ - feature specifications + * `Bugs`_ - issue tracking + * `Source`_ + * `Specs`_ + * `How to Contribute`_ + * `Release Notes`_ + + .. _PyPi: https://pypi.org/project/python-novaclient + .. _Online Documentation: https://docs.openstack.org/python-novaclient/latest + .. _Launchpad project: https://launchpad.net/python-novaclient + .. _Blueprints: https://blueprints.launchpad.net/python-novaclient + .. _Bugs: https://bugs.launchpad.net/python-novaclient + .. _Source: https://opendev.org/openstack/python-novaclient + .. _How to Contribute: https://docs.openstack.org/infra/manual/developers.html + .. _Specs: http://specs.openstack.org/openstack/nova-specs/ + .. _Release Notes: https://docs.openstack.org/releasenotes/python-novaclient + + +Platform: UNKNOWN +Classifier: Development Status :: 5 - Production/Stable +Classifier: Environment :: Console +Classifier: Environment :: OpenStack +Classifier: Intended Audience :: Developers +Classifier: Intended Audience :: Information Technology +Classifier: License :: OSI Approved :: Apache Software License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7
  9. Download patch README.rst

    --- 2:13.0.0-2/README.rst 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/README.rst 2019-07-15 14:55:19.000000000 +0000 @@ -35,7 +35,7 @@ This is a client for the OpenStack Compu .. _Launchpad project: https://launchpad.net/python-novaclient .. _Blueprints: https://blueprints.launchpad.net/python-novaclient .. _Bugs: https://bugs.launchpad.net/python-novaclient -.. _Source: https://git.openstack.org/cgit/openstack/python-novaclient +.. _Source: https://opendev.org/openstack/python-novaclient .. _How to Contribute: https://docs.openstack.org/infra/manual/developers.html .. _Specs: http://specs.openstack.org/openstack/nova-specs/ .. _Release Notes: https://docs.openstack.org/releasenotes/python-novaclient
  10. Download patch doc/source/reference/api/index.rst

    --- 2:13.0.0-2/doc/source/reference/api/index.rst 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/doc/source/reference/api/index.rst 2019-07-15 14:55:19.000000000 +0000 @@ -4,6 +4,7 @@ .. module:: novaclient :synopsis: A client for the OpenStack Nova API. + :noindex: .. currentmodule:: novaclient
  11. Download patch releasenotes/notes/search-hypervisor-detailed-352f3ac70d42fe6e.yaml

    --- 2:13.0.0-2/releasenotes/notes/search-hypervisor-detailed-352f3ac70d42fe6e.yaml 1970-01-01 00:00:00.000000000 +0000 +++ 2:14.2.0-0ubuntu1/releasenotes/notes/search-hypervisor-detailed-352f3ac70d42fe6e.yaml 2019-07-15 14:55:19.000000000 +0000 @@ -0,0 +1,8 @@ +--- +features: + - | + The ``novaclient.v2.hypervisors.HypervisorManager.search`` method now + accepts a ``detailed`` boolean kwarg which defaults to False but when + True will search for the given hypervisor hostname match and return + details about any matching hypervisors. Specifying ``detailed=True`` + requires compute API version 2.53 or greater.
  12. Download patch python_novaclient.egg-info/requires.txt

    --- 2:13.0.0-2/python_novaclient.egg-info/requires.txt 1970-01-01 00:00:00.000000000 +0000 +++ 2:14.2.0-0ubuntu1/python_novaclient.egg-info/requires.txt 2019-07-15 14:56:48.000000000 +0000 @@ -0,0 +1,10 @@ +pbr!=2.1.0,>=2.0.0 +keystoneauth1>=3.5.0 +iso8601>=0.1.11 +oslo.i18n>=3.15.3 +oslo.serialization!=2.19.1,>=2.18.0 +oslo.utils>=3.33.0 +PrettyTable<0.8,>=0.7.2 +simplejson>=3.5.1 +six>=1.10.0 +Babel!=2.4.0,>=2.3.4
  13. Download patch python_novaclient.egg-info/PKG-INFO

    --- 2:13.0.0-2/python_novaclient.egg-info/PKG-INFO 1970-01-01 00:00:00.000000000 +0000 +++ 2:14.2.0-0ubuntu1/python_novaclient.egg-info/PKG-INFO 2019-07-15 14:56:48.000000000 +0000 @@ -0,0 +1,65 @@ +Metadata-Version: 1.1 +Name: python-novaclient +Version: 14.2.0 +Summary: Client library for OpenStack Compute API +Home-page: https://docs.openstack.org/python-novaclient/latest +Author: OpenStack +Author-email: openstack-discuss@lists.openstack.org +License: Apache License, Version 2.0 +Description: ======================== + Team and repository tags + ======================== + + .. image:: https://governance.openstack.org/tc/badges/python-novaclient.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html + + .. Change things from this point on + + ============================================ + Python bindings to the OpenStack Compute API + ============================================ + + .. image:: https://img.shields.io/pypi/v/python-novaclient.svg + :target: https://pypi.org/project/python-novaclient/ + :alt: Latest Version + + This is a client for the OpenStack Compute API. It provides a Python API (the + ``novaclient`` module) and a command-line script (``nova``). Each implements + 100% of the OpenStack Compute API. + + * License: Apache License, Version 2.0 + * `PyPi`_ - package installation + * `Online Documentation`_ + * `Launchpad project`_ - release management + * `Blueprints`_ - feature specifications + * `Bugs`_ - issue tracking + * `Source`_ + * `Specs`_ + * `How to Contribute`_ + * `Release Notes`_ + + .. _PyPi: https://pypi.org/project/python-novaclient + .. _Online Documentation: https://docs.openstack.org/python-novaclient/latest + .. _Launchpad project: https://launchpad.net/python-novaclient + .. _Blueprints: https://blueprints.launchpad.net/python-novaclient + .. _Bugs: https://bugs.launchpad.net/python-novaclient + .. _Source: https://opendev.org/openstack/python-novaclient + .. _How to Contribute: https://docs.openstack.org/infra/manual/developers.html + .. _Specs: http://specs.openstack.org/openstack/nova-specs/ + .. _Release Notes: https://docs.openstack.org/releasenotes/python-novaclient + + +Platform: UNKNOWN +Classifier: Development Status :: 5 - Production/Stable +Classifier: Environment :: Console +Classifier: Environment :: OpenStack +Classifier: Intended Audience :: Developers +Classifier: Intended Audience :: Information Technology +Classifier: License :: OSI Approved :: Apache Software License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7
  14. Download patch novaclient/__init__.py

    --- 2:13.0.0-2/novaclient/__init__.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/__init__.py 2019-07-15 14:55:19.000000000 +0000 @@ -25,4 +25,4 @@ API_MIN_VERSION = api_versions.APIVersio # when client supported the max version, and bumped sequentially, otherwise # the client may break due to server side new version may include some # backward incompatible change. -API_MAX_VERSION = api_versions.APIVersion("2.72") +API_MAX_VERSION = api_versions.APIVersion("2.74")
  15. Download patch python_novaclient.egg-info/pbr.json

    --- 2:13.0.0-2/python_novaclient.egg-info/pbr.json 1970-01-01 00:00:00.000000000 +0000 +++ 2:14.2.0-0ubuntu1/python_novaclient.egg-info/pbr.json 2019-07-15 14:56:48.000000000 +0000 @@ -0,0 +1 @@ +{"git_version": "ca1a3895", "is_release": true} \ No newline at end of file
  16. Download patch .gitreview

    --- 2:13.0.0-2/.gitreview 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/.gitreview 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -[gerrit] -host=review.openstack.org -port=29418 -project=openstack/python-novaclient.git
  17. Download patch debian/control

    --- 2:13.0.0-2/debian/control 2019-07-17 12:10:19.000000000 +0000 +++ 2:14.2.0-0ubuntu1/debian/control 2019-07-30 19:32:48.000000000 +0000 @@ -1,7 +1,8 @@ Source: python-novaclient Section: python Priority: optional -Maintainer: Debian OpenStack <team+openstack@tracker.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian OpenStack <team+openstack@tracker.debian.org> Uploaders: Thomas Goirand <zigo@debian.org>, Corey Bryant <corey.bryant@canonical.com>, @@ -10,47 +11,50 @@ Build-Depends: dh-python, openstack-pkg-tools, python3-all, - python3-pbr, + python3-pbr (>= 2.0.0), python3-setuptools, - python3-sphinx, + python3-sphinx (>= 1.6.2), Build-Depends-Indep: - python3-babel, - python3-cinderclient, - python3-coverage, - python3-ddt, - python3-fixtures, - python3-glanceclient, - python3-hacking, - python3-iso8601, + python3-babel (>= 2.3.4), + python3-bandit (>= 1.1.0), + python3-cinderclient (>= 1:3.3.0), + python3-coverage (>= 4.0), + python3-ddt (>= 1.0.1), + python3-fixtures (>= 3.0.0), + python3-glanceclient (>= 1:2.8.0), + python3-hacking (>= 1.1.0), + python3-iso8601 (>= 0.1.11), python3-keyring, - python3-keystoneauth1, - python3-keystoneclient, - python3-mock, - python3-neutronclient, - python3-openstackdocstheme, - python3-openstacksdk, + python3-keystoneauth1 (>= 3.5.0), + python3-keystoneclient (>= 1:3.8.0), + python3-mock (>= 2.0.0), + python3-neutronclient (>= 1:6.7.0), + python3-openstackdocstheme (>= 1.30.0), + python3-openstacksdk (>= 0.11.2), python3-os-client-config, - python3-oslo.i18n, - python3-oslo.serialization, - python3-oslo.utils, - python3-osprofiler, - python3-prettytable, + python3-oslo.i18n (>= 3.15.3), + python3-oslo.serialization (>= 2.18.0), + python3-oslo.utils (>= 3.33.0), + python3-osprofiler (>= 1.4.0), + python3-prettytable (>= 0.7.2), + python3-reno (>= 2.5.0), python3-requests, - python3-requests-mock, - python3-simplejson, - python3-six, - python3-sphinxcontrib.apidoc, - python3-stestr, + python3-requests-mock (>= 1.2.0), + python3-simplejson (>= 3.5.1), + python3-six (>= 1.10.0), + python3-sphinxcontrib.apidoc (>= 0.2.0), + python3-stestr (>= 2.0.0), python3-subunit, - python3-tempest, - python3-testscenarios, - python3-testtools, + python3-tempest (>= 1:17.1.0), + python3-testscenarios (>= 0.4), + python3-testtools (>= 2.2.0), python3-unittest2, subunit, Standards-Version: 4.3.0 Homepage: https://github.com/openstack/python-novaclient -Vcs-Git: https://salsa.debian.org/openstack-team/clients/python-novaclient.git -Vcs-Browser: https://salsa.debian.org/openstack-team/clients/python-novaclient +Vcs-Git: https://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/python-novaclient +Vcs-Browser: https://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/python-novaclient +Testsuite: autopkgtest-pkg-python Package: python-novaclient-doc Architecture: all @@ -73,17 +77,17 @@ Description: client library for OpenStac Package: python3-novaclient Architecture: all Depends: - python3-babel, - python3-iso8601, + python3-babel (>= 2.3.4), + python3-iso8601 (>= 0.1.11), python3-keyring, - python3-keystoneauth1, - python3-oslo.i18n, - python3-oslo.serialization, - python3-oslo.utils, - python3-pbr, - python3-prettytable, - python3-simplejson, - python3-six, + python3-keystoneauth1 (>= 3.5.0), + python3-oslo.i18n (>= 3.15.3), + python3-oslo.serialization (>= 2.18.0), + python3-oslo.utils (>= 3.33.0), + python3-pbr (>= 2.0.0), + python3-prettytable (>= 0.7.2), + python3-simplejson (>= 3.5.1), + python3-six (>= 1.10.0), ${misc:Depends}, ${python3:Depends}, Description: client library for OpenStack Compute API - 3.x
  18. Download patch doc/source/contributor/index.rst

    --- 2:13.0.0-2/doc/source/contributor/index.rst 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/doc/source/contributor/index.rst 2019-07-15 14:55:23.000000000 +0000 @@ -2,11 +2,11 @@ Contributor Guide =================== -Code is hosted at `git.openstack.org`__. Submit bugs to the python-novaclient +Code is hosted at `opendev.org`__. Submit bugs to the python-novaclient project on `Launchpad`__. Submit code to the `openstack/python-novaclient` project using `Gerrit`__. -__ https://git.openstack.org/cgit/openstack/python-novaclient +__ https://opendev.org/openstack/python-novaclient __ https://bugs.launchpad.net/python-novaclient __ https://docs.openstack.org/infra/manual/developers.html#development-workflow
  19. Download patch novaclient/v2/instance_action.py

    --- 2:13.0.0-2/novaclient/v2/instance_action.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/v2/instance_action.py 2019-07-15 14:55:19.000000000 +0000 @@ -53,6 +53,9 @@ class InstanceActionManager(base.Manager list than that represented by this action request id (optional). :param limit: Maximum number of actions to return. (optional). + Note the API server has a configurable default limit. + If no limit is specified here or limit is larger than + default, the default limit will be used. :param changes_since: List only instance actions changed later or equal to a certain point of time. The provided time should be an ISO 8061 formatted time.
  20. Download patch lower-constraints.txt

    --- 2:13.0.0-2/lower-constraints.txt 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/lower-constraints.txt 2019-07-15 14:55:19.000000000 +0000 @@ -33,7 +33,6 @@ jmespath==0.9.0 jsonpatch==1.16 jsonpointer==1.13 jsonschema==2.6.0 -keyring==5.5.1 keystoneauth1==3.5.0 kombu==4.0.0 linecache2==1.0.0
  21. Download patch ChangeLog
  22. Download patch tox.ini

    --- 2:13.0.0-2/tox.ini 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/tox.ini 2019-07-15 14:55:19.000000000 +0000 @@ -1,6 +1,5 @@ -# noted to use py35 you need virtualenv >= 1.11.4 [tox] -envlist = py35,py27,pep8,docs +envlist = py37,py36,py27,pep8,docs minversion = 2.0 skipsdist = True @@ -14,7 +13,7 @@ passenv = ZUUL_CACHE_DIR REQUIREMENTS_PIP_LOCATION install_command = pip install {opts} {packages} deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt commands = @@ -32,7 +31,7 @@ commands = bandit -r novaclient -n5 -x t [testenv:venv] basepython = python3 deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt -r{toxinidir}/doc/requirements.txt @@ -41,7 +40,7 @@ commands = {posargs} [testenv:docs] basepython = python3 deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/requirements.txt -r{toxinidir}/doc/requirements.txt commands = @@ -53,7 +52,7 @@ commands = [testenv:releasenotes] basepython = python3 deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/requirements.txt -r{toxinidir}/doc/requirements.txt commands = @@ -66,8 +65,8 @@ commands = stestr --test-path=./novaclient/tests/functional run --concurrency=1 {posargs} python novaclient/tests/functional/hooks/check_resources.py -[testenv:functional-py35] -basepython = python3.5 +[testenv:functional-py36] +basepython = python3.6 passenv = OS_NOVACLIENT_TEST_NETWORK commands = stestr --test-path=./novaclient/tests/functional run --concurrency=1 {posargs}
  23. Download patch test-requirements.txt

    --- 2:13.0.0-2/test-requirements.txt 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/test-requirements.txt 2019-07-15 14:55:19.000000000 +0000 @@ -7,10 +7,9 @@ bandit>=1.1.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 ddt>=1.0.1 # MIT fixtures>=3.0.0 # Apache-2.0/BSD -keyring>=5.5.1 # MIT/PSF mock>=2.0.0 # BSD python-keystoneclient>=3.8.0 # Apache-2.0 -python-cinderclient>=3.3.0 # Apache-2.0 +python-cinderclient!=4.0.0,>=3.3.0 # Apache-2.0 python-glanceclient>=2.8.0 # Apache-2.0 python-neutronclient>=6.7.0 # Apache-2.0 requests-mock>=1.2.0 # Apache-2.0
  24. Download patch releasenotes/notes/microversion-v2_74-43b128fe6b84b630.yaml

    --- 2:13.0.0-2/releasenotes/notes/microversion-v2_74-43b128fe6b84b630.yaml 1970-01-01 00:00:00.000000000 +0000 +++ 2:14.2.0-0ubuntu1/releasenotes/notes/microversion-v2_74-43b128fe6b84b630.yaml 2019-07-15 14:55:19.000000000 +0000 @@ -0,0 +1,9 @@ +--- +features: + - | + Support is added for the `2.74 microversion`_ which allows specifying the + ``--host`` and ``--hypervisor-hostname`` options on the ``nova boot`` + command. The ``novaclient.v2.servers.ServerManager.create()`` method now + also supports ``host`` and ``hypervisor_hostname`` parameters. + + .. _2.74 microversion: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id66
  25. Download patch doc/source/index.rst

    --- 2:13.0.0-2/doc/source/index.rst 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/doc/source/index.rst 2019-07-15 14:55:19.000000000 +0000 @@ -2,7 +2,7 @@ Python bindings to the OpenStack Nova API =========================================== -This is a client for OpenStack Nova API. There's :doc:`a Python API +This is a client for OpenStack Nova API. There's a :doc:`Python API <reference/api/index>` (the :mod:`novaclient` module), and a :doc:`command-line script </user/shell>` (installed as :program:`nova`). Each implements the entire OpenStack Nova API.
  26. Download patch python_novaclient.egg-info/top_level.txt

    --- 2:13.0.0-2/python_novaclient.egg-info/top_level.txt 1970-01-01 00:00:00.000000000 +0000 +++ 2:14.2.0-0ubuntu1/python_novaclient.egg-info/top_level.txt 2019-07-15 14:56:48.000000000 +0000 @@ -0,0 +1 @@ +novaclient
  27. Download patch doc/requirements.txt

    --- 2:13.0.0-2/doc/requirements.txt 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/doc/requirements.txt 2019-07-15 14:55:19.000000000 +0000 @@ -1,8 +1,9 @@ # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD -openstackdocstheme>=1.18.1 # Apache-2.0 +sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD +sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD +openstackdocstheme>=1.30.0 # Apache-2.0 reno>=2.5.0 # Apache-2.0 sphinxcontrib-apidoc>=0.2.0 # BSD
  28. Download patch .gitignore

    --- 2:13.0.0-2/.gitignore 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/.gitignore 1970-01-01 00:00:00.000000000 +0000 @@ -1,26 +0,0 @@ -.coverage -.venv -.stestr/ -subunit.log -.tox -*,cover -cover -*.pyc -.idea -*.sw? -*~ -build -dist -AUTHORS -ChangeLog -novaclient/versioninfo -*.egg -*egg-info -.eggs - -# Files created by documentation build -/doc/build/ -/doc/source/reference/api/ - -# Files created by releasenotes build -/releasenotes/build
  29. Download patch novaclient/v2/server_groups.py

    --- 2:13.0.0-2/novaclient/v2/server_groups.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/v2/server_groups.py 2019-07-15 14:55:19.000000000 +0000 @@ -51,6 +51,9 @@ class ServerGroupsManager(base.ManagerWi :param all_projects: Lists server groups for all projects. (optional) :param limit: Maximum number of server groups to return. (optional) + Note the API server has a configurable default limit. + If no limit is specified here or limit is larger than + default, the default limit will be used. :param offset: Use with `limit` to return a slice of server groups. `offset` is where to start in the groups list. (optional)
  30. Download patch releasenotes/source/stein.rst

    --- 2:13.0.0-2/releasenotes/source/stein.rst 1970-01-01 00:00:00.000000000 +0000 +++ 2:14.2.0-0ubuntu1/releasenotes/source/stein.rst 2019-07-15 14:55:19.000000000 +0000 @@ -0,0 +1,6 @@ +=================================== + Stein Series Release Notes +=================================== + +.. release-notes:: + :branch: stable/stein
  31. Download patch releasenotes/notes/bp-add-locked-reason-3f136db97b820c73.yaml

    --- 2:13.0.0-2/releasenotes/notes/bp-add-locked-reason-3f136db97b820c73.yaml 1970-01-01 00:00:00.000000000 +0000 +++ 2:14.2.0-0ubuntu1/releasenotes/notes/bp-add-locked-reason-3f136db97b820c73.yaml 2019-07-15 14:55:19.000000000 +0000 @@ -0,0 +1,6 @@ +--- +features: + - Added a ``--reason`` option to ``nova lock`` command that enables users + to specify a reason when locking a server and a ``locked`` + filtering/sorting option to ``nova list`` command which enables users to + filter/sort servers based on their ``locked`` value in microversion 2.73.
  32. Download patch novaclient/tests/unit/v2/test_hypervisors.py

    --- 2:13.0.0-2/novaclient/tests/unit/v2/test_hypervisors.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/tests/unit/v2/test_hypervisors.py 2019-07-15 14:55:19.000000000 +0000 @@ -13,6 +13,8 @@ # License for the specific language governing permissions and limitations # under the License. +import six + from novaclient import api_versions from novaclient import exceptions from novaclient.tests.unit.fixture_data import client @@ -119,6 +121,14 @@ class HypervisorsTest(utils.FixturedTest self.cs.hypervisors.search, hypervisor_match) + def test_hypervisor_search_detailed(self): + # detailed=True is not supported before 2.53 + ex = self.assertRaises(exceptions.UnsupportedVersion, + self.cs.hypervisors.search, 'hyper', + detailed=True) + self.assertIn('Parameter "detailed" requires API version 2.53 or ' + 'greater.', six.text_type(ex)) + def test_hypervisor_servers(self): expected = [ dict(id=self.data_fixture.hyper_id_1, @@ -236,3 +246,16 @@ class HypervisorsV2_53Test(HypervisorsV2 def setUp(self): super(HypervisorsV2_53Test, self).setUp() self.cs.api_version = api_versions.APIVersion("2.53") + + def test_hypervisor_search_detailed(self): + expected = [ + dict(id=self.data_fixture.hyper_id_1, + hypervisor_hostname='hyper1'), + dict(id=self.data_fixture.hyper_id_2, + hypervisor_hostname='hyper2')] + result = self.cs.hypervisors.search('hyper', detailed=True) + self.assert_request_id(result, fakes.FAKE_REQUEST_ID_LIST) + self.assert_called( + 'GET', '/os-hypervisors/detail?hypervisor_hostname_pattern=hyper') + for idx, hyper in enumerate(result): + self.compare_to_expected(expected[idx], hyper)
  33. Download patch releasenotes/source/index.rst

    --- 2:13.0.0-2/releasenotes/source/index.rst 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/releasenotes/source/index.rst 2019-07-15 14:55:19.000000000 +0000 @@ -8,6 +8,7 @@ Contents :maxdepth: 2 unreleased + stein rocky queens pike
  34. Download patch debian/watch

    --- 2:13.0.0-2/debian/watch 2019-07-17 12:10:19.000000000 +0000 +++ 2:14.2.0-0ubuntu1/debian/watch 2019-07-30 19:32:48.000000000 +0000 @@ -1,4 +1,3 @@ version=3 -opts="uversionmangle=s/^2012/0.0.0/" \ -https://github.com/openstack/python-novaclient/tags .*/(\d[\d\.]+)\.tar\.gz - +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +http://pypi.debian.net/python-novaclient/python-novaclient-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
  35. Download patch setup.cfg

    --- 2:13.0.0-2/setup.cfg 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/setup.cfg 2019-07-15 14:56:48.000000000 +0000 @@ -1,34 +1,34 @@ [metadata] name = python-novaclient summary = Client library for OpenStack Compute API -description-file = - README.rst +description-file = + README.rst license = Apache License, Version 2.0 author = OpenStack author-email = openstack-discuss@lists.openstack.org home-page = https://docs.openstack.org/python-novaclient/latest -classifier = - Development Status :: 5 - Production/Stable - Environment :: Console - Environment :: OpenStack - Intended Audience :: Developers - Intended Audience :: Information Technology - License :: OSI Approved :: Apache Software License - Operating System :: OS Independent - Programming Language :: Python - Programming Language :: Python :: 2 - Programming Language :: Python :: 2.7 - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.5 - Programming Language :: Python :: 3.6 +classifier = + Development Status :: 5 - Production/Stable + Environment :: Console + Environment :: OpenStack + Intended Audience :: Developers + Intended Audience :: Information Technology + License :: OSI Approved :: Apache Software License + Operating System :: OS Independent + Programming Language :: Python + Programming Language :: Python :: 2 + Programming Language :: Python :: 2.7 + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 [files] -packages = - novaclient +packages = + novaclient [entry_points] -console_scripts = - nova = novaclient.shell:main +console_scripts = + nova = novaclient.shell:main [upload_sphinx] upload-dir = doc/build/html @@ -49,3 +49,8 @@ output_file = novaclient/locale/novaclie [wheel] universal = 1 + +[egg_info] +tag_build = +tag_date = 0 +
  36. Download patch python_novaclient.egg-info/entry_points.txt

    --- 2:13.0.0-2/python_novaclient.egg-info/entry_points.txt 1970-01-01 00:00:00.000000000 +0000 +++ 2:14.2.0-0ubuntu1/python_novaclient.egg-info/entry_points.txt 2019-07-15 14:56:48.000000000 +0000 @@ -0,0 +1,3 @@ +[console_scripts] +nova = novaclient.shell:main +
  37. Download patch novaclient/tests/unit/v2/test_shell.py

    --- 2:13.0.0-2/novaclient/tests/unit/v2/test_shell.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/tests/unit/v2/test_shell.py 2019-07-15 14:55:23.000000000 +0000 @@ -624,6 +624,34 @@ class ShellTest(utils.TestCase): 'size=1,format=ext4,type=disk,shutdown=foobar ' 'some-server' % FAKE_UUID_1)) + def test_boot_from_volume_with_volume_type_latest_microversion(self): + self.run_command( + 'boot --flavor 1 --block-device id=%s,source=image,dest=volume,' + 'size=1,bootindex=0,shutdown=remove,tag=foo,volume_type=lvm ' + 'bfv-server' % FAKE_UUID_1, api_version='2.latest') + self.assert_called_anytime( + 'POST', '/servers', + {'server': { + 'flavorRef': '1', + 'name': 'bfv-server', + 'block_device_mapping_v2': [ + { + 'uuid': FAKE_UUID_1, + 'source_type': 'image', + 'destination_type': 'volume', + 'volume_size': '1', + 'delete_on_termination': True, + 'tag': 'foo', + 'boot_index': '0', + 'volume_type': 'lvm' + }, + ], + 'networks': 'auto', + 'imageRef': '', + 'min_count': 1, + 'max_count': 1, + }}) + def test_boot_from_volume_with_volume_type_old_microversion(self): ex = self.assertRaises( exceptions.CommandError, self.run_command, @@ -1346,6 +1374,83 @@ class ShellTest(utils.TestCase): self.assertIn('Instance %s could not be found.' % FAKE_UUID_1, six.text_type(ex)) + def test_boot_with_host_v274(self): + self.run_command('boot --flavor 1 --image %s ' + '--host new-host --nic auto ' + 'some-server' % FAKE_UUID_1, + api_version='2.74') + self.assert_called_anytime( + 'POST', '/servers', + {'server': { + 'flavorRef': '1', + 'name': 'some-server', + 'imageRef': FAKE_UUID_1, + 'min_count': 1, + 'max_count': 1, + 'networks': 'auto', + 'host': 'new-host', + }}, + ) + + def test_boot_with_hypervisor_hostname_v274(self): + self.run_command('boot --flavor 1 --image %s --nic auto ' + '--hypervisor-hostname new-host ' + 'some-server' % FAKE_UUID_1, + api_version='2.74') + self.assert_called_anytime( + 'POST', '/servers', + {'server': { + 'flavorRef': '1', + 'name': 'some-server', + 'imageRef': FAKE_UUID_1, + 'min_count': 1, + 'max_count': 1, + 'networks': 'auto', + 'hypervisor_hostname': 'new-host', + }}, + ) + + def test_boot_with_host_and_hypervisor_hostname_v274(self): + self.run_command('boot --flavor 1 --image %s ' + '--host new-host --nic auto ' + '--hypervisor-hostname new-host ' + 'some-server' % FAKE_UUID_1, + api_version='2.74') + self.assert_called_anytime( + 'POST', '/servers', + {'server': { + 'flavorRef': '1', + 'name': 'some-server', + 'imageRef': FAKE_UUID_1, + 'min_count': 1, + 'max_count': 1, + 'networks': 'auto', + 'host': 'new-host', + 'hypervisor_hostname': 'new-host', + }}, + ) + + def test_boot_with_host_pre_v274(self): + cmd = ('boot --flavor 1 --image %s --nic auto ' + '--host new-host some-server' + % FAKE_UUID_1) + self.assertRaises(SystemExit, self.run_command, + cmd, api_version='2.73') + + def test_boot_with_hypervisor_hostname_pre_v274(self): + cmd = ('boot --flavor 1 --image %s --nic auto ' + '--hypervisor-hostname new-host some-server' + % FAKE_UUID_1) + self.assertRaises(SystemExit, self.run_command, + cmd, api_version='2.73') + + def test_boot_with_host_and_hypervisor_hostname_pre_v274(self): + cmd = ('boot --flavor 1 --image %s --nic auto ' + '--host new-host --hypervisor-hostname new-host some-server' + % FAKE_UUID_1) + self.assertRaises(SystemExit, self.run_command, + cmd, api_version='2.73') + def test_flavor_list(self): out, _ = self.run_command('flavor-list') self.assert_called_anytime('GET', '/flavors/detail') @@ -2092,6 +2197,24 @@ class ShellTest(utils.TestCase): self.run_command('lock sample-server') self.assert_called('POST', '/servers/1234/action', {'lock': None}) + def test_lock_pre_v273(self): + exp = self.assertRaises(SystemExit, + self.run_command, + 'lock sample-server --reason zombies', + api_version='2.72') + self.assertIn('2', six.text_type(exp)) + + def test_lock_v273(self): + self.run_command('lock sample-server', + api_version='2.73') + self.assert_called('POST', '/servers/1234/action', + {'lock': None}) + + self.run_command('lock sample-server --reason zombies', + api_version='2.73') + self.assert_called('POST', '/servers/1234/action', + {'lock': {'locked_reason': 'zombies'}}) + def test_unlock(self): self.run_command('unlock sample-server') self.assert_called('POST', '/servers/1234/action', {'unlock': None}) @@ -3553,6 +3676,12 @@ class ShellTest(utils.TestCase): self.run_command('availability-zone-list') self.assert_called('GET', '/os-availability-zone/detail') + def test_console_log(self): + out = self.run_command('console-log --length 20 1234')[0] + self.assert_called('POST', '/servers/1234/action', + body={'os-getConsoleOutput': {'length': '20'}}) + self.assertIn('foo', out) + def test_server_security_group_add(self): self.run_command('add-secgroup sample-server testgroup') self.assert_called('POST', '/servers/1234/action', @@ -4089,7 +4218,7 @@ class ShellTest(utils.TestCase): # before feature-freeze # (we can do it, since nova-api change didn't actually add # new microversion, just an additional checks. See - # https://review.openstack.org/#/c/233076/ for more details) + # https://review.opendev.org/#/c/233076/ for more details) 20, # doesn't require any changes in novaclient 27, # NOTE(cdent): 27 adds support for updated microversion # headers, and is tested in test_api_versions, but is @@ -4133,6 +4262,7 @@ class ShellTest(utils.TestCase): 70, # There are no version-wrapped shell method changes for this. 71, # There are no version-wrapped shell method changes for this. 72, # There are no version-wrapped shell method changes for this. + 74, # There are no version-wrapped shell method changes for this. ]) versions_supported = set(range(0, novaclient.API_MAX_VERSION.ver_minor + 1)) @@ -4274,6 +4404,22 @@ class ShellTest(utils.TestCase): self.assert_called('GET', '/servers/9015', pos=2) self.assert_called('GET', '/v2/images/%s' % FAKE_UUID_2, pos=3) + def test_list_pre_v273(self): + exp = self.assertRaises(SystemExit, + self.run_command, + 'list --locked t', + api_version='2.72') + self.assertEqual(2, exp.code) + + def test_list_v273(self): + self.run_command('list --locked t', api_version='2.73') + self.assert_called('GET', '/servers/detail?locked=t') + + def test_list_v273_with_sort_key_dir(self): + self.run_command('list --sort locked:asc', api_version='2.73') + self.assert_called( + 'GET', '/servers/detail?sort_dir=asc&sort_key=locked') + class PollForStatusTestCase(utils.TestCase): @mock.patch("novaclient.v2.shell.time")
  38. Download patch novaclient/v2/keypairs.py

    --- 2:13.0.0-2/novaclient/v2/keypairs.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/v2/keypairs.py 2019-07-15 14:55:19.000000000 +0000 @@ -185,6 +185,9 @@ class KeypairManager(base.ManagerWithFin keypair list than that represented by this keypair name (optional). :param limit: maximum number of keypairs to return (optional). + Note the API server has a configurable default limit. + If no limit is specified here or limit is larger than + default, the default limit will be used. """ params = {} if user_id:
  39. Download patch novaclient/base.py

    --- 2:13.0.0-2/novaclient/base.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/base.py 2019-07-15 14:55:19.000000000 +0000 @@ -307,8 +307,8 @@ class Manager(HookableMixin): # endpoint pair username = utils.env('OS_USERNAME', 'NOVA_USERNAME') url = utils.env('OS_URL', 'NOVA_URL') - uniqifier = hashlib.md5(username.encode('utf-8') + - url.encode('utf-8')).hexdigest() + uniqifier = hashlib.sha256(username.encode('utf-8') + + url.encode('utf-8')).hexdigest() cache_dir = os.path.expanduser(os.path.join(base_dir, uniqifier))
  40. Download patch python_novaclient.egg-info/not-zip-safe

    --- 2:13.0.0-2/python_novaclient.egg-info/not-zip-safe 1970-01-01 00:00:00.000000000 +0000 +++ 2:14.2.0-0ubuntu1/python_novaclient.egg-info/not-zip-safe 2019-07-15 14:56:48.000000000 +0000 @@ -0,0 +1 @@ +
  41. Download patch novaclient/tests/functional/v2/test_hypervisors.py

    --- 2:13.0.0-2/novaclient/tests/functional/v2/test_hypervisors.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/tests/functional/v2/test_hypervisors.py 2019-07-15 14:55:19.000000000 +0000 @@ -26,3 +26,16 @@ class TestHypervisorsV2_53(TestHyperviso def test_list(self): self._test_list(cpu_info_type=dict, uuid_as_id=True) + + def test_search_with_details(self): + # First find a hypervisor from the list to search on. + hypervisors = self.client.hypervisors.list() + # Now search for that hypervisor with details. + hypervisor = hypervisors[0] + hypervisors = self.client.hypervisors.search( + hypervisor.hypervisor_hostname, detailed=True) + self.assertEqual(1, len(hypervisors)) + hypervisor = hypervisors[0] + # We know we got details if service is in the response. + self.assertIsNotNone(hypervisor.service, + 'Expected service in hypervisor: %s' % hypervisor)
  42. Download patch novaclient/v2/migrations.py

    --- 2:13.0.0-2/novaclient/v2/migrations.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/v2/migrations.py 2019-07-15 14:55:19.000000000 +0000 @@ -70,6 +70,9 @@ class MigrationManager(base.ManagerWithF migrations list than that represented by this migration UUID (optional). :param limit: maximum number of migrations to return (optional). + Note the API server has a configurable default limit. If no limit is + specified here or limit is larger than default, the default limit will + be used. :param changes_since: only return migrations changed later or equal to a certain point of time. The provided time should be an ISO 8061 formatted time. e.g. 2016-03-04T06:27:59Z . (optional). @@ -92,6 +95,9 @@ class MigrationManager(base.ManagerWithF migrations list than that represented by this migration UUID (optional). :param limit: maximum number of migrations to return (optional). + Note the API server has a configurable default limit. If no limit is + specified here or limit is larger than default, the default limit will + be used. :param changes_since: Only return migrations changed later or equal to a certain point of time. The provided time should be an ISO 8061 formatted time. e.g. 2016-03-04T06:27:59Z . (optional).
  43. Download patch doc/source/cli/nova.rst

    --- 2:13.0.0-2/doc/source/cli/nova.rst 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/doc/source/cli/nova.rst 2019-07-15 14:55:19.000000000 +0000 @@ -952,6 +952,8 @@ nova boot [--description <description>] [--tags <tags>] [--return-reservation-id] [--trusted-image-certificate-id <trusted-image-certificate-id>] + [--host <host>] + [--hypervisor-hostname <hypervisor-hostname>] <name> Boot a new server. @@ -1117,6 +1119,14 @@ quality of service support, microversion May be specified multiple times to pass multiple trusted image certificate IDs. (Supported by API versions '2.63' - '2.latest') +``--host <host>`` + Requested host to create servers. Admin only by default. + (Supported by API versions '2.74' - '2.latest') + +``--hypervisor-hostname <hypervisor-hostname>`` + Requested hypervisor hostname to create servers. Admin only by default. + (Supported by API versions '2.74' - '2.latest') + .. _nova_cell-capacities: nova cell-capacities @@ -1177,6 +1187,33 @@ nova console-log Get console log output of a server. +**Locale encoding issues** + +If you encounter an error such as: + +.. code-block:: console + + UnicodeEncodeError: 'ascii' codec can't encode characters in position + +The solution to these problems is different depending on which locale your +computer is running in. + +For instance, if you have a German Linux machine, you can fix the problem by +exporting the locale to de_DE.utf-8: + +.. code-block:: console + + export LC_ALL=de_DE.utf-8 + export LANG=de_DE.utf-8 + +If you are on a US machine, en_US.utf-8 is the encoding of choice. On some +newer Linux systems, you could also try C.UTF-8 as the locale: + +.. code-block:: console + + export LC_ALL=C.UTF-8 + export LANG=C.UTF-8 + **Positional arguments:** ``<server>`` @@ -1231,7 +1268,7 @@ nova evacuate .. code-block:: console - usage: nova evacuate [--password <password>] [--force] <server> [<host>] + usage: nova evacuate [--password <password>] [--on-shared-storage] [--force] <server> [<host>] Evacuate server from failed host. @@ -1251,6 +1288,10 @@ Evacuate server from failed host. server. Not applicable if the server is on shared storage. +``--on-shared-storage`` + Specifies whether server files are located on shared + storage. (Supported by API versions '2.0' - '2.13') + ``--force`` Force an evacuation by not verifying the provided destination host by the scheduler. (Supported by API versions '2.29' - '2.67') @@ -2187,15 +2228,16 @@ nova list usage: nova list [--reservation-id <reservation-id>] [--ip <ip-regexp>] [--ip6 <ip6-regexp>] [--name <name-regexp>] - [--instance-name <name-regexp>] [--status <status>] - [--flavor <flavor>] [--image <image>] [--host <hostname>] - [--all-tenants [<0|1>]] [--tenant [<tenant>]] - [--user [<user>]] [--deleted] [--fields <fields>] [--minimal] + [--status <status>] [--flavor <flavor>] [--image <image>] + [--host <hostname>] [--all-tenants [<0|1>]] + [--tenant [<tenant>]] [--user [<user>]] [--deleted] + [--fields <fields>] [--minimal] [--sort <key>[:<direction>]] [--marker <marker>] [--limit <limit>] [--changes-since <changes_since>] [--changes-before <changes_before>] [--tags <tags>] [--tags-any <tags-any>] [--not-tags <not-tags>] [--not-tags-any <not-tags-any>] + [--locked] List servers. @@ -2219,10 +2261,6 @@ present in the failure domain. ``--name <name-regexp>`` Search with regular expression match by name. -``--instance-name <name-regexp>`` - Search with regular expression match by server - name. - ``--status <status>`` Search by server status. @@ -2321,6 +2359,14 @@ present in the failure domain. commas: --not-tags-any <tag1,tag2> (Supported by API versions '2.26' - '2.latest') +``--locked <locked>`` + Display servers based on their locked value. A + value must be specified; eg. 'true' will list + only locked servers and 'false' will list only + unlocked servers. (Supported by API versions + '2.73' - '2.latest') + + .. _nova_list-extensions: nova list-extensions @@ -2441,7 +2487,7 @@ nova lock .. code-block:: console - usage: nova lock <server> + usage: nova lock [--reason <reason>] <server> Lock a server. A normal (non-admin) user will not be able to execute actions on a locked server. @@ -2451,6 +2497,12 @@ on a locked server. ``<server>`` Name or ID of server. +**Optional arguments:** + +``--reason <reason>`` + Reason for locking the server. (Supported by API versions + '2.73' - '2.latest') + .. _nova_meta: nova meta
  44. Download patch AUTHORS
  45. Download patch novaclient/v2/hypervisors.py

    --- 2:13.0.0-2/novaclient/v2/hypervisors.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/v2/hypervisors.py 2019-07-15 14:55:19.000000000 +0000 @@ -23,6 +23,8 @@ from six.moves.urllib import parse from novaclient import api_versions from novaclient import base +from novaclient import exceptions +from novaclient.i18n import _ from novaclient import utils @@ -70,10 +72,13 @@ class HypervisorManager(base.ManagerWith marker must be a UUID hypervisor ID. (optional). :param limit: maximum number of hypervisors to return (optional). + Note the API server has a configurable default limit. + If no limit is specified here or limit is larger than + default, the default limit will be used. """ return self._list_base(detailed=detailed, marker=marker, limit=limit) - def search(self, hypervisor_match, servers=False): + def search(self, hypervisor_match, servers=False, detailed=False): """ Get a list of matching hypervisors. @@ -81,6 +86,8 @@ class HypervisorManager(base.ManagerWith The hypervisor hosts are selected with the host name matching this pattern. :param servers: If True, server information is also retrieved. + :param detailed: If True, detailed hypervisor information is returned. + This requires API version 2.53 or greater. """ # Starting with microversion 2.53, the /servers and /search routes are # deprecated and we get the same results using GET /os-hypervisors @@ -88,11 +95,16 @@ class HypervisorManager(base.ManagerWith if six.PY2: hypervisor_match = encodeutils.safe_encode(hypervisor_match) if self.api_version >= api_versions.APIVersion('2.53'): - url = ('/os-hypervisors?hypervisor_hostname_pattern=%s' % - parse.quote(hypervisor_match, safe='')) + url = ('/os-hypervisors%s?hypervisor_hostname_pattern=%s' % + ('/detail' if detailed else '', + parse.quote(hypervisor_match, safe=''))) if servers: url += '&with_servers=True' else: + if detailed: + raise exceptions.UnsupportedVersion( + _('Parameter "detailed" requires API version 2.53 or ' + 'greater.')) target = 'servers' if servers else 'search' url = ('/os-hypervisors/%s/%s' % (parse.quote(hypervisor_match, safe=''), target))
  46. Download patch .zuul.yaml

    --- 2:13.0.0-2/.zuul.yaml 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/.zuul.yaml 2019-07-15 14:55:19.000000000 +0000 @@ -5,9 +5,13 @@ post-run: playbooks/legacy/novaclient-dsvm-functional/post.yaml timeout: 7200 required-projects: - - openstack-infra/devstack-gate + - openstack/devstack-gate - openstack/nova - openstack/python-novaclient + irrelevant-files: + - ^.*\.rst$ + - ^doc/.*$ + - ^releasenotes/.*$ - project: templates: @@ -17,9 +21,7 @@ - openstack-cover-jobs - openstack-lower-constraints-jobs - openstack-python-jobs - - openstack-python35-jobs - - openstack-python36-jobs - - openstack-python37-jobs + - openstack-python3-train-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 check:
  47. Download patch novaclient/v2/servers.py

    --- 2:13.0.0-2/novaclient/v2/servers.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/v2/servers.py 2019-07-15 14:55:19.000000000 +0000 @@ -214,6 +214,7 @@ class Server(base.Resource): """ return self.manager.unpause(self) + @api_versions.wraps("2.0", "2.72") def lock(self): """ Lock -- Lock the instance from certain operations. @@ -222,6 +223,16 @@ class Server(base.Resource): """ return self.manager.lock(self) + @api_versions.wraps("2.73") + def lock(self, reason=None): + """ + Lock -- Lock the instance from certain operations. + + :param reason: (Optional) The lock reason. + :returns: An instance of novaclient.base.TupleWithMeta + """ + return self.manager.lock(self, reason=reason) + def unlock(self): """ Unlock -- Remove instance lock. @@ -683,7 +694,8 @@ class ServerManager(base.BootingManagerW block_device_mapping_v2=None, nics=None, scheduler_hints=None, config_drive=None, admin_pass=None, disk_config=None, access_ip_v4=None, access_ip_v6=None, description=None, - tags=None, trusted_image_certificates=None, **kwargs): + tags=None, trusted_image_certificates=None, + host=None, hypervisor_hostname=None, **kwargs): """ Create (boot) a new server. """ @@ -806,6 +818,12 @@ class ServerManager(base.BootingManagerW body['server']['trusted_image_certificates'] = ( trusted_image_certificates) + if host: + body['server']['host'] = host + + if hypervisor_hostname: + body['server']['hypervisor_hostname'] = hypervisor_hostname + return self._create('/servers', body, response_key, return_raw=return_raw, **kwargs) @@ -832,6 +850,10 @@ class ServerManager(base.BootingManagerW :param marker: Begin returning servers that appear later in the server list than that represented by this server id (optional). :param limit: Maximum number of servers to return (optional). + Note the API server has a configurable default limit. + If no limit is specified here or limit is larger than + default, the default limit will be used. + If limit == -1, all servers will be returned. :param sort_keys: List of sort keys :param sort_dirs: List of sort directions @@ -851,9 +873,14 @@ class ServerManager(base.BootingManagerW search_opts = {} qparams = {} - + # In microversion 2.73 we added ``locked`` filtering option + # for listing server details. + if ('locked' in search_opts and + self.api_version < api_versions.APIVersion('2.73')): + raise exceptions.UnsupportedAttribute("locked", "2.73") for opt, val in search_opts.items(): - if val: + # support locked=False from 2.73 microversion + if val or (opt == 'locked' and val is False): if isinstance(val, six.text_type): val = val.encode('utf-8') qparams[opt] = val @@ -1097,6 +1124,7 @@ class ServerManager(base.BootingManagerW """ return self._action('unpause', server, None) + @api_versions.wraps("2.0", "2.72") def lock(self, server): """ Lock the server. @@ -1106,6 +1134,22 @@ class ServerManager(base.BootingManagerW """ return self._action('lock', server, None) + @api_versions.wraps("2.73") + def lock(self, server, reason=None): + """ + Lock the server. + + :param server: The :class:`Server` (or its ID) to lock + :param reason: (Optional) The lock reason. + :returns: An instance of novaclient.base.TupleWithMeta + """ + info = None + + if reason: + info = {'locked_reason': reason} + + return self._action('lock', server, info) + def unlock(self, server): """ Unlock the server. @@ -1230,7 +1274,9 @@ class ServerManager(base.BootingManagerW nics=None, scheduler_hints=None, config_drive=None, disk_config=None, admin_pass=None, access_ip_v4=None, access_ip_v6=None, - trusted_image_certificates=None, **kwargs): + trusted_image_certificates=None, + host=None, hypervisor_hostname=None, + **kwargs): # TODO(anthony): indicate in doc string if param is an extension # and/or optional """ @@ -1297,6 +1343,10 @@ class ServerManager(base.BootingManagerW server as tags (allowed since microversion 2.52) :param trusted_image_certificates: A list of trusted certificate IDs (allowed since microversion 2.63) + :param host: requested host to create servers + (allowed since microversion 2.74) + :param hypervisor_hostname: requested hypervisor hostname to create + servers (allowed since microversion 2.74) """ if not min_count: min_count = 1 @@ -1351,6 +1401,15 @@ class ServerManager(base.BootingManagerW "Block device volume_type is not supported before " "microversion 2.67") + host_microversion = api_versions.APIVersion("2.74") + if host and self.api_version < host_microversion: + raise exceptions.UnsupportedAttribute("host", "2.74") + hypervisor_hostname_microversion = api_versions.APIVersion("2.74") + if (hypervisor_hostname and + self.api_version < hypervisor_hostname_microversion): + raise exceptions.UnsupportedAttribute( + "hypervisor_hostname", "2.74") + boot_kwargs = dict( meta=meta, files=files, userdata=userdata, reservation_id=reservation_id, min_count=min_count, @@ -1359,7 +1418,9 @@ class ServerManager(base.BootingManagerW scheduler_hints=scheduler_hints, config_drive=config_drive, disk_config=disk_config, admin_pass=admin_pass, access_ip_v4=access_ip_v4, access_ip_v6=access_ip_v6, - trusted_image_certificates=trusted_image_certificates, **kwargs) + trusted_image_certificates=trusted_image_certificates, + host=host, hypervisor_hostname=hypervisor_hostname, + **kwargs) if block_device_mapping: boot_kwargs['block_device_mapping'] = block_device_mapping
  48. Download patch novaclient/shell.py

    --- 2:13.0.0-2/novaclient/shell.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/shell.py 2019-07-15 14:55:19.000000000 +0000 @@ -367,26 +367,6 @@ class OpenStackComputeShell(object): help=_("Use this API endpoint instead of the Service Catalog. " "Defaults to env[OS_ENDPOINT_OVERRIDE].")) - # NOTE(takashin): This dummy '--end' argument was added - # to avoid misinterpreting command line arguments. - # If there is not this dummy argument, the '--end' is interpreted to - # the '--endpoint-override'. - # TODO(takashin): Remove this dummy '--end' argument - # when the deprecated '--endpoint-override' argument is removed. - parser.add_argument( - '--end', - metavar='<end>', - nargs='?', - help=argparse.SUPPRESS) - - parser.add_argument( - '--endpoint-override', - action=DeprecatedAction, - use=_('use "%s"; this option will be removed after Rocky ' - 'OpenStack release.') % '--os-endpoint-override', - dest='endpoint_override', - help=argparse.SUPPRESS) - if osprofiler_profiler: parser.add_argument('--profile', metavar='HMAC_KEY',
  49. Download patch debian/gbp.conf

    --- 2:13.0.0-2/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 +++ 2:14.2.0-0ubuntu1/debian/gbp.conf 2019-07-30 19:32:48.000000000 +0000 @@ -0,0 +1,7 @@ +[DEFAULT] +debian-branch = master +upstream-tag = %(version)s +pristine-tar = True + +[buildpackage] +export-dir = ../build-area
  50. Download patch novaclient/tests/unit/v2/fakes.py

    --- 2:13.0.0-2/novaclient/tests/unit/v2/fakes.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/tests/unit/v2/fakes.py 2019-07-15 14:55:19.000000000 +0000 @@ -774,7 +774,7 @@ class FakeSessionClient(base_client.Sess none_actions = ['revertResize', 'os-stop', 'os-start', 'forceDelete', 'restore', 'pause', 'unpause', 'unlock', - 'unrescue', 'resume', 'suspend', 'lock', 'shelve', + 'unrescue', 'resume', 'suspend', 'shelve', 'shelveOffload', 'unshelve', 'resetNetwork'] type_actions = ['os-getVNCConsole', 'os-getSPICEConsole', 'os-getRDPConsole'] @@ -836,6 +836,22 @@ class FakeSessionClient(base_client.Sess # host can be optional expected.add('host') assert set(body[action].keys()) == expected + elif action == 'lock': + if self.api_version < api_versions.APIVersion("2.73"): + assert body[action] is None + else: + # In 2.73 and above, we allow body to be one of these: + # a) {'lock': None} + # b) {'lock': {}} + # c) {'lock': {locked_reason': 'blah'}} + if body[action] is not None: + expected = set() + if 'locked_reason' in body[action].keys(): + # reason can be optional + expected.add('locked_reason') + assert set(body[action].keys()) == expected + else: + assert body[action] is None elif action == 'rebuild': body = body[action] adminPass = body.get('adminPass', 'randompassword')
  51. Download patch novaclient/v2/flavors.py

    --- 2:13.0.0-2/novaclient/v2/flavors.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/v2/flavors.py 2019-07-15 14:55:19.000000000 +0000 @@ -116,6 +116,9 @@ class FlavorManager(base.ManagerWithFind :param min_disk: Filters the flavors by a minimum disk space, in GiB. :param min_ram: Filters the flavors by a minimum RAM, in MiB. :param limit: maximum number of flavors to return (optional). + Note the API server has a configurable default limit. + If no limit is specified here or limit is larger than + default, the default limit will be used. :param sort_key: Flavors list sort key (optional). :param sort_dir: Flavors list sort direction (optional). :returns: list of :class:`Flavor`.
  52. Download patch playbooks/legacy/novaclient-dsvm-functional/run.yaml

    --- 2:13.0.0-2/playbooks/legacy/novaclient-dsvm-functional/run.yaml 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/playbooks/legacy/novaclient-dsvm-functional/run.yaml 2019-07-15 14:55:19.000000000 +0000 @@ -13,12 +13,12 @@ set -x cat > clonemap.yaml << EOF clonemap: - - name: openstack-infra/devstack-gate + - name: openstack/devstack-gate dest: devstack-gate EOF /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ - openstack-infra/devstack-gate + https://opendev.org \ + openstack/devstack-gate executable: /bin/bash chdir: '{{ ansible_user_dir }}/workspace' environment: '{{ zuul | zuul_legacy_vars }}'
  53. Download patch novaclient/tests/functional/v2/test_os_services.py

    --- 2:13.0.0-2/novaclient/tests/functional/v2/test_os_services.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/tests/functional/v2/test_os_services.py 2019-07-15 14:55:19.000000000 +0000 @@ -72,7 +72,7 @@ class TestOsServicesNovaClientV2_53(base # services returned by client # NOTE(sdague): service disable has the chance in racing # with other tests. Now functional tests for novaclient are launched - # in serial way (https://review.openstack.org/#/c/217768/), but + # in serial way (https://review.opendev.org/#/c/217768/), but # it's a potential issue for making these tests parallel in the future for serv in self.client.services.list(): # In Pike the os-services API was made multi-cell aware and it
  54. Download patch doc/source/contributor/testing.rst

    --- 2:13.0.0-2/doc/source/contributor/testing.rst 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/doc/source/contributor/testing.rst 2019-07-15 14:55:19.000000000 +0000 @@ -11,14 +11,14 @@ test targets that can be run to validate ``tox -e py27`` Traditional unit testing (Python 2.7). -``tox -e py35`` - Traditional unit testing (Python 3.5). +``tox -e py36`` + Traditional unit testing (Python 3.6). ``tox -e functional`` Live functional testing against an existing OpenStack instance. (Python 2.7) -``tox -e functional-py35`` - Live functional testing against an existing OpenStack instance. (Python 3.5) +``tox -e functional-py36`` + Live functional testing against an existing OpenStack instance. (Python 3.6) ``tox -e cover`` Generate a coverage report on unit testing. @@ -31,4 +31,4 @@ DevStack installation with a demo and an Refer to `Consistent Testing Interface`__ for more details. -__ https://git.openstack.org/cgit/openstack/governance/tree/reference/project-testing-interface.rst +__ https://opendev.org/openstack/governance/src/branch/master/reference/project-testing-interface.rst
  55. Download patch novaclient/v2/usage.py

    --- 2:13.0.0-2/novaclient/v2/usage.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/v2/usage.py 2019-07-15 14:55:19.000000000 +0000 @@ -87,7 +87,9 @@ class UsageManager(base.ManagerWithFind) later in the instance list than that represented by this instance UUID (optional). :param limit: Maximum number of instances to include in the usage - (optional). + (optional). Note the API server has a configurable + default limit. If no limit is specified here or limit + is larger than default, the default limit will be used. :rtype: list of :class:`Usage`. """ query_string = self._usage_query(start, end, marker, limit, detailed) @@ -120,7 +122,9 @@ class UsageManager(base.ManagerWithFind) later in the instance list than that represented by this instance UUID (optional). :param limit: Maximum number of instances to include in the usage - (optional). + (optional). Note the API server has a configurable + default limit. If no limit is specified here or limit + is larger than default, the default limit will be used. :rtype: :class:`Usage` """ query_string = self._usage_query(start, end, marker, limit)
  56. Download patch novaclient/tests/unit/fixture_data/servers.py

    --- 2:13.0.0-2/novaclient/tests/unit/fixture_data/servers.py 2019-03-07 01:44:49.000000000 +0000 +++ 2:14.2.0-0ubuntu1/novaclient/tests/unit/fixture_data/servers.py 2019-07-15 14:55:19.000000000 +0000 @@ -454,6 +454,8 @@ class V1(Base): pass elif action == 'migrate': return None + elif action == 'lock': + return None elif action == 'rebuild': body = body[action] adminPass = body.get('adminPass', 'randompassword')
  1. libmath-tamuanova-perl
  2. nova
  3. python-novaclient