Commit Graph

874 Commits

Author SHA1 Message Date
Diana Clarke 4994b411da Minor updates to the how_to_get_involved docs
- fixed a broken link
- updated a couple of links from mitaka -> newton
- added some missing apostrophes
- added some custom gerrit review dashboards

Change-Id: I1cc5087e7073244b13eaf9e8044e79a0fbe4aa9d
Closes-Bug: #1568292
2016-04-11 20:22:14 -04:00
Jenkins a03fc2325c Merge "Make swap-volume an admin-only API by default" 2016-04-11 02:18:42 +00:00
Matt Riedemann f738483e84 Make swap-volume an admin-only API by default
Cinder's volume migration API is, by default, an admin-only operation.
This includes the migrate_volume_completion API.

When Cinder is doing a volume migration, it calls Nova's swap-volume
API to detach the old volume that we're migrating from and attach
the volume that we're migrating to. Then Nova calls Cinder's
migrate_volume_completion API to signal Nova is done and Cinder
can finish the volume migration.

The problem is that swap-volume is not an admin-only API in Nova
per the default policy. So if a non-admin user tries to perform
a swap-volume operation, it will fail with a 403 when calling
Cinder's migrate_volume_completion API, since that requires an
admin user.

Also, because of 98739761f1 we can't
simply avoid calling migrate_volume_completion for non-migration
cases because that API handles the actual detach/attach for the old
and new volumes, swap-volume is broken without calling that.

So given swap-volume relies on an admin-only Cinder API, and is called
from an admin-only Cinder operation (volume migration), we should
just make it default to admin-only also.

Change-Id: Iac03258735f3d856a474ab96fe9b0a087e32906f
Closes-Bug: #1522705
2016-04-08 20:12:00 +00:00
Jenkins bce9acc07c Merge "Fix typos in document" 2016-04-07 14:31:06 +00:00
Matt Riedemann a61219721a Document our policy on fixing v2.0 API bugs
There was recent discussion in some reviews about fixing
latent bugs in the legacy v2.0 API code. Since the
v2.0 API is deprecated and v2.1 is the default since Liberty,
we shouldn't need to fix latent low-priority bugs in v2.0
anymore.

However, we'll still fix critical bugs, and we shouldn't
knowingly introduce new regressions that would result
in a 500 response.

Change-Id: I9937d9226a99754dadcc48d599090296f5ae01f7
2016-04-05 19:58:07 -04:00
ChangBo Guo(gcb) 03344561c0 doc: clean up oslo-incubator related stuff
We nuke oslo-incubator in commit b1871e5759,
This is follow up to clean up documents about oslo-incubator.

Change-Id: I4a6b7342570118ae116e896f29ce0a223421793a
2016-04-05 09:44:45 +00:00
Hironori Shiina 467953b2fd Fix typos in document
Fix a few typos in Feature Support Matrix.

Change-Id: I79bef54554c4dead75d2f98827c869167ee5a7ad
2016-03-25 02:24:55 +00:00
Jenkins 7baf124ee7 Merge "Remove auto generated module api documentation" 2016-03-18 21:07:05 +00:00
Jenkins 3266c5ca1f Merge "Support-matrix of vmware for chap is wrong" 2016-03-18 20:46:10 +00:00
Sean Dague 92a15091e7 Remove auto generated module api documentation
This disables the generation of the raw module api documentation in
our docs target. It is mostly not useful, as it builds a giant tree of
module documentation that are 98% boiler plate lists of methods with
no real content.

We leave the sphinx.ext.autodoc in the conf, which allows you to
specifically pull in modules for documentation when you want
to. doc/source/services.rst is an example of doing this in tree, which
still works after this change.

Change-Id: I4c10a8e45756cdcf612faca574e2fb3b7ffa2bdb
2016-03-18 07:18:07 -04:00
Jenkins 169409b74e Merge "Update to openSUSE versions." 2016-03-17 12:57:43 +00:00
Pranav Salunke 51819c6942 Update to openSUSE versions.
* Removing openSUSE 13.1 and adding openSUSE 42.1 (LEAP).
* Removing Factory as its called as Tumbleweed now.

