Commit Graph

1805 Commits

Author SHA1 Message Date
Zuul de2da1e770 Merge "cells: Be explicit in docs about service restarts" 2018-09-26 20:51:35 +00:00
Zuul 3841b761af Merge "doc:update virtual gpu doc" 2018-09-26 03:30:31 +00:00
Zuul 507bc464f2 Merge "Option "scheduler_default_filters" is deprecated." 2018-09-26 03:30:23 +00:00
caoyuan 40f8b7cb23 Option "scheduler_default_filters" is deprecated.
The scheduler_default_filters option is deprecated in favor of
the [scheduler]/enabled_filters option. This change updates
the docs to use the enabled_filters option over the deprecated
scheduler_default_filters option.

Change-Id: I6cc78056179e01752e48e51a4e3552d52d66074b
Closes-Bug: #1794306
2018-09-25 19:50:16 +00:00
Zuul ebab3adb28 Merge "Consumer gen support for delete instance allocations" 2018-09-25 16:43:07 +00:00
sunjia 0690dff2b3 doc:update virtual gpu doc
Add a note to the documentation,the GPU vendor's VGPU
driver software needs to be installed and configured.

Change-Id: I8618a312818f6f26d358b40e723fecf74c0d2eb7
2018-09-25 13:28:12 +00:00
Zuul 2f635fa914 Merge "Validate transport_url in nova-manage cell_v2 commands" 2018-09-25 10:10:24 +00:00
Balazs Gibizer 6f1a1f5e8e Consumer gen support for delete instance allocations
The placement API version 1.28 introduced consumer generation as a way
to make updating allocation safe even if it is done from multiple
places.

This patch changes delete_allocation_for_instance to use PUT
/allocations instead of DELETE /allocations to benefit from the consumer
generation handling.

In this patch the report client will GET the current allocation of the
instance including the consumer generation and then try to PUT an empty
allocation with that generation. If this fails due to a consumer
generation conflict, meaning something modified the allocation of the
instance in between GET and PUT then the report client will raise
AllocationDeleteFailed exception. This will cause that the instance
goes to ERROR state.

This patch only detects a small portion of possible cases when
allocation is modified outside of the delete code path. The rest can
only be detected if nova would cache at least the consumer generation
of the instance.

To be able to put the instance state to ERROR the instance.destroy()
call is moved to the end to of the deletion call path. To keep the
instance.delete.end notification behavior consistent with this move
(e.g. deleted_at field is filled) the notification sending needed to
be moved too.

Blueprint: use-nested-allocation-candidates
Change-Id: I77f34788dd7ab8fdf60d668a4f76452e03cf9888
2018-09-25 11:16:37 +02:00
YI-JIE,SYU bc479a992d Remove deprecated nova-consoleauth reference from doc
Because nova-consoleauth had deprecated since version 18.0.0,
it is better not to give reference of this service in verify operation
documentation file.

Change-Id: I0c3b9cfe96bcc3d7b6106c3e972ee9e2f79e419b
2018-09-21 10:18:34 +00:00
Zuul a55c189b71 Merge "Add contributor guide for upgrade status checks" 2018-09-20 21:51:01 +00:00
Zuul f2e660d4b0 Merge "doc trivial: additional info to admin-password-injection" 2018-09-20 19:01:46 +00:00
Matt Riedemann 7c3c3b9863 Add contributor guide for upgrade status checks
This adds some background, guidelines and structural
notes on writing nova-status upgrade checks.

This is intentionally written with some potentially
redundant information or nova developers as it's
also meant to be consumed outside nova as part of the
community-wide "upgrade-checkers" goal for Stein [1].

Story: 2003570

[1] https://governance.openstack.org/tc/goals/stein/upgrade-checkers.html

Change-Id: I340b25edeab3ac19c5d0bedfc69acd037d57bdd2
2018-09-19 18:50:25 +00:00
Sylvain Bauza 0e0d5bf1c8 cells: Be explicit in docs about service restarts
Some operators could be confused if they start conductor workers with an
imcomplete setup. Just adding a clear note on the dependency.

