]> xenbits.xensource.com Git - osstest/openstack-nova.git/log
osstest/openstack-nova.git
8 years agoTransform instance.resume notifications
stewie925 [Sat, 24 Sep 2016 01:06:32 +0000 (18:06 -0700)]
Transform instance.resume notifications

The instance.resume.start and instance.resume.end notifications
are transformed to the versioned framework using the generic
InstanceActionNotification and InstanceActionPayload class.

Implements: bp versioned-notification-transformation-ocata

Change-Id: I923971ea2f6c1f450ace27b246aa6f372a72bb30

8 years agoFix exception raised in exception wrapper
Diana Clarke [Mon, 24 Oct 2016 17:23:14 +0000 (13:23 -0400)]
Fix exception raised in exception wrapper

In some cases the exception wrapper can't find the module name for a
traceback (like lxml c extensions), resulting in an exception from
inspect.getmodule(). Just set the module name to 'unknown' in these
cases.

Change-Id: Id5e181d682598eab6987ad6f0f194c77e061f69c
Closes-Bug: #1635467

8 years agoAdd missing compat routine for Usage object
Dan Smith [Sun, 23 Oct 2016 06:20:49 +0000 (23:20 -0700)]
Add missing compat routine for Usage object

We added a v1.1 to Usage without a compat routine to go with it. It's not really
a big deal as we're not sending this over RPC anywhere yet that I know of, but
we should have this for the sake of completeness.

Change-Id: Ia50448741b29e1c33e4988a9476418b6ba835983

8 years agoMerge "Correct bug in microversion headers in placement"
Jenkins [Fri, 21 Oct 2016 14:34:06 +0000 (14:34 +0000)]
Merge "Correct bug in microversion headers in placement"

8 years agoMerge "Changed the name of the standard resource classes"
Jenkins [Fri, 21 Oct 2016 14:33:20 +0000 (14:33 +0000)]
Merge "Changed the name of the standard resource classes"

8 years agoMerge "placement: change resource class to a StringField"
Jenkins [Fri, 21 Oct 2016 14:31:57 +0000 (14:31 +0000)]
Merge "placement: change resource class to a StringField"

8 years agoMerge "tests: Adding functional tests to cover VM creation with sriov"
Jenkins [Fri, 21 Oct 2016 14:30:48 +0000 (14:30 +0000)]
Merge "tests: Adding functional tests to cover VM creation with sriov"

8 years agoMerge "Remove bandit.yaml in favor of defaults"
Jenkins [Fri, 21 Oct 2016 13:05:33 +0000 (13:05 +0000)]
Merge "Remove bandit.yaml in favor of defaults"

8 years agoMerge "Set 'last_checked' flag if start to check scheduler file"
Jenkins [Fri, 21 Oct 2016 12:59:38 +0000 (12:59 +0000)]
Merge "Set 'last_checked' flag if start to check scheduler file"

8 years agoMerge "hardware: Standarized flavor/image meta extraction"
Jenkins [Fri, 21 Oct 2016 12:06:19 +0000 (12:06 +0000)]
Merge "hardware: Standarized flavor/image meta extraction"

8 years agoMerge "Add swap volume notifications (error)"
Jenkins [Fri, 21 Oct 2016 11:48:31 +0000 (11:48 +0000)]
Merge "Add swap volume notifications (error)"

8 years agoMerge "Pre-add instance actions to avoid merge conflicts"
Jenkins [Fri, 21 Oct 2016 11:44:24 +0000 (11:44 +0000)]
Merge "Pre-add instance actions to avoid merge conflicts"

8 years agoSet 'last_checked' flag if start to check scheduler file
huangtianhua [Tue, 19 Jul 2016 09:55:59 +0000 (17:55 +0800)]
Set 'last_checked' flag if start to check scheduler file

Set 'last_checked' to make sure won't get scheduler json
configuration too fast.

Closes-Bug: #1625882
Change-Id: I97acefeacce7a8508d1eb9cb3205367a14be8d86