Change-Id: Iea26ac4ea343b63bc07cdf9fef0659a2887fe584
2016-03-17 12:12:42 +01:00
Jenkins 3ccff4d85d Merge "Replace deprecated LOG.warn with LOG.warning" 2016-03-17 05:36:59 +00:00
xhzhf def71059a1 Support-matrix of vmware for chap is wrong
Truely vmware driver can not attach cinder volume using chap
authentication over iscsi
Closes-Bug: #1557938

Change-Id: I05b1e81a3deffc855be34efff2d3e9dac8b63e82
2016-03-16 16:17:39 +08:00
Swapnil Kulkarni (coolsvap) a023c32c70 Replace deprecated LOG.warn with LOG.warning
LOG.warn is deprecated. It still used in a few places.
Updated to non-deprecated LOG.warning.

Change-Id: I42c7b6a172b64a3c1ac6e0703df48ac2ddf8390a
Partial-Bug:#1508442
2016-03-15 11:57:56 +00:00
Nikolai Korablin 135f6711be Typo fix in documentation
Change-Id: Ia1bec82a37145392c3b8d2e7bd1fec040c9bb186
2016-03-14 15:08:31 -07:00
Cao ShuFeng d088c099bd Update the doc of notification
Update the doc of notification according to this commit[1].

TrivialFix

[1]: https://review.openstack.org/#/c/249508/

Change-Id: If3920c9a71cf5de34028dda423dd923f9a9206f0
2016-03-10 18:16:40 +08:00
Jenkins 2626668fb6 Merge "Change wording of microversion bump about 503" 2016-03-07 12:24:31 +00:00
Hironori Shiina 230958c002 Documentation fix regarding triggering crash dump
How to trigger crash dump depends on hypervisors. NMI is not the only way to
implement the feature. This patch modifies description regarding this feature.

Change-Id: I77d10551650776c06ee4b413f1b027abf6620e83
2016-03-04 13:04:44 +09:00
Jenkins c62159d0bf Merge "Api_version_request.matches does not accept a string or None" 2016-03-03 10:57:24 +00:00
scottda 3f046e209f Api_version_request.matches does not accept a string or None
According to the Cinder devref:
https://github.com/openstack/cinder/blob/master/doc/source/devref/api_microversion_dev.rst)
you should be able to use the following pattern:

def index(self, req):
<common code>

req_version = req.api_version_request
if req_version.matches("3.1", "3.5"):
    ....stuff....
elif req_version.matches("3.6", "3.10"):
    ....other stuff....
elif req_version > api_version_request.APIVersionRequest("3.10"):
    ....more stuff.....

<common code>

However, the api_version_request.matches() function will not accept a
string, it requires an api_version_request object.
This changes the doc to implement an api_version_request object to use
this pattern.

Closes-Bug: #1550337
Change-Id: I14a943b21e9e98dd848c0c292ca1a1ae941cb98b
2016-03-02 07:08:21 -07:00
Sean Dague 7be5644270 Deprecate nova.hooks
This emits a warning message when hooks are used to ensure that admins
understand that this facility is deprecated in Nova going forward. It
also removes the links to the meager documentation on hooks to ensure
no one finds these by accident and starts using them. Also add a
comment to the code file itself incase someone ends up in it from
other searches.

Change-Id: I31b1223a0dc3fdffe356a816b591fdd88a31483a
2016-03-01 11:52:52 +00:00
jichenjc 33eaa0d6a4 Change wording of microversion bump about 503
current API microversion document mentioned no need to bump
version if we change from 500 error to 4xx error,
in this case, 503 (service unavailable) also can't be handled
by client side so it should be fine to change without bump.

This patch comes from I80a07222f44017448d1877d6b821eebe462d9fec
discussion.

