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-2ubuntu8) focal; urgency=medium * No-change rebuild for the perl update. -- Matthias Klose <doko@ubuntu.com> Fri, 18 Oct 2019 19:33:05 +0000 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-2ubuntu8/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-2ubuntu8/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:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1) focal; urgency=medium * New upstream snapshot for OpenStack Ussuri. * d/control: Align (Build-)Depends with upstream. * d/p/arm-console-patch.patch: Rebased. * d/p/skip-py38-failure.patch: Skip py38 failure until fixed upstream. * d/p/skip-test-needing-mock-3.patch: Dropped. No longer needed. * d/control, d/nova-console.*, d/nova-network.*, d/source_nova.py, d/tests/*: Remove nova-{console,dhcpbridge,network} inline with upstream removal. * d/control, d/rules, d/compat: Switch to debhelper compat 12 and pybuild. -- Corey Bryant <corey.bryant@canonical.com> Wed, 04 Dec 2019 15:35:30 -0500 nova (2:20.0.0-0ubuntu1) eoan; urgency=medium * New upstream release for OpenStack Train. -- Corey Bryant <corey.bryant@canonical.com> Wed, 16 Oct 2019 11:02:01 -0400 nova (2:20.0.0~rc1-0ubuntu3) eoan; urgency=medium * d/tests/nova-daemons: Skip check of nova-conductor daemon as keystone is not configured and running as part of autopkgtest setup, resulting in a test failure on restart (LP: #1847039). -- James Page <james.page@ubuntu.com> Wed, 09 Oct 2019 12:26:20 +0100 nova (2:20.0.0~rc1-0ubuntu2) eoan; urgency=medium * d/py3dist-overrides: Add SQLAlchemy to overrides since the run-time Depend for python3-sqlalchemy is being overridden. -- Corey Bryant <corey.bryant@canonical.com> Thu, 03 Oct 2019 08:10:36 -0400 nova (2:20.0.0~rc1-0ubuntu1) eoan; urgency=medium * d/watch: track 20.x series. * New upstream release candidate for OpenStack Train. * d/control: Align (Build-)Depends with upstream. * d/p/drop-sphinxcontrib-rsvgconverter.patch: Drop sphinxcontrib.rsvgconverter as it is currently not packaged for Ubuntu. -- Corey Bryant <corey.bryant@canonical.com> Tue, 01 Oct 2019 10:25:40 -0400 nova (2:20.0.0~b2~git2019080821.af40e3d1a6-0ubuntu2) eoan; urgency=medium * d/control, d/nova-consoleauth.init.in, d/nova-consoleauth.manpages: Drop the rest of nova-consoleauth inline with upstream removal. * d/py3dist-overrides: Add cryptography to overrides since the run-time Depend for python3-nova is being overridden. * d/control, d/rules, d/nova-placement-api.{apache2,conf}, d/tests/control: Drop placement API in line with upstream removal. -- Corey Bryant <corey.bryant@canonical.com> Wed, 28 Aug 2019 11:56:49 -0400 nova (2:20.0.0~b2~git2019080821.af40e3d1a6-0ubuntu1) eoan; urgency=medium * New upstream snapshot for OpenStack Train. * d/control: Align (Build-)Depends with upstream. * d/p/fix-python3-compatibility-of-rbd-get_fsid.patch: Dropped. Fixed in new upstream snapshot. * d/p/CVE-2019-14433.patch: Dropped. Fixed in new upstream snapshot. * d/control: Drop min version of python3-cryptography to 2.6. According to upstream commit 6caedfd97675940eb3cf07e2f019926dae45d02c, version 2.6 has the required support for ed25519 ssh keys. * d/control, d/nova-novncproxy.init.in, d/nova-serialproxy.init.in, d/nova-spiceproxy.init.in, d/tests/*: Remove nova-consoleauth inline with upstream removal. -- Corey Bryant <corey.bryant@canonical.com> Thu, 08 Aug 2019 21:39:04 -0400 nova (2:20.0.0~b1~git2019061016.1316c1c285-0ubuntu4) eoan; urgency=medium [ Sahid Orentino Ferdjaoui ] * SECURITY UPDATE: ensure underlying environment details not leaked in server fault - d/p/CVE-2019-14433.patch: replace non-admin server fault message with exception type class name in nova/compute/utils.py. - CVE-2019-14433 -- Corey Bryant <corey.bryant@canonical.com> Tue, 06 Aug 2019 12:08:30 -0400 nova (2:20.0.0~b1~git2019061016.1316c1c285-0ubuntu3) eoan; urgency=medium * Changes required for the MySQL 8.0 transition - d/p/add-mysql8-compatibility.patch: avoid use of in CI test setup - d/t/nova-daemons: Avoid usage of IDENTIFIED BY on GRANT -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Thu, 01 Aug 2019 11:33:41 +0200 nova (2:20.0.0~b1~git2019061016.1316c1c285-0ubuntu2) eoan; urgency=medium [ James Page ] * d/*: wrap-and-sort -bast. * d/control: Switch to using qemu-system for nova-compute-qemu, ensuring that all appropriate qemu binaries are avaliable for libvirt (LP: #1833406). * d/control: Drop alternative runtime dependency on kvm for nova-compute-kvm; package is long gone in Ubuntu. [ Corey Bryant ] * d/p/fix-python3-compatibility-of-rbd-get_fsid.patch: Cherry-picked from upstream master branch to ensure librados get_fsid return value is decoded (LP: #1816468). -- Corey Bryant <corey.bryant@canonical.com> Mon, 08 Jul 2019 16:04:25 -0400 nova (2:20.0.0~b1~git2019061016.1316c1c285-0ubuntu1) eoan; urgency=medium * New upstream snapshot for OpenStack Train. * d/control: Align (Build-)Depends with upstream. * d/p/eventlet-monkey-patching-should-be-as-early-as-possible.patch, d/p/xenapi-agent-change-openssl-error-handling.patch, d/p/bug_1825882.patch, d/p/bug_1826523.patch: Dropped. Fixed in upstream snapshot. * d/p/arm-console-patch.patch: Rebased. * d/rules: Update PBR_VERSION to handle ~git versioning. * d/p/skip-test-needing-mock-3.patch: Skip until python3-mock 3.0.0 is available. -- Corey Bryant <corey.bryant@canonical.com> Mon, 10 Jun 2019 17:00:28 -0400 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-compute-kvm.conf

    --- 2:20.0.0-3/debian/nova-compute-kvm.conf 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-compute-kvm.conf 2019-12-04 20:35:30.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
  2. Download patch api-guide/source/faults.rst
  3. Download patch debian/nova-consoleproxy.nova-serialproxy.init.in

    --- 2:20.0.0-3/debian/nova-consoleproxy.nova-serialproxy.init.in 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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:20.0.0-3/debian/nova-api.init.in 1970-01-01 00:00:00.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-api.init.in 2019-12-04 20:35:30.000000000 +0000 @@ -0,0 +1,20 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-api +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: postgresql mysql keystone rabbitmq-server ntp +# Should-Stop: postgresql mysql keystone rabbitmq-server ntp +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova API server +# Description: Frontend Nova API server +### END INIT INFO + +# Author: Julien Danjou <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 API" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-api
  5. Download patch api-ref/source/parameters.yaml

    --- 2:20.0.0-3/api-ref/source/parameters.yaml 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-ref/source/parameters.yaml 2019-12-04 20:33:25.000000000 +0000 @@ -1133,6 +1133,13 @@ progress_query_server: in: query required: false type: integer +project_id_query_migrations: + description: | + Filter the migrations by the given project ID. + in: query + required: false + type: string + min_version: 2.80 project_id_query_server: description: | Filter the list of servers by the given project ID. @@ -1409,6 +1416,13 @@ usage_marker: required: false type: string min_version: 2.40 +user_id_query_migrations: + description: | + Filter the migrations by the given user ID. + in: query + required: false + type: string + min_version: 2.80 user_id_query_quota: description: | ID of user to list the quotas for. @@ -1983,6 +1997,11 @@ boot_index: in: body required: true type: integer +cache: + description: A list of image objects to cache. + in: body + required: true + type: array certificate: description: | The certificate object. @@ -5697,6 +5716,14 @@ project_id: in: body required: false type: string +project_id_migration_2_80: + description: | + The ID of the project which initiated the server migration. The value + may be ``null`` for older migration records. + in: body + required: true + type: string + min_version: 2.80 project_id_server: description: | The ID of the project that this server belongs to. @@ -6046,11 +6073,17 @@ security_groups_obj: in: body required: true type: array +security_groups_obj_optional: + description: | + One or more security groups objects. + in: body + required: false + type: array security_groups_obj_update_rebuild: description: | One or more security groups objects. in: body - required: true + required: false type: array min_version: 2.75 security_groups_quota: @@ -7107,6 +7140,14 @@ user_id: in: body required: true type: string +user_id_migration_2_80: + description: | + The ID of the user which initiated the server migration. The value + may be ``null`` for older migration records. + in: body + required: true + type: string + min_version: 2.80 user_id_server_action: description: | The ID of the user which initiated the server action.
  6. Download patch debian/nova-common.config.in

    --- 2:20.0.0-3/debian/nova-common.config.in 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-common.config.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,83 +0,0 @@ -#!/bin/sh -set -e - -. /usr/share/debconf/confmodule - -NOVA_CONF=/etc/nova/nova.conf - -#PKGOS-INCLUDE# - -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 () { - # If we want to setup placement correctly, we need - # to have keystone_auth url specified from user correctly. - # If user didn't configure ksat via debconf, we will not configure - # placement as well - db_get nova/configure_ksat - if [ "${RET}" = "true" ] ; then - db_input high nova/configure_placement || true - db_go - db_get nova/configure_placement - if [ "${RET}" = "true" ] ; then - 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 - fi - fi -} - -read_neutron_config () { - # If we want to setup neutron correctly, we need - # to have keystone_auth url specified from user correctly. - # If user didn't configure ksat via debconf, we will not configure - # neutron as well - db_get nova/configure_ksat - if [ "${RET}" = "true" ] ; then - db_input high nova/configure_neutron || true - db_go - db_get nova/configure_neutron - if [ "${RET}" = "true" ] ; then - # 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 - fi - fi -} - -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 - -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
  7. Download patch api-ref/source/os-networks.inc

    --- 2:20.0.0-3/api-ref/source/os-networks.inc 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-ref/source/os-networks.inc 2019-12-04 20:33:25.000000000 +0000 @@ -1,28 +1,26 @@ .. -*- rst -*- -.. NOTE(sdague): These APIs are deprecated so do not update this - file even body, example or parameters are not complete. -===================================== +====================================== Networks (os-networks) (DEPRECATED) -===================================== +====================================== -.. warning:: The networks API was designed to work with - ``nova-network``. Some features are proxied to - ``neutron`` when appropriate, but as with all translation - proxies, this is far from perfect compatibility. These - APIs should be avoided in new applications in favor of - using ``neutron`` directly. These will fail with a 404 - starting from microversion 2.36. - See: `Relevant Network APIs - <https://docs.openstack.org/api-ref/network/v2/#networks>`__. +.. warning:: + + This API was designed to work with ``nova-network`` which was deprecated in + the 14.0.0 (Newton) release and removed in the 21.0.0 (Ussuri) release. Some + features are proxied to the Network service (neutron) when appropriate, but + as with all translation proxies, this is far from perfect compatibility. + These APIs should be avoided in new applications in favor of `using + neutron directly`__. These will fail with a 404 starting from microversion + 2.36. They were removed in the 21.0.0 (Ussuri) release. +__ https://docs.openstack.org/api-ref/network/v2/#networks Creates, lists, shows information for, and deletes networks. Adds network to a project, disassociates a network from a project, and disassociates a project from a network. - Associates host with and disassociates host from a network. List Networks @@ -60,7 +58,8 @@ these permissions through the ``policy.j Normal response codes: 200 -Error response codes: badRequest(400), unauthorized(401), forbidden(403), conflict(409), NotImplemented(501) +Error response codes: badRequest(400), unauthorized(401), forbidden(403), +conflict(409), gone(410), notImplemented(501) Request ------- @@ -91,7 +90,8 @@ this operation. Cloud providers can chan Normal response codes: 202 -Error response codes: badRequest(400), unauthorized(401), forbidden(403), NotImplemented(501) +Error response codes: badRequest(400), unauthorized(401), forbidden(403), +gone(410), notImplemented(501) Request ------- @@ -146,7 +146,8 @@ these permissions through the ``policy.j Normal response codes: 202 -Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), conflict(409) +Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), +conflict(409), gone(410) Request ------- @@ -160,15 +161,11 @@ Response There is no body content for the response of a successful DELETE query. -Associate Host (DEPRECATED) -=========================== +Associate Host +============== .. rest_method:: POST /os-networks/{network_id}/action -.. warning:: - This API is only available with ``nova-network`` which is - deprecated. It should be avoided in any new applications. - Associates a network with a host. Specify the ``associate_host`` action in the request body. @@ -179,7 +176,8 @@ permissions through the ``policy.json`` Normal response codes: 202 -Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), NotImplemented(501) +Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), +gone(410), notImplemented(501) Request ------- @@ -199,15 +197,11 @@ Response There is no body content for the response of a successful POST query. -Disassociate Network (DEPRECATED) -================================= +Disassociate Network +==================== .. rest_method:: POST /os-networks/{network_id}/action -.. warning:: - This API is only available with ``nova-network`` which is - deprecated. It should be avoided in any new applications. - Disassociates a network from a project. You can then reuse the network. Specify the ``disassociate`` action in the request body. @@ -218,7 +212,8 @@ these permissions through the ``policy.j Normal response codes: 202 -Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), NotImplemented(501) +Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), +gone(410), notImplemented(501) Request ------- @@ -237,15 +232,11 @@ Response There is no body content for the response of a successful POST query. -Disassociate Host (DEPRECATED) -============================== +Disassociate Host +================= .. rest_method:: POST /os-networks/{network_id}/action -.. warning:: - This API is only available with ``nova-network`` which is - deprecated. It should be avoided in any new applications. - Disassociates a host from a network. Specify the ``disassociate_host`` action in the request body. @@ -256,7 +247,8 @@ these permissions through the ``policy.j Normal response codes: 202 -Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), NotImplemented(501) +Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), +gone(410), notImplemented(501) Request ------- @@ -276,15 +268,11 @@ Response There is no body content for the response of a successful POST query. -Disassociate Project (DEPRECATED) -================================= +Disassociate Project +==================== .. rest_method:: POST /os-networks/{network_id}/action -.. warning:: - This API is only available with ``nova-network`` which is - deprecated. It should be avoided in any new applications. - Disassociates a project from a network. Specify the ``disassociate_project`` action in the request body. @@ -295,7 +283,8 @@ these permissions through the ``policy.j Normal response codes: 202 -Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), NotImplemented(501) +Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), +gone(410), notImplemented(501) Request -------
  8. Download patch api-guide/source/server_concepts.rst

    --- 2:20.0.0-3/api-guide/source/server_concepts.rst 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-guide/source/server_concepts.rst 2019-12-04 20:33:25.000000000 +0000 @@ -69,13 +69,14 @@ server status is one of the following va expires, the server will be deleted permanently. - ``SUSPENDED``: The server is suspended, either by request or - necessity. This status appears for only the following hypervisors: - XenServer/XCP, KVM, and ESXi. Administrative users may suspend a - server if it is infrequently used or to perform system maintenance. - When you suspend a server, its state is stored on disk, all - memory is written to disk, and the server is stopped. - Suspending a server is similar to placing a device in hibernation; - memory and vCPUs become available to create other servers. + necessity. See the + :nova-doc:`feature support matrix <user/support-matrix.html#operation_suspend>` + for supported compute drivers. When you suspend a server, its state is stored + on disk, all memory is written to disk, and the server is stopped. + Suspending a server is similar to placing a device in hibernation and its + occupied resource will not be freed but rather kept for when the server is + resumed. If an instance is infrequently used and the occupied resource needs + to be freed to create other servers, it should be shelved. - ``UNKNOWN``: The state of the server is unknown. It could be because a part of the infrastructure is temporarily down (see :doc:`down_cells` @@ -105,11 +106,17 @@ Status Transition: - ``BUILD`` - .. todo:: Add more details. + While the server is building there are several task state transitions that + can occur: + + - ``scheduling``: The request is being scheduled to a compute node. + - ``networking``: Setting up network interfaces asynchronously. + - ``block_device_mapping``: Preparing block devices (local disks, volumes). + - ``spawning``: Creating the guest in the hypervisor. - ``ACTIVE`` - .. todo:: Add more details. + The terminal state for a successfully built and running server. - ``ERROR`` (on error) @@ -791,28 +798,6 @@ time. One or more networks can be specif specific port on the network or the fixed IP address to assign to the server interface. -Considerations -~~~~~~~~~~~~~~ - -- The maximum limit refers to the number of bytes in the decoded data - and not the number of characters in the encoded data. - -- The maximum number of file path/content pairs that you can supply is - also determined by the compute provider and is defined by the - maxPersonality absolute limit. - -- The absolute limit, maxPersonalitySize, is a byte limit that is - guaranteed to apply to all images in the deployment. Providers can - set additional per-image personality limits. - -- The file injection might not occur until after the server is built and - booted. - -- After file injection, personality files are accessible by only system - administrators. For example, on Linux, all files have root and the root - group as the owner and group owner, respectively, and allow user and - group read access only (octal 440). - Server access addresses ~~~~~~~~~~~~~~~~~~~~~~~ @@ -1083,3 +1068,24 @@ Follow these guidelines when you inject - Encode the file contents as a Base64 string. The maximum size of the file contents is determined by the compute provider and may vary based on the image that is used to create the server. + +Considerations: + +- The maximum limit refers to the number of bytes in the decoded data + and not the number of characters in the encoded data. + +- The maximum number of file path/content pairs that you can supply is + also determined by the compute provider and is defined by the + maxPersonality absolute limit. + +- The absolute limit, maxPersonalitySize, is a byte limit that is + guaranteed to apply to all images in the deployment. Providers can + set additional per-image personality limits. + +- The file injection might not occur until after the server is built and + booted. + +- After file injection, personality files are accessible by only system + administrators. For example, on Linux, all files have root and the root + group as the owner and group owner, respectively, and allow user and + group read access only (octal 440).
  9. Download patch api-ref/source/os-services.inc

    --- 2:20.0.0-3/api-ref/source/os-services.inc 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-ref/source/os-services.inc 2019-12-04 20:33:25.000000000 +0000 @@ -349,6 +349,12 @@ Attempts to delete a ``nova-compute`` se will result in a 409 HTTPConflict response. The instances will need to be migrated or deleted before a compute service can be deleted. +Similarly, attempts to delete a ``nova-compute`` service which is involved in +in-progress migrations will result in a 409 HTTPConflict response. The +migrations will need to be completed, for example confirming or reverting a +resize, or the instances will need to be deleted before the compute service can +be deleted. + .. important:: Be sure to stop the actual ``nova-compute`` process on the physical host *before* deleting the service with this API. Failing to do so can lead to the running service re-creating
  10. Download patch debian/nova-compute-qemu.postinst

    --- 2:20.0.0-3/debian/nova-compute-qemu.postinst 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-compute-qemu.postinst 2019-12-04 20:35:30.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#
  11. Download patch debian/nova-api-os-compute.conf

    --- 2:20.0.0-3/debian/nova-api-os-compute.conf 1970-01-01 00:00:00.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-api-os-compute.conf 2019-12-04 20:35:30.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>
  12. Download patch debian/nova-api-uwsgi.ini

    --- 2:20.0.0-3/debian/nova-api-uwsgi.ini 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-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-api.log -name = nova-api -uid = nova -gid = nova -chdir = /var/lib/nova -wsgi-file = /usr/bin/nova-api-wsgi - -# 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 = :8774 -#https-socket = 0.0.0.0:8774,foobar.crt,foobar.key
  13. Download patch debian/nova-console.init.in

    --- 2:20.0.0-3/debian/nova-console.init.in 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-console.init.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,18 +0,0 @@ -#!/bin/sh -### BEGIN INIT INFO -# Provides: nova-console -# Required-Start: $network $local_fs $remote_fs $syslog -# Required-Stop: $remote_fs -# Should-Start: postgresql mysql keystone rabbitmq-server ntp -# Should-Stop: postgresql mysql keystone rabbitmq-server ntp -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: Nova Console for XenServer and XVP -# Description: Nova Console for XenServer and XVP -### END INIT INFO - -# Author: Julien Danjou <acid@debian.org> -DESC="OpenStack Nova Console (nova-console)" -PROJECT_NAME=nova -NAME=${PROJECT_NAME}-console -SYSTEMD_DOC="man:${NAME}(1)"
  14. Download patch debian/nova-common.postinst

    --- 2:20.0.0-3/debian/nova-common.postinst 1970-01-01 00:00:00.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-common.postinst 2019-12-04 20:35:30.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#
  15. Download patch debian/nova-compute-xen.postinst

    --- 2:20.0.0-3/debian/nova-compute-xen.postinst 1970-01-01 00:00:00.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-compute-xen.postinst 2019-12-04 20:35:30.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#
  16. Download patch debian/nova-compute-vmware.conf

    --- 2:20.0.0-3/debian/nova-compute-vmware.conf 1970-01-01 00:00:00.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-compute-vmware.conf 2019-12-04 20:35:30.000000000 +0000 @@ -0,0 +1,2 @@ +[DEFAULT] +compute_driver=vmwareapi.VMwareVCDriver
  17. Download patch debian/nova-common.prerm

    --- 2:20.0.0-3/debian/nova-common.prerm 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-common.prerm 1970-01-01 00:00:00.000000000 +0000 @@ -1,43 +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" - # Assume empty password is OK. - # If so then -p must be absent from mysql call - if [ "${dbc_dbadmpass}" = "" ];then - l_dbc_dbadmpass="" - else - l_dbc_dbadmpass="-p${dbc_dbadmpass}" - fi - mysqldump -h ${dbc_dbserver} -u ${dbc_dbadmin} ${l_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} ${l_dbc_dbadmpass} - echo "===> nova-common: Droping database ${dbc_dbname}_cell0" - echo "DROP DATABASE ${dbc_dbname}_cell0" | mysql -h ${dbc_dbserver} -u ${dbc_dbadmin} ${l_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
  18. Download patch debian/nova-api.install

    --- 2:20.0.0-3/debian/nova-api.install 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-api.install 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -debian/nova-api-metadata-uwsgi.ini /etc/nova -debian/nova-api-uwsgi.ini /etc/nova -etc/nova/rootwrap.d/api-metadata.filters -usr/bin/nova-api
  19. Download patch debian/nova-common.triggers

    --- 2:20.0.0-3/debian/nova-common.triggers 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-common.triggers 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -interest nova-common-db-sync
  20. Download patch debian/nova-api.postinst.in

    --- 2:20.0.0-3/debian/nova-api.postinst.in 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-api.postinst.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,28 +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 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
  21. Download patch api-ref/source/os-aggregates.inc

    --- 2:20.0.0-3/api-ref/source/os-aggregates.inc 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-ref/source/os-aggregates.inc 2019-12-04 20:33:25.000000000 +0000 @@ -354,3 +354,36 @@ Response .. literalinclude:: ../../doc/api_samples/os-aggregates/v2.41/aggregates-metadata-post-resp.json :language: javascript + +Request Image Pre-caching for Aggregate +======================================= + +.. rest_method:: POST /os-aggregates/{aggregate_id}/images + +Requests that a set of images be pre-cached on compute nodes within the referenced aggregate. + +This API is available starting with microversion 2.81. + +Normal response codes: 202 + +Error response codes: badRequest(400), unauthorized(401), forbidden(403), +itemNotFound(404) + +Request +------- + +.. rest_parameters:: parameters.yaml + + - aggregate_id: aggregate_id + - cache: cache + - cache.id: image_id_body + +**Example Request Image pre-caching for Aggregate (v2.81): JSON request** + +.. literalinclude:: ../../doc/api_samples/os-aggregates/v2.81/aggregate-images-post-req.json + :language: javascript + +Response +-------- + +The response body is always empty.
  22. Download patch debian/nova-consoleproxy.mydefault

    --- 2:20.0.0-3/debian/nova-consoleproxy.mydefault 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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
  23. Download patch debian/nova-conductor.init.in

    --- 2:20.0.0-3/debian/nova-conductor.init.in 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-conductor.init.in 2019-12-04 20:35:30.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
  24. Download patch debian/nova-compute-libvirt.postinst

    --- 2:20.0.0-3/debian/nova-compute-libvirt.postinst 1970-01-01 00:00:00.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-compute-libvirt.postinst 2019-12-04 20:35:30.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#
  25. Download patch debian/nova-api-os-compute.apache2

    --- 2:20.0.0-3/debian/nova-api-os-compute.apache2 1970-01-01 00:00:00.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-api-os-compute.apache2 2019-12-04 20:35:30.000000000 +0000 @@ -0,0 +1 @@ +site debian/nova-api-os-compute.conf
  26. Download patch debian/nova-console.postrm

    --- 2:20.0.0-3/debian/nova-console.postrm 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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:20.0.0-3/debian/nova-compute.postrm 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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:20.0.0-3/debian/nova-api.prerm 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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-consoleproxy.nova-spicehtml5proxy.init.in

    --- 2:20.0.0-3/debian/nova-consoleproxy.nova-spicehtml5proxy.init.in 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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
  30. Download patch debian/control
  31. Download patch debian/nova-consoleproxy.postrm

    --- 2:20.0.0-3/debian/nova-consoleproxy.postrm 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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#
  32. Download patch debian/nova-consoleproxy.nova-xenvncproxy.init.in

    --- 2:20.0.0-3/debian/nova-consoleproxy.nova-xenvncproxy.init.in 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-consoleproxy.nova-xenvncproxy.init.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,35 +0,0 @@ -#!/bin/sh -### BEGIN INIT INFO -# Provides: nova-xvpvncproxy nova-xenvncproxy -# 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 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
  33. Download patch debian/nova-console.install

    --- 2:20.0.0-3/debian/nova-console.install 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-console.install 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -usr/bin/nova-console
  34. Download patch debian/nova-console.manpages

    --- 2:20.0.0-3/debian/nova-console.manpages 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-console.manpages 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -doc/build/man/nova-console.1
  35. Download patch ChangeLog
  36. Download patch api-ref/source/os-migrations.inc

    --- 2:20.0.0-3/api-ref/source/os-migrations.inc 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-ref/source/os-migrations.inc 2019-12-04 20:33:25.000000000 +0000 @@ -39,6 +39,8 @@ Request - marker: migration_marker - changes-since: changes_since_migration - changes-before: changes_before_migration + - user_id: user_id_query_migrations + - project_id: project_id_query_migrations Response -------- @@ -62,19 +64,20 @@ Response - links: migration_links_2_23 - uuid: migration_uuid - migrations_links: migration_next_links_2_59 + - user_id: user_id_migration_2_80 + - project_id: project_id_migration_2_80 **Example List Migrations: JSON response** .. literalinclude:: ../../doc/api_samples/os-migrations/migrations-get.json :language: javascript -**Example List Migrations (v2.59):** +**Example List Migrations (v2.80):** -.. literalinclude:: ../../doc/api_samples/os-migrations/v2.59/migrations-get.json +.. literalinclude:: ../../doc/api_samples/os-migrations/v2.80/migrations-get.json :language: javascript -**Example List Migrations With Paging (v2.59):** +**Example List Migrations With Paging (v2.80):** -.. literalinclude:: ../../doc/api_samples/os-migrations/v2.59/migrations-get-with-limit.json +.. literalinclude:: ../../doc/api_samples/os-migrations/v2.80/migrations-get-with-limit.json :language: javascript -
  37. Download patch api-guide/source/index.rst

    --- 2:20.0.0-3/api-guide/source/index.rst 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-guide/source/index.rst 2019-12-04 20:33:25.000000000 +0000 @@ -79,6 +79,7 @@ Contents general_info server_concepts authentication + extra_specs_and_properties faults limits links_and_references @@ -87,8 +88,3 @@ Contents request_and_response_formats down_cells port_with_resource_request - -.. toctree:: - :hidden: - - extra_specs_and_properties
  38. Download patch api-ref/source/servers-admin-action.inc

    --- 2:20.0.0-3/api-ref/source/servers-admin-action.inc 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-ref/source/servers-admin-action.inc 2019-12-04 20:33:25.000000000 +0000 @@ -68,12 +68,12 @@ this parameter, the scheduler chooses a **Asynchronous Postconditions** -The server goes to a ``VERIFY_RESIZE`` status, ``RESIZED`` VM status, -and ``finished`` migration status after a successful cold migration -and then must be confirmed or reverted. If you set the -``resize_confirm_window`` option of the Compute service to a positive integer -value, the Compute service automatically confirms the migrate operation -after the set interval in seconds. +A successfully migrated server shows a ``VERIFY_RESIZE`` status and ``finished`` +migration status. If the cloud has configured the `resize_confirm_window`_ +option of the Compute service to a positive value, the Compute service +automatically confirms the migrate operation after the configured interval. + +.. _resize_confirm_window: https://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.resize_confirm_window Policy defaults enable only users with the administrative role to perform this operation. Cloud providers can change these permissions
  39. Download patch debian/nova-consoleproxy.config

    --- 2:20.0.0-3/debian/nova-consoleproxy.config 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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
  40. Download patch debian/nova-conductor.install

    --- 2:20.0.0-3/debian/nova-conductor.install 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-conductor.install 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -usr/bin/nova-conductor
  41. Download patch debian/nova-compute-vmware.postinst

    --- 2:20.0.0-3/debian/nova-compute-vmware.postinst 1970-01-01 00:00:00.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-compute-vmware.postinst 2019-12-04 20:35:30.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#
  42. Download patch debian/nova-api-metadata.manpages

    --- 2:20.0.0-3/debian/nova-api-metadata.manpages 1970-01-01 00:00:00.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-api-metadata.manpages 2019-12-04 20:35:30.000000000 +0000 @@ -0,0 +1 @@ +doc/build/man/nova-api-metadata.1
  43. Download patch debian/nova-compute-uml.postinst

    --- 2:20.0.0-3/debian/nova-compute-uml.postinst 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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#
  44. Download patch debian/nova-baremetal.init.in

    --- 2:20.0.0-3/debian/nova-baremetal.init.in 1970-01-01 00:00:00.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-baremetal.init.in 2019-12-04 20:35:30.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
  45. Download patch api-guide/source/port_with_resource_request.rst

    --- 2:20.0.0-3/api-guide/source/port_with_resource_request.rst 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-guide/source/port_with_resource_request.rst 2019-12-04 20:33:25.000000000 +0000 @@ -31,5 +31,8 @@ compute services are upgraded to 20.0.0 ``[upgrade_levels]/compute`` configuration does not prevent the computes from using the latest RPC version. +As of 21.0.0 (Ussuri), nova supports evacuating servers with neutron ports +having resource requests. + See :nova-doc:`the admin guide <admin/port_with_resource_request.html>` for administrative details.
  46. Download patch debian/nova-compute-ironic.conf

    --- 2:20.0.0-3/debian/nova-compute-ironic.conf 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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
  47. Download patch debian/nova-api.postrm.in

    --- 2:20.0.0-3/debian/nova-api.postrm.in 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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#
  48. Download patch debian/nova-compute.dirs

    --- 2:20.0.0-3/debian/nova-compute.dirs 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-compute.dirs 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -/var/lib/nova/instances
  49. Download patch api-ref/source/servers-action-remote-consoles.inc

    --- 2:20.0.0-3/api-ref/source/servers-action-remote-consoles.inc 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-ref/source/servers-action-remote-consoles.inc 2019-12-04 20:33:25.000000000 +0000 @@ -11,7 +11,7 @@ Gets an `RDP <https://technet.microsoft. .. warning:: This action is deprecated in microversion 2.5 and superseded - by the API `Server Remote Consoles`_ in microversion 2.6. + by the API `Server Consoles`_ in microversion 2.6. The new API offers a unified API for different console types. The only supported connect type is ``rdp-html5``. The ``type`` parameter should @@ -64,7 +64,7 @@ Gets a serial console for a server. .. warning:: This action is deprecated in microversion 2.5 and superseded - by the API `Server Remote Consoles`_ in microversion 2.6. + by the API `Server Consoles`_ in microversion 2.6. The new API offers a unified API for different console types. Specify the ``os-getSerialConsole`` action in the request body. @@ -117,7 +117,7 @@ Gets a SPICE console for a server. .. warning:: This action is deprecated in microversion 2.5 and superseded - by the API `Server Remote Consoles`_ in microversion 2.6. + by the API `Server Consoles`_ in microversion 2.6. The new API offers a unified API for different console types. Specify the ``os-getSPICEConsole`` action in the request body. @@ -170,7 +170,7 @@ Gets a VNC console for a server. .. warning:: This action is deprecated in microversion 2.5 and superseded - by the API `Server Remote Consoles`_ in microversion 2.6. + by the API `Server Consoles`_ in microversion 2.6. The new API offers a unified API for different console types. Specify the ``os-getVNCConsole`` action in the request body.
  50. Download patch bindep.txt

    --- 2:20.0.0-3/bindep.txt 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/bindep.txt 2019-12-04 20:33:25.000000000 +0000 @@ -25,6 +25,8 @@ mysql [platform:rpm] mysql-client [platform:dpkg] mysql-devel [platform:rpm test] mysql-server +openssh-client [platform:dpkg] +openssh-clients [platform:rpm] pkg-config [platform:dpkg test] pkgconfig [platform:rpm test] postgresql
  51. Download patch debian/nova-compute-lxc.postinst

    --- 2:20.0.0-3/debian/nova-compute-lxc.postinst 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-compute-lxc.postinst 2019-12-04 20:35:30.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#
  52. Download patch api-guide/source/down_cells.rst

    --- 2:20.0.0-3/api-guide/source/down_cells.rst 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-guide/source/down_cells.rst 2019-12-04 20:33:25.000000000 +0000 @@ -68,6 +68,7 @@ behavior are described below: - tenant_id: The tenant_id to which the server belongs to. - created: The time of server creation. - links: Links to the servers in question. + - security_groups: One or more security groups. (Optional) A sample response for a GET /servers/details request that includes one result each from an unreachable and a healthy part of the @@ -79,9 +80,14 @@ behavior are described below: "servers": [ { "created": "2018-06-29T15:07:29Z", + "id": "bcc6c6dd-3d0a-4633-9586-60878fd68edb", "status": "UNKNOWN", "tenant_id": "940f47b984034c7f8f9624ab28f5643c", - "id": "bcc6c6dd-3d0a-4633-9586-60878fd68edb", + "security_groups": [ + { + "name": "default" + } + ], "links": [ { "href": "http://openstack.example.com/v2.1/6f70656e737461636b20342065766572/servers/bcc6c6dd-3d0a-4633-9586-60878fd68edb",
  53. Download patch debian/nova-compute.init.in

    --- 2:20.0.0-3/debian/nova-compute.init.in 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-compute.init.in 2019-12-04 20:35:30.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
  54. Download patch api-guide/source/users.rst

    --- 2:20.0.0-3/api-guide/source/users.rst 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-guide/source/users.rst 2019-12-04 20:33:25.000000000 +0000 @@ -27,7 +27,9 @@ Keystone middleware is used to authentic The Compute API uses these roles, along with oslo.policy, to decide what the user is authorized to do. -.. todo:: link to compute admin guide for details. +Refer to the to +:nova-doc:`compute admin guide </admin/arch#projects-users-and-roles>` +for details. Personas used in this guide =========================== @@ -53,14 +55,12 @@ actions on any of them. various facets of the different users but instead aims to be a minimal set of users such that we use a consistent terminology throughout this document. -.. todo:: - - could assign names to these users, or similar, to make it more "real". - Discovering Policy ================== An API to discover what actions you are authorized to perform is still a work -in progress. Currently this reported by a HTTP 403 error. +in progress. Currently this reported by a HTTP 403 +:ref:`error <synchronous_faults>`. -.. todo:: link to the doc on errors. +Refer to the :nova-doc:`configuration guide </configuration/policy>` for a list +of policy rules along with their default values.
  55. Download patch debian/nova-novncproxy.init.in

    --- 2:20.0.0-3/debian/nova-novncproxy.init.in 1970-01-01 00:00:00.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-novncproxy.init.in 2019-12-04 20:35:30.000000000 +0000 @@ -0,0 +1,18 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-novncproxy +# 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 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
  56. Download patch debian/nova-doc.links
  57. Download patch debian/nova-consoleproxy.postinst

    --- 2:20.0.0-3/debian/nova-consoleproxy.postinst 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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
  58. Download patch debian/nova-api.nova-api-metadata.init.in

    --- 2:20.0.0-3/debian/nova-api.nova-api-metadata.init.in 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-api.nova-api-metadata.init.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,22 +0,0 @@ -#!/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 Metadata API server -### END INIT INFO - -# Author: Julien Danjou <acid@debian.org> - -# PATH should only include /usr/* if it runs after the mountnfs.sh script -DESC="OpenStack Nova Metadata API (nova-api-metadata)" -PROJECT_NAME=nova -NAME=${PROJECT_NAME}-api-metadata -UWSGI_PORT=8775 -UWSGI_INI_PATH=/etc/nova/nova-api-metadata-uwsgi.ini -UWSGI_INI_APP=/usr/bin/nova-api-wsgi
  59. Download patch debian/nova-api-metadata-uwsgi.ini

    --- 2:20.0.0-3/debian/nova-api-metadata-uwsgi.ini 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-api-metadata-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-api-metadata.log -name = nova-api-metadata -uid = nova -gid = nova -chdir = /var/lib/nova -wsgi-file = /usr/bin/nova-metadata-wsgi - -# 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 = :8774 -#https-socket = 0.0.0.0:8774,foobar.crt,foobar.key
  60. Download patch api-ref/source/servers-remote-consoles.inc

    --- 2:20.0.0-3/api-ref/source/servers-remote-consoles.inc 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-ref/source/servers-remote-consoles.inc 2019-12-04 20:33:25.000000000 +0000 @@ -1,13 +1,13 @@ .. -*- rst -*- -====================== -Server Remote Consoles -====================== +================= + Server Consoles +================= -Create server remote console. +Manage server consoles. -Create Remote Console -===================== +Create Console +============== .. rest_method:: POST /servers/{server_id}/remote-consoles @@ -56,3 +56,45 @@ Response .. literalinclude:: ../../doc/api_samples/os-remote-consoles/v2.6/create-vnc-console-resp.json :language: javascript + + +Show Console Connection Information +=================================== + +.. rest_method:: GET /os-console-auth-tokens/{console_token} + +Given the console authentication token for a server, shows the related +connection information. + +This method used to be available only for the ``rdp-html5`` console type before +microversion 2.31. Starting from microversion 2.31 it's available for all +console types. + +Normal response codes: 200 + +Error response codes: badRequest(400), unauthorized(401), forbidden(403), +itemNotFound(404) + +Request +------- + +.. rest_parameters:: parameters.yaml + + - console_token: console_token + + +Response +-------- + +.. rest_parameters:: parameters.yaml + + - console: console + - instance_uuid: instance_id_body + - host: console_host + - port: port_number + - internal_access_path: internal_access_path + +**Example Show Console Authentication Token** + +.. literalinclude:: ../../doc/api_samples/os-console-auth-tokens/get-console-connect-info-get-resp.json + :language: javascript
  61. Download patch debian/nova-network.init.in

    --- 2:20.0.0-3/debian/nova-network.init.in 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-network.init.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,18 +0,0 @@ -#!/bin/sh -### BEGIN INIT INFO -# Provides: nova-network -# Required-Start: $network $local_fs $remote_fs $syslog -# Required-Stop: $remote_fs -# Should-Start: postgresql mysql keystone -# Should-Stop: postgresql mysql keystone -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: Nova Network -# Description: Provides network resources -### END INIT INFO - -# Author: Thomas Goirand <zigo@debian.org> -DESC="OpenStack Nova Network (nova-network)" -PROJECT_NAME=nova -NAME=${PROJECT_NAME}-network -SYSTEMD_DOC="man:${NAME}(1)"
  62. Download patch debian/nova-compute-xen.conf

    --- 2:20.0.0-3/debian/nova-compute-xen.conf 1970-01-01 00:00:00.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-compute-xen.conf 2019-12-04 20:35:30.000000000 +0000 @@ -0,0 +1,4 @@ +[DEFAULT] +compute_driver=libvirt.LibvirtDriver +[libvirt] +virt_type=xen
  63. Download patch api-guide/source/conf.py

    --- 2:20.0.0-3/api-guide/source/conf.py 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-guide/source/conf.py 2019-12-04 20:33:25.000000000 +0000 @@ -285,6 +285,7 @@ pdf_documents = [ # -- Options for openstackdocstheme ------------------------------------------- openstack_projects = [ + 'glance', 'nova', 'neutron', 'placement',
  64. Download patch debian/nova-network.dirs

    --- 2:20.0.0-3/debian/nova-network.dirs 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-network.dirs 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -/var/lib/nova/networks
  65. Download patch debian/nova-consoleproxy.templates

    --- 2:20.0.0-3/debian/nova-consoleproxy.templates 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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.
  66. Download patch debian/nova-common.postrm.in

    --- 2:20.0.0-3/debian/nova-common.postrm.in 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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
  67. Download patch api-guide/source/extra_specs_and_properties.rst

    --- 2:20.0.0-3/api-guide/source/extra_specs_and_properties.rst 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-guide/source/extra_specs_and_properties.rst 2019-12-04 20:33:25.000000000 +0000 @@ -2,16 +2,44 @@ Flavor Extra Specs and Image Properties ======================================= -TODO: Generic description about Flavor Extra Specs and Image Properties. +Flavor extra specs and image properties are used to control certain aspects +or scheduling behavior for a server. + +The flavor of a server can be changed during a +:nova-doc:`resize </user/resize>` operation. + +The image of a server can be changed during a +:nova-doc:`rebuild </contributor/evacuate-vs-rebuild>` operation. + +By default, flavor extra specs are controlled by administrators of the cloud. +If users are authorized to upload their own images to the image service, they +may be able to specify their own image property requirements. + +There are many cases of flavor extra specs and image properties that are for +the same functionality. In many cases the image property takes precedence over +the flavor extra spec if both are used in the same server. Flavor Extra Specs ================== -TODO: List the extra specs which we supported at here. The best is the extra -specs can auto-gen from the nova code. +Refer to the :nova-doc:`user guide </user/flavors.html#extra-specs>` for a +list of official extra specs. + +While there are standard extra specs, deployments can define their own extra +specs to be used with host aggregates and custom scheduler filters as +necessary. See the +:nova-doc:`reference guide </reference/scheduler-hints-vs-flavor-extra-specs>` +for more details. Image Properties ================ -TODO: List the properties which affect the server creation. The best is the -properties can auto-gen from the image properties object. +Refer to the image service documentation for a list of official +:glance-doc:`image properties </admin/useful-image-properties>` and +:glance-doc:`metadata definition concepts </user/metadefs-concepts>`. + +Unlike flavor extra specs, image properties are standardized in the compute +service and thus they must be `registered`_ within the compute service before +they can be used. + +.. _registered: https://opendev.org/openstack/nova/src/branch/master/nova/objects/image_meta.py
  68. Download patch api-ref/source/index.rst

    --- 2:20.0.0-3/api-ref/source/index.rst 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-ref/source/index.rst 2019-12-04 20:33:25.000000000 +0000 @@ -41,7 +41,6 @@ the `API guide <https://docs.openstack.o .. include:: os-aggregates.inc .. include:: os-assisted-volume-snapshots.inc .. include:: os-availability-zone.inc -.. include:: os-consoles.inc .. include:: os-hypervisors.inc .. include:: os-instance-usage-audit-log.inc .. include:: os-migrations.inc @@ -71,7 +70,6 @@ limited to some maximum microversion. .. include:: os-floating-ip-pools.inc .. include:: os-floating-ips.inc .. include:: os-security-groups.inc -.. include:: os-security-group-default-rules.inc .. include:: os-security-group-rules.inc .. include:: os-hosts.inc @@ -90,3 +88,5 @@ Compute API in the past, but no longer e .. include:: os-floating-ips-bulk.inc .. include:: os-floating-ip-dns.inc .. include:: os-cells.inc +.. include:: os-consoles.inc +.. include:: os-security-group-default-rules.inc
  69. Download patch debian/nova-compute.install

    --- 2:20.0.0-3/debian/nova-compute.install 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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
  70. Download patch debian/nova-network.postrm

    --- 2:20.0.0-3/debian/nova-network.postrm 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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#
  71. Download patch debian/nova-network.manpages

    --- 2:20.0.0-3/debian/nova-network.manpages 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-network.manpages 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -doc/build/man/nova-dhcpbridge.1 -doc/build/man/nova-network.1
  72. Download patch debian/nova-compute-kvm.postinst

    --- 2:20.0.0-3/debian/nova-compute-kvm.postinst 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-compute-kvm.postinst 2019-12-04 20:35:30.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#
  73. Download patch debian/nova-network.install

    --- 2:20.0.0-3/debian/nova-network.install 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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
  74. Download patch debian/nova-consoleproxy.install

    --- 2:20.0.0-3/debian/nova-consoleproxy.install 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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
  75. Download patch debian/nova-common.postinst.in
  76. Download patch debian/nova-compute-uml.conf

    --- 2:20.0.0-3/debian/nova-compute-uml.conf 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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
  77. Download patch AUTHORS
  78. Download patch api-ref/source/servers.inc

    --- 2:20.0.0-3/api-ref/source/servers.inc 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-ref/source/servers.inc 2019-12-04 20:33:25.000000000 +0000 @@ -139,13 +139,12 @@ body. The possible server status values - ``SOFT_DELETED``. The server is marked as deleted but the disk images are still available to restore. - ``SUSPENDED``. The server is suspended, either by request or - necessity. This status appears for only the XenServer/XCP, KVM, and - ESXi hypervisors. Administrative users can suspend an instance if it - is infrequently used or to perform system maintenance. When you - suspend an instance, its VM state is stored on disk, all memory is - written to disk, and the virtual machine is stopped. Suspending an - instance is similar to placing a device in hibernation; memory and - vCPUs become available to create other instances. + necessity. When you suspend a server, its state is stored + on disk, all memory is written to disk, and the server is stopped. + Suspending a server is similar to placing a device in hibernation and its + occupied resource will not be freed but rather kept for when the server is + resumed. If a server is infrequently used and the occupied resource needs + to be freed to create other servers, it should be shelved. - ``UNKNOWN``. The state of the server is unknown. Contact your cloud provider. - ``VERIFY_RESIZE``. System is awaiting confirmation that the server @@ -634,8 +633,6 @@ Response - os-extended-volumes:volumes_attached.delete_on_termination: os-extended-volumes:volumes_attached.delete_on_termination - OS-SRV-USG:launched_at: OS-SRV-USG:launched_at - OS-SRV-USG:terminated_at: OS-SRV-USG:terminated_at - - security_groups: security_groups_obj - - security_group.name: name - status: server_status - tenant_id: tenant_id_body - updated: updated @@ -646,6 +643,8 @@ Response - fault.message: fault_message - fault.details: fault_details - progress: progress + - security_groups: security_groups_obj_optional + - security_group.name: name - servers_links: servers_links - OS-EXT-SRV-ATTR:hostname: server_hostname - OS-EXT-SRV-ATTR:reservation_id: server_reservation_id @@ -758,8 +757,6 @@ Response - os-extended-volumes:volumes_attached.delete_on_termination: os-extended-volumes:volumes_attached.delete_on_termination - OS-SRV-USG:launched_at: OS-SRV-USG:launched_at - OS-SRV-USG:terminated_at: OS-SRV-USG:terminated_at - - security_groups: security_groups_obj - - security_group.name: name - status: server_status - tenant_id: tenant_id_body - updated: updated @@ -770,6 +767,8 @@ Response - fault.message: fault_message - fault.details: fault_details - progress: progress + - security_groups: security_groups_obj_optional + - security_group.name: name - OS-EXT-SRV-ATTR:hostname: server_hostname - OS-EXT-SRV-ATTR:reservation_id: server_reservation_id - OS-EXT-SRV-ATTR:launch_index: server_launch_index
  79. Download patch api-ref/source/os-security-group-default-rules.inc

    --- 2:20.0.0-3/api-ref/source/os-security-group-default-rules.inc 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-ref/source/os-security-group-default-rules.inc 2019-12-04 20:33:25.000000000 +0000 @@ -1,17 +1,15 @@ .. -*- rst -*- -.. NOTE(gmann): These APIs are deprecated so do not update this - file even body, example or parameters are not complete. - -================================================================================ - Rules for default security group (os-security-group-default-rules) (DEPRECATED) -================================================================================ +==================================================================== + Rules for default security group (os-security-group-default-rules) +==================================================================== .. warning:: This API only available with ``nova-network`` which is deprecated. It should be avoided in any new applications. These will fail with a 404 starting from microversion 2.36. + They were completely removed in the 21.0.0 (Ussuri) release. Lists, shows information for, and creates default security group rules. @@ -24,7 +22,8 @@ Lists default security group rules. Normal response codes: 200 -Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), notImplemented(501) +Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), +gone(410), notImplemented(501) Response -------- @@ -53,7 +52,8 @@ Shows details for a security group rule. Normal response codes: 200 -Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNotFound(404), notImplemented(501) +Error response codes: badRequest(400), unauthorized(401), forbidden(403), +itemNotFound(404), gone(410), notImplemented(501) Request ------- @@ -92,7 +92,8 @@ IP protocol ( ``ip_protocol`` ) value. O Normal response codes: 200 -Error response codes: badRequest(400), unauthorized(401), forbidden(403), conflict(409), notImplemented(501) +Error response codes: badRequest(400), unauthorized(401), forbidden(403), +conflict(409), gone(410), notImplemented(501) Request ------- @@ -137,7 +138,8 @@ Deletes a security group rule. Normal response codes: 204 -Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNotFound(404), notImplemented(501) +Error response codes: badRequest(400), unauthorized(401), forbidden(403), +itemNotFound(404), gone(410), notImplemented(501) Request -------
  80. Download patch debian/nova-common.templates.in

    --- 2:20.0.0-3/debian/nova-common.templates.in 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-common.templates.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,106 +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/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. - -Template: nova/configure_neutron -Type: boolean -Default: false -_Description: Manage neutron config through debconf? - Nova service must contact Neutron, and this is configured through - the [neutron] section of the configuration. Specify if you wish - to handle this configuration through debconf. - -Template: nova/configure_placement -Type: boolean -Default: false -_Description: Manage placement config through debconf? - Nova service must contact Placement, and this is configured through - the [placement] section of the configuration. Specify if you wish - to handle this configuration through debconf. -
  81. Download patch debian/nova-common.sudoers

    --- 2:20.0.0-3/debian/nova-common.sudoers 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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 *
  82. Download patch debian/nova-api.nova-api.init.in

    --- 2:20.0.0-3/debian/nova-api.nova-api.init.in 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-api.nova-api.init.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,22 +0,0 @@ -#!/bin/sh -### BEGIN INIT INFO -# Provides: nova-api -# Required-Start: $network $local_fs $remote_fs $syslog -# Required-Stop: $remote_fs -# Should-Start: postgresql mysql keystone rabbitmq-server ntp -# Should-Stop: postgresql mysql keystone rabbitmq-server ntp -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: Nova API server -# Description: Frontend Nova API server -### END INIT INFO - -# Author: Julien Danjou <acid@debian.org> - -# PATH should only include /usr/* if it runs after the mountnfs.sh script -DESC="OpenStack Nova API (nova-api)" -PROJECT_NAME=nova -NAME=${PROJECT_NAME}-api -UWSGI_PORT=8774 -UWSGI_INI_PATH=/etc/nova/nova-api-uwsgi.ini -UWSGI_INI_APP=/usr/bin/nova-api-wsgi
  83. Download patch debian/nova-api.config.in

    --- 2:20.0.0-3/debian/nova-api.config.in 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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
  84. Download patch debian/nova-common.install

    --- 2:20.0.0-3/debian/nova-common.install 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-common.install 2019-12-04 20:35:30.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/*
  85. Download patch debian/nova-api-metadata.init.in

    --- 2:20.0.0-3/debian/nova-api-metadata.init.in 1970-01-01 00:00:00.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-api-metadata.init.in 2019-12-04 20:35:30.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
  86. Download patch api-ref/source/servers-actions.inc

    --- 2:20.0.0-3/api-ref/source/servers-actions.inc 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-ref/source/servers-actions.inc 2019-12-04 20:33:25.000000000 +0000 @@ -800,12 +800,6 @@ Resizes a server. Specify the ``resize`` action in the request body. -A successfully resized server shows a ``VERIFY_RESIZE`` status, -``RESIZED`` VM status, and ``finished`` migration status. If you set the -``resize_confirm_window`` option of the Compute service to an integer value, -the Compute service automatically confirms the resize operation after -the set interval in seconds. - **Preconditions** You can only resize a server when its status is ``ACTIVE`` or ``SHUTOFF``. @@ -813,6 +807,18 @@ You can only resize a server when its st If the server is locked, you must have administrator privileges to resize the server. +**Asynchronous Postconditions** + +A successfully resized server shows a ``VERIFY_RESIZE`` status and ``finished`` +migration status. If the cloud has configured the `resize_confirm_window`_ +option of the Compute service to a positive value, the Compute service +automatically confirms the resize operation after the configured interval. + +.. _resize_confirm_window: https://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.resize_confirm_window + +.. note:: There is a `known limitation <https://bugs.launchpad.net/nova/+bug/1558880>`__ + that ephemeral disks are not resized. + Normal response codes: 202 Error response codes: badRequest(400), unauthorized(401), forbidden(403),
  87. Download patch debian/gbp.conf

    --- 2:20.0.0-3/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/gbp.conf 2019-12-04 20:35:30.000000000 +0000 @@ -0,0 +1,7 @@ +[DEFAULT] +debian-branch = master +upstream-tag = %(version)s +pristine-tar = True + +[buildpackage] +export-dir = ../build-area
  88. Download patch api-guide/source/general_info.rst

    --- 2:20.0.0-3/api-guide/source/general_info.rst 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-guide/source/general_info.rst 2019-12-04 20:33:25.000000000 +0000 @@ -42,7 +42,7 @@ several key concepts: - **Flavor Extra Specs** Key and value pairs that can be used to describe the specification of - the server which more than just about CPU, disk and RAM. For example, + the server which is more than just about CPU, disk and RAM. For example, it can be used to indicate that the server created by this flavor has PCI devices, etc. @@ -60,7 +60,7 @@ several key concepts: - **Image Properties** Key and value pairs that can help end users to determine the requirements - of the guest os in the image. + of the guest operating system in the image. For more details, please see: :doc:`extra_specs_and_properties` @@ -108,23 +108,27 @@ several key concepts: Networking Concepts ------------------- -In this section we focus on this related to networking. +Networking is handled by the :neutron-doc:`networking service <>`. When working +with a server in the compute service, the most important networking resource +is a *port* which is part of a *network*. Ports can have *security groups* +applied to control firewall access. Ports can also be linked to *floating IPs* +for external network access depending on the networking service configuration. + +When creating a server or attaching a network interface to an existing server, +zero or more networks and/or ports can be specified to attach to the server. +If nothing is provided, the compute service will by default create a port on +the single network available to the project making the request. If more than +one network is available to the project, such as a public external network and +a private tenant network, an error will occur and the request will have to be +made with a specific network or port. If a network is specified the compute +service will attempt to create a port on the given network on behalf of the +user. More advanced types of ports, such as +:neutron-doc:`SR-IOV ports </admin/config-sriov>`, must be pre-created and +provided to the compute service. -- **Port** +Refer to the `network API reference`_ for more details. - .. todo:: Add more details. - -- **Floating IPs, Pools and DNS** - - .. todo:: Add more details. - -- **Security Groups** - - .. todo:: Add more details. - -- **Extended Networks** - - .. todo:: Add more details. +.. _network API reference: https://docs.openstack.org/api-ref/network/ Administrator Concepts @@ -171,11 +175,6 @@ on compute hosts rather than servers. This service runs on every compute node, and communicates with a hypervisor for managing compute resources on that node. - - **nova-network (deprecated)** - - This service handles networking of virtual servers. It is no longer under - active development, and is being replaced by Neutron. - - **Services Actions** .. note:: @@ -272,30 +271,3 @@ on compute hosts rather than servers. Administrators are able to query the records in database for information about migrations. For example, they can determine the source and destination hosts, type of migration, or changes in the server's flavor. - -Relationship with Volume API -============================ - -Here we discuss about Cinder's API and how Nova users volume UUIDs. - -.. todo:: add more details. - -Relationship with Image API -=========================== - -Here we discuss about Glance's API and how Nova uses image UUIDs. -We also discuss how Nova proxies setting image metadata. - -.. todo:: add more details. - -Interactions with neutron and nova-network (deprecated) -======================================================= - -We talk about how networking can be provided be either neutron or -nova-network (deprecated). - -Here we discuss about Neutron's API and how Nova users port UUIDs. -We also discuss Nova automatically creating ports, proxying security groups, -and proxying floating IPs. Also talk about the APIs we do not proxy. - -.. todo:: add more details.
  89. Download patch api-ref/source/server-migrations.inc

    --- 2:20.0.0-3/api-ref/source/server-migrations.inc 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-ref/source/server-migrations.inc 2019-12-04 20:33:25.000000000 +0000 @@ -53,10 +53,12 @@ Response - status: migrate_status - updated_at: updated - uuid: migration_uuid + - user_id: user_id_migration_2_80 + - project_id: project_id_migration_2_80 -**Example List Migrations (2.59)** +**Example List Migrations (2.80)** -.. literalinclude:: ../../doc/api_samples/server-migrations/v2.59/migrations-index.json +.. literalinclude:: ../../doc/api_samples/server-migrations/v2.80/migrations-index.json :language: javascript Show Migration Details @@ -107,10 +109,12 @@ Response - status: migrate_status - updated_at: updated - uuid: migration_uuid + - user_id: user_id_migration_2_80 + - project_id: project_id_migration_2_80 -**Example Show Migration Details (2.59)** +**Example Show Migration Details (2.80)** -.. literalinclude:: ../../doc/api_samples/server-migrations/v2.59/migrations-get.json +.. literalinclude:: ../../doc/api_samples/server-migrations/v2.80/migrations-get.json :language: javascript Force Migration Complete Action (force_complete Action) @@ -191,9 +195,11 @@ Abort an in-progress live migration. .. note:: With microversion 2.65 or greater, you can abort live migrations also in ``queued`` and ``preparing`` status. -.. note:: Not all compute back ends support aborting an in-progress live +.. note:: Not all `compute back ends`__ support aborting an in-progress live migration. +.. __: https://docs.openstack.org/nova/latest/user/support-matrix.html#operation_abort_in_progress_live_migration + Policy defaults enable only users with the administrative role to perform this operation. Cloud providers can change these permissions through the ``policy.json`` file.
  90. Download patch debian/nova-compute.upstart.in

    --- 2:20.0.0-3/debian/nova-compute.upstart.in 1970-01-01 00:00:00.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-compute.upstart.in 2019-12-04 20:35:30.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
  91. Download patch debian/nova-cells.init.in

    --- 2:20.0.0-3/debian/nova-cells.init.in 1970-01-01 00:00:00.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-cells.init.in 2019-12-04 20:35:30.000000000 +0000 @@ -0,0 +1,20 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: nova-cells +# Required-Start: $network $local_fs $remote_fs $syslog +# Required-Stop: $remote_fs +# Should-Start: postgresql mysql keystone +# Should-Stop: postgresql mysql keystone +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Nova Cells server +# Description: Frontend Nova Cells server +### END INIT INFO + +# Author: Julien Danjou <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 Cells" +PROJECT_NAME=nova +NAME=${PROJECT_NAME}-cells
  92. Download patch debian/copyright
  93. Download patch debian/nova-consoleproxy.nova-novncproxy.init.in

    --- 2:20.0.0-3/debian/nova-consoleproxy.nova-novncproxy.init.in 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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
  94. Download patch debian/nova-consoleproxy.manpages

    --- 2:20.0.0-3/debian/nova-consoleproxy.manpages 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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
  95. Download patch debian/nova-api.templates.in

    --- 2:20.0.0-3/debian/nova-api.templates.in 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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". -
  96. Download patch debian/debian_control_vars

    --- 2:20.0.0-3/debian/debian_control_vars 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/debian_control_vars 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -ostack-lsb-base= lsb-base (>= 3.0.6)
  97. Download patch api-ref/source/os-tenant-network.inc

    --- 2:20.0.0-3/api-ref/source/os-tenant-network.inc 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-ref/source/os-tenant-network.inc 2019-12-04 20:33:25.000000000 +0000 @@ -1,10 +1,8 @@ .. -*- rst -*- -.. NOTE(gmann): These APIs are deprecated so do not update this - file even body, example or parameters are not complete. -=================================================== +==================================================== Project networks (os-tenant-networks) (DEPRECATED) -=================================================== +==================================================== .. warning:: @@ -57,7 +55,8 @@ through the ``policy.json`` file. Normal response codes: 200 -Error response codes: badRequest(400), unauthorized(401), forbidden(403), conflict(409), serviceUnavailable(503) +Error response codes: badRequest(400), unauthorized(401), forbidden(403), +conflict(409), gone(410), serviceUnavailable(503) **Example Create Project Network: JSON request** @@ -121,7 +120,8 @@ can change these permissions through the Normal response codes: 202 -Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), conflict(409) +Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), +conflict(409), gone(410) Request -------
  98. Download patch api-ref/source/os-consoles.inc

    --- 2:20.0.0-3/api-ref/source/os-consoles.inc 2019-10-08 19:33:46.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/api-ref/source/os-consoles.inc 2019-12-04 20:33:25.000000000 +0000 @@ -1,12 +1,15 @@ .. -*- rst -*- -=============================================================== - Server consoles (servers, os-consoles, os-console-auth-tokens) -=============================================================== +================================================== + XenServer VNC Proxy (XVP) consoles (os-consoles) +================================================== -Manages server consoles. +Manages server XVP consoles. -.. note:: This is only used in Xenserver VNC Proxy. +.. warning:: + + These APIs are only applicable when using the XenServer virt driver. + They were removed in the 21.0.0 (Ussuri) release. Lists Consoles ============== @@ -17,7 +20,7 @@ Lists all consoles for a server. Normal response codes: 200 -Error response codes: unauthorized(401), forbidden(403) +Error response codes: unauthorized(401), forbidden(403), gone(410) Request ------- @@ -53,7 +56,8 @@ Creates a console for a server. Normal response codes: 200 -Error response codes: unauthorized(401), forbidden(403), itemNotFound(404) +Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), +gone(410) Request ------- @@ -77,7 +81,8 @@ Shows console details for a server. Normal response codes: 200 -Error response codes: unauthorized(401), forbidden(403), itemNotFound(404) +Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), +gone(410) Request ------- @@ -117,7 +122,8 @@ Deletes a console for a server. Normal response codes: 202 -Error response codes: unauthorized(401), forbidden(403), itemNotFound(404) +Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), +gone(410) Request ------- @@ -132,48 +138,3 @@ Response -------- If successful, this method does not return a response body. - - -Show Console Connection Information -=================================== - -.. rest_method:: GET /os-console-auth-tokens/{console_token} - -Given the console authentication token for a server, -shows the related connection information. - -This method used to be available only for the ``rdp-html5`` console type before -microversion 2.31. Starting from microversion 2.31 it's available for all -console types. - -Normal response codes: 200 - -Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNotFound(404) - -Request -------- - -.. rest_parameters:: parameters.yaml - - - - console_token: console_token - -| - -Response --------- - -.. rest_parameters:: parameters.yaml - - - console: console - - instance_uuid: instance_id_body - - host: console_host - - port: port_number - - internal_access_path: internal_access_path - -| - -**Example Show Console Authentication Token** - -.. literalinclude:: ../../doc/api_samples/os-console-auth-tokens/get-console-connect-info-get-resp.json - :language: javascript
  99. Download patch debian/nova-doc.docs

    --- 2:20.0.0-3/debian/nova-doc.docs 1970-01-01 00:00:00.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/debian/nova-doc.docs 2019-12-04 20:35:30.000000000 +0000 @@ -0,0 +1 @@ +doc/build/html
  100. Download patch debian/nova-common.tmpfile

    --- 2:20.0.0-3/debian/nova-common.tmpfile 2019-12-05 10:46:20.000000000 +0000 +++ 2:21.0.0~b1~git2019120415.45fb747c98-0ubuntu1/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:16.0.0-0ubuntu1) focal; urgency=low * Merge from Debian unstable. Remaining changes: - d/gbp.conf: Retain for gbp and pristine-tar config. - d/control: Enable autopkgtest-pkg-python testsuite. - d/t/control: Drop py2 dependency. - d/watch: Get tarball from pypi.debian.net. * New upstream release for OpenStack Ussuri. * d/control: Align (Build-)Depends with upstream. -- Corey Bryant <corey.bryant@canonical.com> Fri, 06 Dec 2019 10:47:21 -0500

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

    --- 2:15.1.0-3/python_novaclient.egg-info/dependency_links.txt 1970-01-01 00:00:00.000000000 +0000 +++ 2:16.0.0-0ubuntu1/python_novaclient.egg-info/dependency_links.txt 2019-10-22 14:52:07.000000000 +0000 @@ -0,0 +1 @@ +
  2. Download patch releasenotes/source/train.rst

    --- 2:15.1.0-3/releasenotes/source/train.rst 1970-01-01 00:00:00.000000000 +0000 +++ 2:16.0.0-0ubuntu1/releasenotes/source/train.rst 2019-10-22 14:50:49.000000000 +0000 @@ -0,0 +1,6 @@ +========================== +Train Series Release Notes +========================== + +.. release-notes:: + :branch: stable/train
  3. Download patch python_novaclient.egg-info/SOURCES.txt
  4. Download patch releasenotes/notes/bug-1825061-2beb95db4d6df0cb.yaml

    --- 2:15.1.0-3/releasenotes/notes/bug-1825061-2beb95db4d6df0cb.yaml 1970-01-01 00:00:00.000000000 +0000 +++ 2:16.0.0-0ubuntu1/releasenotes/notes/bug-1825061-2beb95db4d6df0cb.yaml 2019-10-22 14:50:49.000000000 +0000 @@ -0,0 +1,5 @@ +--- +fixes: + - | + A check for a value of the '--config-drive' option has been added on the + ``nova boot`` command. A boolean value is only allowed in the option now.
  5. Download patch novaclient/v2/shell.py
  6. Download patch doc/source/reference/deprecation-policy.rst

    --- 2:15.1.0-3/doc/source/reference/deprecation-policy.rst 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/doc/source/reference/deprecation-policy.rst 1970-01-01 00:00:00.000000000 +0000 @@ -1,32 +0,0 @@ -Deprecating commands -==================== - -There are times when commands need to be deprecated due to rename or removal. -The process for command deprecation is: - -1. Push up a change for review which deprecates the command(s). - - - The change should print a deprecation warning to ``stderr`` each time a - deprecated command is used. - - That warning message should include a rough timeline for when the command - will be removed and what should be used instead, if anything. - - The description in the help text for the deprecated command should mark - that it is deprecated. - - The change should include a release note with the ``deprecations`` section - filled out. - - The deprecation cycle is typically the first client release *after* the - next *full* nova server release so that there is at least six months of - deprecation. - -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.opendev.org/#/admin/groups/147,members - -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 - 2.25.0. Once the change was merged, `python-novaclient` 2.26.0 was released. - Since there was less than six months before 12.0.0 would be released, the - deprecation cycle ran through the 13.0.0 nova server release.
  7. Download patch PKG-INFO

    --- 2:15.1.0-3/PKG-INFO 1970-01-01 00:00:00.000000000 +0000 +++ 2:16.0.0-0ubuntu1/PKG-INFO 2019-10-22 14:52:07.000000000 +0000 @@ -0,0 +1,65 @@ +Metadata-Version: 1.1 +Name: python-novaclient +Version: 16.0.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
  8. Download patch doc/source/user/index.rst

    --- 2:15.1.0-3/doc/source/user/index.rst 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/doc/source/user/index.rst 2019-10-22 14:50:49.000000000 +0000 @@ -6,3 +6,4 @@ :maxdepth: 2 shell + python-api
  9. Download patch releasenotes/notes/remove-deprecated-cellsv1-extentions-commands-4b26c826ad5194ca.yaml

    --- 2:15.1.0-3/releasenotes/notes/remove-deprecated-cellsv1-extentions-commands-4b26c826ad5194ca.yaml 1970-01-01 00:00:00.000000000 +0000 +++ 2:16.0.0-0ubuntu1/releasenotes/notes/remove-deprecated-cellsv1-extentions-commands-4b26c826ad5194ca.yaml 2019-10-22 14:50:49.000000000 +0000 @@ -0,0 +1,8 @@ +--- +upgrade: + - | + The following CLIs and their backing API bindings have been removed. + + - ``nova list-extensions`` + - ``nova cell-capacities`` + - ``nova cell-show``
  10. Download patch doc/source/user/shell.rst

    --- 2:15.1.0-3/doc/source/user/shell.rst 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/doc/source/user/shell.rst 2019-10-22 14:50:49.000000000 +0000 @@ -87,12 +87,4 @@ From there, all shell commands take the Run :program:`nova help` to get a full list of all possible commands, and run :program:`nova help <command>` to get detailed help for that command. -Reference ---------- - -For more information, see the reference: - -.. toctree:: - :maxdepth: 2 - - /cli/nova +For more information, see :doc:`the command reference </cli/nova>`.
  11. Download patch doc/source/reference/api/index.rst

    --- 2:15.1.0-3/doc/source/reference/api/index.rst 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/doc/source/reference/api/index.rst 1970-01-01 00:00:00.000000000 +0000 @@ -1,109 +0,0 @@ -================================== - The :mod:`novaclient` Python API -================================== - -.. module:: novaclient - :synopsis: A client for the OpenStack Nova API. - :noindex: - -.. currentmodule:: novaclient - -Usage ------ - -First create a client instance with your credentials:: - - >>> from novaclient import client - >>> nova = client.Client(VERSION, USERNAME, PASSWORD, PROJECT_ID, AUTH_URL) - -Here ``VERSION`` can be a string or ``novaclient.api_versions.APIVersion`` obj. -If you prefer string value, you can use ``1.1`` (deprecated now), ``2`` or -``2.X`` (where X is a microversion). - -Alternatively, you can create a client instance using the keystoneauth -session API:: - - >>> from keystoneauth1 import loading - >>> from keystoneauth1 import session - >>> from novaclient import client - >>> loader = loading.get_plugin_loader('password') - >>> auth = loader.load_from_options(auth_url=AUTH_URL, - ... username=USERNAME, - ... password=PASSWORD, - ... project_id=PROJECT_ID) - >>> sess = session.Session(auth=auth) - >>> nova = client.Client(VERSION, session=sess) - -If you have PROJECT_NAME instead of a PROJECT_ID, use the project_name -parameter. Similarly, if your cloud uses keystone v3 and you have a DOMAIN_NAME -or DOMAIN_ID, provide it as `user_domain_(name|id)` and if you are using a -PROJECT_NAME also provide the domain information as `project_domain_(name|id)`. - -novaclient adds 'python-novaclient' and its version to the user-agent string -that keystoneauth produces. If you are creating an application using novaclient -and want to register a name and version in the user-agent string, pass those -to the Session:: - - >>> sess = session.Session( - ... auth=auth, app_name'nodepool', app_version'1.2.3') - -If you are making a library that consumes novaclient but is not an end-user -application, you can append a (name, version) tuple to the session's -`additional_user_agent` property:: - - >>> sess = session.Session(auth=auth) - >>> sess.additional_user_agent.append(('shade', '1.2.3')) - -For more information on this keystoneauth API, see -:keystoneauth-doc:`Using Sessions <using-sessions.html>`. - -It is also possible to use an instance as a context manager in which case -there will be a session kept alive for the duration of the with statement:: - - >>> from novaclient import client - >>> with client.Client(VERSION, USERNAME, PASSWORD, - ... PROJECT_ID, AUTH_URL) as nova: - ... nova.servers.list() - ... nova.flavors.list() - ... - -It is also possible to have a permanent (process-long) connection pool, -by passing a connection_pool=True:: - - >>> from novaclient import client - >>> nova = client.Client(VERSION, USERNAME, PASSWORD, PROJECT_ID, - ... AUTH_URL, connection_pool=True) - -Then call methods on its managers:: - - >>> nova.servers.list() - [<Server: buildslave-ubuntu-9.10>] - - >>> nova.flavors.list() - [<Flavor: 256 server>, - <Flavor: 512 server>, - <Flavor: 1GiB server>, - <Flavor: 2GiB server>, - <Flavor: 4GiB server>, - <Flavor: 8GiB server>, - <Flavor: 15.5GiB server>] - - >>> fl = nova.flavors.find(ram=512) - >>> nova.servers.create("my-server", flavor=fl) - <Server: my-server> - -.. warning:: Direct initialization of ``novaclient.v2.client.Client`` object - can cause you to "shoot yourself in the foot". See launchpad bug-report - `1493576`_ for more details. - -.. _1493576: https://launchpad.net/bugs/1493576 - -Reference ---------- - -For more information, see the reference: - -.. toctree:: - :maxdepth: 6 - - modules
  12. Download patch python_novaclient.egg-info/requires.txt

    --- 2:15.1.0-3/python_novaclient.egg-info/requires.txt 1970-01-01 00:00:00.000000000 +0000 +++ 2:16.0.0-0ubuntu1/python_novaclient.egg-info/requires.txt 2019-10-22 14:52:07.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:15.1.0-3/python_novaclient.egg-info/PKG-INFO 1970-01-01 00:00:00.000000000 +0000 +++ 2:16.0.0-0ubuntu1/python_novaclient.egg-info/PKG-INFO 2019-10-22 14:52:07.000000000 +0000 @@ -0,0 +1,65 @@ +Metadata-Version: 1.1 +Name: python-novaclient +Version: 16.0.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:15.1.0-3/novaclient/__init__.py 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/novaclient/__init__.py 2019-10-22 14:50:49.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.79") +API_MAX_VERSION = api_versions.APIVersion("2.81")
  15. Download patch doc/source/contributor/deprecation-policy.rst

    --- 2:15.1.0-3/doc/source/contributor/deprecation-policy.rst 1970-01-01 00:00:00.000000000 +0000 +++ 2:16.0.0-0ubuntu1/doc/source/contributor/deprecation-policy.rst 2019-10-22 14:50:49.000000000 +0000 @@ -0,0 +1,32 @@ +Deprecating commands +==================== + +There are times when commands need to be deprecated due to rename or removal. +The process for command deprecation is: + +1. Push up a change for review which deprecates the command(s). + + - The change should print a deprecation warning to ``stderr`` each time a + deprecated command is used. + - That warning message should include a rough timeline for when the command + will be removed and what should be used instead, if anything. + - The description in the help text for the deprecated command should mark + that it is deprecated. + - The change should include a release note with the ``deprecations`` section + filled out. + - The deprecation cycle is typically the first client release *after* the + next *full* nova server release so that there is at least six months of + deprecation. + +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.opendev.org/#/admin/groups/147,members + +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 + 2.25.0. Once the change was merged, `python-novaclient` 2.26.0 was released. + Since there was less than six months before 12.0.0 would be released, the + deprecation cycle ran through the 13.0.0 nova server release.
  16. Download patch python_novaclient.egg-info/pbr.json

    --- 2:15.1.0-3/python_novaclient.egg-info/pbr.json 1970-01-01 00:00:00.000000000 +0000 +++ 2:16.0.0-0ubuntu1/python_novaclient.egg-info/pbr.json 2019-10-22 14:52:07.000000000 +0000 @@ -0,0 +1 @@ +{"git_version": "380fc085", "is_release": true} \ No newline at end of file
  17. Download patch .gitreview

    --- 2:15.1.0-3/.gitreview 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/.gitreview 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -[gerrit] -host=review.opendev.org -port=29418 -project=openstack/python-novaclient.git
  18. Download patch novaclient/tests/unit/v2/test_cells.py

    --- 2:15.1.0-3/novaclient/tests/unit/v2/test_cells.py 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/novaclient/tests/unit/v2/test_cells.py 1970-01-01 00:00:00.000000000 +0000 @@ -1,55 +0,0 @@ -# Copyright 2013 Rackspace Hosting -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -import mock - -from novaclient import api_versions -from novaclient.tests.unit import utils -from novaclient.tests.unit.v2 import fakes - -CELL_V1_DEPRECATION_WARNING = ( - 'The cells v1 interface has been deprecated in Nova since 16.0.0 Pike ' - 'Release. This API binding will be removed in the first major release ' - 'after the Nova server 20.0.0 Train release.') - - -@mock.patch('warnings.warn') -class CellsExtensionTests(utils.TestCase): - def setUp(self): - super(CellsExtensionTests, self).setUp() - self.cs = fakes.FakeClient(api_versions.APIVersion("2.1")) - - def test_get_cells(self, mock_warn): - cell_name = 'child_cell' - cell = self.cs.cells.get(cell_name) - self.assert_request_id(cell, fakes.FAKE_REQUEST_ID_LIST) - self.cs.assert_called('GET', '/os-cells/%s' % cell_name) - mock_warn.assert_called_once_with(CELL_V1_DEPRECATION_WARNING, - DeprecationWarning) - - def test_get_capacities_for_a_given_cell(self, mock_warn): - cell_name = 'child_cell' - ca = self.cs.cells.capacities(cell_name) - self.assert_request_id(ca, fakes.FAKE_REQUEST_ID_LIST) - self.cs.assert_called('GET', '/os-cells/%s/capacities' % cell_name) - mock_warn.assert_called_once_with(CELL_V1_DEPRECATION_WARNING, - DeprecationWarning) - - def test_get_capacities_for_all_cells(self, mock_warn): - ca = self.cs.cells.capacities() - self.assert_request_id(ca, fakes.FAKE_REQUEST_ID_LIST) - self.cs.assert_called('GET', '/os-cells/capacities') - mock_warn.assert_called_once_with(CELL_V1_DEPRECATION_WARNING, - DeprecationWarning)
  19. Download patch debian/control

    --- 2:15.1.0-3/debian/control 2020-01-19 13:07:55.000000000 +0000 +++ 2:16.0.0-0ubuntu1/debian/control 2019-12-06 15:47:21.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,48 @@ 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-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-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.4.1 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 +75,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
  20. Download patch novaclient/v2/images.py

    --- 2:15.1.0-3/novaclient/v2/images.py 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/novaclient/v2/images.py 2019-10-22 14:50:49.000000000 +0000 @@ -66,6 +66,43 @@ class GlanceManager(base.Manager): matches[0].append_request_ids(matches.request_ids) return matches[0] + def find_images(self, names_or_ids): + """Find multiple images by name or id (user provided input). + + :param names_or_ids: A list of strings to use to find images. + :returns: novaclient.v2.images.Image objects for each images found + :raises exceptions.NotFound: If one or more images is not found + :raises exceptions.ClientException: If the image service returns any + unexpected images. + + NOTE: This method always makes two calls to the image service, even if + only one image is provided by ID and is returned in the first query. + """ + with self.alternate_service_type( + 'image', allowed_types=('image',)): + matches = self._list('/v2/images?id=in:%s' % ','.join( + names_or_ids), 'images') + matches.extend(self._list('/v2/images?names=in:%s' % ','.join( + names_or_ids), 'images')) + missed = (set(names_or_ids) - + set(m.name for m in matches) - + set(m.id for m in matches)) + if missed: + msg = _("Unable to find image(s): %(images)s") % { + "images": ",".join(missed)} + raise exceptions.NotFound(404, msg) + for match in matches: + match.append_request_ids(matches.request_ids) + + additional = [] + for i in matches: + if i.name not in names_or_ids and i.id not in names_or_ids: + additional.append(i) + if additional: + msg = _('Additional images found in response') + raise exceptions.ClientException(500, msg) + return matches + def list(self): """ Get a detailed list of all images.
  21. Download patch doc/source/contributor/index.rst

    --- 2:15.1.0-3/doc/source/contributor/index.rst 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/doc/source/contributor/index.rst 2019-10-22 14:50:49.000000000 +0000 @@ -15,3 +15,4 @@ __ https://docs.openstack.org/infra/manu microversions testing + deprecation-policy
  22. Download patch ChangeLog
  23. Download patch tox.ini

    --- 2:15.1.0-3/tox.ini 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/tox.ini 2019-10-22 14:50:49.000000000 +0000 @@ -9,6 +9,7 @@ usedevelop = True whitelist_externals = find rm + make passenv = ZUUL_CACHE_DIR REQUIREMENTS_PIP_LOCATION install_command = pip install {opts} {packages} @@ -44,11 +45,20 @@ deps = -r{toxinidir}/requirements.txt -r{toxinidir}/doc/requirements.txt commands = - rm -rf doc/build + rm -rf doc/build/html doc/build/doctrees sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html # Test the redirects. This must run after the main docs build whereto doc/build/html/.htaccess doc/test/redirect-tests.txt +[testenv:pdf-docs] +basepython = python3 +envdir = {toxworkdir}/docs +deps = {[testenv:docs]deps} +commands = + rm -rf doc/build/pdf + sphinx-build -W -b latex doc/source doc/build/pdf + make -C doc/build/pdf + [testenv:releasenotes] basepython = python3 deps =
  24. Download patch novaclient/tests/unit/v2/test_list_extensions.py

    --- 2:15.1.0-3/novaclient/tests/unit/v2/test_list_extensions.py 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/novaclient/tests/unit/v2/test_list_extensions.py 1970-01-01 00:00:00.000000000 +0000 @@ -1,41 +0,0 @@ -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -import mock - -from novaclient import api_versions -from novaclient.tests.unit import utils -from novaclient.tests.unit.v2 import fakes - - -class ListExtensionsTests(utils.TestCase): - def setUp(self): - super(ListExtensionsTests, self).setUp() - self.cs = fakes.FakeClient(api_versions.APIVersion("2.1")) - - @mock.patch('warnings.warn') - def test_list_extensions(self, mock_warn): - all_exts = self.cs.list_extensions.show_all() - self.assert_request_id(all_exts, fakes.FAKE_REQUEST_ID_LIST) - self.cs.assert_called('GET', '/extensions') - self.assertGreater(len(all_exts), 0) - warning_message = ( - 'The API extension interface has been deprecated since 12.0.0 ' - 'Liberty Release. This API binding will be removed in the first ' - 'major release after the Nova server 20.0.0 Train release.') - mock_warn.assert_called_once_with(warning_message, DeprecationWarning) - for r in all_exts: - mock_warn.reset_mock() - self.assertGreater(len(r.summary), 0) - mock_warn.assert_called_once_with(warning_message, - DeprecationWarning)
  25. Download patch doc/source/index.rst

    --- 2:15.1.0-3/doc/source/index.rst 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/doc/source/index.rst 2019-10-22 14:50:49.000000000 +0000 @@ -3,7 +3,7 @@ =========================================== 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 +<reference/index>` (the :mod:`novaclient` module), and a :doc:`command-line script </user/shell>` (installed as :program:`nova`). Each implements the entire OpenStack Nova API. @@ -22,6 +22,6 @@ such as TryStack, HP, or Rackspace, in o :maxdepth: 2 user/index - reference/index cli/index + reference/index contributor/index
  26. Download patch python_novaclient.egg-info/top_level.txt

    --- 2:15.1.0-3/python_novaclient.egg-info/top_level.txt 1970-01-01 00:00:00.000000000 +0000 +++ 2:16.0.0-0ubuntu1/python_novaclient.egg-info/top_level.txt 2019-10-22 14:52:07.000000000 +0000 @@ -0,0 +1 @@ +novaclient
  27. Download patch doc/source/conf.py

    --- 2:15.1.0-3/doc/source/conf.py 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/doc/source/conf.py 2019-10-22 14:50:49.000000000 +0000 @@ -72,6 +72,20 @@ html_theme = 'openstackdocs' # robots.txt. html_extra_path = ['_extra'] +# -- Options for LaTeX output ------------------------------------------------- + +latex_documents = [ + ('index', 'doc-python-novaclient.tex', u'python-novaclient Documentation', + u'OpenStack Foundation', 'manual'), +] + +latex_elements = { + 'extraclassoptions': 'openany,oneside', + 'preamble': r'\setcounter{tocdepth}{4}', + 'makeindex': '', + 'printindex': '', +} + # -- Options for openstackdocstheme ------------------------------------------- repository_name = 'openstack/python-novaclient'
  28. Download patch novaclient/v2/cells.py

    --- 2:15.1.0-3/novaclient/v2/cells.py 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/novaclient/v2/cells.py 1970-01-01 00:00:00.000000000 +0000 @@ -1,56 +0,0 @@ -# Copyright 2013 Rackspace Hosting -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -import warnings - -from novaclient import base -from novaclient.i18n import _ - -CELL_V1_DEPRECATION_WARNING = _( - 'The cells v1 interface has been deprecated in Nova since 16.0.0 Pike ' - 'Release. This API binding will be removed in the first major release ' - 'after the Nova server 20.0.0 Train release.') - - -class Cell(base.Resource): - """DEPRECATED""" - def __repr__(self): - return "<Cell: %s>" % self.name - - -class CellsManager(base.Manager): - """DEPRECATED""" - resource_class = Cell - - def get(self, cell_name): - """ - DEPRECATED Get a cell. - - :param cell_name: Name of the :class:`Cell` to get. - :rtype: :class:`Cell` - """ - warnings.warn(CELL_V1_DEPRECATION_WARNING, DeprecationWarning) - return self._get("/os-cells/%s" % cell_name, "cell") - - def capacities(self, cell_name=None): - """ - DEPRECATED Get capacities for a cell. - - :param cell_name: Name of the :class:`Cell` to get capacities for. - :rtype: :class:`Cell` - """ - warnings.warn(CELL_V1_DEPRECATION_WARNING, DeprecationWarning) - path = ["%s/capacities" % cell_name, "capacities"][cell_name is None] - return self._get("/os-cells/%s" % path, "cell")
  29. Download patch .gitignore

    --- 2:15.1.0-3/.gitignore 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.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
  30. Download patch novaclient/tests/functional/v2/test_migrations.py

    --- 2:15.1.0-3/novaclient/tests/functional/v2/test_migrations.py 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/novaclient/tests/functional/v2/test_migrations.py 2019-10-22 14:50:49.000000000 +0000 @@ -41,6 +41,8 @@ class TestMigrationList(base.ClientTestB # Find the source compute by getting OS-EXT-SRV-ATTR:host from the # nova show output. server = self.nova('show', params='%s' % server_id) + server_user_id = self._get_value_from_the_table(server, 'user_id') + tenant_id = self._get_value_from_the_table(server, 'tenant_id') source_compute = self._get_value_from_the_table( server, 'OS-EXT-SRV-ATTR:host') # now resize up @@ -97,3 +99,14 @@ class TestMigrationList(base.ClientTestB migrations = self._filter_migrations( '2.66', 'resize', uuidutils.generate_uuid()) self.assertNotIn(server_id, migrations) + + # Listing migrations with v2.80 and make sure there are the User ID + # and Project ID values in the output. + migrations = self.nova('migration-list', + flags='--os-compute-api-version 2.80') + user_id = self._get_column_value_from_single_row_table( + migrations, 'User ID') + self.assertEqual(server_user_id, user_id) + project_id = self._get_column_value_from_single_row_table( + migrations, 'Project ID') + self.assertEqual(tenant_id, project_id)
  31. Download patch releasenotes/source/index.rst

    --- 2:15.1.0-3/releasenotes/source/index.rst 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/releasenotes/source/index.rst 2019-10-22 14:50:49.000000000 +0000 @@ -8,6 +8,7 @@ Contents :maxdepth: 2 unreleased + train stein rocky queens
  32. Download patch novaclient/tests/functional/v2/legacy/test_readonly_nova.py

    --- 2:15.1.0-3/novaclient/tests/functional/v2/legacy/test_readonly_nova.py 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/novaclient/tests/functional/v2/legacy/test_readonly_nova.py 2019-10-22 14:50:49.000000000 +0000 @@ -85,13 +85,6 @@ class SimpleReadOnlyNovaClientTest(base. def test_admin_help(self): self.nova('help') - def test_admin_list_extensions(self): - output = self.nova('list-extensions', merge_stderr=True) - self.assertIn( - 'The API extension interface has been deprecated. This command ' - 'will be removed in the first major release after ' - 'the Nova server 20.0.0 Train release.', output) - def test_agent_list(self): self.nova('agent-list') self.nova('agent-list', flags='--debug')
  33. Download patch debian/watch

    --- 2:15.1.0-3/debian/watch 2020-01-19 13:07:55.000000000 +0000 +++ 2:16.0.0-0ubuntu1/debian/watch 2019-12-06 15:47:21.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)))
  34. Download patch setup.cfg

    --- 2:15.1.0-3/setup.cfg 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/setup.cfg 2019-10-22 14:52:07.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.6 - Programming Language :: Python :: 3.7 +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 +
  35. Download patch python_novaclient.egg-info/entry_points.txt

    --- 2:15.1.0-3/python_novaclient.egg-info/entry_points.txt 1970-01-01 00:00:00.000000000 +0000 +++ 2:16.0.0-0ubuntu1/python_novaclient.egg-info/entry_points.txt 2019-10-22 14:52:07.000000000 +0000 @@ -0,0 +1,3 @@ +[console_scripts] +nova = novaclient.shell:main +
  36. Download patch novaclient/tests/unit/v2/test_shell.py
  37. Download patch releasenotes/notes/microversion-v2_81-3ddd8e2fc7e45030.yaml

    --- 2:15.1.0-3/releasenotes/notes/microversion-v2_81-3ddd8e2fc7e45030.yaml 1970-01-01 00:00:00.000000000 +0000 +++ 2:16.0.0-0ubuntu1/releasenotes/notes/microversion-v2_81-3ddd8e2fc7e45030.yaml 2019-10-22 14:50:49.000000000 +0000 @@ -0,0 +1,10 @@ +--- +features: + - | + Added support for `microversion 2.81`_ which adds image pre-caching support by + aggregate. + + - The ``aggregate-cache-images`` command is added to the CLI + - The ``cache_images()`` method is added to the python API binding + + .. _microversion 2.81: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id73
  38. Download patch novaclient/tests/unit/v2/test_aggregates.py

    --- 2:15.1.0-3/novaclient/tests/unit/v2/test_aggregates.py 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/novaclient/tests/unit/v2/test_aggregates.py 2019-10-22 14:50:49.000000000 +0000 @@ -13,11 +13,14 @@ # License for the specific language governing permissions and limitations # under the License. +from novaclient import api_versions +from novaclient import exceptions from novaclient.tests.unit.fixture_data import aggregates as data from novaclient.tests.unit.fixture_data import client from novaclient.tests.unit import utils from novaclient.tests.unit.v2 import fakes from novaclient.v2 import aggregates +from novaclient.v2 import images class AggregatesTest(utils.FixturedTestCase): @@ -161,3 +164,40 @@ class AggregatesTest(utils.FixturedTestC result3 = self.cs.aggregates.delete(aggregate) self.assert_request_id(result3, fakes.FAKE_REQUEST_ID_LIST) self.assert_called('DELETE', '/os-aggregates/1') + + +class AggregatesV281Test(utils.FixturedTestCase): + api_version = "2.81" + data_fixture_class = data.Fixture + + scenarios = [('original', {'client_fixture_class': client.V1}), + ('session', {'client_fixture_class': client.SessionV1})] + + def setUp(self): + super(AggregatesV281Test, self).setUp() + self.cs.api_version = api_versions.APIVersion(self.api_version) + + def test_cache_images(self): + aggregate = self.cs.aggregates.list()[0] + _images = [images.Image(self.cs.aggregates, {'id': '1'}), + images.Image(self.cs.aggregates, {'id': '2'})] + aggregate.cache_images(_images) + expected_body = {'cache': [{'id': image.id} + for image in _images]} + self.assert_called('POST', '/os-aggregates/1/images', + expected_body) + + def test_cache_images_just_ids(self): + aggregate = self.cs.aggregates.list()[0] + _images = ['1'] + aggregate.cache_images(_images) + expected_body = {'cache': [{'id': '1'}]} + self.assert_called('POST', '/os-aggregates/1/images', + expected_body) + + def test_cache_images_pre281(self): + self.cs.api_version = api_versions.APIVersion('2.80') + aggregate = self.cs.aggregates.list()[0] + _images = [images.Image(self.cs.aggregates, {'id': '1'})] + self.assertRaises(exceptions.VersionNotFoundForAPIMethod, + aggregate.cache_images, _images)
  39. Download patch releasenotes/notes/bug-1845322-463ee407b60131c9.yaml

    --- 2:15.1.0-3/releasenotes/notes/bug-1845322-463ee407b60131c9.yaml 1970-01-01 00:00:00.000000000 +0000 +++ 2:16.0.0-0ubuntu1/releasenotes/notes/bug-1845322-463ee407b60131c9.yaml 2019-10-22 14:50:49.000000000 +0000 @@ -0,0 +1,6 @@ +--- +upgrade: + - | + The ``--hint`` option for the ``boot`` command expects a key-value + argument. Previously, if this was not the case, the argument would be + silently ignored. It will now raise an error.
  40. Download patch doc/source/user/python-api.rst

    --- 2:15.1.0-3/doc/source/user/python-api.rst 1970-01-01 00:00:00.000000000 +0000 +++ 2:16.0.0-0ubuntu1/doc/source/user/python-api.rst 2019-10-22 14:50:49.000000000 +0000 @@ -0,0 +1,104 @@ +================================== + The :mod:`novaclient` Python API +================================== + +.. module:: novaclient + :synopsis: A client for the OpenStack Nova API. + :noindex: + +.. currentmodule:: novaclient + +Usage +----- + +First create a client instance with your credentials:: + + >>> from novaclient import client + >>> nova = client.Client(VERSION, USERNAME, PASSWORD, PROJECT_ID, AUTH_URL) + +Here ``VERSION`` can be a string or ``novaclient.api_versions.APIVersion`` obj. +If you prefer string value, you can use ``1.1`` (deprecated now), ``2`` or +``2.X`` (where X is a microversion). + +Alternatively, you can create a client instance using the keystoneauth +session API:: + + >>> from keystoneauth1 import loading + >>> from keystoneauth1 import session + >>> from novaclient import client + >>> loader = loading.get_plugin_loader('password') + >>> auth = loader.load_from_options(auth_url=AUTH_URL, + ... username=USERNAME, + ... password=PASSWORD, + ... project_id=PROJECT_ID) + >>> sess = session.Session(auth=auth) + >>> nova = client.Client(VERSION, session=sess) + +If you have PROJECT_NAME instead of a PROJECT_ID, use the project_name +parameter. Similarly, if your cloud uses keystone v3 and you have a DOMAIN_NAME +or DOMAIN_ID, provide it as `user_domain_(name|id)` and if you are using a +PROJECT_NAME also provide the domain information as `project_domain_(name|id)`. + +novaclient adds 'python-novaclient' and its version to the user-agent string +that keystoneauth produces. If you are creating an application using novaclient +and want to register a name and version in the user-agent string, pass those +to the Session:: + + >>> sess = session.Session( + ... auth=auth, app_name'nodepool', app_version'1.2.3') + +If you are making a library that consumes novaclient but is not an end-user +application, you can append a (name, version) tuple to the session's +`additional_user_agent` property:: + + >>> sess = session.Session(auth=auth) + >>> sess.additional_user_agent.append(('shade', '1.2.3')) + +For more information on this keystoneauth API, see +:keystoneauth-doc:`Using Sessions <using-sessions.html>`. + +It is also possible to use an instance as a context manager in which case +there will be a session kept alive for the duration of the with statement:: + + >>> from novaclient import client + >>> with client.Client(VERSION, USERNAME, PASSWORD, + ... PROJECT_ID, AUTH_URL) as nova: + ... nova.servers.list() + ... nova.flavors.list() + ... + +It is also possible to have a permanent (process-long) connection pool, +by passing a connection_pool=True:: + + >>> from novaclient import client + >>> nova = client.Client(VERSION, USERNAME, PASSWORD, PROJECT_ID, + ... AUTH_URL, connection_pool=True) + +Then call methods on its managers:: + + >>> nova.servers.list() + [<Server: buildslave-ubuntu-9.10>] + + >>> nova.flavors.list() + [<Flavor: 256 server>, + <Flavor: 512 server>, + <Flavor: 1GiB server>, + <Flavor: 2GiB server>, + <Flavor: 4GiB server>, + <Flavor: 8GiB server>, + <Flavor: 15.5GiB server>] + + >>> fl = nova.flavors.find(ram=512) + >>> nova.servers.create("my-server", flavor=fl) + <Server: my-server> + +.. warning:: Direct initialization of ``novaclient.v2.client.Client`` object + can cause you to "shoot yourself in the foot". See launchpad bug-report + `1493576`_ for more details. + +.. _1493576: https://launchpad.net/bugs/1493576 + +Reference +--------- + +See :doc:`the module reference </reference/index>`.
  41. Download patch python_novaclient.egg-info/not-zip-safe

    --- 2:15.1.0-3/python_novaclient.egg-info/not-zip-safe 1970-01-01 00:00:00.000000000 +0000 +++ 2:16.0.0-0ubuntu1/python_novaclient.egg-info/not-zip-safe 2019-10-22 14:52:07.000000000 +0000 @@ -0,0 +1 @@ +
  42. Download patch novaclient/v2/migrations.py

    --- 2:15.1.0-3/novaclient/v2/migrations.py 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/novaclient/v2/migrations.py 2019-10-22 14:50:49.000000000 +0000 @@ -29,7 +29,7 @@ class MigrationManager(base.ManagerWithF def _list_base(self, host=None, status=None, instance_uuid=None, marker=None, limit=None, changes_since=None, changes_before=None, migration_type=None, - source_compute=None): + source_compute=None, user_id=None, project_id=None): opts = {} if host: opts['host'] = host @@ -49,6 +49,10 @@ class MigrationManager(base.ManagerWithF opts['migration_type'] = migration_type if source_compute: opts['source_compute'] = source_compute + if user_id: + opts['user_id'] = user_id + if project_id: + opts['project_id'] = project_id return self._list("/os-migrations", "migrations", filters=opts) @@ -61,7 +65,7 @@ class MigrationManager(base.ManagerWithF :param status: filter migrations by status (optional). :param instance_uuid: filter migrations by instance uuid (optional). :param migration_type: Filter migrations by type. Valid values are: - evacuation, live-migration, migration, resize + evacuation, live-migration, migration (cold), resize :param source_compute: Filter migrations by source compute host name. """ return self._list_base(host=host, status=status, @@ -89,7 +93,7 @@ class MigrationManager(base.ManagerWithF to a certain point of time. The provided time should be an ISO 8061 formatted time. e.g. 2016-03-04T06:27:59Z . (optional). :param migration_type: Filter migrations by type. Valid values are: - evacuation, live-migration, migration, resize + evacuation, live-migration, migration (cold), resize :param source_compute: Filter migrations by source compute host name. """ return self._list_base(host=host, status=status, @@ -99,7 +103,7 @@ class MigrationManager(base.ManagerWithF migration_type=migration_type, source_compute=source_compute) - @api_versions.wraps("2.66") + @api_versions.wraps("2.66", "2.79") def list(self, host=None, status=None, instance_uuid=None, marker=None, limit=None, changes_since=None, changes_before=None, migration_type=None, source_compute=None): @@ -122,7 +126,7 @@ class MigrationManager(base.ManagerWithF equal to a certain point of time. The provided time should be an ISO 8061 formatted time. e.g. 2016-03-05T06:27:59Z . (optional). :param migration_type: Filter migrations by type. Valid values are: - evacuation, live-migration, migration, resize + evacuation, live-migration, migration (cold), resize :param source_compute: Filter migrations by source compute host name. """ return self._list_base(host=host, status=status, @@ -132,3 +136,42 @@ class MigrationManager(base.ManagerWithF changes_before=changes_before, migration_type=migration_type, source_compute=source_compute) + + @api_versions.wraps("2.80") + def list(self, host=None, status=None, instance_uuid=None, + marker=None, limit=None, changes_since=None, + changes_before=None, migration_type=None, + source_compute=None, user_id=None, project_id=None): + """ + Get a list of migrations. + :param host: filter migrations by host name (optional). + :param status: filter migrations by status (optional). + :param instance_uuid: filter migrations by instance uuid (optional). + :param marker: Begin returning migrations that appear later in the + 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). + :param changes_before: Only return migrations changed earlier or + equal to a certain point of time. The provided time should be an ISO + 8061 formatted time. e.g. 2016-03-05T06:27:59Z . (optional). + :param migration_type: Filter migrations by type. Valid values are: + evacuation, live-migration, migration, resize + :param source_compute: Filter migrations by source compute host name. + :param user_id: filter migrations by user (optional). + :param project_id: filter migrations by project (optional). + """ + return self._list_base(host=host, status=status, + instance_uuid=instance_uuid, + marker=marker, limit=limit, + changes_since=changes_since, + changes_before=changes_before, + migration_type=migration_type, + source_compute=source_compute, + user_id=user_id, + project_id=project_id)
  43. Download patch novaclient/v2/aggregates.py

    --- 2:15.1.0-3/novaclient/v2/aggregates.py 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/novaclient/v2/aggregates.py 2019-10-22 14:50:49.000000000 +0000 @@ -15,6 +15,7 @@ """Aggregate interface.""" +from novaclient import api_versions from novaclient import base @@ -45,6 +46,10 @@ class Aggregate(base.Resource): """ return self.manager.delete(self) + @api_versions.wraps("2.81") + def cache_images(self, images): + return self.manager.cache_images(self, images) + class AggregateManager(base.ManagerWithFind): resource_class = Aggregate @@ -103,3 +108,20 @@ class AggregateManager(base.ManagerWithF :returns: An instance of novaclient.base.TupleWithMeta """ return self._delete('/os-aggregates/%s' % (base.getid(aggregate))) + + @api_versions.wraps("2.81") + def cache_images(self, aggregate, images): + """ + Request images be cached on a given aggregate. + + :param aggregate: The aggregate to target + :param images: A list of image IDs to request caching + :returns: An instance of novaclient.base.TupleWithMeta + """ + body = { + 'cache': [{'id': base.getid(image)} for image in images], + } + resp, body = self.api.client.post( + "/os-aggregates/%s/images" % base.getid(aggregate), + body=body) + return self.convert_into_with_meta(body, resp)
  44. Download patch doc/source/cli/nova.rst

    --- 2:15.1.0-3/doc/source/cli/nova.rst 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/doc/source/cli/nova.rst 2019-10-22 14:50:49.000000000 +0000 @@ -73,6 +73,9 @@ nova usage ``aggregate-add-host`` Add the host to the specified aggregate. +``aggregate-cache-images`` + Request images be pre-cached on hosts within an aggregate. + ``aggregate-create`` Create a new aggregate with the specified details. @@ -108,13 +111,6 @@ nova usage ``boot`` Boot a new server. -``cell-capacities`` - Get cell capacities for all cells or a given - cell. - -``cell-show`` - Show details of a given cell. - ``clear-password`` Clear the admin password for a server from the metadata server. This action does not actually @@ -309,10 +305,6 @@ nova usage ``list`` List servers. -``list-extensions`` - List all the os-api extensions that are - available. - ``list-secgroup`` List Security Group(s) of a server. @@ -767,6 +759,25 @@ Add the host to the specified aggregate. ``<host>`` The host to add to the aggregate. +.. _nova_aggregate-cache-images: + +nova aggregate-cache-images +--------------------------- + +.. code-block:: console + + usage: nova aggregate-cache-images <aggregate> <image> [<image> ..] + +Request image(s) be pre-cached on hosts within the aggregate. + +**Positional arguments:** + +``<aggregate>`` + Name or ID of aggregate. + +``<image>`` + Name or ID of image(s) to cache. + .. _nova_aggregate-create: nova aggregate-create @@ -1089,7 +1100,8 @@ quality of service support, microversion versions '2.42' - '2.latest') ``--config-drive <value>`` - Enable config drive. + Enable config drive. The value must be a + boolean value. ``--poll`` Report the new server boot progress until it @@ -1130,38 +1142,6 @@ quality of service support, microversion Requested hypervisor hostname to create servers. Admin only by default. (Supported by API versions '2.74' - '2.latest') -.. _nova_cell-capacities: - -nova cell-capacities --------------------- - -.. code-block:: console - - usage: nova cell-capacities [--cell <cell-name>] - -Get cell capacities for all cells or a given cell. - -**Optional arguments:** - -``--cell <cell-name>`` - Name of the cell to get the capacities. - -.. _nova_cell-show: - -nova cell-show --------------- - -.. code-block:: console - - usage: nova cell-show <cell-name> - -Show details of a given cell. - -**Positional arguments:** - -``<cell-name>`` - Name of the cell. - .. _nova_clear-password: nova clear-password @@ -1841,11 +1821,13 @@ List hypervisors. (Supported by API vers ``--marker <marker>`` The last hypervisor of the previous page; displays list of hypervisors after "marker". + (Supported by API versions '2.33' - '2.latest') ``--limit <limit>`` Maximum number of hypervisors to display. If limit is bigger than 'CONF.api.max_limit' option of Nova API, limit 'CONF.api.max_limit' will be used instead. + (Supported by API versions '2.33' - '2.latest') .. _nova_hypervisor-servers: @@ -2369,18 +2351,6 @@ present in the failure domain. unlocked servers. (Supported by API versions '2.73' - '2.latest') - -.. _nova_list-extensions: - -nova list-extensions --------------------- - -.. code-block:: console - - usage: nova list-extensions - -List all the os-api extensions that are available. - .. _nova_list-secgroup: nova list-secgroup @@ -2568,6 +2538,8 @@ nova migration-list [--limit <limit>] [--changes-since <changes_since>] [--changes-before <changes_before>] + [--project-id <project_id>] + [--user-id <user_id>] Print a list of migrations. @@ -2596,6 +2568,9 @@ To see the list of evacuation operations * evacuation * live-migration * migration + + .. note:: This is a cold migration. + * resize ``--source-compute <source_compute>`` @@ -2622,6 +2597,14 @@ To see the list of evacuation operations point of time. The provided time should be an ISO 8061 formatted time. e.g. 2016-03-04T06:27:59Z . (Supported by API versions '2.66' - '2.latest') +``--project-id <project_id>`` + Filter the migrations by the given project ID. + (Supported by API versions '2.80' - '2.latest') + +``--user-id <user_id>`` + Filter the migrations by the given user ID. + (Supported by API versions '2.80' - '2.latest') + .. _nova_pause: nova pause
  45. Download patch AUTHORS
  46. Download patch releasenotes/notes/microversion-v2_80-c2394316f9212865.yaml

    --- 2:15.1.0-3/releasenotes/notes/microversion-v2_80-c2394316f9212865.yaml 1970-01-01 00:00:00.000000000 +0000 +++ 2:16.0.0-0ubuntu1/releasenotes/notes/microversion-v2_80-c2394316f9212865.yaml 2019-10-22 14:50:49.000000000 +0000 @@ -0,0 +1,20 @@ +--- +features: + - | + Added support for `microversion 2.80`_ which adds ``user_id`` + and ``project_id`` filter parameters to the ``GET /os-migrations`` API. + + New kwargs ``project_id`` and ``user_id`` have been added to + the following python API binding: + + - novaclient.v2.migrations.MigrationManager.list + + The following CLI changes have been made: + + - The ``--project-id`` and ``--user-id`` options are added to the + ``nova migration-list`` CLI. + - The ``nova server-migration-list`` and ``nova server-migration-show`` + commands will show the ``Project ID`` and ``User ID`` values when + using microversion 2.80 or greater. + + .. _microversion 2.80: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id72
  47. Download patch novaclient/v2/servers.py

    --- 2:15.1.0-3/novaclient/v2/servers.py 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/novaclient/v2/servers.py 2019-10-22 14:50:49.000000000 +0000 @@ -1375,8 +1375,8 @@ class ServerManager(base.BootingManagerW any networking for the server. :param scheduler_hints: (optional extension) arbitrary key-value pairs specified by the client to help boot an instance - :param config_drive: (optional extension) value for config drive - either boolean, or volume-id + :param config_drive: (optional extension) a boolean value to enable + config drive :param disk_config: (optional extension) control how the disk is partitioned when the server is created. possible values are 'AUTO' or 'MANUAL'.
  48. Download patch doc/source/reference/index.rst

    --- 2:15.1.0-3/doc/source/reference/index.rst 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/doc/source/reference/index.rst 2019-10-22 14:50:49.000000000 +0000 @@ -1,8 +1,8 @@ +========= Reference ========= .. toctree:: - :maxdepth: 1 + :maxdepth: 6 - api/index - deprecation-policy + api/modules
  49. Download patch debian/gbp.conf

    --- 2:15.1.0-3/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 +++ 2:16.0.0-0ubuntu1/debian/gbp.conf 2019-12-06 15:47:21.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:15.1.0-3/novaclient/tests/unit/v2/fakes.py 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/novaclient/tests/unit/v2/fakes.py 2019-10-22 14:50:49.000000000 +0000 @@ -329,53 +329,6 @@ class FakeSessionClient(base_client.Sess 'id': 1}}) # - # List all extensions - # - - def get_extensions(self, **kw): - exts = [ - { - "alias": "NMN", - "description": "Multiple network support", - "links": [], - "name": "Multinic", - "namespace": ("http://docs.openstack.org/" - "compute/ext/multinic/api/v1.1"), - "updated": "2011-06-09T00:00:00+00:00" - }, - { - "alias": "OS-DCF", - "description": "Disk Management Extension", - "links": [], - "name": "DiskConfig", - "namespace": ("http://docs.openstack.org/" - "compute/ext/disk_config/api/v1.1"), - "updated": "2011-09-27T00:00:00+00:00" - }, - { - "alias": "OS-EXT-SRV-ATTR", - "description": "Extended Server Attributes support.", - "links": [], - "name": "ExtendedServerAttributes", - "namespace": ("http://docs.openstack.org/" - "compute/ext/extended_status/api/v1.1"), - "updated": "2011-11-03T00:00:00+00:00" - }, - { - "alias": "OS-EXT-STS", - "description": "Extended Status support", - "links": [], - "name": "ExtendedStatus", - "namespace": ("http://docs.openstack.org/" - "compute/ext/extended_status/api/v1.1"), - "updated": "2011-11-03T00:00:00+00:00" - }, - ] - return (200, FAKE_RESPONSE_HEADERS, { - "extensions": exts, - }) - - # # Limits # @@ -1188,7 +1141,7 @@ class FakeSessionClient(base_client.Sess # Images # def get_images(self, **kw): - return (200, {}, {'images': [ + images = [ { "id": FAKE_IMAGE_UUID_SNAPSHOT, "name": "My Server Backup", @@ -1238,7 +1191,16 @@ class FakeSessionClient(base_client.Sess "progress": 80, "links": {}, }, - ]}) + ] + + if 'id' in kw: + requested = kw['id'].replace('in:', '').split(',') + images = [i for i in images if i['id'] in requested] + if 'names' in kw: + requested = kw['names'].replace('in:', '').split(',') + images = [i for i in images if i['name'] in requested] + + return (200, {}, {'images': images}) def get_images_555cae93_fb41_4145_9c52_f5b923538a26(self, **kw): return (200, {}, {'image': self.get_images()[2]['images'][0]}) @@ -1772,6 +1734,9 @@ class FakeSessionClient(base_client.Sess def delete_os_aggregates_1(self, **kw): return (202, {}, None) + def post_os_aggregates_1_images(self, body, **kw): + return (202, {}, None) + # # Services # @@ -2296,34 +2261,6 @@ class FakeSessionClient(base_client.Sess def post_servers_uuid6_action(self, **kw): return 202, {}, {} - def get_os_cells_child_cell(self, **kw): - cell = {'cell': { - 'username': 'cell1_user', - 'name': 'cell1', - 'rpc_host': '10.0.1.10', - 'info': { - 'username': 'cell1_user', - 'rpc_host': '10.0.1.10', - 'type': 'child', - 'name': 'cell1', - 'rpc_port': 5673}, - 'type': 'child', - 'rpc_port': 5673, - 'loaded': True - }} - return (200, FAKE_RESPONSE_HEADERS, cell) - - def get_os_cells_capacities(self, **kw): - cell_capacities_response = {"cell": {"capacities": {"ram_free": { - "units_by_mb": {"8192": 0, "512": 13, "4096": 1, "2048": 3, - "16384": 0}, "total_mb": 7680}, "disk_free": { - "units_by_mb": {"81920": 11, "20480": 46, "40960": 23, "163840": 5, - "0": 0}, "total_mb": 1052672}}}} - return (200, FAKE_RESPONSE_HEADERS, cell_capacities_response) - - def get_os_cells_child_cell_capacities(self, **kw): - return self.get_os_cells_capacities() - def get_os_migrations(self, **kw): migration1 = { "created_at": "2012-10-29T13:42:02.000000", @@ -2363,6 +2300,14 @@ class FakeSessionClient(base_client.Sess migration1.update({"uuid": "11111111-07d5-11e1-90e3-e3dffe0c5983"}) migration2.update({"uuid": "22222222-07d5-11e1-90e3-e3dffe0c5983"}) + if self.api_version >= api_versions.APIVersion("2.80"): + migration1.update({ + "project_id": "b59c18e5fa284fd384987c5cb25a1853", + "user_id": "13cc0930d27c4be0acc14d7c47a3e1f7"}) + migration2.update({ + "project_id": "b59c18e5fa284fd384987c5cb25a1853", + "user_id": "13cc0930d27c4be0acc14d7c47a3e1f7"}) + migration_list = [] instance_uuid = kw.get('instance_uuid', None) if instance_uuid == migration1['instance_uuid']: @@ -2454,6 +2399,12 @@ class FakeSessionClient(base_client.Sess "disk_remaining_bytes": 230000, "updated_at": "2016-01-29T13:42:02.000000" }} + + if self.api_version >= api_versions.APIVersion("2.80"): + migration['migration'].update({ + "project_id": "b59c18e5fa284fd384987c5cb25a1853", + "user_id": "13cc0930d27c4be0acc14d7c47a3e1f7"}) + return (200, FAKE_RESPONSE_HEADERS, migration) @api_versions.wraps(start_version="2.23") @@ -2477,6 +2428,12 @@ class FakeSessionClient(base_client.Sess "disk_remaining_bytes": 230000, "updated_at": "2016-01-29T13:42:02.000000" }]} + + if self.api_version >= api_versions.APIVersion("2.80"): + migrations['migrations'][0].update({ + "project_id": "b59c18e5fa284fd384987c5cb25a1853", + "user_id": "13cc0930d27c4be0acc14d7c47a3e1f7"}) + return (200, FAKE_RESPONSE_HEADERS, migrations) def delete_servers_1234_migrations_1(self):
  51. Download patch novaclient/v2/list_extensions.py

    --- 2:15.1.0-3/novaclient/v2/list_extensions.py 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/novaclient/v2/list_extensions.py 1970-01-01 00:00:00.000000000 +0000 @@ -1,50 +0,0 @@ -# Copyright 2011 OpenStack Foundation -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -import warnings - -from novaclient import base -from novaclient.i18n import _ - -EXTENSION_DEPRECATION_WARNING = _( - 'The API extension interface has been deprecated since 12.0.0 Liberty ' - 'Release. This API binding will be removed in the first major release ' - 'after the Nova server 20.0.0 Train release.') - - -class ListExtResource(base.Resource): - """DEPRECATED""" - @property - def summary(self): - """DEPRECATED""" - warnings.warn(EXTENSION_DEPRECATION_WARNING, DeprecationWarning) - descr = self.description.strip() - if not descr: - return '??' - lines = descr.split("\n") - if len(lines) == 1: - return lines[0] - else: - return lines[0] + "..." - - -class ListExtManager(base.Manager): - """DEPRECATED""" - resource_class = ListExtResource - - def show_all(self): - """DEPRECATED""" - warnings.warn(EXTENSION_DEPRECATION_WARNING, DeprecationWarning) - return self._list("/extensions", 'extensions')
  52. Download patch novaclient/tests/unit/fixture_data/aggregates.py

    --- 2:15.1.0-3/novaclient/tests/unit/fixture_data/aggregates.py 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/novaclient/tests/unit/fixture_data/aggregates.py 2019-10-22 14:50:49.000000000 +0000 @@ -51,3 +51,10 @@ class Fixture(base.Fixture): self.requests_mock.delete(self.url(1), status_code=202, headers=self.json_headers) + + self.requests_mock.register_uri('POST', self.url(1), + json={}, + headers=self.json_headers) + self.requests_mock.post(self.url(1, 'images'), + json={}, + headers=self.json_headers)
  53. Download patch novaclient/tests/unit/v2/test_migrations.py

    --- 2:15.1.0-3/novaclient/tests/unit/v2/test_migrations.py 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/novaclient/tests/unit/v2/test_migrations.py 2019-10-22 14:50:49.000000000 +0000 @@ -10,6 +10,8 @@ # License for the specific language governing permissions and limitations # under the License. +import six + from novaclient import api_versions from novaclient.tests.unit import utils from novaclient.tests.unit.v2 import fakes @@ -112,3 +114,58 @@ class MigrationsV266Test(MigrationsV259T '2012-02-29T06%3A23%3A22') for m in ms: self.assertIsInstance(m, migrations.Migration) + + +class MigrationsV280Test(MigrationsV266Test): + def setUp(self): + super(MigrationsV280Test, self).setUp() + self.cs.api_version = api_versions.APIVersion("2.80") + + def test_list_migrations_with_user_id(self): + user_id = '13cc0930d27c4be0acc14d7c47a3e1f7' + params = {'user_id': user_id} + ms = self.cs.migrations.list(**params) + self.assert_request_id(ms, fakes.FAKE_REQUEST_ID_LIST) + self.cs.assert_called('GET', '/os-migrations?user_id=%s' % user_id) + for m in ms: + self.assertIsInstance(m, migrations.Migration) + + def test_list_migrations_with_project_id(self): + project_id = 'b59c18e5fa284fd384987c5cb25a1853' + params = {'project_id': project_id} + ms = self.cs.migrations.list(**params) + self.assert_request_id(ms, fakes.FAKE_REQUEST_ID_LIST) + self.cs.assert_called('GET', '/os-migrations?project_id=%s' + % project_id) + for m in ms: + self.assertIsInstance(m, migrations.Migration) + + def test_list_migrations_with_user_and_project_id(self): + user_id = '13cc0930d27c4be0acc14d7c47a3e1f7' + project_id = 'b59c18e5fa284fd384987c5cb25a1853' + params = {'user_id': user_id, 'project_id': project_id} + ms = self.cs.migrations.list(**params) + self.assert_request_id(ms, fakes.FAKE_REQUEST_ID_LIST) + self.cs.assert_called('GET', + '/os-migrations?project_id=%s&user_id=%s' + % (project_id, user_id)) + for m in ms: + self.assertIsInstance(m, migrations.Migration) + + def test_list_migrations_with_user_id_pre_v280(self): + self.cs.api_version = api_versions.APIVersion('2.79') + user_id = '13cc0930d27c4be0acc14d7c47a3e1f7' + ex = self.assertRaises(TypeError, + self.cs.migrations.list, + user_id=user_id) + self.assertIn("unexpected keyword argument 'user_id'", + six.text_type(ex)) + + def test_list_migrations_with_project_id_pre_v280(self): + self.cs.api_version = api_versions.APIVersion('2.79') + project_id = '23cc0930d27c4be0acc14d7c47a3e1f7' + ex = self.assertRaises(TypeError, + self.cs.migrations.list, + project_id=project_id) + self.assertIn("unexpected keyword argument 'project_id'", + six.text_type(ex))
  54. Download patch novaclient/v2/client.py

    --- 2:15.1.0-3/novaclient/v2/client.py 2019-09-09 16:43:42.000000000 +0000 +++ 2:16.0.0-0ubuntu1/novaclient/v2/client.py 2019-10-22 14:50:49.000000000 +0000 @@ -22,7 +22,6 @@ from novaclient.v2 import agents from novaclient.v2 import aggregates from novaclient.v2 import assisted_volume_snapshots from novaclient.v2 import availability_zones -from novaclient.v2 import cells from novaclient.v2 import flavor_access from novaclient.v2 import flavors from novaclient.v2 import hypervisors @@ -31,7 +30,6 @@ from novaclient.v2 import instance_actio from novaclient.v2 import instance_usage_audit_log from novaclient.v2 import keypairs from novaclient.v2 import limits -from novaclient.v2 import list_extensions from novaclient.v2 import migrations from novaclient.v2 import networks from novaclient.v2 import quota_classes @@ -167,11 +165,9 @@ class Client(object): # deprecated now, which is why it is not initialized by default. self.assisted_volume_snapshots = \ assisted_volume_snapshots.AssistedSnapshotManager(self) - self.cells = cells.CellsManager(self) self.instance_action = instance_action.InstanceActionManager(self) self.instance_usage_audit_log = \ instance_usage_audit_log.InstanceUsageAuditLogManager(self) - self.list_extensions = list_extensions.ListExtManager(self) self.migrations = migrations.MigrationManager(self) self.server_external_events = \ server_external_events.ServerExternalEventManager(self)
  1. libmath-tamuanova-perl
  2. nova
  3. python-novaclient