Commit Graph

276 Commits

Author SHA1 Message Date
Zuul 563004fdac Merge "[Doc] Best practices for effectively tolerating down cells" 2019-02-26 17:36:04 +00:00
Surya Seetharaman 57eb9424b9 [Doc] Best practices for effectively tolerating down cells
Adds a section in the admin guide with the config options related to
down cells.

Related to blueprint handling-down-cell

Change-Id: I6a6cc71e83896aaccd5dd98bc2ea024d6f22d528
2019-02-26 15:54:49 +01:00
Zuul 84d064c970 Merge "vmware:add support for the hw_video_ram image property" 2019-02-23 00:43:27 +00:00
Zuul 34e595f2a7 Merge "doc: fix and clarify --block-device usage in user docs" 2019-02-21 00:29:11 +00:00
Surya Seetharaman 833af5c9bf API microversion 2.69: Handles Down Cells Documentation
This patch adds the documentation around the work regarding
handling down cells that was introduced in v2.69.

Related to blueprint handling-down-cell

Change-Id: I78ed924a802307a992ff90e61ae7ff07c2cc39d1
2019-02-20 10:10:50 -08:00
Zuul 18d2f7f5b3 Merge "Replace glance command with openstack command" 2019-02-14 19:08:35 +00:00
Alexandra Settle 194c8c4a5f Adding cross refs for config options in scheduler filter guide
Change-Id: I98b5f0d9e18197382bc3a74f8f57d3ba1b11d899
Closes-bug: #1815591
2019-02-13 15:54:01 +00:00
Matt Riedemann cfa1cabd0f doc: mention description field in user flavors docs
The first section in the doc mentions the properties of
a flavor but didn't mention description which was added
in 2.55 so this adds it.

Change-Id: Id73a2665e7fa914e00dc60a085a7cd9f47655a73
2019-02-06 15:28:09 -05:00
Takashi NATSUME 7b55e4c05f Replace glance command with openstack command
Replace glance command with openstack command
in user/certificate-validation.rst.

Change-Id: Ie6608bef906c21faeeeb6f9776bdbf8a0f898d0c
2019-02-06 16:12:47 +09: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 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
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 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
Zuul 7d5537e0a5 Merge "Add links to summit videos in user/cells.rst" 2018-12-21 23:02:07 +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
zhangbailin 7ba9b8143c nit: Add space to feature support docs
Change-Id: I13c5f9c053f848facbcbd663fc677f4f991d7105
2018-12-20 04:12:13 -05:00
mmidolesov 38aa83b7fc vmware:add support for the hw_video_ram image property
Added create of a video card config spec and validation check
if the image meta video ram("hw_video_ram") is bigger than the
maximum allowed "hw_video:ram_max_mb" from the flavor.

