736 Commits

Author SHA1 Message Date
Ken'ichi Ohmichi
704c6e4d9c Add microversion bump exception for scheduler-hint
It seems diffcult to manage schedulers on microversions, so this patch
adds it as an exception.

Change-Id: Ic86e5db39d3b3cd0ba1f182fd82a62cb98fb8075
2015-09-10 23:36:44 +00:00
Ken'ichi Ohmichi
d1b2fd412c Add microversion rule when adding attr to request
This patch adds microversion bump rule when adding a new attribute
to a request body.

Change-Id: I8e4de474569bd1d7b10bc4a2610cc7fba10912ee
2015-09-10 13:55:34 +00:00
Jenkins
02174c3552 Merge "Add migration policy to upgrades devref" 2015-09-04 13:06:16 +00:00
Ken'ichi Ohmichi
1caba68fd1 Add JSON-Schema note to api_plugins.rst
Nova v2.1 API validates a request with JSON-Schema, and there are
some specific usage on that. This patch adds it to the rst file
for the implementation hint.

Change-Id: I4edac8b6b53d198f2a237bb163b8975528319c9b
2015-09-02 08:04:31 +00:00
Ken'ichi Ohmichi
96f6c1657a Fix API directories on the doc
The commit Ic19f2d019c2c78f1de14a0eced85e84f2d2cec28 has changed
API directory structure, but we forgot to update the corresponding
doc. This patch updates it.

Change-Id: Ie287fc99a6b9b30befa09b7a30226ac6460ad612
2015-09-02 06:19:47 +00:00
Brian Elliott
dd3257ff11 Add migration policy to upgrades devref
Added a set of schema and data migration policy rules to the `upgrades`
devref document to facilitate live upgrades.

Change-Id: I4e38a228b38927115bb13652966d45f250cc2af6
2015-08-31 10:07:28 -05:00
Jenkins
48d333cecb Merge "Add a warning in the microversion docs around the usage of 'latest'" 2015-08-31 12:57:58 +00:00
Jenkins
194f713a13 Merge "Add api samples impact to microversion devref" 2015-08-29 14:31:11 +00:00
Matt Riedemann
500a990903 Add a warning in the microversion docs around the usage of 'latest'
Per the mailing list thread on this subject:

http://lists.openstack.org/pipermail/openstack-dev/2015-August/073070.html

This adds a warning to nova's microversion docs on the usage of the
special 'latest' value.

Change-Id: Id78c0e7687e0a9deec271d1687589af304d948f5
2015-08-28 11:27:25 -07:00
He Jie Xu
79a9ca6da3 Add a note about the 400 response not requiring a microversion
As the API validation code always return 400 when request with
invalid json body, so 400 is an available status code for all the
Nova API. Then no microversion bump required for fixing 500 to 400.

Change-Id: I0454e95cd0655c910fad8b39ead2b5edab216b68
Related-Bug: 1471239
2015-08-27 22:47:54 +08:00
Matt Riedemann
ed647de464 Add a note about the 403 response not requiring a microversion
Change Ia782ab9d9a31d37854606f7be82582de6d7bc374 returns a 403 rather
than a 500 for OverQuota and adds that to the list of expected errors in
the v2.1 case.

There is no microversion change required since the 403 case is implied
given keystone authentication can fail with a 403 on any API.

This change updates the docs to mention the exceptional case for 403.

Related-Bug: #1444559

Change-Id: I7ea8c5c50d4eac53837f5f76e09277ac185288a9
2015-08-25 12:20:52 -07:00
Jenkins
8bef9e1aa8 Merge "Clarify API microversion docs around handling 500 errors" 2015-08-24 23:05:25 +00:00
Matt Riedemann
ec17b727e9 Clarify API microversion docs around handling 500 errors
We shouldn't require a microversion bump for translating a 500 error to
some 400-level error code since 500s should not be part of the API
contract and clients shouldn't expect them for cases that the client can
change, i.e. don't ask for things that don't exist, don't ask to do
things that raise quote and you're already maxed out, etc.

There was some confusion in the doc about the statement that a
microversion is needed when changing from a 501 to a 400, but that's a
different case (going from something not being implemented to it
suddenly being implemented - that's a case where the client should
opt-in and a microversion bump is required).

