Commit Graph

43888 Commits

Author SHA1 Message Date
Karen Bradshaw dc1433be08 [api-ref] Minor text clean-up, formatting
- Cleaned up some wording, and formatted
  two rst notes.
- Moved cloudpipe.inc in index.rst to be located
  with other deprecated apis.

Change-Id: Ic3740540e8cc626110c77214acf87338e1abdd76
2016-11-29 12:31:46 -05:00
Jenkins 99ca2ea96f Merge "objects: Move 'cpumodel' to 'fields.CPU*'" 2016-11-29 12:12:09 +00:00
Jenkins f47716cb80 Merge "Default deleted if the instance from BuildRequest is not having it" 2016-11-29 11:51:25 +00:00
Jenkins 8dafe05b42 Merge "api-ref: add missing os-server-groups parameters" 2016-11-29 11:30:54 +00:00
Jenkins 10740664f8 Merge "api-ref: body verification for abort live migration" 2016-11-29 11:30:19 +00:00
Jenkins 25263890de Merge "Fix expected_attrs kwarg in server_external_events" 2016-11-29 11:26:13 +00:00
Jenkins e162ee3ab0 Merge "Improve help text for interval_opts" 2016-11-29 06:52:10 +00:00
Jenkins 00b359ce14 Merge "libvirt: Acquire TCP ports for console during live migration" 2016-11-28 23:46:41 +00:00
Jenkins e7c320deca Merge "vif: allow for creation of multiqueue taps in vrouter" 2016-11-28 23:46:06 +00:00
Jenkins 64eae8dce2 Merge "Check deleted flag in Instance.create()" 2016-11-28 23:44:05 +00:00
Matt Riedemann cbcff11b6a Fix expected_attrs kwarg in server_external_events
The Instance.get_by_uuid method takes an expected_attrs
kwarg which needs to be a list or tuple, not just any old
iterable like a string. Because of how the underlying
Instance object code massages this value, it's not a hard
failure but does mean you don't join the columns you expect
when getting the instance.

This makes it a list and makes sure the stub in the unit
tests is checking for valid values.

Change-Id: I3ad85f9062b5cb19962d9e6a7af52440166def45
Closes-Bug: #1645479
2016-11-28 16:45:58 -05:00
Jenkins 6195408224 Merge "objects: Move 'arch' to 'fields.Architecture'" 2016-11-28 19:32:15 +00:00
Dan Smith f3a280959a Check deleted flag in Instance.create()
An attempt to create an instance with the deleted flag set will
not work as intended, especially from instance.create(), which
can't properly pass the yet-to-be-determined deleted=id protocol.

This makes Instance.create() throw an error like the one for
being already created, and fixes the one test where we depend
on this working.

Change-Id: I60d18ca694a2eb7f333c0cf2a898cf8f17eb83dd
Closes-Bug: #1644513
2016-11-28 11:07:32 -08:00
Jenkins 4e747092bc Merge "Add RPC version aliases for Newton" 2016-11-28 18:01:39 +00:00
Sylvain Bauza 37ec9b99c7 Default deleted if the instance from BuildRequest is not having it
We should already have the rehydrated instance having the deleted field being
set. That field is also a BooleanField type, so we should never try to cast it
from an integer (even if we support it). Instead, we need to make sure that if
the field is not set for any reason (mostly because an Instance wasn't persisted
before we persisted the BuildRequest object that was nesting it), then we would
default the deleted field to False.

Change-Id: I828191f750a5978fed65a86e797388d11042b4a0
Related-Bug: #1644513
2016-11-28 18:36:53 +01:00
Markus Zoeller 898bb13304 libvirt: Acquire TCP ports for console during live migration
During a live migration process we reserve serial ports on
destination host and update domain XML during migration to
use the new reserved ports from destination.

If the migration succeeds we release ports on the source host.
If the migration fails we release reserved ports on the
destination host.

Co-Authored-By: Sahid Ferdjaoui <sahid.ferdjaoui@redhat.com>
Change-Id: Ie2524191d22cca2287eb7dbaa22b74d43e43c896
Closes-Bug: #1455252
2016-11-28 17:42:20 +01:00
Jenkins ce92ffec70 Merge "Remove sata bus for virtuozzo hypervisor" 2016-11-28 14:55:12 +00:00
Jenkins 14073a360c Merge "linux_net: allow for creation of multiqueue taps" 2016-11-28 12:35:07 +00:00
Jenkins 0f103797e9 Merge "List support for force-completing a live migration in Feature support matrix" 2016-11-28 10:41:17 +00:00
int32bit f2992f9c00 List support for force-completing a live migration in Feature support matrix
Change-Id: I0aedc23b8fed2fe6b60088f8ff131b3fa31b974c
Closes-Bug: #1641753
2016-11-28 19:53:41 +11:00
Jenkins 7b0db52b45 Merge "placement: genericize on resource providers" 2016-11-27 11:19:38 +00:00
Jenkins 85a26f727d Merge "Use available port binding constants" 2016-11-26 17:12:25 +00:00
Roman Podoliaka 146accfada vif: allow for creation of multiqueue taps in vrouter
This extends the work done in libvirt-virtio-net-multiqueue bp to
allow for enabling multiqueue mode for vrouter VIFs (OpenContrail).
In case of vrouter mechanism is slightly different and a tap device
created by nova-compute must already be in the multiqueue mode,
when it's passed to vrouter.