8 years agoMerge "doc: Integrate oslo_policy.sphinxpolicygen"
Jenkins [Fri, 21 Oct 2016 02:04:44 +0000 (02:04 +0000)]
Merge "doc: Integrate oslo_policy.sphinxpolicygen"

8 years agoMerge "Adding hugepage and NUMA support check for aarch64"
Jenkins [Thu, 20 Oct 2016 21:20:48 +0000 (21:20 +0000)]
Merge "Adding hugepage and NUMA support check for aarch64"

8 years agoMerge "Add migrate_uri for invoking the migration"
Jenkins [Thu, 20 Oct 2016 20:53:25 +0000 (20:53 +0000)]
Merge "Add migrate_uri for invoking the migration"

8 years agoMerge "Fix a typo in driver.py"
Jenkins [Thu, 20 Oct 2016 20:45:38 +0000 (20:45 +0000)]
Merge "Fix a typo in driver.py"

8 years agoRemove bandit.yaml in favor of defaults
Eric Brown [Wed, 10 Feb 2016 17:48:50 +0000 (09:48 -0800)]
Remove bandit.yaml in favor of defaults

With the latest version of bandit, the bandit.yaml is only
necessary for advanced tweaking.

Change-Id: I933a5389865fe577925ce3be30877ceae12fad31

8 years agoPre-add instance actions to avoid merge conflicts
Balazs Gibizer [Fri, 14 Oct 2016 14:52:17 +0000 (16:52 +0200)]
Pre-add instance actions to avoid merge conflicts

NotificationAction enum values for instance actions are added in a
single commit to avoid merge conflicts when it is added one by one
during the notification transformation.

Also the notification samples added as comments for the same reason.

Change-Id: Idfe41af8718bf5e81ea1608f4c6d00d7cf60cd13
Implements: bp versioned-notification-transformation-ocata

8 years agoAdd swap volume notifications (error)
Takashi NATSUME [Thu, 30 Jun 2016 09:06:35 +0000 (18:06 +0900)]
Add swap volume notifications (error)

Add the following notification when swapping volumes.

* 'instance.volume_swap.error'

Change-Id: I90d4ffcb2ffc318de2365a655b5fde8bb6c05ff2
Implements: blueprint add-swap-volume-notifications

8 years agoMerge "XenAPI: Fix VM live-migrate with iSCSI SR volume"
Jenkins [Thu, 20 Oct 2016 12:20:47 +0000 (12:20 +0000)]
Merge "XenAPI: Fix VM live-migrate with iSCSI SR volume"

8 years agodoc: Integrate oslo_policy.sphinxpolicygen
Stephen Finucane [Mon, 26 Sep 2016 13:53:18 +0000 (14:53 +0100)]
doc: Integrate oslo_policy.sphinxpolicygen

Change-Id: I80e75b8a592e1125e02ca6177661177a7c17c927

8 years agotests: Adding functional tests to cover VM creation with sriov
Vladik Romanovsky [Wed, 9 Mar 2016 16:34:31 +0000 (11:34 -0500)]
tests: Adding functional tests to cover VM creation with sriov

Adding HostPciSRIOVDevicesInfo class to fakelibvirt module
in order to dynamically generate host's SR-IOV devices info.

Adding functional tests to cover the creation of instances with
attached sriov devices (virtual and physical).
Verifying that VFs cannot be allocated when it's parent PF is allocated
and vice-versa, when a child VF is allocated, the parent PF should not
be available.

Change-Id: Ib9f341b0f26d48939d3305f6575f2689682c2685

8 years agoMerge "Remove deprecated nova-manage vm list command"
Jenkins [Wed, 19 Oct 2016 15:40:52 +0000 (15:40 +0000)]
Merge "Remove deprecated nova-manage vm list command"

8 years agoMerge "PCI: Avoid looping over PCI devices twice"
Jenkins [Wed, 19 Oct 2016 12:03:58 +0000 (12:03 +0000)]
Merge "PCI: Avoid looping over PCI devices twice"

8 years agoMerge "Not allow overcommit ratios to be negative"
Jenkins [Wed, 19 Oct 2016 11:02:50 +0000 (11:02 +0000)]
Merge "Not allow overcommit ratios to be negative"

