Commit Graph

1932 Commits

Author SHA1 Message Date
Zuul b7611e8236 Merge "doc: Switch header styles in support doc" 2019-02-04 22:22:38 +00:00
Zuul ea32c35cdc Merge "Add configuration of maximum disk devices to attach" 2019-01-31 10:33:56 +00:00
melanie witt bb0906f4f3 Add configuration of maximum disk devices to attach
This adds a new config option to control the maximum number of disk
devices allowed to attach to a single instance, which can be set per
compute host.

The configured maximum is enforced when device names are generated
during server create, rebuild, evacuate, unshelve, live migrate, and
attach volume. When the maximum is exceeded during server create,
rebuild, evacuate, unshelve, or live migrate, the server will go into
ERROR state and the server fault will contain the reason. When the
maximum is exceeded during an attach volume request, the request fails
fast in the API with a 403 error.

The configured maximum on the destination is not enforced before cold
migrate because the maximum is enforced in-place only (the destination
is not checked over RPC). The configured maximum is also not enforced
on shelved offloaded servers because they have no compute host, and the
option is implemented at the nova-compute level.

Part of blueprint conf-max-attach-volumes

Change-Id: Ia9cc1c250483c31f44cdbba4f6342ac8d7fbe92b
2019-01-30 15:47:10 +00:00
Zuul 5be2638ebb Merge "docs: Update references to "QEMU-native TLS" document" 2019-01-29 17:36:21 +00:00
Zuul 15703056ab Merge "Cleanup vendordata docs" 2019-01-26 07:14:15 +00:00
Zuul 9419c3e054 Merge "Per aggregate scheduling weight" 2019-01-24 19:58:52 +00:00
Zuul 31956108e6 Merge "Cleanup soft (anti)affinity weight multiplier options" 2019-01-22 18:25:15 +00:00
Kashyap Chamarthy 6a61b68c31 docs: Update references to "QEMU-native TLS" document
Link to the "Secure live migration with QEMU-native TLS" document from
other relevant guides, and small blurbs of text where appropriate.

Blueprint: support-qemu-native-tls-for-live-migration

Change-Id: I9c6676897d27254e2e16bf7e36a74bf9f3da3832
Signed-off-by: Kashyap Chamarthy <kchamart@redhat.com>
2019-01-22 11:09:09 +01:00
Yikun Jiang e66443770d Per aggregate scheduling weight
This spec proposes to add ability to allow users to use
``Aggregate``'s ``metadata`` to override the global config options
for weights to achieve more fine-grained control over resource
weights.

blueprint: per-aggregate-scheduling-weight

Change-Id: I6e15c6507d037ffe263a460441858ed454b02504
2019-01-21 11:48:44 +08:00
Matt Riedemann 313becd5ff Cleanup soft (anti)affinity weight multiplier options
This resolves the TODO from Ocata change:

  I8871b628f0ab892830ceeede68db16948cb293c8

By adding a min=0.0 value to the soft affinity
weight multiplier configuration options.

It also removes the deprecated [DEFAULT] group
alias from Ocata change:

  I3f48e52815e80c99612bcd10cb53331a8c995fc3

Change-Id: I79e191010adbc0ec0ed02c9d589106debbf90ea8
2019-01-19 18:03:16 -05:00
Zuul 30e60579c5 Merge "Follow up for "Add API ref guideline for body text"" 2019-01-16 19:19:49 +00:00
Kashyap Chamarthy 6db69a065a docs: Secure live migration with QEMU-native TLS
Add a document about using the "native TLS" encryption feature of QEMU
and libvirt to secure live migration data transports — including disks
that are on non-shared storage ("block migration").  This ties into the
newly introduced Nova configuration attribute,
``[libvirt]/live_migration_with_native_tls``, to that end.

Blueprint: support-qemu-native-tls-for-live-migration

Change-Id: Ic1af52bc3608f8f586244dd26dad1f47604e3278
Signed-off-by: Kashyap Chamarthy <kchamart@redhat.com>
2019-01-15 17:17:51 +01:00
Zuul 13f8b54414 Merge "Allow run metadata api per cell" 2019-01-15 02:20:14 +00:00
Kevin_Zheng e2e372b2b1 Allow run metadata api per cell
Adds configuration option ``[api]/local_metadata_per_cell``
to allow user run Nova metadata API service per cell. Doing
this can avoid query API DB for instance information each
time an instance query for its metadata.

Implements blueprint run-meta-api-per-cell

Change-Id: I2e6ebb551e782e8aa0ac90169f4d4b8895311b3c
2019-01-14 10:20:50 -05:00
Artom Lifshitz 50b9d28e7d Doc: rebuild can result in SHUTOFF VM state
Rebuilding a SHUTOFF instance keeps it in SHUTOFF [1]. The doc
incorrectly states that rebuilding always results in an ACTIVE state.
This patch corrects this.

[1] https://github.com/openstack/nova/blob/stable/rocky/nova/compute/manager.py#L3271-L3278