Change-Id: I142de27f045ddb4c298ecae5a35bcb98ac863e3d
2018-09-19 10:07:12 +02:00
Chen 9da6ebd063 doc trivial: additional info to admin-password-injection
Mention that image needs ssh password authorization configured
in order to allow ssh login with admin password.

Change-Id: I65a94b266dbef9863acc07306cbe2bd81c95c893
2018-09-19 09:41:19 +08:00
Zuul 8b1637f22a Merge "Add missing backticks in nova-manage docs" 2018-09-18 22:49:56 +00:00
Zuul 237ced4737 Merge "Explicitly fail if trying to attach SR-IOV port" 2018-09-18 20:13:52 +00:00
Christian Berendt d3e254e47b Add missing backticks in nova-manage docs
Change-Id: I8f7a4c8029a54902d531d98da62a0d8bd7cc383d
2018-09-18 15:02:36 +02:00
Zuul 82270cc261 Merge "Fix docs and add functional test for AggregateMultiTenancyIsolation" 2018-09-17 11:31:15 +00:00
Matt Riedemann 6bc32481fb Fix docs and add functional test for AggregateMultiTenancyIsolation
The docs for AggregateMultiTenancyIsolation were misleading in that
tenants are not restricted to hosts only in a tenant-isolated
aggregate. It's the opposite: hosts in the tenant-isolated aggregate
are only available for tenants configured for that aggregate.

This fixes the docs including an example for clarification, and also
adds a functional test to show the behavior of the filter.

Change-Id: Ic55b88e7ad21ab5b7ad063eac743ff9406aae559
Related-Bug: #1771523
2018-09-13 16:46:53 -04:00
Zuul 06e533bc96 Merge "Update docs for live_migration_progress_timeout option" 2018-09-12 18:17:58 +00:00
Zuul 6a74828621 Merge "Document differences and similaries between extra specs and hints" 2018-09-10 20:18:41 +00:00
Zuul e5c6ebc6c5 Merge "doc: update info for hypervisors" 2018-09-08 01:27:25 +00:00
Matt Riedemann f34877f936 Update docs for live_migration_progress_timeout option
Change I1a1143ddf8da5fb9706cf53dbfd6cbe84e606ae1 in Ocata
deprecated the libvirt.live_migration_progress_timeout
and disabled it by default. This change updates the config
option help to refer to the bug so people don't have to hunt
for it via git history, and also touches up the admin docs.
In the one doc, mention of the option is removed altogether
because it basically says, "here is a loaded gun, but don't
use it!". It's better to just not mention the option at all.

Change-Id: I33f3d508a2af6c94435f86ac740cf24b97dba76e
Related-Bug: #1644248
2018-09-07 23:22:25 +00:00
Zuul ebfb4157f8 Merge "Add encrypted volume support to feature matrix docs" 2018-09-07 11:16:16 +00:00
Zuul 999c230576 Merge "Docs: update link for remote debugging" 2018-09-07 11:16:07 +00:00
Chen de8292ccff doc: update info for hypervisors
Update links and add info for UML hypervisor.

Change-Id: Id2a5ed802b2849c4edd5b92debe37c921bc859cc
2018-09-07 15:33:19 +08:00
Zuul 55d19190ce Merge "Doc: PowerVM does support shelve" 2018-09-06 05:47:03 +00:00
Gary Kotton 21a70f7db5 Docs: update link for remote debugging
The section on remote debugging points to a blog post that not longer
exists. This updates the invalid link.

The patch also adds in some new lines and bullets.
TrivialFix

Change-Id: I8b29f402f148bc11279a2c34aeea266956180bc1
2018-09-04 01:37:17 -07:00
Zuul e1edabc053 Merge "Report client: _reshape helper, placement min bump" 2018-08-30 20:09:57 +00:00
Matt Riedemann 579e0cfd57 Document differences and similaries between extra specs and hints
Scheduler hints are not really documented very well at all except
for being mentioned per scheduler filter in the admin configuration
guide, nor are they documented within relation to flavor extra
specs which are both used for impacting scheduling decisions and
are choices that a deployer has to make based on how they configure
their cloud.