8 years agoMerge "Avoid Forcing the Translation of Translatable Variables"
Jenkins [Wed, 19 Oct 2016 03:43:41 +0000 (03:43 +0000)]
Merge "Avoid Forcing the Translation of Translatable Variables"

8 years agoRemove deprecated nova-manage vm list command
Matt Riedemann [Tue, 18 Oct 2016 14:48:13 +0000 (10:48 -0400)]
Remove deprecated nova-manage vm list command

The nova-manage vm list command was deprecated in newton
with change:

5a5b06fb24fc6e392eb5381f1348e475f1302e1e

Change-Id: I9b7a791b5b5a4c3375fcbfac081ba6bc40c84d6d

8 years agoMerge "Updated from global requirements"
Jenkins [Tue, 18 Oct 2016 13:30:04 +0000 (13:30 +0000)]
Merge "Updated from global requirements"

8 years agoMerge "conf: Group scheduler options"
Jenkins [Tue, 18 Oct 2016 13:29:32 +0000 (13:29 +0000)]
Merge "conf: Group scheduler options"

8 years agoMerge "Explicitly name commands target environments"
Jenkins [Tue, 18 Oct 2016 13:29:03 +0000 (13:29 +0000)]
Merge "Explicitly name commands target environments"

8 years agoMerge "Remove nova/openstack/* from .coveragerc"
Jenkins [Tue, 18 Oct 2016 13:28:30 +0000 (13:28 +0000)]
Merge "Remove nova/openstack/* from .coveragerc"

8 years agoPCI: Avoid looping over PCI devices twice
Ludovic Beliveau [Fri, 23 Sep 2016 13:41:27 +0000 (09:41 -0400)]
PCI: Avoid looping over PCI devices twice

The get_instance_pci_devs() methos is called twice when the libvirt
driver is creating the guest config when xen, qemu or kvm hypervisor is
used.

This also makes the code easier to understand.

Change-Id: Id6d5ee1d46ee0d8cab9432f24af3c1493080545a

8 years agoMerge "Improve help text for upgrade_levels options"
Jenkins [Tue, 18 Oct 2016 12:32:02 +0000 (12:32 +0000)]
Merge "Improve help text for upgrade_levels options"

8 years agoMerge "compute: fixes python 3 related unit tests"
Jenkins [Tue, 18 Oct 2016 12:28:50 +0000 (12:28 +0000)]
Merge "compute: fixes python 3 related unit tests"

8 years agoMerge "Move some flavor fakes closer to where they are being used"
Jenkins [Tue, 18 Oct 2016 12:13:40 +0000 (12:13 +0000)]
Merge "Move some flavor fakes closer to where they are being used"

8 years agoMerge "Replace flavors.get_all_flavors_sorted_list() with object call"
Jenkins [Tue, 18 Oct 2016 12:13:09 +0000 (12:13 +0000)]
Merge "Replace flavors.get_all_flavors_sorted_list() with object call"

8 years agoMerge "Refactor and objectify flavor fakes used in api tests"
Jenkins [Tue, 18 Oct 2016 11:54:43 +0000 (11:54 +0000)]
Merge "Refactor and objectify flavor fakes used in api tests"

8 years agocompute: fixes python 3 related unit tests
Claudiu Belu [Fri, 1 Apr 2016 00:22:39 +0000 (03:22 +0300)]
compute: fixes python 3 related unit tests

Fixes volume related unit tests.
Fixes non-sortable None items.
Fixes __getattr__ infinite recursion.
Fixes is_dict_like method. Dicts in python 3.4 do not
have the 'has_key' method.

Partially Implements: blueprint goal-python35

Change-Id: I97efc09f7657436f706b08e0b2795f0e59ac1dcd

8 years agoMerge "Fill destination check data with VNC/SPICE listen addresses"
Jenkins [Tue, 18 Oct 2016 04:46:19 +0000 (04:46 +0000)]
Merge "Fill destination check data with VNC/SPICE listen addresses"