Change-Id: I2500698b821797568e2564176e87938f2b0f9ae5
2016-02-23 09:56:52 +08:00
Jenkins a62bbfcd14 Merge "Update driver support matrix for Ironic" 2016-02-22 23:40:45 +00:00
Jenkins 6ad6206e28 Merge "Fix some word spellings in messages" 2016-02-22 19:01:10 +00:00
Jenkins 5d5612f019 Merge "Hypervisor support matrix: add feature "trigger crash dump"" 2016-02-19 21:32:42 +00:00
xiexs 933473e572 Hypervisor support matrix: add feature "trigger crash dump"
The feature triggering crash dump has already been supported by nova [1],
now we should complete the support matrix correspondingly.

[1]The change id is: Iaf63352139c466430d3304a87a66398133541fac

Change-Id: I769cab81ba72d48db259d737cbe5e69f7d530e73
2016-02-17 20:12:07 -05:00
Devananda van der Veen 7ea2f36a31 Update driver support matrix for Ironic
Update the driver support matrix for Ironic as of the Liberty release.

Change-Id: I417026829907baeb7766300c778fd3305d253abb
2016-02-05 16:13:44 -08:00
Chris Dent d5da444cfc Tidy up scheduler_evolution.rst
This is primarily a writing style cleanup with some clarifications
and link additions. It does not make any great effort to bring the
information up to date with current conditions.

Change-Id: I665dc5afc952cf93c095cdd1421b64d7b0716b2a
2016-02-03 11:19:32 +00:00
venkatamahesh f86daf0607 Fix some word spellings in messages
Change-Id: I40e3c0f3b99ae853f84609c5334e6d230dfff867
2016-02-03 12:07:53 +05:30
Jenkins c8a8963eed Merge "Revert "Added new scheduler filter: AggregateTypeExtraSpecsAffinityFilter"" 2016-02-01 18:35:54 +00:00
Sylvain Bauza 969c81f1d9 Revert "Added new scheduler filter: AggregateTypeExtraSpecsAffinityFilter"
This reverts commit 4b142e53e43132e996d35c335da30959f9f361be.


I was having a point left unresolved in https://review.openstack.org/#/c/189279/8/doc/source/filter_scheduler.rst about the tech debt that adding a new filter in-tree would cause for something very closely related to another filter.

I totally get the need for adding more logic and reverting how we compare flavors vs. aggregates. I just feel that before committing ourselves to that, we need to correctly estimate the possibilities to modify AggregateInstanceExtraSpecsFilter to fit the above needs.

Change-Id: Ic9f70dae037d32980a5a252bdd08eff02ba27120
2016-02-01 15:46:51 +00:00
Jenkins 8a31746b7f Merge "Added new scheduler filter: AggregateTypeExtraSpecsAffinityFilter" 2016-02-01 14:54:00 +00:00
Jenkins e5256c32a7 Merge "Add argument to support-matrix sphinx extension" 2016-02-01 14:36:10 +00:00
Jenkins 95b589d8c4 Merge "Add a disk space weight-based scheduler." 2016-01-30 13:16:59 +00:00
andrewbogott 13c1301f41 Add a disk space weight-based scheduler.
By default this is turned on and has equal weight to the
ram weigher.

DocImpact: Added the disk_weight_multiplier config option
Closes-Bug: 1513654
Change-Id: I29ce73122ad1860081b64b75646a297dfbb8d292
2016-01-30 10:58:43 +00:00
Rodolfo Alonso Hernandez 800a5098ba Added new scheduler filter: AggregateTypeExtraSpecsAffinityFilter
The flavor_extra_spec metadata pair will be consumed by the
AggregateTypeExtraSpecsAffinityFilter to allow operators to define a
set of extra specs key value pairs that are required to schedule to
the aggregate, e.g.:
  standard memory backing aggregate:
    flavor_extra_spec: "hw:mem_page_size=small,hw:mem_page_size=any"
  high bandwidth memory backing aggregate:
    flavor_extra_spec: "hw:mem_page_size=2M,hw:mem_page_size=1G," \
                       "hw:mem_page_size=large"