Not returning 500s is just fixing bugs and shouldn't require a
microversion, the docs even already say that in the first footnote -
this just adds notes to clarify.

Also fixes the links to the [1] footnote.

Change-Id: I4526a72458a23662bd8aaa7f89be32844a511929
2015-08-20 15:44:54 +00:00
Balazs Gibizer
046f362243 Add api samples impact to microversion devref
Change-Id: I420004af76d376e0a7615976e237ffc589430910
2015-08-14 07:15:02 +00:00
Matt Riedemann
12adf34d1a Fix the peer review link in the 'Patches and Reviews' policy section
The old peer code review wiki has been replaced by the infra dev manual
for peer review, so update the link in our docs.

Change-Id: Ib84e2e10e32a2328d9252c86b539b1b40830761d
2015-08-12 07:53:29 -07:00
Matt Riedemann
b489698088 docs: add link to liberty summit session on v2.1 API
Whenever someone asks about v2 vs v2.1 vs v3 API and I point
to the docs, I also point to the Liberty summit session which
is good for new people to watch before trying to sort through
the docs and code, so add a link to the high-level section
of the docs.

Change-Id: I34d734454afcfdae3f874160dfd11662e61c2faa
2015-08-07 12:07:24 -07:00
Chuck Carmack
60d08e6bf8 Add documentation for the nova-cells command.
The rst file was missing.

DocImpact
Partial-Bug: #1434866

Change-Id: I65ba5d89c1812d47ddaa64db150c5ae8a670c236
2015-08-06 12:45:57 +00:00
Jenkins
360ce943fb Merge "hypervisor support matrix: fix snapshot for libvirt Xen" 2015-08-06 10:57:53 +00:00
Jenkins
1222e24038 Merge ":Add documentation for the nova-idmapshift command." 2015-08-06 05:55:21 +00:00
Jenkins
d37f23ecae Merge "Fix few typos in nova code and docs" 2015-08-06 02:36:58 +00:00
Jenkins
d2f085a618 Merge "Add documentation for block device mapping" 2015-08-06 02:36:00 +00:00
Chuck Carmack
8a7b1e8837 :Add documentation for the nova-idmapshift command.
The rst file was missing.

DocImpact

Change-Id: Ia5b34cf7bbacfeb6cb016499e20d3ea96473b0c6
Partial-Bug: #1434866
2015-08-05 19:11:52 +00:00
Eric Brown
b5847e3797 Fix a couple dead links in docs
The docs had references to https://docs.openstack.org but this
website is http only.  Connecting to the https address results in
an unable to connect error.

Replacing with http also makes it consistent with all other references
to docs.openstack.org.

Change-Id: I5367bb623aff33148cceadbdcb8df3550f655ed4
2015-08-04 22:03:51 -07:00
Edgar Magana
3ec25b9614 Fix few typos in nova code and docs
This commit fix few typos in nova

Change-Id: I61851035763c145b878636282e2d015dd776912a
Related-bug: #1443731
2015-08-04 10:02:09 -07:00
Jenkins
771e8efc61 Merge "cells: document upgrade limitations/assumptions" 2015-08-03 17:13:53 +00:00
Matt Riedemann
8b24bf766d Set autodoc_index_modules=True so tox -e docs builds module docs again
Commit bd7e62f796fe951fd42c2edad56e252a0b7393c8 disabled the
autodoc_index_modules flag for building docs but it wasn't really
necessary, that change was just to get the module index out of the main
docs page.

We want to autodoc the modules so we can view the actual module index in
the tox -d docs build results, which also tells us if we have correct
ReST format in doc strings.

Notes
-----

1. Several doc string blocks have to be fixed as part of this to get
   the docs tox job to pass.
2. A docstring in vhdutilsv2 is updated to remove the math directive
   since that requires the sphinx.ext.pngmath extension which requires
   latex and dvipng packages from the distro - which is overkill for
   what the docstring was actually doing with the math directive.
3. We exclude autodoc for tests since we don't really care about
   docstrings on unit tests.