8 years agoMerge "block_device: Make refresh_conn_infos py3 compatible"
Jenkins [Tue, 18 Oct 2016 04:45:51 +0000 (04:45 +0000)]
Merge "block_device: Make refresh_conn_infos py3 compatible"

8 years agoMerge "api-ref: Fix wrong parameters in os-volumes.inc"
Jenkins [Tue, 18 Oct 2016 04:45:21 +0000 (04:45 +0000)]
Merge "api-ref: Fix wrong parameters in os-volumes.inc"

8 years agoMerge "Fix exception due to BDM race in get_available_resource()"
Jenkins [Tue, 18 Oct 2016 04:44:50 +0000 (04:44 +0000)]
Merge "Fix exception due to BDM race in get_available_resource()"

8 years agoXenAPI: Fix VM live-migrate with iSCSI SR volume
Huan Xie [Wed, 24 Aug 2016 02:25:10 +0000 (02:25 +0000)]
XenAPI: Fix VM live-migrate with iSCSI SR volume

With XenServer 7.0 (XCP 2.1.0), VM live migration with iSCSI volume
will fail due to no relax_xsm_sr_check in /etc/xapi.conf in Dom0.
But since XS7.0, the default value of relax_xsm_sr_check is true if
not configured in /etc/xapi.conf in Dom0.
This fix is to add checks on XCP version, if it's equal or greater
than 2.1.0, will treat relax_xsm_sr_check=true if not found in
/etc/xapi.conf

Change-Id: I88d1d384ab7587c428e517d184258bb517dfb4ab
Closes-bug: #1610932

8 years agoMerge "Cleanup some redundant USES_DB_SELF usage"
Jenkins [Tue, 18 Oct 2016 02:34:45 +0000 (02:34 +0000)]
Merge "Cleanup some redundant USES_DB_SELF usage"

8 years agoMerge "Fix typo in comment"
Jenkins [Tue, 18 Oct 2016 02:05:13 +0000 (02:05 +0000)]
Merge "Fix typo in comment"

8 years agoMerge "Drop deprecated support for hw_watchdog_action flavor extra spec"
Jenkins [Tue, 18 Oct 2016 02:04:41 +0000 (02:04 +0000)]
Merge "Drop deprecated support for hw_watchdog_action flavor extra spec"

8 years agoExplicitly name commands target environments
Joshua Harlow [Mon, 17 Oct 2016 20:53:10 +0000 (13:53 -0700)]
Explicitly name commands target environments

Naming envs like this is breaking the current
oslo periodic day job; a simple way to unbreak this
is to name them explicitly (which appears to be
more common).

So this changes the command listing to do just that
as well as lists py35 in the envlist (because its
a valid target).

Change-Id: I2a162604b60df8f18ff53069c6bf99cfecc4217e

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Mon, 17 Oct 2016 15:47:49 +0000 (15:47 +0000)]
Updated from global requirements

Change-Id: I85e8f943207a42c5d8bf5ab378ca470c4de1d170

8 years agohardware: Standarized flavor/image meta extraction
Stephen Finucane [Mon, 17 Oct 2016 14:19:15 +0000 (15:19 +0100)]
hardware: Standarized flavor/image meta extraction

Extracting a configuration option from both flavor extra specs and
image metadata is rather common operation. Standardize how we do it.

Change-Id: Ic993d79e155805160fc7dcad269f6423a145c272

8 years agoapi-ref: Fix wrong parameters in os-volumes.inc
Takashi NATSUME [Tue, 26 Jul 2016 04:20:35 +0000 (13:20 +0900)]
api-ref: Fix wrong parameters in os-volumes.inc

In os-snapshots APIs, the display name is the snapshot name,
not the volume name.
The display description is the snapshot description,
not the volume description.
So fix them.

Change-Id: I33cd59b759c6f7c8eca8bd511ba43637e7b27c1c
Closes-Bug: #1611292

8 years agoMerge "Remove watchdog_actions module"
Jenkins [Mon, 17 Oct 2016 09:19:30 +0000 (09:19 +0000)]
Merge "Remove watchdog_actions module"

