Commit Graph

47501 Commits

Author SHA1 Message Date
Jenkins fc454044d6 Merge "hardware offload support for openvswitch" 2017-08-03 19:08:06 +00:00
Stephen Finucane 24cdb620f9 doc: Make use of definition lists, literals
Part of bp: doc-migration

Change-Id: I270c29fa9d7f02ccc4437f05a86edb79a3a373ba
2017-08-03 14:42:34 +01:00
Moshe Levi ccc1def0f5 hardware offload support for openvswitch
In Kernel 4.8 we introduced Traffic Control (TC see [1]) hardware offloads
framework for SR-IOV VFs which allows us to configure the NIC [2].
Subsequent OVS patches [3] allows us to use the TC framework
to offload OVS datapath rules. This feature is supported in OVS 2.8.0.

This patch adds support for VIF_TYPE_OVS with vnic_type direct

blueprint sriov-ovs-offload

[1] http://netdevconf.org/1.2/papers/efraim-gerlitz-sriov-ovs-final.pdf
[2] https://patchwork.ozlabs.org/patch/738176/
[3] https://mail.openvswitch.org/pipermail/ovs-dev/2017-April/330606.html

Change-Id: I3f38954bc5cf7b1690182dc8af45078eea275aa4
2017-08-03 13:30:30 +00:00
Sean Dague a87afe2fc2 reflow rpc doc to 80 columns
And add some additional horizontal white space to make it easier to
understand different long bullets are different.

Part of bp: doc-migration

Change-Id: I36cd7513fa5d482b6cd85a062eace21704c49f85
2017-08-03 14:28:48 +01:00
Sean Dague ea669d3488 fix list rendering in policy-enforcement
Part of bp: doc-migration

Change-Id: Ia0355c14fba16416d0d6068d2478377dccfa2ed9
2017-08-03 08:10:16 -04:00
Sean Dague e6e5e521d2 fix list rendering in cells
Part of bp: doc-migration

Change-Id: If4b369a8d9a1acda0d8290183dd4f94159b6a3c9
2017-08-03 08:05:51 -04:00
Sean Dague 613f55c26a fix list rendering in aggregates
List items need to be exactly 2 spaces off of the parent, and the top
level left justified, otherwise <blockquote> gets thrown into the
html.

Part of bp: doc-migration

Change-Id: I16634edbc562aff69744e5d7c7275689326ab8d0
2017-08-03 08:02:24 -04:00
Sean Dague 3361769910 Fix list rendering in bdm doc.
What looked clear in the rst actually was far from clear when rendered
in HTML. The document was restructured a bit so all the options end up
in a single bullet list, and the combination description is a separate
section.

Part of bp: doc-migration

Change-Id: I2feee4018a332483658d24d299dbb04ec87f2df0
2017-08-03 07:59:41 -04:00
Sean Dague dafd133ab8 fix list rendering in rpc doc
list bullets have to be exactly 2 spaces indented from the parent, and
the top level is left justified, otherwise we get lots of <blockquote>
html tags inserted.

Part of bp: doc-migration

Change-Id: Ie8b311ca286601a47475b33ef80da272efc9be31
2017-08-03 07:50:27 -04:00
Sean Dague 12c0a66657 Fix list rendering in code-review.rst
Sub lists have to be indented exactly 2 additional spaces from their
parent, otherwise it is treated as a blockquote, which isn't what we
want.

Part of bp: doc-migration

Change-Id: Iab46b5e39e4bd0d154f33dc795f24362c77a88a5
2017-08-03 07:45:25 -04:00
Sean Dague cbab78e1b6 Fix whitespace in rest_api_version_history
The extra whitespace causes the content to be rendered in <blockquote>
which is not what we intended. It's far more noticable in the new
theme.

Part of bp: doc-migration

Change-Id: I18af115c17791cf2faf03311b857153f674c6367
2017-08-03 07:41:06 -04:00
Sean Dague ce53afce8c Fix lists in process doc
A lot of our rst was actually misformatted with extra spaces indenting
the bullet lists. This wasn't very visually noticable in the
oslosphinx theme, but it's really bad in the new theme. There will
need to be lots of fixes here, but will do them one page at a time.

Part of bp: doc-migration