This change adds a document about scheduler hints and how they are
similar to and different from flavor extra specs, including end
user discoverability and interoperability, and thoughts on which
should be used if writing a custom scheduler filter.

The TODO in the API guide is also resolved by linking to this
document.

Change-Id: Ib1f35baacf59efafb9e4bccfcc4f0025d99ad5b2
2018-08-29 19:09:11 -04:00
Zuul bc2bc7f875 Merge "doc: add info how to troubleshoot vmware specific problems" 2018-08-29 22:07:09 +00:00
Matt Riedemann 5c19645169 Add encrypted volume support to feature matrix docs
Native QEMU LUKS decryption support was added for the
libvirt driver in Queens, but there are no docs in the
feature support matrix about encrypted volume support
at all, so this attempts to close that gap.

Change-Id: I035164a0c4222814784306381f9a11413c8de9e2
2018-08-29 17:00:21 -04:00
Radoslav Gerganov e22963d24a doc: add info how to troubleshoot vmware specific problems
Add a new paragraph on how to correlate OpenStack logs with vCenter logs
in order to find what went wrong.

Change-Id: I71069f61af99d1c0f8fda28e6ce0b2873f2042d8
2018-08-29 13:50:07 +03:00
Takashi NATSUME 0f59877bc5 Fix a broken conf file description in networking doc
In the "Networking with neutron" doc,
a description of a configuration file is broken.
So fix it.

Change-Id: I3927c858a54a09966478d0ecc2c62b76d0d4548d
Closes-Bug: #1789567
2018-08-29 15:46:35 +09:00
Zuul 6bf864df77 Merge "Deprecate Core/Ram/DiskFilter" 2018-08-28 12:47:37 +00:00
Matt Riedemann 243ba85130 Deprecate Core/Ram/DiskFilter
The time has come.

These filters haven't been necessary since Ocata [1]
when the filter scheduler started using placement
to filter on VCPU, DISK_GB and MEMORY_MB. The
only reason to use them with any in-tree scheduler
drivers is if using the CachingScheduler which doesn't
use placement, but the CachingScheduler itself has
been deprecated since Pike [2]. Furthermore, as of
change [3] in Stein, the ironic driver no longer
reports vcpu/ram/disk inventory for ironic nodes
which will make these filters filter out ironic nodes
thinking they don't have any inventory. Also, as
noted in [4], the DiskFilter does not account for
volume-backed instances and may incorrectly filter
out a host based on disk inventory when it would
otherwise be OK if the instance is not using local
disk.

The related aggregate filters are left intact for
now, see blueprint placement-aggregate-allocation-ratios.

[1] Ie12acb76ec5affba536c3c45fbb6de35d64aea1b
[2] Ia7ff98ff28b7265058845e46b277317a2bfc96d2
[3] If2b8c1a76d7dbabbac7bb359c9e572cfed510800
[4] I9c2111f7377df65c1fc3c72323f85483b3295989

Change-Id: Id62136d293da55e4bb639635ea5421a33b6c3ea2
Related-Bug: #1787910
2018-08-24 19:32:27 -04:00
Eric Fried 2833785f59 Report client: _reshape helper, placement min bump
Add a thin wrapper to invoke the POST /reshaper placement API with
appropriate error checking. This bumps the placement minimum to the
reshaper microversion, 1.30.

Change-Id: Idf8997d5efdfdfca6967899a0882ffb9ecf96915
blueprint: reshape-provider-tree
2018-08-24 15:39:18 -05:00
Stephen Finucane eb4e29c613 doc: Note NUMA topology requirements for numa-aware-vswitches
A guest must have a NUMA topology for numa-aware-vswitches to have any
effect. Call this out in the documentation.