8 years agoMerge "Ironic Driver: override get_serial_console()"
Jenkins [Fri, 14 Oct 2016 20:39:43 +0000 (20:39 +0000)]
Merge "Ironic Driver: override get_serial_console()"

8 years agoCorrect bug in microversion headers in placement
Jay Pipes [Tue, 11 Oct 2016 03:08:30 +0000 (23:08 -0400)]
Correct bug in microversion headers in placement

Found a small bug in the handling of a 406 error by the placement API's
microversion handling code that only appeared when more than one
microversion was used.

Change-Id: I8562e9ce962352033e43a3b993f8b8ba6f211fd4

8 years agoMerge "Updated from global requirements"
Jenkins [Fri, 14 Oct 2016 17:37:40 +0000 (17:37 +0000)]
Merge "Updated from global requirements"

8 years agoMerge "Stop using mox in virt/libvirt/test_imagecache.py"
Jenkins [Fri, 14 Oct 2016 16:25:57 +0000 (16:25 +0000)]
Merge "Stop using mox in virt/libvirt/test_imagecache.py"

8 years agoMerge "Remove mox from nova/tests/unit/virt/libvirt/test_utils.py"
Jenkins [Fri, 14 Oct 2016 16:25:08 +0000 (16:25 +0000)]
Merge "Remove mox from nova/tests/unit/virt/libvirt/test_utils.py"

8 years agoMerge "Stop using mox in unit/fake_processutils.py"
Jenkins [Fri, 14 Oct 2016 16:24:17 +0000 (16:24 +0000)]
Merge "Stop using mox in unit/fake_processutils.py"

8 years agoMerge "Add InvalidInput handling for attach-volume"
Jenkins [Fri, 14 Oct 2016 16:23:33 +0000 (16:23 +0000)]
Merge "Add InvalidInput handling for attach-volume"

8 years agoIronic Driver: override get_serial_console()
Dao Cong Tien [Fri, 10 Jun 2016 08:02:43 +0000 (15:02 +0700)]
Ironic Driver: override get_serial_console()

This implements Nova-compatible serial console for Ironic in
Nova scope.

[Nova] blueprint ironic-serial-console-support
[Ironic] spec
    https://review.openstack.org/319505
[Ironic] related patches
    https://review.openstack.org/#/c/293873/
    https://review.openstack.org/#/c/328168/
[Ironic] Related-Bug: #1553083

Change-Id: I38e803021d71fc0760a8ae99b3e97dd0aecb5088

8 years agoMerge "Document experimental pipeline in Nova CI"
Jenkins [Fri, 14 Oct 2016 15:19:19 +0000 (15:19 +0000)]
Merge "Document experimental pipeline in Nova CI"

8 years agoMerge "libvirt: fix serial console not correctly defined after live-migration"
Jenkins [Fri, 14 Oct 2016 14:55:28 +0000 (14:55 +0000)]
Merge "libvirt: fix serial console not correctly defined after live-migration"

8 years agoMerge "Fix exception when vcpu_pin_set is set to """
Jenkins [Fri, 14 Oct 2016 13:23:46 +0000 (13:23 +0000)]
Merge "Fix exception when vcpu_pin_set is set to """

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Fri, 14 Oct 2016 05:40:57 +0000 (05:40 +0000)]
Updated from global requirements

Change-Id: Ib977f112cc4ef92f337c4086a29af5579bfa3baa

8 years agoDrop deprecated support for hw_watchdog_action flavor extra spec
Matt Riedemann [Thu, 13 Oct 2016 18:41:27 +0000 (14:41 -0400)]
Drop deprecated support for hw_watchdog_action flavor extra spec

Since change Ic5344ec34a130ee5a0ed2c7348af0b9d79e3508e which goes
back to Icehouse we've allowed using hw_watchdog_action for both
image metadata and flavor extra specs, even though you should
use hw:watchdog_action for flavor extra specs. Well, it's finally
time to remove the transition support for hw_watchdog_action in
flavor extra specs.

Change-Id: Ibf7bc549af498e2355ebdaf9e5d3337554a7f3d6

