]> xenbits.xensource.com Git - osstest/openstack-nova.git/log
osstest/openstack-nova.git
8 years agoAdd more description for rx and tx param
jichenjc [Thu, 3 Nov 2016 22:48:51 +0000 (06:48 +0800)]
Add more description for rx and tx param

Add more description for rx and tx in diagnostics command.

Change-Id: Ia4bc5a43a0a90392444dfbe710d6622986bf34b0
Closes-Bug: 1628368

8 years agolibvirt: add migration flag VIR_MIGRATE_PERSIST_DEST
Sahid Orentino Ferdjaoui [Tue, 8 Nov 2016 07:48:39 +0000 (02:48 -0500)]
libvirt: add migration flag VIR_MIGRATE_PERSIST_DEST

This commit adds in the default migration flags
VIR_MIGRATE_PERSIST_DEST which ensures that the domain XML migrated is
going to be set in libvird on destination node.

Change-Id: I7878e3cd227ed2cf6eb7c001e57c5fc830c0ec18

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Mon, 7 Nov 2016 18:56:32 +0000 (18:56 +0000)]
Updated from global requirements

Change-Id: I5657f22c2e9db9d6ff1d9bef9ed6b9c3f4afde72

8 years agoMerge "placement: add ResourceClass and ResourceClassList"
Jenkins [Mon, 7 Nov 2016 18:30:46 +0000 (18:30 +0000)]
Merge "placement: add ResourceClass and ResourceClassList"

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Sun, 6 Nov 2016 02:03:47 +0000 (02:03 +0000)]
Updated from global requirements

Change-Id: Id4ed29504256fbf879a51481c6e2a3b44d8fe62d

8 years agoMerge "placement: raise exc when resource class not found"
Jenkins [Fri, 4 Nov 2016 22:00:40 +0000 (22:00 +0000)]
Merge "placement: raise exc when resource class not found"

8 years agoMerge "Don't parse PCI whitelist every time neutron ports are created"
Jenkins [Fri, 4 Nov 2016 17:37:25 +0000 (17:37 +0000)]
Merge "Don't parse PCI whitelist every time neutron ports are created"

8 years agoDon't parse PCI whitelist every time neutron ports are created
Ludovic Beliveau [Mon, 4 Jul 2016 13:45:07 +0000 (09:45 -0400)]
Don't parse PCI whitelist every time neutron ports are created

The neutronv2 API is calling the method get_pci_device_devspec()
everytime a neutron port is created in order to get a PciDeviceSpec for a given
PCI device.  This method creates a new Whitelist (based on the config
CONF.pci_passthrough_whitelist) and parses it every time it is called.  This
is not a huge overhead but this is obvioulsy not needed and a waste of cycles.

Since only neutronv2 API uses get_pci_device_devspec(), this commit removes
the method in favor of using the Whitelist object directly (like it is done
in the PciDevTracker).

Change-Id: Idee4e9edecff0672680f323a916201aee8eeeabd
Closes-Bug: #1598843

8 years agoMerge "fix connection context manager in rc cache"
Jenkins [Fri, 4 Nov 2016 11:22:37 +0000 (11:22 +0000)]
Merge "fix connection context manager in rc cache"

8 years agoMerge "Log warning when user set improper config option value"
Jenkins [Fri, 4 Nov 2016 02:34:06 +0000 (02:34 +0000)]
Merge "Log warning when user set improper config option value"

8 years agoMerge "Fix database poison warnings, part 24"
Jenkins [Fri, 4 Nov 2016 01:33:07 +0000 (01:33 +0000)]
Merge "Fix database poison warnings, part 24"

8 years agoMerge "Fix database poison warnings, part 23"
Jenkins [Fri, 4 Nov 2016 01:26:45 +0000 (01:26 +0000)]
Merge "Fix database poison warnings, part 23"

8 years agoMerge "fix testcase test_check_can_live_migrate_dest_fills_listen_addrs"
Jenkins [Thu, 3 Nov 2016 22:40:50 +0000 (22:40 +0000)]
Merge "fix testcase test_check_can_live_migrate_dest_fills_listen_addrs"

8 years agoMerge "libvirt: add supported vif types for virtuozzo virt_type"
Jenkins [Thu, 3 Nov 2016 22:40:12 +0000 (22:40 +0000)]
Merge "libvirt: add supported vif types for virtuozzo virt_type"

