Commit Graph

1820 Commits

Author SHA1 Message Date
Zuul 0c5feb21b3 Merge "Handle online_data_migrations exceptions" 2018-10-17 07:07:06 +00:00
imacdonn 3eea37b85b Handle online_data_migrations exceptions
When online_data_migrations raise exceptions, nova/cinder-manage catches
the exceptions, prints fairly useless "something didn't work" messages,
and moves on. Two issues:

1) The user(/admin) has no way to see what actually failed (exception
   detail is not logged)

2) The command returns exit status 0, as if all possible migrations have
   been completed successfully - this can cause failures to get missed,
   especially if automated

This change adds logging of the exceptions, and introduces a new exit
status of 2, which indicates that no updates took effect in the last
batch attempt, but some are (still) failing, which requires intervention.

Change-Id: Ib684091af0b19e62396f6becc78c656c49a60504
Closes-Bug: #1796192
2018-10-16 15:49:51 +00:00
Zuul 8fadc806f4 Merge "doc: update metadata service doc" 2018-10-16 10:30:03 +00:00
Zuul f8727c4112 Merge "Add some more docs for upgrade checkers" 2018-10-15 18:49:34 +00:00
Matt Riedemann 2a25a13ea9 Add some more docs for upgrade checkers
This adds a few more things to the upgrade checks
reference docs after getting questions about it
during the Stein release goal implementation from
other project teams:

1. Notes the high level set of steps for upgrading
   nova in grenade and where nova-status fits into
   that sequence.

2. Links to the oslo.upgradecheck library which
   didn't exist when the original document was
   written.

3. Adds a FAQs section with Q&A for several things
   that have come up during the Stein release goal.

Change-Id: I990e5dbe563fa342f7481c3720445b924447ad54
Story: 2003657
2018-10-15 15:37:11 +00:00
Chen 1142f64ba2 doc: update metadata service doc
1 update to the latest metadata version in the examples
2 fix a typo
3 update a url

Change-Id: I5a78088413ba3e15d3f3c19392effa898205f502
2018-10-15 11:47:39 +08:00
Zuul 396156eb13 Merge "Add microversion 2.67 to support volume_type" 2018-10-13 18:46:09 +00:00
zhangbailin c7f4190af2 Add microversion 2.67 to support volume_type
Add a new microversion 2.67 to support specify ``volume_type``
when boot instances.

Part of bp boot-instance-specific-storage-backend
Change-Id: I13102243f7ce36a5d44c1790f3a633703373ebf7
2018-10-12 02:57:58 -04:00
Adam Spiers f619d5447e fix "you" typo
Saving the world, one typo at a time ...

Change-Id: I6bb98849ee26abee13e35e12d2c748a902964ac7
2018-10-11 19:03:58 +01:00
zhang.lei 1423f920bb Remove useless TODO section
Change-Id: Ia55924d36e75e050e65c19389d62e21f87dea98b
Closes-Bug: #1796676
2018-10-09 01:43:22 +00:00
Zuul f8e46a5cf4 Merge "VMware: Live migration of instances" 2018-10-08 19:12:43 +00:00
Zuul 865fc0ed4c Merge "Update doc" 2018-10-08 13:56:34 +00:00
Radoslav Gerganov 2fe92e9162 VMware: Live migration of instances
This patch implements live migration of instances across compute nodes.
Each compute node must be managing a cluster in the same vCenter and ESX
hosts must have vMotion enabled [1].
If the instance is located on a datastore shared between source
and destination cluster, then only the host is changed. Otherwise, we
select the most suitable datastore on the destination cluster and
migrate the instance there.

[1] https://kb.vmware.com/s/article/2054994

Co-Authored-By: gkotton@vmware.com

blueprint vmware-live-migration

Change-Id: I640013383e684497b2d99a9e1d6817d68c4d0a4b
2018-10-02 10:13:57 +03:00
Takashi NATSUME aaa7d7c109 Remove unnecessary redirect
The cli/nova-idmapshift.html has been removed
since Ibce28d20d166da154833376cf51f1877b829925e.

Remove the redirect to cli/nova-idmapshift.html
because it is useless currently.

Change-Id: I57e6285475a31af49a3791c00d5d61deb64438bc
2018-09-28 11:36:06 +09:00
tianhui e80b2a2393 Update doc
Update the response of openstack volume list

Change-Id: I394d570f1d710c5fccf1dfa8d531dfaa2aa0e13c
2018-09-28 02:14:18 +00:00
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