8 years agoRemove watchdog_actions module
Matt Riedemann [Thu, 13 Oct 2016 17:42:52 +0000 (13:42 -0400)]
Remove watchdog_actions module

The only purpose of the watchdog_actions module was
for a helper method to check against a list of enums
which are also defined in the WatchdogAction enum
field, so remove the module and just use the field enums.

Change-Id: I0de5fc4efc0ae0b5fe11a56669e180b450d3410a

8 years agoMerge "Update rolling upgrade steps from upgrades documentation"
Jenkins [Thu, 13 Oct 2016 16:27:42 +0000 (16:27 +0000)]
Merge "Update rolling upgrade steps from upgrades documentation"

8 years agoDocument experimental pipeline in Nova CI
Emilien Macchi [Tue, 4 Oct 2016 13:30:35 +0000 (09:30 -0400)]
Document experimental pipeline in Nova CI

Add a section in "core-review" to document how experimental pipeline would
be used by Nova developers in order to consume the resources at the
right time.

Change-Id: I5df377032c2fcec18cdf71af2568e028373bcced

8 years agoUpdate rolling upgrade steps from upgrades documentation
Pushkar Umaranikar [Tue, 20 Sep 2016 22:25:40 +0000 (22:25 +0000)]
Update rolling upgrade steps from upgrades documentation

Modify rolling upgrade steps from exisitng nova upgrades
documentation. Also, add pre-requisites required for the
zero downtime upgrade under newly created "Plan your upgrade"
section.

Change-Id: I4e884ac051614d25258734c35208b3abfe5fd3a4
Co-Authored-By: Sivasathurappan Radhakrishnan <siva.radhakrishnan@intel.com>
8 years agoMerge "Reduce duplication and complexity in format_dom"
Jenkins [Thu, 13 Oct 2016 11:25:44 +0000 (11:25 +0000)]
Merge "Reduce duplication and complexity in format_dom"

8 years agoMerge "Renamed parameters name in config.py"
Jenkins [Thu, 13 Oct 2016 11:20:41 +0000 (11:20 +0000)]
Merge "Renamed parameters name in config.py"

8 years agoAdd migrate_uri for invoking the migration
Alberto Planas [Wed, 17 Aug 2016 15:37:48 +0000 (17:37 +0200)]
Add migrate_uri for invoking the migration

Add migrate_uri parameter in Guest.migrate method, to indicate
the URI where we want to stablish the connection in a non-tunneled
migration.

Change-Id: I6c2ad0170d90560d7d710b578c45287e78c682d1
Closes-Bug: #1614063

8 years agoMerge "libvirt: cleanup never used migratable flag checking"
Jenkins [Thu, 13 Oct 2016 03:04:45 +0000 (03:04 +0000)]
Merge "libvirt: cleanup never used migratable flag checking"

8 years agoMerge "Require WebOb>=1.6.0"
Jenkins [Wed, 12 Oct 2016 22:40:39 +0000 (22:40 +0000)]
Merge "Require WebOb>=1.6.0"

8 years agoMerge "Fix issue with not removing rbd rescue disk"
Jenkins [Wed, 12 Oct 2016 22:21:47 +0000 (22:21 +0000)]
Merge "Fix issue with not removing rbd rescue disk"

8 years agoMerge "hacking: Use assertIs(Not), assert(True|False)"
Jenkins [Wed, 12 Oct 2016 21:26:09 +0000 (21:26 +0000)]
Merge "hacking: Use assertIs(Not), assert(True|False)"

8 years agoChanged the name of the standard resource classes
EdLeafe [Wed, 5 Oct 2016 21:34:42 +0000 (21:34 +0000)]
Changed the name of the standard resource classes

Originally, the declared names for the resource classes defined in
objects/fields.py were an enum, as the original design assumed that any
future resource classes would be added as a software upgrade release. As
is the convention, this enum was given the name 'ALL'. With the
introduction of custom resource classes that can be added by admins, the
defined classes are no longer an enum, so the name 'ALL' is misleading.
This patch renames it to the more accurate 'STANDARD'.