8 years agoMerge "libvirt: sync time on resumed from suspend instances"
Jenkins [Thu, 3 Nov 2016 22:34:22 +0000 (22:34 +0000)]
Merge "libvirt: sync time on resumed from suspend instances"

8 years agoMerge "PCI: Fix PCI with fully qualified address"
Jenkins [Thu, 3 Nov 2016 17:30:34 +0000 (17:30 +0000)]
Merge "PCI: Fix PCI with fully qualified address"

8 years agoMerge "pci: remove pci device from claims and allocations when freeing it"
Jenkins [Thu, 3 Nov 2016 17:19:54 +0000 (17:19 +0000)]
Merge "pci: remove pci device from claims and allocations when freeing it"

8 years agoMerge "Fix import statement order"
Jenkins [Thu, 3 Nov 2016 17:19:17 +0000 (17:19 +0000)]
Merge "Fix import statement order"

8 years agoMerge "libvirt: fix incorrect host cpus giving to emulator threads when RT"
Jenkins [Thu, 3 Nov 2016 17:18:32 +0000 (17:18 +0000)]
Merge "libvirt: fix incorrect host cpus giving to emulator threads when RT"

8 years agoMerge "Add related options to floating ip config options"
Jenkins [Thu, 3 Nov 2016 16:56:50 +0000 (16:56 +0000)]
Merge "Add related options to floating ip config options"

8 years agoMerge "Transform instance.shutdown notifications"
Jenkins [Thu, 3 Nov 2016 16:09:49 +0000 (16:09 +0000)]
Merge "Transform instance.shutdown notifications"

8 years agoMerge "Transform instance.power_off notifications"
Jenkins [Thu, 3 Nov 2016 16:08:55 +0000 (16:08 +0000)]
Merge "Transform instance.power_off notifications"

8 years agoMerge "Transform instance.unpause notifications"
Jenkins [Thu, 3 Nov 2016 16:08:19 +0000 (16:08 +0000)]
Merge "Transform instance.unpause notifications"

8 years agoMerge "Transform instance.unshelve notifications"
Jenkins [Thu, 3 Nov 2016 16:07:43 +0000 (16:07 +0000)]
Merge "Transform instance.unshelve notifications"

8 years agoplacement: add ResourceClass and ResourceClassList
Jay Pipes [Fri, 14 Oct 2016 19:53:25 +0000 (15:53 -0400)]
placement: add ResourceClass and ResourceClassList

In preparation for the placement REST API getting CRUD operations on
resource classes, create ResourceClass and ResourceClassList objects.
In this patch, we only add a ResourceClassList.get_all() method that
merges the standardized resource classes with any custom resource
classes that might have been added to the resource_classes table.
Followup patches will add the create(), delete() and save() methods and
then finally the REST API changes.

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

8 years agoplacement: raise exc when resource class not found
Jay Pipes [Sun, 23 Oct 2016 08:58:25 +0000 (10:58 +0200)]
placement: raise exc when resource class not found

The ResourceProvider.set_inventory() method was not raising NotFound
when an Inventory object in the supplied InventoryList object was using
a resource class that did not exist in the resource class cache. This
patch fixes that by having the string_from_id() and id_from_string()
methods of the resource class cache raise ResourceClassNotFound instead
of returning None. We raise specific ResourceClassNotFound and
InventoryWithResourceClassNotFound exception subclasses to differentiate
in the inventory API handler between an unknown resource class and a
known resource class that doesn't exist in a given resource provider's
inventory.

We return a 400 Not Found when InventoryWithResourceClassNotFound is
raised on updating a single inventory, but return a 409 Conflict when
InventoryWithResourceClassNotFound is raised on updating a set of
inventory records since in the latter scenario, it represents a race
condition that frankly should not occur.

Change-Id: I350b02dcdbaa9d30d885cd085f60daa6b53a7745

8 years agofix connection context manager in rc cache
Jay Pipes [Thu, 3 Nov 2016 15:31:49 +0000 (11:31 -0400)]
fix connection context manager in rc cache

This patch changes the context manager call in the _refresh_from_db()
method from this:

with ctx.session.connection() as conn:

to this:

with db_api.api_context_manager.reader.connection.using(ctx):

This is necessary to prevent errors about using a closed connection that
surfaced when writing a functional test case that tested that deleting a
custom resource class when inventory is associated with that custom
resource class.