Implements blueprint vif-vrouter-multiqueue

Co-Authored-By: Michal Dubiel <md@semihalf.com>
Change-Id: I7b20650c8a772fdaa05707e0dfe27ad32481a2d3
2016-11-26 10:30:21 -05:00
Jenkins 0cb26c4ee1 Merge "Using get() method to prevent KeyError" 2016-11-26 10:19:42 +00:00
Jenkins 4bbb97f610 Merge "Placement api: Add informative message to 404 response." 2016-11-25 21:12:56 +00:00
Jenkins 7188bd01ec Merge "libvirt: prepare domain XML update for serial ports" 2016-11-25 16:57:47 +00:00
Stephen Finucane 33a52cd1c1 objects: Move 'cpumodel' to 'fields.CPU*'
Resolve the relevant TODO.

Change-Id: I33cbe27a9e772ad0bba3a37b677cc625ce2316c8
2016-11-25 16:19:43 +00:00
Stephen Finucane 4440d1086b objects: Move 'arch' to 'fields.Architecture'
Resolve the relevant TODO. Migrate tests in the process.

Change-Id: Ib27a52f603f557e99940ec88839b77860812fdd3
2016-11-25 16:19:41 +00:00
Anusha Unnam def4af2441 Improve help text for interval_opts
This commit adds additional help text to interval_opts and
instance_cleaning_opts. It also adds the 'min' param to IntOpts
where applicable.

Blueprint centralize-config-options-ocata

Change-Id: Id052419d5c2b52c5a3ec457afbb32ab150f813cb
2016-11-25 11:43:55 +00:00
Jenkins 22498982d1 Merge "libvirt: refactor console device creation methods" 2016-11-24 22:19:23 +00:00
Jenkins 63a363eb9d Merge "hardware: Flatten functions" 2016-11-24 21:23:17 +00:00
Jenkins eb4f9a44c7 Merge "libvirt: Delete the lase_device of find_disk_dev_for_disk_bus" 2016-11-24 20:10:39 +00:00
Jenkins 6d26335664 Merge "libvirt/guest.py: Update docstrings of block device methods" 2016-11-24 19:37:49 +00:00
Jenkins bc80c2b0db Merge "libvirt: Call host connection callbacks asynchronously" 2016-11-24 19:36:49 +00:00
Jenkins a522458ba0 Merge "libvirt: handle os-brick InvalidConnectorProtocol on init" 2016-11-24 19:36:05 +00:00
Jenkins 298d3e6b03 Merge "hardware: Split '_add_cpu_pinning_constraint'" 2016-11-24 19:12:39 +00:00
Jenkins 949ad17f0e Merge "tests: verify pci passthrough with numa" 2016-11-24 18:38:43 +00:00
Jenkins 91bf482d10 Merge "tests: verify cpu pinning with prefer policy" 2016-11-24 18:38:01 +00:00
Stephen Finucane 3f0711c3e3 hardware: Flatten functions
This will make subsquent changes easier to review.

Change-Id: Ia670e4d326613fe295d91bae45a379d700c33a5f
2016-11-24 17:30:50 +00:00
Jenkins a1d4cf25f9 Merge "Remove mox in tests/unit/objects/test_pci_device" 2016-11-24 17:14:16 +00:00
Jenkins d510135d1f Merge "Stop using mox from compute/test_multiple_create.py" 2016-11-24 17:13:34 +00:00
Jenkins 5354650fe5 Merge "Stop using mox stubs in test_snapshots.py" 2016-11-24 17:12:54 +00:00
Jenkins 5e91cede5b Merge "Stop using mox stubs in nova/tests/unit/virt/disk" 2016-11-24 17:08:48 +00:00
Roman Podoliaka 41d601851d linux_net: allow for creation of multiqueue taps
This is useful for e.g. enabling multiqueue support for vrouter: tap
devices created by Nova and then passed to libvirt must have
multiqueue enabled.

Implements blueprint vif-vrouter-multiqueue

Co-Authored-By: Michal Dubiel <md@semihalf.com>
Change-Id: I7170bf7c181b038bb3d70a3b86c87ee254d10efc
2016-11-24 15:49:18 +02:00
Jenkins 852baf1037 Merge "Transform instance.finish_resize notifications" 2016-11-24 11:12:16 +00:00
Jenkins 3304115b73 Merge "Add context param to confirm_migration virt call" 2016-11-24 10:51:47 +00:00
Jenkins 3fe0cf6921 Merge "Remove the description of compute_api_class option" 2016-11-24 10:51:13 +00:00
Jenkins 34080f8104 Merge "Notification object version test depends on SCHEMA" 2016-11-24 10:50:29 +00:00
Jenkins 5de12831bf Merge "doc: Add guidline about notification payload" 2016-11-24 10:49:44 +00:00
Jenkins d49f901b43 Merge "Use pick_context_manager throughout DB APIs" 2016-11-24 08:09:56 +00:00