4. We exclude the nova.wsgi.nova-* modules since those won't build with
   autodoc since they can't be imported (there is no
   nova/wsgi/__init__.py module). We could arguably add the __init__.py
   but it's not really necessary for what those scripts are used for.
5. The sphinx.ext.ifconfig extension is removed since there are no docs
   that use the ifconfig directive.
6. Update the developer docs to explicitly point out that graphviz must
   be installed prior to running tox -e docs.
7. Hide doc/source/api/autoindex.rst from the toctree so that we don't
   regress the point of commit bd7e62f796fe951fd42c2edad56e252a0b7393c8.
8. unused_docs and exclude_trees options are removed from conf.py since
   they are deprecated in Sphinx 1.2.3:

   https://github.com/sphinx-doc/sphinx/blob/1.2.3/sphinx/config.py#L54
9. Fix imports for moved libvirt volume options.

Closes-Bug: #1471934

Change-Id: I946e2f89f2c9fc70e870faaf84e4a8b0fc703344
2015-07-30 17:11:47 -07:00
Jenkins
42d4bc3f89 Merge "libvirt: rename parallels driver to virtuozzo" 2015-07-30 11:22:07 +00:00
Jenkins
32f6a7ef2e Merge "docs: add a placeholder link to mentoring docs" 2015-07-30 10:44:08 +00:00
Jenkins
3bffe0bf58 Merge "Fix seven typos on nova documentation" 2015-07-30 10:42:03 +00:00
Nikola Dipanov
a338a4da11 Add documentation for block device mapping
This commit adds some (long overdue) documentation around block device
mapping and how it's used in Nova.

blueprint devref-refresh-liberty

Change-Id: Idca142f3b34ad896ab99f02a3f9eb72a6a3b4778
2015-07-30 10:55:29 +01:00
Sean Dague
57582b52cc tweak graphviz formatting for readability
The "group" tag on nodes can be used to create vertical alignment, all
nodes in a group which are connected will end up in one column. This
makes reading the flow chart a bit easier.

Add a " " before the "no" edges otherwise they are left justified
completely to the vertical edge, and make it kind of gorpy to read.

Change-Id: Ife11e905ea6fdd97e1459fbbc001324eb946f9e4
2015-07-29 11:43:22 -04:00
Maxim Nestratov
bc3b6cca47 libvirt: rename parallels driver to virtuozzo
As Parallels Cloud Server product was renamed within Parallels company rebranding
we need to change its reference in feature support matrix and documents accordingly.
A parameter 'virt_type' in libvirt section of nova.conf will remain 'parallels'.

Since libvirt version that supports 'vz' starts to report it as a hypervisor type,
we add a new hv_type 'vz' in the list of known hypervisors.

DocImpact.

Change-Id: I536e4284927508a813edd05f185f7ba0ed76d38c
implements: blueprint rename-pcs-to-virtuozzo
2015-07-29 18:40:12 +03:00
Matt Riedemann
c15a639dea cells: document upgrade limitations/assumptions
We log a warning when using cells that it's experimental, and we have
several locations in the docs that say it's experimental, but we have
never documented that rolling upgrades are not supported and that cells
deployments must be upgraded in lockstep.  This adds that information to
the warning that's logged on startup and to the devref doc on upgrades
so people know that cells is still a special kitten that must be treated
differently.

Related-Bug: #1479181

Change-Id: Idd57f8daa308543a1733092f427e41b1a205b1d1
2015-07-29 08:30:15 -07:00
John Garbutt
0f0badbdcc docs: add a placeholder link to mentoring docs
Adding docs to make it clear how to get more involved.
As a first step, lets link to the docs we are working on in the wiki.
At a later date we can graduate the wiki docs into here.

blueprint devref-refresh-liberty

Change-Id: If6c24bc4522eab72354c1602ceaa07352104a34d
2015-07-29 09:56:27 +00:00
Jenkins
abdadac243 Merge "Document when we should have a microversion" 2015-07-29 04:12:10 +00:00
Jenkins
14d00296b1 Merge "Fix Filter Schedulers doc to refer to all_filters" 2015-07-28 20:49:58 +00:00
Jenkins
d765f373c2 Merge "docs: clear between current vs future plans" 2015-07-28 19:57:59 +00:00
Sean Dague
99da04b500 Document when we should have a microversion
This documents what we consider the contract in Nova, and what kinds
of things trigger needing a new microversion. It also includes a flow
chart for folks that are more visually inclined.