Change-Id: I844d00028281ccbbfa527cd77469592fe1d7c151

8 years agoMerge "Remove unreachable code"
Jenkins [Thu, 3 Nov 2016 15:47:16 +0000 (15:47 +0000)]
Merge "Remove unreachable code"

8 years agoMerge "config options: Improve help for SPICE"
Jenkins [Thu, 3 Nov 2016 15:15:57 +0000 (15:15 +0000)]
Merge "config options: Improve help for SPICE"

8 years agopci: remove pci device from claims and allocations when freeing it
Moshe Levi [Tue, 13 Sep 2016 06:30:59 +0000 (09:30 +0300)]
pci: remove pci device from claims and allocations when freeing it

In drop_move_claim we call free pci device when we need to drop a
specific device from the src/dest node. This is done by calling
pci manager free_device. The current code just update the device
status to available in database but doesn't remove it from the
pci manager claims and allocations lists. This patch adds the
removal as well.

Closes-Bug: #1622854

Change-Id: If1cd6f3a635759cd55d116a34ca164630c61e085

8 years agoPCI: Fix PCI with fully qualified address
Ludovic Beliveau [Wed, 31 Aug 2016 18:27:43 +0000 (14:27 -0400)]
PCI: Fix PCI with fully qualified address

Specifying a PF passthrough device in the pci_passthrough_whitelist using its
fully qualified PCI address (no wildcard) causes the device to not be
properly loaded.  The PCI device is then not available to be assigned to any
guest.

In this case, the hypervisor reports the PF device without a 'parent_addr'.
But in the PciAddress, match() is using it when doing the comparison to its
own address.

This commit changes the logic of the address matching method in PciDevSpec to
only try to match the address with a physical function device when a
'parent_addr' is reported by the hypervisor.

Change-Id: I5255240871d8ad5c216500f39520339efe46e84b
Closes-Bug: #1613434

8 years agoLog warning when user set improper config option value
ChangBo Guo(gcb) [Fri, 12 Aug 2016 05:05:01 +0000 (13:05 +0800)]
Log warning when user set improper config option value

User may set wrong values for live migration related config options,
log warning when setting with wrong values, will use parameter min
of IntOpt to enforce these config options' values in Pike.

Change-Id: I064958998939da3e05bd04631a36d2a507bf50c1

8 years agolibvirt: fix incorrect host cpus giving to emulator threads when RT
Sahid Orentino Ferdjaoui [Wed, 17 Aug 2016 10:51:25 +0000 (06:51 -0400)]
libvirt: fix incorrect host cpus giving to emulator threads when RT

Realtime guarantees in certain operating systems require that the
thread that is running the QEMU emulator is pinned to a physical CPU
that is *not* the same as any physical CPU that the vCPUs for a
realtime guest are pinned to. This patch ensures that the value of the
hw:cpu_realtime_mask flavor extraspec property is respected when
creating the libvirt configuration XML and sets emulatorpin values to
a physical CPU matching the hw:cpu_realtime_mask value.

Change-Id: I7f50dde0753b059a690dc50172fee645c94b8e5b
Closes-Bug: #1614054

8 years agoMerge "Remove conductor local api:s and 'use_local' config option"
Jenkins [Wed, 2 Nov 2016 21:49:19 +0000 (21:49 +0000)]
Merge "Remove conductor local api:s and 'use_local' config option"

8 years agoMerge "Cleanup before removal of conductor local apis"
Jenkins [Wed, 2 Nov 2016 21:45:39 +0000 (21:45 +0000)]
Merge "Cleanup before removal of conductor local apis"

8 years agoTransform instance.shutdown notifications
Sivasathurappan Radhakrishnan [Thu, 7 Jul 2016 06:46:50 +0000 (06:46 +0000)]
Transform instance.shutdown notifications

Instance.shutdown.start and instance.shutdown.end notifications
are transformed to the new versioned framework.

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

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Wed, 2 Nov 2016 15:36:54 +0000 (15:36 +0000)]
Updated from global requirements

Change-Id: I0704601ca7ba9a84ffbb9d25ae0b0c7a51032d35

8 years agoMerge "libvirt: Pass Host instead of Driver to volume drivers"
Jenkins [Wed, 2 Nov 2016 13:44:04 +0000 (13:44 +0000)]
Merge "libvirt: Pass Host instead of Driver to volume drivers"

