47523 Commits

Author SHA1 Message Date
Jenkins
2e75b91026 Merge "Fix 409 handling in report client when deleting inventory" 2017-08-04 16:52:08 +00:00
Alexandra Settle
85cd4574b8 Update install guide to clearly define between package installs
Change-Id: I59ada8a4d4c9ff59fe494929510760f397396dc6
2017-08-04 12:45:55 +00:00
Jenkins
584cfa7335 Merge "doc: Import administration guide" 2017-08-04 12:03:39 +00:00
chenxing
575b529118 doc: Import administration guide
Import all docs from openstack-manuals.

Part of bp: doc-migration

Change-Id: I28bb8ce1f4a8653f176a554d2e95b4423c437972
Co-Authored-By: Stephen Finucane <sfinucan@redhat.com>
2017-08-04 07:00:45 -04:00
chenxing
036642ce33 doc: Import installation guide
Import all docs from openstack-manuals.

Part of bp: doc-migration

Change-Id: If1fa15f5495a8a207042e7a43d34d32671c59ee1
Co-Authored-By: Stephen Finucane <sfinucan@redhat.com>
2017-08-04 06:07:59 -04:00
Jenkins
01b3ae2e70 Merge "[placement] Require at least one allocation when PUT" 2017-08-04 09:18:27 +00:00
Jenkins
8e23c0d45a Merge "doc: Start using oslo_policy.sphinxext" 2017-08-04 07:00:56 +00:00
Jenkins
10129c5d7a Merge "policies: Fix Sphinx issues" 2017-08-04 06:59:52 +00:00
Jenkins
68486465fa Merge "Add a caveat section about cellsv2 upcalls" 2017-08-03 22:19:34 +00:00
Jenkins
7b4dfa01e8 Merge "doc: Start using oslo_config.sphinxext" 2017-08-03 21:55:41 +00:00
Jenkins
ce15aad422 Merge "doc: Rework README to reflect new doc URLs" 2017-08-03 21:54:52 +00:00
Jenkins
789548eea5 Merge "doc: Remove dead files" 2017-08-03 21:54:00 +00:00
Dan Smith
916ba166c8 Add a caveat section about cellsv2 upcalls
This adds another subsection to the caveat section about operations that
require upcalls in Pike not being supported.

Change-Id: If95be4f631f929cd8c6528671433ae0fc747a6be
2017-08-03 21:20:58 +00:00
Jenkins
61159ed563 Merge "Sum allocations in the scheduler when resizing to the same host" 2017-08-03 20:50:08 +00:00
Stephen Finucane
b03e815134 doc: Start using oslo_policy.sphinxext
Providing a sample policy file is all well and good, but it's not
exactly designed for readability on the web. Make use of the 'sphinxext'
module built into oslo.policy to do this.

Change-Id: I6cceeca7edcacb762daa1f22f2138e2d2334b3a2
2017-08-03 16:06:14 -04:00
Stephen Finucane
c28bb51978 policies: Fix Sphinx issues
These cause issues with oslo_policy.sphinxext.

Change-Id: Icac6eaba7a24bb0ccf141aebeadc7408f2725a4c
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2017-08-03 16:06:14 -04:00
Stephen Finucane
83a9c2ac33 doc: Start using oslo_config.sphinxext
Providing a sample configuration file is all well and good, but it's not
exactly designed for readability on the web. Make use of the 'sphinxext'
module built into oslo.config to do this.

Change-Id: I75e8f0adae7cfaaa6020870cdb20dc2144fc70eb
2017-08-03 16:06:14 -04:00
Stephen Finucane
cf52fc21cc doc: Rework README to reflect new doc URLs
We also take the opportunity to clean up the doc and add a few more
helpful links. This is mostly based on the blueprint established by
Glance [1].

[1] https://github.com/openstack/glance/blob/69555ae/README.rst

Change-Id: I819fd2e6d49e00c2f9175dd5b0f4a1bc356d35e6
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2017-08-03 16:06:08 -04:00
Stephen Finucane
7bc2ca1f28 doc: Remove dead files
The Sphinx themes now include Google Analytics code, therefore, it's not
necessary to keep the local version. In addition, some images are no
longer referenced anywhere and can therefore go away.

Change-Id: I4a3b48f726220e8db3dc79f0b4b5405df6d28f13
TrivialFix
2017-08-03 16:01:16 -04:00
Jenkins
fc454044d6 Merge "hardware offload support for openvswitch" 2017-08-03 19:08:06 +00:00
Matt Riedemann
79c376ec16 Sum allocations in the scheduler when resizing to the same host
When we resize to the same host, with or without a shared provider,
the _move_operation_alloc_request code is currently removing the
compute node resource provider uuid from the new_rp_uuids
variable since the uuid is the same in both the cur_rp_uuids and
new_rp_uuids as it's the same compute node provider. So later when
processing the new destination allocation requests, since new_rp_uuids
is empty, the new destination allocations aren't part of the request.

This change checks for this case and sums the resource allocation
amounts when we're resizing to the same compute node.

Change-Id: I1c9442eed850a3eb7ac9871fafcb0ae93ba8117c
Closes-Bug: #1707252
2017-08-03 07:13:29 -07: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
Chris Dent
9155da345e [placement] Require at least one allocation when PUT
When doing a PUT to /allocations/{consumer_uuid} if the list of
allocations is empty there is a 500 error coming from an uncaught
IndexError.

Adjust the schema to require at least one allocation. If no allocations
are provided in the list, the response will be a 400.

This doesn't require a microversion because it is changing a 500 to
a useful response.

Change-Id: I361fa1e534d7b20c985558e272b672b84c6fe439
Closes-Bug: #1708260
2017-08-02 21:21:12 +01: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