Change-Id: Id0a637bcd0cbce29811acd7e56419350695cd3fd
2018-08-24 17:13:49 +01:00
Zuul 6ad5a20d7c Merge "Update contributor guide for Stein" 2018-08-23 21:30:49 +00:00
Matt Riedemann 68011c40ae Explicitly fail if trying to attach SR-IOV port
Attaching SR-IOV ports to existing instances is not supported
since the compute service does not perform any kind of PCI
device allocation, so we should fail fast with a clear error
if attempted. Note that the compute RPC API "attach_interface"
method is an RPC call from nova-api to nova-compute so the error
raised here will result in a 400 response to the user.

Blueprint sriov-interface-attach-detach would need to be
implemented to support this use case, and could arguably involve
a microversion to indicate when the feature was made available.

A related neutron docs patch https://review.openstack.org/594325
is posted for mentioning the limitation with SR-IOV port attach
as well.

Change-Id: Ibbf2bd3cdd45bcd61eebff883c30ded525b2495d
Closes-Bug: #1708433
2018-08-21 11:41:24 -04:00
zhangyangyang 92a459331f Remove ChanceScheduler
ChanceScheduler is deprecated in Pike [1] and will be removed in a
subsequent release.

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

Change-Id: I44f9c1cabf9fc64b1a6903236bc88f5ed8619e9e
2018-08-20 15:56:13 +01:00
Matthew Edmonds 6c1b295adf Doc: PowerVM does support shelve
Corrects the support matrix to indicate that PowerVM supports
shelve/unshelve. Shelve only requires a driver to support power_off
and snapshot, both of which the PowerVM driver has implemented.

Change-Id: Iec56a2a61e90d3d97468b1d7f72a0b28975e6cd1
2018-08-17 09:42:16 -04:00
Takashi NATSUME e811a75e24 Update contributor guide for Stein
Update contributor guide for Stein.
Update URLs and fix broken URLs.
Also link to the TC doc for PTL contact information
where the PTL is mentioned.

Co-Authored-By: Melanie Witt <melwittt@gmail.com>
Change-Id: I3ef0b14eb0a8f1ed904354b8bdcc775093706cb0
2018-08-17 12:09:15 +09:00
jichenjc 2d2dbc48d3 Add zvm CI information
z/VM is added in Rocky releaes and this patch added the CI
information and its coverage for z/VM.

blueprint: add-zvm-driver-rocky

Change-Id: Ibf44bc81ab0281c95dd4add9e09df584d61bc460
2018-08-17 02:58:27 +00:00
jichenjc a78e27fb89 Add zvm admin intro and hypervisor information
The document adds the hypervisor introduction and links for
z/VM and its related entry in doc/source/admin/configuration/hypervisors.rst

Change-Id: I02b4c7ece38988e916a60cd1d91a5244bf91afa5
blueprint: add-zvm-driver-rocky
2018-08-17 02:05:24 +00:00
Zuul 71b3e7c2b1 Merge "Revisons on notifications doc" 2018-08-16 00:51:24 +00:00
Chen 66c097a979 Revisons on notifications doc
1 typo fixes
2 use :oslo.config:option: elements for nova conf options
3 change '`' to '``' where applicable

Change-Id: Icfebf894185fc83f5fa77e8e10a42ba9dbb37755
2018-08-15 23:40:41 +08:00
Zuul 1316dd55e5 Merge "add zvm into support matrix" 2018-08-13 15:08:13 +00:00
jichenjc 9a62184c9d add zvm into support matrix
z/VM driver is in Rocky release now and this patch adds
the z/VM support matrix update.

blueprint: add-zvm-driver-rocky

Change-Id: I58016140c7f556df91ce258733455647a26dd727
2018-08-13 02:01:03 +00:00
Marcus Furlong dacf857145 improve migration script
Change-Id: I7bacbdd9a0a0914be507758436f7b9ceb465654c
2018-08-10 18:09:01 +00:00