8 years agoMerge "api-ref: document the power_state enum values"
Jenkins [Wed, 2 Nov 2016 12:24:49 +0000 (12:24 +0000)]
Merge "api-ref: document the power_state enum values"

8 years agoMerge "Use six.wraps"
Jenkins [Wed, 2 Nov 2016 12:20:37 +0000 (12:20 +0000)]
Merge "Use six.wraps"

8 years agoconfig options: Improve help for SPICE
Maciej Szankin [Mon, 16 May 2016 18:47:01 +0000 (13:47 -0500)]
config options: Improve help for SPICE

This patch improves help text for SPICE related configuration options.

Co-Authored-By: Chuck Carmack <carmack@us.ibm.com>
Implements blueprint centralize-config-options-ocata

Change-Id: I26702e0e38c267d8b2a1b1876398bf70b118f31e

8 years agoMerge "pci: in free_device(), compare by device id and not reference"
Jenkins [Tue, 1 Nov 2016 22:56:49 +0000 (22:56 +0000)]
Merge "pci: in free_device(), compare by device id and not reference"

8 years agoapi-ref: document the power_state enum values
Matt Riedemann [Tue, 1 Nov 2016 21:39:17 +0000 (17:39 -0400)]
api-ref: document the power_state enum values

The OS-EXT-STS:power_state attribute in a server GET response
is enum values which are meaningless unless you look at the
nova/compute/power_states.py code. This change adds a mapping
to the description on that field in the api-ref.

Note there are gaps in the sequence, those are for unused values
as seen in the nova.objects.fields.InstancePowerState class.

Change-Id: I2ef9f493e66ab04b13f439e73247dc306a1514b4

8 years agolibvirt: Pass Host instead of Driver to volume drivers
Matthew Booth [Tue, 1 Nov 2016 16:25:01 +0000 (16:25 +0000)]
libvirt: Pass Host instead of Driver to volume drivers

We were initialising libvirt volume drivers by passing the
LibvirtDriver object. However, this is only ever used to fetch the
Host. We update the interface to pass the Host instead. This is
cleaner, but also better represents the intent of the interface. They
should not be able to access arbitrary attributes of the LibvirtDriver
object.

Change-Id: I87ceeee1ec46dc22754321574b16e6c47b27a848

8 years agoMerge "TrivialFix: Fixed typo in 'MemoryPageSizeInvalid' exception name in docstrings"
Jenkins [Tue, 1 Nov 2016 16:21:22 +0000 (16:21 +0000)]
Merge "TrivialFix: Fixed typo in 'MemoryPageSizeInvalid' exception name in docstrings"

8 years agoMerge "Remove unnecessary debug logs of normal API ops"
Jenkins [Tue, 1 Nov 2016 14:56:42 +0000 (14:56 +0000)]
Merge "Remove unnecessary debug logs of normal API ops"

8 years agoRemove unreachable code
dineshbhor [Tue, 1 Nov 2016 11:37:50 +0000 (17:07 +0530)]
Remove unreachable code

If the host list from database is empty compute_node_get_all_by_host()
db api itself raises ComputeHostNotFound exception. There is no need to
check for empty list and raise ComputeHostNotFound exception explicitly.

TrivialFix

Change-Id: Ia466f15ff8c291f7772fcde2304888f9487fa2a8

8 years agoMerge "Send events to all relevant hosts if migrating"
Jenkins [Tue, 1 Nov 2016 10:31:41 +0000 (10:31 +0000)]
Merge "Send events to all relevant hosts if migrating"

8 years agoFix import statement order
Takashi NATSUME [Mon, 31 Oct 2016 12:21:10 +0000 (21:21 +0900)]
Fix import statement order

Fix import statement order to comply with
OpenStack Style Guidelines(*1).

*1: http://docs.openstack.org/developer/hacking/#import-order-template

TrivialFix
Change-Id: I8ded09c14396a46f9d0f8f565d1294b179ce09bc

8 years agoFix database poison warnings, part 24
Diana Clarke [Fri, 28 Oct 2016 14:56:17 +0000 (10:56 -0400)]
Fix database poison warnings, part 24

The following warning appears in the unit test logs a number of times.

    "UserWarning: This test uses methods that set internal oslo_db
state, but it does not claim to use the database. This will conflict
with the setup of tests that do use the database and cause failures
later."