Change-Id: I944d7e9235790cb2a4a21318c029d51012d157b0
2018-12-19 23:37:22 -08: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
Zuul e35a1e2e45 Merge "Migrate "reboot an instance" user guide docs" 2018-12-18 16:05:01 +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 ca1f880890 Merge "Mention size limit on user data in docs" 2018-12-17 16:36:19 +00:00
Stephen Finucane ae2e5650d1 Fail to live migration if instance has a NUMA topology
Live migration is currently totally broken if a NUMA topology is
present. This affects everything that's been regrettably stuffed in with
NUMA topology including CPU pinning, hugepage support and emulator
thread support. Side effects can range from simple unexpected
performance hits (due to instances running on the same cores) to
complete failures (due to instance cores or huge pages being mapped to
CPUs/NUMA nodes that don't exist on the destination host).

Until such a time as we resolve these issues, we should alert users to
the fact that such issues exist. A workaround option is provided for
operators that _really_ need the broken behavior, but it's defaulted to
False to highlight the brokenness of this feature to unsuspecting
operators.

Change-Id: I217fba9138132b107e9d62895d699d238392e761
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Related-bug: #1289064
2018-12-14 14:08:35 -05:00
Jose Castro Leon 984e45544e Fix destination_type attribute in the bdm_v2 documentation
All the clients using block device mapping are using the attribute
destination_type and the documentation points to dest_type instead.

Change-Id: Iba6e698e826d1a1898fde5cc999592f5821e3ebc
Co-Authored-By: David Moreno Garcia <david.mogar@gmail.com>
Closes-Bug: #1808358
2018-12-13 16:15:23 +01:00
Matt Riedemann 9001ef4708 Cleanup vendordata docs
This does a few things:

* Fix the formatting on the section headings in the
  vendordata user guide.
* Fix some of the example formatting blocks in the
  vendordata user guide.
* Link to the related config options called out in the
  vendordata guide.
* Update the vendordata_jsonfile_path help to remind
  people that the static file must exist on the compute
  host and be configured in nova-compute to use when
  building the config drive (people likely think this
  is only needed in API nodes because of the option
  being in the [api] group).
* Link to the vendordata docs from the configuration
  drive guide, which itself is linked from the main
  home page.

Change-Id: I7da94ac5699b28bc0153a513d612ffeea7c872e8
2018-12-11 17:49:39 -05:00
Zuul 2c7aa78980 Merge "Move nova-cells-v1 to experimental queue" 2018-12-11 01:23:35 +00:00
Zuul 5ca357c100 Merge "Use links to placement docs in nova docs" 2018-12-08 10:05:43 +00:00
Matt Riedemann e02fbb53d5 Move nova-cells-v1 to experimental queue
Cells v1 has been deprecated since Pike. CERN
has been running with cells v2 since Queens.
The cells v1 job used to be the only thing that
ran with nova-network, but we switched the job
to use neutron in Rocky:

  I9de6b710baffdffcd1d7ab19897d5776ef27ae7e

The cells v1 job also suffers from intermittent
test failures, like with snapshot tests.

Given the deprecated nature of cells v1 we should
just move it to the experimental queue so that it
can be run on-demand if desired but does not gate
on all nova changes, thus further moving along its
eventual removal.

This change also updates the cells v1 status doc
and adds some documentation about the different
job queues that nova uses for integration testing.

Change-Id: I74985f1946fffd0ae4d38604696d0d4656b6bf4e
Closes-Bug: #1807407
2018-12-07 10:59:37 -05:00
Zuul 66a030528f Merge "Clean up cpu_shared_set config docs" 2018-12-06 11:28:53 +00:00
Matt Riedemann d63afbf6c5 Mention size limit on user data in docs
The API reference for the "user_data" parameter to server
create and rebuild mentions the size restriction but the
user docs did not, so this adds that note. While doing this,
several other user-facing docs that mention user data link back
to the overall user-data doc so that we can centralize any
further documentation about that topic in a single location.

Change-Id: Id4a61d58150337e0dec223d4d2741336ed6d5387
Closes-Bug: #1804653
2018-11-30 10:07:08 -05:00
Takashi NATSUME 7dd7d9a5fa Use links to placement docs in nova docs
Placement documents have been published since
I667387ec262680af899a628520c107fa0d4eec24.

So use links to placement documents
https://docs.openstack.org/placement/latest/
in nova documents.

Change-Id: I218a6d11fea934e8991e41b4b36203c6ba3e3dbf
2018-11-26 05:39:56 +00:00
Zuul 47bcc39cd6 Merge "Add CellsV2 FAQ about API design decisions" 2018-11-20 15:55:36 +00:00
Dan Smith dc7039669f Add CellsV2 FAQ about API design decisions
At the Stein summit (and previous discussions) the topic of exposing
cellsv2 out of the API came up again. This patch adds two FAQ entries
reflecting my notes from early design decisions about why we did not
want to do that, along with more recent examples, such as FFU.

These are my feelings on the subject and I was asked to put these into
FAQ form for posterity to make the discussion easier in the future. I
would recommend that we agree on these and then codify them here.

Change-Id: I0499e141456fcca63f95bad25503c4e86c6aa369
2018-11-20 06:44:59 -08:00
Takashi NATSUME 0e718ddb7a Add description of custom resource classes
Add the description about custom resource classes and
overriding standard resource classes in the "Flavors" document.

Change-Id: I5b804db70d229696e7b7c5b5db16946cf1f1c49f
Closes-Bug: #1800663
2018-11-14 15:47:16 +00:00
Radoslav Gerganov 5cb2350de7 Fix support matrix for VMware UEFI support
UEFI support in the VMware driver has been added with commit fc0c6d2.
This patch fixes the support matrix to reflect this.

Change-Id: I8b08e11ae4dd7f1101758b29ae3424d790b26ed1
2018-11-06 15:34:07 +02:00
Matt Riedemann 3e14c9557b Clean up cpu_shared_set config docs
This cleans up formatting and grammar for the cpu_shared_set
config option docs and related flavor extra spec docs, and
updates the flavor extra spec docs to link to the config
option.

Change-Id: Ief013224b5f6c541ea8900653d35057837f740eb
2018-11-01 16:00:49 -04:00
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
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