Change-Id: I6dbadbf7cb23e27b96a0ae191419c8adf6ffe006
2015-07-28 12:33:24 -04:00
Atsushi SAKAI
24f292e0ca Fix seven typos on nova documentation
behaviour => behavior 4
poicy => policy
schedular => scheduler
environement => environment

Change-Id: Id899cf127e30175486c3728e47e03dca3a32873a
Closes-Bug: #1478003
2015-07-24 22:59:21 +09:00
Alvaro Lopez Garcia
d4c89b253c hypervisor support matrix: fix snapshot for libvirt Xen
The libvirt Xen driver is partially supported, since it supports cold
snapshots, but it is said that the feature is missing. Changing it and
adding a note.

TrivialFix
Change-Id: Ie8b5c006129df4638f34b7c1fada5fc18ad672c7
2015-07-24 09:16:27 +00:00
Sergey Vilgelm
f41ff56a93 Switch to oslo.reports
The Guru Meditation Reports has graduated from oslo-incubator, Nova
should switch to use oslo.reports to keep the code base clean.

Change-Id: Ifc35c9e5455eb965e4520438284cf7baa0a00d43
Blueprint: graduate-oslo-reports
2015-07-23 00:36:01 +03:00
David Medberry
651e807905 Fix Filter Schedulers doc to refer to all_filters
Remove outdated reference to standard_filters and use all_filters

Closes-Bug: 1475752
Change-Id: I7f4b1452a8c57f7a4d184d16e37c80952b2e9424
2015-07-22 12:41:18 -05:00
John Garbutt
11deb11b18 docs: clear between current vs future plans
Reorganized the developer docs so its clear between whats are future
plans and what things are documenting the current behavior.

Given a lot of the API docs are currently in flux, I have classed those
as future plans.

blueprint devref-refresh-liberty

Co-Authored-By: Michael Still <mikal@stillhq.com>

Change-Id: Ie79fcef909487ee1797274f0ca23854b2fb49d32
2015-07-22 04:54:16 +10:00
Jenkins
ee61c076b6 Merge "hypervisor support matrix: add feature "evacuate"" 2015-07-17 13:14:10 +00:00
Jenkins
47b233f988 Merge "devref: virtual machine states and transitions" 2015-07-08 19:03:36 +00:00
Jenkins
f0aea070e7 Merge "Changes conf.py for Sphinx build because oslosphinx now contains GA" 2015-07-08 17:11:07 +00:00
Markus Zoeller
7b352048bf devref: virtual machine states and transitions
The diagrams were hard to read and update. Replaced them with
simplified diagrams and tables. I used the content as is. I looks
inconsistent to me, but should now be easier to change.

Partially implements: blueprint devref-refresh-liberty

Change-Id: I707e1a6ab69ef44448b66e8be007307b5d73eb06
2015-07-03 11:10:41 +02:00
Jenkins
ae4ae934ab Merge "Replace ascii art architecture diagram with svg image" 2015-06-27 00:49:49 +00:00
Joe Gordon
33d671d7eb Replace ascii art architecture diagram with svg image
architecture.svg diagram was generated using dia
(http://dia-installer.de/) and can be found in image_src

This is an attempt to show the same information as previously found in
the ascii art.

blueprint devref-refresh-liberty
Change-Id: Iab5811bcc7ec4b3fa457a07d33a0373ba95723ca
2015-06-26 13:51:14 -07:00
Markus Zoeller
de014c02b8 hypervisor support matrix: add feature "evacuate"
The feature that was previously labeled as "evacuate" was in fact the
"host maintenance mode" which was triggered via a different API.
The real evacuate feature (with the evacuate API) is added by this
patch set.

http://lists.openstack.org/pipermail/openstack-dev/2015-June/067787.html

Change-Id: I525fa04f4b85cbe6af5b779c81d861fd56c0852f
2015-06-26 14:23:44 +02:00