Change-Id: I251a6faa8c284eb91d190b47108664e67d824425
Blueprint: custom-resource-classes

8 years agoplacement: change resource class to a StringField
Jay Pipes [Thu, 29 Sep 2016 18:32:08 +0000 (14:32 -0400)]
placement: change resource class to a StringField

This patch modifies the fields.ResourceClass field type from an
EnumField to a StringField. This keeps the over-the-wire format of the
field backwards-compatible while allowing us to add non-standardized,
custom resource classes to the new resource_classes database table.

We change all locations of fields.ResourceClass.index() and
fields.ResourceClass.from_index() to use the ResourceClassCache object
added in the previous patch in this series and add some check logic in
Inventory and Allocation object's obj_make_compatible() methods to
ensure backversioned objects requesting or sending with a resource class
string different than the set of strings in the ResourceClass field at
the time of this patch raises a ValueError.

Change-Id: I2c1d4ae277ba25791c426e1c638dca1b1cb207a4
blueprint: custom-resource-classes

8 years agoMerge "Add quota related tables to the api database."
Jenkins [Wed, 12 Oct 2016 21:21:28 +0000 (21:21 +0000)]
Merge "Add quota related tables to the api database."

8 years agoRemove nova/openstack/* from .coveragerc
Matt Riedemann [Wed, 12 Oct 2016 20:20:49 +0000 (16:20 -0400)]
Remove nova/openstack/* from .coveragerc

The nova/openstack tree no longer exists since we
don't use oslo-incubator so no need to filter it
out in the coveragerc file.

Change-Id: I504144b2e26aec9a46aa1b415e44c7ab787fe021

8 years agoMerge "Stop using mox in test_firewall"
Jenkins [Wed, 12 Oct 2016 17:53:35 +0000 (17:53 +0000)]
Merge "Stop using mox in test_firewall"

8 years agoMerge "Use more specific asserts in tests"
Jenkins [Wed, 12 Oct 2016 17:52:57 +0000 (17:52 +0000)]
Merge "Use more specific asserts in tests"

8 years agoMerge "doc: add dev policy about no new metrics monitors"
Jenkins [Wed, 12 Oct 2016 17:24:40 +0000 (17:24 +0000)]
Merge "doc: add dev policy about no new metrics monitors"

8 years agoMerge "doc: note the future of out of tree support"
Jenkins [Wed, 12 Oct 2016 17:20:33 +0000 (17:20 +0000)]
Merge "doc: note the future of out of tree support"

8 years agoMerge "conf: Remove deprecated ``use_glance_v1``"
Jenkins [Wed, 12 Oct 2016 15:58:56 +0000 (15:58 +0000)]
Merge "conf: Remove deprecated ``use_glance_v1``"

8 years agoFix issue with not removing rbd rescue disk
Bartek Zurawski [Tue, 10 May 2016 15:31:19 +0000 (17:31 +0200)]
Fix issue with not removing rbd rescue disk

Currently when instance that use RBD as backend
is rescued and next unrescued, rescue image is
not removed, this cause issue when the same
instance is rescued again it's use old rescue
image not new one.

Change-Id: Idf4086303baa4b936c90be89552ad8deb45cef3a
Closes-Bug: #1475652

8 years agoRequire WebOb>=1.6.0
Matt Riedemann [Wed, 12 Oct 2016 14:25:09 +0000 (10:25 -0400)]
Require WebOb>=1.6.0

Nova change 4e923eb9a660593b8a7d2522992700182978a54c started
using the json_formatter kwarg which was introduced in WebOb
1.6.0:

https://github.com/Pylons/webob/commit/87c8749a57c1ff2442db2d74d9fb86935b7b201e

So we need to raise the minimum required version for nova to use.

Change-Id: Ia778a11afb03b6d4b57dbd55a801a5a28b10541d
Depends-On: I2bbad0c059cc514ba0be1d42c061056a342caadc
Closes-Bug: #1632723

8 years agoMerge "Fix pep8 E501 line too long"
Jenkins [Wed, 12 Oct 2016 12:58:56 +0000 (12:58 +0000)]
Merge "Fix pep8 E501 line too long"

8 years agoconf: Remove deprecated ``use_glance_v1``
Maciej Szankin [Tue, 11 Oct 2016 13:05:07 +0000 (15:05 +0200)]
conf: Remove deprecated ``use_glance_v1``

Glance option ``use_glance_v1`` was deprecated and
listed as to be removed for Ocata. This patch removes it.

Blueprint centralize-config-options-ocata

Change-Id: Id891172418535a88fefb8ea05d774fe39dc14eaf

8 years agoMerge "placement: add cache for resource classes"
Jenkins [Wed, 12 Oct 2016 11:32:33 +0000 (11:32 +0000)]
Merge "placement: add cache for resource classes"

8 years agoMerge "Always use python2.7 for functional tests"
Jenkins [Wed, 12 Oct 2016 11:30:58 +0000 (11:30 +0000)]
Merge "Always use python2.7 for functional tests"

8 years agoMerge "hardware: Rework docstrings"
Jenkins [Wed, 12 Oct 2016 11:30:22 +0000 (11:30 +0000)]
Merge "hardware: Rework docstrings"

8 years agoAdding hugepage and NUMA support check for aarch64
VeenaSL [Mon, 19 Sep 2016 08:06:53 +0000 (13:36 +0530)]
Adding hugepage and NUMA support check for aarch64

Nova ignores aarch64 while verifying for hugepage and NUMA support.
AARCH64 also supports hugepage and NUMA on the same libvirt versions as of x86.
Hence adding this chek for aarch64 also.

Change-Id: I7b5ae1dbdca4fdd0aee2eefd4099c4c4953b609a
Closes-bug: #1623871

8 years agoMerge "doc: Comment on latin1 vs utf8 charsets"
Jenkins [Wed, 12 Oct 2016 10:19:02 +0000 (10:19 +0000)]
Merge "doc: Comment on latin1 vs utf8 charsets"

8 years agohacking: Use assertIs(Not), assert(True|False)
Stephen Finucane [Wed, 31 Aug 2016 13:45:51 +0000 (14:45 +0100)]
hacking: Use assertIs(Not), assert(True|False)

This is per the OpenStack style guidelines.

Change-Id: Iec102872e2d5b004255ce897cc22c4d1a41c6f9e
Co-authored-by: Gabor Antal <antal@inf.u-szeged.hu>
8 years agoUse more specific asserts in tests
Gábor Antal [Tue, 30 Aug 2016 17:09:20 +0000 (19:09 +0200)]
Use more specific asserts in tests

Use asserts with more specific assert methods, e.g.: from
assertTrue(sth == None) to assertIsNone(*),
assertTrue(isinstance(inst, type)) to assertIsInstace(inst, type) or
assertTrue(not sth) to assertFalse(sth).

This change ensures a better description will be shown on fail. This is
the recommended way to use assertions provided by testtools.

Change-Id: Ia4a34e0145176e077bbf7e9ed6f69d815c6ed840
Co-authored-by: Stephen Finucane <sfinucan@redhat.com>
8 years agoMerge "conf: Move PCI options to a PCI group"
Jenkins [Wed, 12 Oct 2016 09:55:33 +0000 (09:55 +0000)]
Merge "conf: Move PCI options to a PCI group"

8 years agoAdd quota related tables to the api database.
Mark Doffman [Wed, 15 Jun 2016 15:09:19 +0000 (10:09 -0500)]
Add quota related tables to the api database.

Quotas are required to exist in the API database as we need to enforce
quotas across cells.

blueprint cells-quota-api-db

Change-Id: I52fd680eaa4880b06f7f8d4bd1bb74920e73195d

8 years agoMerge "docs: update the Public Contractual API link"
Jenkins [Wed, 12 Oct 2016 07:19:44 +0000 (07:19 +0000)]
Merge "docs: update the Public Contractual API link"

8 years agoMerge "ironic: Rename private methods for instance info"
Jenkins [Wed, 12 Oct 2016 00:48:53 +0000 (00:48 +0000)]
Merge "ironic: Rename private methods for instance info"