This patch fixes all the warnings (7 new ones) from:

    unit.compute.test_compute_mgr.py

Note that this warning is only emitted once per unit test worker, so new
offenders will show up in the logs each time you fix a test until they
are all gone.

Change-Id: Ibe23b977f24a2840eee6f8386d7c0bbbab6783fa
Related-Bug: #1568414

8 years agolibvirt: sync time on resumed from suspend instances
Vladik Romanovsky [Wed, 19 Oct 2016 16:21:40 +0000 (12:21 -0400)]
libvirt: sync time on resumed from suspend instances

Time is not being synchronized for migrated or resumed from suspend instances
as guest.resume() method is not being called on these operations.

Calling sync_guest_time directly in the resume method as well as in
finish_migration.

Resolves-Bug: #1636565

Change-Id: Ie140bc0912e6b312d3fcbee7e9650a81076eda4d

8 years agoFix database poison warnings, part 23
Diana Clarke [Fri, 28 Oct 2016 13:31:13 +0000 (09:31 -0400)]
Fix database poison warnings, part 23

The following warning appears in the unit test logs a number of times.

    "UserWarning: This test uses methods that set internal oslo_db
state, but it does not claim to use the database. This will conflict
with the setup of tests that do use the database and cause failures
later."

This patch fixes all the warnings (12 new ones) from:

    nova.tests.unit.virt.ironic.test_driver.py

Note that this warning is only emitted once per unit test worker, so new
offenders will show up in the logs each time you fix a test until they
are all gone.

Change-Id: I2f11c85a3fd192d93f010b781af60b78ff6914b9
Related-Bug: #1568414

8 years agoMerge "Clarify what changed with scheduler_host_manager."
Jenkins [Fri, 28 Oct 2016 12:37:01 +0000 (12:37 +0000)]
Merge "Clarify what changed with scheduler_host_manager."

8 years agoMerge "Transform instance.resume notifications"
Jenkins [Fri, 28 Oct 2016 10:58:25 +0000 (10:58 +0000)]
Merge "Transform instance.resume notifications"

8 years agoTransform instance.unpause notifications
MikeG451 [Fri, 30 Sep 2016 23:08:31 +0000 (23:08 +0000)]
Transform instance.unpause notifications

The instance.unpause.start and instance.unpause.end notifications
are transformed to the versioned framework.

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

8 years agoMerge "Removal of tests with different result depending on testing env"
Jenkins [Fri, 28 Oct 2016 09:06:00 +0000 (09:06 +0000)]
Merge "Removal of tests with different result depending on testing env"

8 years agoMerge "Fix bug in "nova/tests/unit/virt/test_virt_drivers.py" for os-vif"
Jenkins [Fri, 28 Oct 2016 09:05:15 +0000 (09:05 +0000)]
Merge "Fix bug in "nova/tests/unit/virt/test_virt_drivers.py" for os-vif"

8 years agoMerge "Update docs for serial console support"
Jenkins [Fri, 28 Oct 2016 09:04:41 +0000 (09:04 +0000)]
Merge "Update docs for serial console support"

8 years agoMerge "Fix database poison warnings, part 22"
Jenkins [Fri, 28 Oct 2016 07:59:10 +0000 (07:59 +0000)]
Merge "Fix database poison warnings, part 22"

8 years agoMerge "Fix database poison warnings, part 20"
Jenkins [Fri, 28 Oct 2016 07:57:54 +0000 (07:57 +0000)]
Merge "Fix database poison warnings, part 20"

8 years agoMerge "Fix database poison warnings, part 21"
Jenkins [Fri, 28 Oct 2016 07:57:19 +0000 (07:57 +0000)]
Merge "Fix database poison warnings, part 21"

8 years agoMerge "Fix database poison warnings, part 19"
Jenkins [Fri, 28 Oct 2016 07:56:40 +0000 (07:56 +0000)]
Merge "Fix database poison warnings, part 19"

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Thu, 27 Oct 2016 12:19:17 +0000 (12:19 +0000)]
Updated from global requirements

Change-Id: I9d99b300afe6c501c03e69de70870fda07cc0796

8 years agoMerge "Imported Translations from Zanata"
Jenkins [Thu, 27 Oct 2016 12:08:19 +0000 (12:08 +0000)]
Merge "Imported Translations from Zanata"