Change-Id: Ic1d1383148b005b884fdfa3e9a9658adcb13ee70
2017-08-03 07:29:51 -04:00
Jenkins a40c7cb6bc Merge "Test resize to same host with placement api" 2017-08-03 02:16:11 +00:00
Jenkins 6309cffa4a Merge "Update SSL cert used in testing" 2017-08-03 00:26:09 +00:00
Jenkins 2372ed8ad7 Merge "fix rpc broken rst comment" 2017-08-03 00:25:30 +00:00
Jenkins fc36f782d1 Merge "sort redirectmatch lines" 2017-08-03 00:24:51 +00:00
Jenkins a42805c804 Merge "add top 404 redirect" 2017-08-03 00:24:13 +00:00
Jenkins 930be1bd97 Merge "Add redirect for api-microversion-history doc" 2017-08-03 00:21:13 +00:00
Balazs Gibizer 2e8ce056ca Test resize to same host with placement api
Test cases for resize to same host with confirm and revert scenarios
have been added.

The accounting of the current code is very incorrect at the moment, so this
asserts the existing (wrong) behavior, but marks the actual expected
values everywhere so that we can follow up with fixes to remove all of the
annotations.

Related-Bug: #1707252
Change-Id: Ica83ce5f43c0e7b84fd4117852e81e4d2979dea3
2017-08-02 17:44:22 -04:00
Sean Dague dc94d8ad5b fix rpc broken rst comment
The license header isn't in a comment correctly, so it shows up
inline in the rpc page and looks pretty ugly. Add missing '.'

Change-Id: I7c05ee9c4074d1e29f77b4c1c292196bcf0b801d
2017-08-02 20:47:36 +00:00
Sean Dague c0339a3b73 sort redirectmatch lines
Just to make it easier to see if items are in the list or not, we
should keep them sorted. No fancy hacking rules for this, just being
dilligent.

Change-Id: Icbfdcffbc15c5c32ca48ddd6fbac15d425ab8c44
2017-08-02 16:38:42 -04:00
Sean Dague a1f9edd6f6 add top 404 redirect
From http://paste.openstack.org/show/617316/ this devref linked page
is our top 404 at the moment, add a redirect match for it.

Change-Id: Ie42935e5fa5d2199f9878edc2951ba0734e95a7c
2017-08-02 20:37:00 +00:00
Jenkins 2decfc77d8 Merge "placement: remove existing allocs when set allocs" 2017-08-02 17:34:55 +00:00
Jenkins 55a832b4cc Merge "Accept any scheduler driver entrypoint" 2017-08-02 16:57:52 +00:00
Jenkins 8e56bdb1dc Merge "Add release note for PUT /os-services/* for non-compute services" 2017-08-02 10:00:54 +00:00
Jenkins 929de34a47 Merge "Additional assertions to resize tests" 2017-08-02 07:04:46 +00:00
Matt Riedemann c2f5864066 Add redirect for api-microversion-history doc
The api-microversion-history doc has now moved under "reference/"
so we need a redirect.

This also removes the draft site redirect for cells since that
was only in here for CI testing to make sure the redirects work,
which we know they do now:

  https://docs.openstack.org/nova/latest/cells.html

Change-Id: I21bcd71b21af3108e1b14229f90b5ec07cc8188b
2017-08-02 05:22:21 +00:00
Jenkins f17feb558c Merge "Deprecate cells v1" 2017-08-02 01:49:24 +00:00
Jenkins 3a99089a3e Merge "add redirects for existing broken docs urls" 2017-08-02 01:48:28 +00:00
Jenkins 54bb273d4a Merge "always show urls in list_cells" 2017-08-02 00:58:40 +00:00
Jenkins 1f9e52a5d0 Merge "Add some more cellsv2 doc goodness" 2017-08-02 00:57:33 +00:00
Jenkins 1807d2edb0 Merge "Test resize with placement api" 2017-08-01 18:36:45 +00:00
Jay Pipes afab0ca0c8 placement: remove existing allocs when set allocs
Bug #1707669 highlighted a situation that arose when attempting to
remove part of an allocation for a source host during a resize
operation where the exiting allocation was not being properly deleted.

In this patch, we remove the part of the WHERE condition that limited
deleted allocation records to only those referring to a particular
resource provider. In doing so, we make the creation of an allocation
for a consumer a proper overwrite operation.

Change-Id: I0835e5b4f22277465012aab9a5bf474608cb533b
Fixes-bug: #1707669
2017-08-01 12:58:02 -04:00
Jay Pipes dea7a19c36 Additional assertions to resize tests
Adds a number of assertions that usage and allocation records are what
we expect at the following times:

* After boot on the source host but before running periodics After
* resize operation but before confirming or reverting and before
  running periodics

Change-Id: I23ed64d5c48f520f115d64a97c748e5b49bb5f20
Related-bug: #1707071
2017-08-01 12:58:02 -04:00
Sylvain Bauza 1e5c7b52a4 Accept any scheduler driver entrypoint
We broke the possibility in Ocata with Icdcf839b6d28893694bfa1355e9dbe8dbb5ea8c3
to use other scheduler drivers but the ones we provided in tree.