Change-Id: I1af725ec0d6db861e5aaac6f3338c2276e2dad5f
2019-01-10 12:03:17 -05:00
Takashi NATSUME 64f97177c5 Follow up for "Add API ref guideline for body text"
This patch is a follow-up for
Ib03b562ffe189f24293eb77dd0c0ed5ec679172a.

Change-Id: I7a8a8d64dfc49b1e15135259388285ceeae2fb2c
2019-01-07 05:51:35 +00:00
Zuul 920ac6d8e1 Merge "Fix up force live migration completion docs" 2018-12-27 23:37:48 +00:00
Zuul b2f38aa0af Merge "Redirect user/placement to placement docs" 2018-12-25 23:07:21 +00:00
Zuul 53a86b50f2 Merge "Remove "API Service Version" upgrade check" 2018-12-24 23:08:59 +00:00
Zuul 93d067df26 Merge "Remove "Resource Providers" upgrade check" 2018-12-24 23:08:53 +00:00
Zuul 0820a4e3c9 Merge "Add descriptions about microversions" 2018-12-24 23:04:26 +00:00
Zuul 6d78ccdfae Merge "Fix the link to the Placement API Version History" 2018-12-22 01:43:56 +00:00
Zuul 7d5537e0a5 Merge "Add links to summit videos in user/cells.rst" 2018-12-21 23:02:07 +00:00
Stephen Finucane 4da306f640 doc: Switch header styles in support doc
We typically use '-' for H2-type headers and '~' for H3-style. This
document was using the opposite which was mighty confusing for your dear
editor. Simply switch them around and reduce that confusion.

Change-Id: I69712bab7deeb75b3fe619c9d93a078f90b76dad
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2018-12-21 14:39:35 +00:00
Zuul 905e25a63d Merge "Fix destination_type attribute in the bdm_v2 documentation" 2018-12-21 11:52:22 +00:00
Zuul 181e3eb174 Merge "nit: Add space to feature support docs" 2018-12-21 11:52:11 +00:00
Takashi NATSUME b934cf72e9 Add links to summit videos in user/cells.rst
This patch is a follow-up for
I66a2adb3ff75da6e267536f25c2eda5925f2fa87.

Add links to videos recorded at Rocky or Stein summit
in doc/source/user/cells.rst.

Change-Id: Idcc77cf2eee809f3ca99f952f0635213f3bb78eb
2018-12-21 05:29:25 +00:00
Zuul aea727c4fc Merge "Fix a broken link" 2018-12-21 02:01:47 +00:00
Zuul 91051ef3d3 Merge "doc: Rework 'resize' user doc" 2018-12-20 15:37:33 +00:00
Zuul 7381ec7d7c Merge "Document using service user tokens for long running operations" 2018-12-20 12:42:06 +00:00
zhangbailin 7ba9b8143c nit: Add space to feature support docs
Change-Id: I13c5f9c053f848facbcbd663fc677f4f991d7105
2018-12-20 04:12:13 -05:00
Takashi NATSUME 7d69335671 Fix a broken link
Fix broken links in doc/source/user/cells.rst.
In addition, fix a format of a console code block
in doc/source/admin/pci-passthrough.rst.

Change-Id: I66a2adb3ff75da6e267536f25c2eda5925f2fa87
Closes-Bug: #1808906
2018-12-20 01:43:09 +00:00
Matt Riedemann 63a32c230c Remove "API Service Version" upgrade check
With change I11083aa3c78bd8b6201558561457f3d65007a177
the code for the API Service Version upgrade check no
longer exists and therefore the upgrade check itself
is meaningless now.

Change-Id: I68b13002bc745c2c9ca7209b806f08c30272550e
2018-12-19 20:41:04 -05:00
Matt Riedemann 7737acdc20 Remove "Resource Providers" upgrade check
With placement being extracted from nova, the
"Resource Providers" nova-status upgrade check no
longer works as intended since the placement data
will no longer be in the nova_api database. As a
result the check can fail on otherwise properly
deployed setups with placement extracted.

This check was originally intended to ease the upgrade
to Ocata when placement was required for nova to work,
as can be seen from the newton/ocata/pike references
in the code.

Note that one could argue the check itself as a concept
is still useful for fresh installs to make sure everything
is deployed correctly and nova-compute is properly
reporting into placement, but for it to be maintained
we would have to change it to no longer rely on the
nova_api database and instead use the placement REST API,
which while possible, might not be worth the effort or
maintenance cost.

For simplicity and expediency, the check is simply removed
in this change.

Related mailing list discussion can be found here [1].

[1] http://lists.openstack.org/pipermail/openstack-discuss/2018-December/000454.html

Change-Id: I630a518d449a64160c81410245a22ed3d985fb01
Closes-Bug: #1808956
2018-12-19 20:31:36 -05:00
wingwj 4f254696d0 Fix an inaccurate link in nova doc
Fix an inaccurate link in nova doc for pci-passthrough