8 years agoMerge "Make build_requests.instance MediumText"
Jenkins [Thu, 27 Oct 2016 12:04:07 +0000 (12:04 +0000)]
Merge "Make build_requests.instance MediumText"

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Thu, 27 Oct 2016 08:19:38 +0000 (08:19 +0000)]
Imported Translations from Zanata

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I8f61f3681cac819d75a1b6a8979ca174559c08e7

8 years agoMerge "Updated from global requirements"
Jenkins [Wed, 26 Oct 2016 19:48:09 +0000 (19:48 +0000)]
Merge "Updated from global requirements"

8 years agoMerge "Catch error and log warning when not able to update mtimes"
Jenkins [Wed, 26 Oct 2016 18:43:39 +0000 (18:43 +0000)]
Merge "Catch error and log warning when not able to update mtimes"

8 years agoTransform instance.unshelve notifications
stewie925 [Wed, 5 Oct 2016 16:27:36 +0000 (09:27 -0700)]
Transform instance.unshelve notifications

The instance.unshelve.start and instance.unshelve.end
notifications are transformed to the versioned framework.

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

8 years agoTrivialFix: Fixed typo in 'MemoryPageSizeInvalid' exception name in docstrings
Sergey Nikitin [Wed, 26 Oct 2016 12:53:52 +0000 (15:53 +0300)]
TrivialFix: Fixed typo in 'MemoryPageSizeInvalid' exception name in docstrings

Change-Id: Iabc552671de82179b5de6164c6ca1b781f4a5ca6

8 years agoMake build_requests.instance MediumText
Matt Riedemann [Wed, 26 Oct 2016 10:23:42 +0000 (06:23 -0400)]
Make build_requests.instance MediumText

The build_requests.instance column is a serialized
instance object, and the instances.user_data column
is MediumText, so the build_requests.instance column
itself needs to be at least MediumText in size for MySQL.

Change-Id: I7d65df37c02750593037744543ad15e5bc64e913
Closes-Bug: #1635446

8 years agoUse six.wraps
Ice Yao [Sun, 24 Jul 2016 16:49:29 +0000 (00:49 +0800)]
Use six.wraps

use six.wraps to replace functools.wraps

TrivialFix

Change-Id: If4a15882fbd88b9a6635d5277da9b951b5b3b68d

8 years agoMerge "Transform instance.shelve_offload notifications"
Jenkins [Wed, 26 Oct 2016 06:56:58 +0000 (06:56 +0000)]
Merge "Transform instance.shelve_offload notifications"

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 agoTransform instance.shelve_offload notifications
Béla Vancsics [Mon, 17 Oct 2016 14:02:36 +0000 (16:02 +0200)]
Transform instance.shelve_offload notifications

Instance.shelve_offload.start and instance.shelve_offload.end notifications
are transformed to the new versioned framework.

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

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 agoUpdated from global requirements
OpenStack Proposal Bot [Sat, 22 Oct 2016 01:24:04 +0000 (01:24 +0000)]
Updated from global requirements

Change-Id: I0c74d6fb97ca8b887a2eaba5eed8398c9b135e1d

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 agoTransform instance.power_off notifications
Andy Hsiang [Thu, 16 Jun 2016 19:27:06 +0000 (15:27 -0400)]
Transform instance.power_off notifications

The instance.power_off.start and instance.power_off.end notifications
are transformed to the versioned framework.

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

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 agolibvirt: add supported vif types for virtuozzo virt_type
Maxim Nestratov [Tue, 6 Sep 2016 08:33:05 +0000 (11:33 +0300)]
libvirt: add supported vif types for virtuozzo virt_type

Enable vif driver configuring for virtuozzo and make configuration
parameter use_virtio_for_bridges be usable for virtuozzo hypervisor.

Change-Id: Ied17a5406d5625f1e9f704e5b9b46d300f2870c2
Closes-Bug: #1635230

8 years agofix testcase test_check_can_live_migrate_dest_fills_listen_addrs
Mikhail Feoktistov [Wed, 19 Oct 2016 11:42:51 +0000 (07:42 -0400)]
fix testcase test_check_can_live_migrate_dest_fills_listen_addrs

We should set return_value=1 for compareCPU hook.
Otherwise we'll get an exception InvalidCPUInfo:
CPU doesn't have compatibility

Change-Id: Id9313eb46084e60cf0c7f5a77fe9a8a7dc86b8fb
Closes-Bug: #1634962

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