Unfortunately, that was an incidental change without any communication.

Removing the choices kwarg will allow operators to run their own scheduler driver.
Whether Nova would stop supporting custom drivers would require a totally separate
change which would clearly communicate thru a deprecation notice but that is not
the intent for that bugfix, which aims only to bring back the capability.

Change-Id: I346881bc3bc48794b139cc471be1de11c49b8ee3
Closes-Bug: #1704788
2017-08-01 16:50:10 +00:00
Jenkins 98e99395e2 Merge "Updated from global requirements" 2017-08-01 16:39:06 +00:00
Sean Dague 122efa35f6 add redirects for existing broken docs urls
This adds the redirects to the existing broken doc urls, and explains
how we generate this.

Change-Id: Ied2b95f4e7d8b35c9eee5740f17bfe75e479f3c4
2017-08-01 12:20:35 -04:00
Dan Smith 7c17010448 Add some more cellsv2 doc goodness
This adds a fresh cellsv2 overview document that talks about
deployment decisions for single and multiple cell environments
in an attempt to help address confusion about what the service
layouts look like in a multi-cell setup.

Change-Id: I1da7c375dbb98c125aebabec548280de8d8ed381
2017-08-01 09:20:06 -07:00
Balazs Gibizer 8dd11ca1b3 Test resize with placement api
Test cases for resize with confirm and revert scenarios have been
added.

This test depends on the periodic update_available_resources call to heal
the resource allocations. The fake virt driver needed to be tweaked to
work when more than one compute service is created and periodic tasks
are enabled.

The accounting of the current code is very incorrect at the moment, so this
asserts the existing (wrong) behavior, but marks the actual expected
values everywhere so that we can follow up with fixes to remove all of the
annotations.

Change-Id: If7b02bcd8d77e94c7fb42b721792c1391bc0e3b7
blueprint: placement-claims
2017-08-01 11:49:26 -04:00
Matt Riedemann 3414ab14ca Deprecate cells v1
With multi-cell support in Pike, we should deprecate cells v1
so we can at least start the deprecation signaling in the
docs and release notes. We may not end up removing cells v1
code in Queens, but this at least gives us the option.

Note that we also want to do this because nova-network cannot
be removed until we remove cells v1.

Change-Id: I1a173f7ce0715e684850e030c358e8175fa8724c
2017-08-01 11:07:55 -04:00
Matt Riedemann 598314a4bb Add release note for PUT /os-services/* for non-compute services
Change If1e03c9343b8cc9c34bd51c2b4d25acdb21131ff made the
"PUT /os-services/*" APIs only work with nova-compute services
since they now rely on finding the compute service in a cell
via the host_mappings record in the API database, and host
mappings only exist for compute services.

No one should have relied on disabling a non-compute service since
that does nothing, at least with in-tree code.

This change just adds a release note for awareness.

Change-Id: Idb5bbc31a0aabc328f11e5a9979e5b80651a8f67
Closes-Bug: #1700359
2017-08-01 10:21:43 -04:00
OpenStack Proposal Bot ba68d604c3 Updated from global requirements
Change-Id: Ibf254eb950cbd7eaebb7cb6f995161f4a8dd6be0
2017-08-01 13:33:51 +00:00
Jenkins f9e353a585 Merge "add a redirect for the old cells landing page" 2017-08-01 13:33:30 +00:00
Jenkins 141a37df22 Merge "do not pass proxy env variables by tox" 2017-08-01 13:24:23 +00:00
Jenkins 9006d8601e Merge "doc: add FAQ entry for cells v1 config options" 2017-08-01 13:23:55 +00:00
Jenkins 4b04dbf0e4 Merge "[placement] Add api-ref for RP traits" 2017-08-01 13:23:28 +00:00
Jenkins 7c30981f4b Merge "provide interface-scoped nameserver information" 2017-08-01 12:57:42 +00:00
Balazs Gibizer dd26d3d141 do not pass proxy env variables by tox
In an environment where http_proxy env variable is needed to buil a
proper python virtualenv the functional test fails with:
RuntimeError: http_proxy or https_proxy set in environment, please unset

This patch removes passing proxy env varibles in tox.ini to avoid this
error.

Change-Id: Ia4d8fe952aecb5c3e688878ef0fdafd6fac4fc7a
Closes-Bug: #1706545
2017-08-01 11:44:55 +00:00
Jenkins 498cad9b6d Merge "Instance remains in migrating state forever" 2017-08-01 11:36:08 +00:00
Jenkins 07f331be66 Merge "rootwrap.d cleanup mislabeled files" 2017-08-01 11:16:21 +00:00