DocImpact
Implements: blueprint aggregate-extra-specs-filter
Change-Id: Id3a9918cf9f83b2a9b1dfbcd91803b5b1b2bcc78
2016-01-29 09:18:53 +00:00
Balazs Gibizer 028ff49b2a doc:Ask reviews to reject new legacy notifications
The versioned notificaton infrastructure is in place and the team
agreed on the midcycle to allow new notification types only based
on the versioned notification infrastructure. So the code-review
document is updated to reflect this decision

Change-Id: I7f3860ca59658dc21e67f26bb45341cb46da2235
Partially-Implements: bp versioned-notification-api
2016-01-28 15:36:17 +01:00
Balazs Gibizer 05adc8d006 Generate doc for versioned notifications
This commit adds a new sphinx extension that inspects the nova code
and adds information about the existing versioned notifications to
the nofitications devref. This way the devref is automatically kept
up to date with relevant information.

Partially-Implements: bp versioned-notification-api
Change-Id: If65d5d81e26cb2b4a9f57a8c7d37d3de310ebe00
2016-01-28 15:33:06 +01:00
Balazs Gibizer 02a6e3543d doc: add devref about versioned notifications
Partially-Implements: bp versioned-notification-api
Change-Id: Iac01b8324b7115864aca75ab0b1335a26259aa56
2016-01-28 15:33:06 +01:00
Jenkins 1c8b92f1ee Merge "We now require gettext for dev environments" 2016-01-27 22:10:29 +00:00
Michael Still 8b388754ba We now require gettext for dev environments
Post Ic1f106684270a8f2197e0fb2a67d6fc00535ee65 we now require
msgfmt (a binary in the gettext package) to be installed for pep8
to pass. This hasn't failed in the gate because infra already
installs that package. We should make sure new devs know to do
that thing as well.

Change-Id: Iac505ddd54466e8a6272fee5ff61aac180c90ac4
2016-01-27 17:00:41 +00:00
Qiaowei Ren 08dd4c2912 update feature support matrix documentation
This patch update feature support matrix documentation for uefi boot.

Change-Id: I8ec6a2ad24e100cce48d70160350e5bf853992ef
Implements: blueprint boot-from-uefi
2016-01-27 15:29:28 +00:00
Jenkins 6dec144eeb Merge "Fix docstrings for sphinx" 2016-01-25 15:45:17 +00:00
Jenkins b956478d3c Merge "Add python3* packages to development quickstart guide" 2016-01-25 02:37:31 +00:00
Andreas Jaeger 813c6321ef Fix docstrings for sphinx
Sphinx complains about:
docstring of nova.conf.opts:5: ERROR: Unexpected indentation.
docstring of nova.conf.opts:8: WARNING: Block quote ends without a blank line; unexpected unindent.
doc/source/threading.rst:34: WARNING: Literal block ends without a blank line; unexpected unindent.

Fix these problems.

Change-Id: I023487445b21891e9488a5f6eef9f89f9cecade0
2016-01-24 19:20:00 +01:00
Thomas Maddox 3f48f5a845 Note in HypervisorSupportMatrix for Libvirt/LXC shutdown kernel bug
Libvirt/LXC's shutdown command fails with latest kernel
from Ubuntu Trusty's security repository.

Change-Id: I1f48f328d41b70a35b6d6952733a6dbb4fe4b62c
Related-Bug: #1536280
2016-01-22 14:42:26 +00:00
Matt Riedemann cc3796cca5 Add python3* packages to development quickstart guide
Add the native distro packages for python 3 development to the dev
quickstart guide (needed for running the tox py34 target).

Change-Id: Iae651ac2f7d4b050cba46ee27e5a6d4232f3fddc
2016-01-18 10:25:13 -08:00
Ken'ichi Ohmichi 070c2e659b Add reviewing point related to REST API
Since I8ad9313f824ef656c841a9b60ee575f02ddea321, the api-wg has
introduced a new guideline. That was based on Nova's development
experience, and this patch adds it as a reviewing point for making
consistent APIs.

Change-Id: I53c4055d973b6f76fca16ae170d0df9e1829fca5
2016-01-13 02:54:46 +00:00
Jenkins b6e2984d60 Merge "Replace deprecated library function os.popen() with subprocess" 2016-01-09 05:51:51 +00:00