Change-Id: Ia003dea1bb0ec5c6cd6928ace5a632747efba852
Closes-Bug: 1805902
2018-12-20 09:01:57 +08:00
Matt Riedemann 1a4cc6c96d Document using service user tokens for long running operations
A recent thread in the mailing list [1] reminded me that we
don't have any documentation for the service user token feature
added back in ocata under blueprint use-service-tokens.

This change adds a troubleshooting entry for when using service
user tokens would be useful, and links to it from two known
trouble spots: live migration timeouts and creating images.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2018-December/001130.html

Change-Id: I1dda889038ffe67d53ceb35049aa1f2a9da39ae8
Closes-Bug: #1809165
2018-12-19 15:31:16 -05:00
Chris Dent f1e2954508 Redirect user/placement to placement docs
The placement api-ref had a link to user/placement.html in nova. That is
being fixed in Ibfe016f25a29b6810ea09c5d03a01dbf3c53371f but the link
is now loose in the internets, using the 'latest' prefix, so we want to
make sure that what is currently showing as a 404 goes somewhere useful,
in this case the top of the placement docs.

Change-Id: Ib75547ac655e614441dec5e1bcc7784c2b6a070c
2018-12-19 17:56:36 +00:00
Zuul 86a23f417a Merge "Fix a broken-link in nova doc" 2018-12-19 17:27:30 +00:00
Zuul 72d8bf1bf8 Merge "Address nits on I08991796aaced2abc824f608108c0c786181eb65" 2018-12-19 16:40:27 +00:00
wingwj b4ebca1d02 Fix a broken-link in nova doc
Fix a broken-link in nova doc for pci-passthrough

Change-Id: I350ee26710125f87d2e71df604ec87a38d6e997b
Related-Bug: 1805901
2018-12-19 14:35:34 +00:00
wingwj b05ca399d8 Fix a broken-link in nova doc
Fix a broken-link in nova doc for pci-passthrough

Change-Id: I27648eb2594874036a8850fce63ff2c4f7f8abc2
Closes-Bug: 1805901
2018-12-19 16:24:58 +08:00
Zuul e35a1e2e45 Merge "Migrate "reboot an instance" user guide docs" 2018-12-18 16:05:01 +00:00
Stephen Finucane 9cd1fc5794 Address nits on I08991796aaced2abc824f608108c0c786181eb65
- Move deprecated services to the end of the document
- Update incorrect information regarding nova-consoleauth
- Move configuration options that were specified for the wrong service
- Don't give the impression that the serial console is libvirt-only

Change-Id: Ie0fd987a1e5c130b8e31c84910814d5d051f2b31
2018-12-18 11:55:27 +00:00
Stephen Finucane 97cd1ccd3d doc: Rework 'resize' user doc
Remove a lot of noise and make things more generic through use of
variables rather than hardcoded values.

Change-Id: Ief498f902f24e5991cf463323db78729ae6f8d89
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2018-12-18 10:56:08 +00:00
Matt Riedemann 9de70aed23 Migrate "reboot an instance" user guide docs
This imports the cli-reboot-an-instance end user guide docs from
the openstack-manuals repo [1]. As part of the docs migration
in Pike, these were forgotten. The copied contents come from
the stable/ocata branch of openstack-manuals [2].

There are two minor content changes from the original:

1. The "shutdown_timeout" config option is linked to the docs.

2. The "nova rescue" command usage is replaced with
   "openstack server rescue".

[1] https://docs.openstack.org/ocata/user-guide/cli-reboot-an-instance.html
[2] https://github.com/openstack/openstack-manuals/blob/stable/ocata/doc/user-guide/source/cli-reboot-an-instance.rst

Change-Id: I6701e43fd80fb17df5cc703df766390ab838289a
Partial-Bug: #1714017
2018-12-18 10:56:01 +00:00
Zuul 5d748001c2 Merge "Fail to live migration if instance has a NUMA topology" 2018-12-18 02:56:40 +00:00
Zuul af9977c71c Merge "Restore nova-consoleauth to install docs" 2018-12-17 16:36:28 +00:00
Zuul ca1f880890 Merge "Mention size limit on user data in docs" 2018-12-17 16:36:19 +00:00
Takashi NATSUME 9466807dd2 Fix the link to the Placement API Version History
The Placement REST API Version History page has been
created by splitting the Placement doc top page (index.html)
since I66e0c7d18b253b0a5a8fdac65e30b5b3cef37db2.

So the link to the Placement REST API Version History
is updated in the nova doc.

Change-Id: I60701b09ade203b35d4d1281eb32b177543c064a
2018-12-17 06:03:46 +00:00
Takashi NATSUME 09fc91a070 Add descriptions about microversions
This patch is a follow-up patch
for I3e1ca88cac3a52a8b44e26f051a51a6db77a3231.

Add descriptions about microversions in the parameter section
in the API reference guideline.

Change-Id: I266d44cf96945445115b843aacbc29083e21bd8e
2018-12-16 23:29:50 +00:00