3347 Commits

Author SHA1 Message Date
Zuul
84d064c970 Merge "vmware:add support for the hw_video_ram image property" 2019-02-23 00:43:27 +00:00
Zuul
a37a035c9d Merge "Remove placement from contributor doc" 2019-02-21 13:23:59 +00:00
Zuul
841f02cf1d Merge "Remove link to placement configuration from nova config docs" 2019-02-21 13:23:50 +00:00
Zuul
0235eca3ae Merge "Remove placement from nova install docs" 2019-02-21 13:23:40 +00:00
Zuul
e905a69862 Merge "Update nova docs front page for placement removal" 2019-02-21 13:23:32 +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
e3c24da89a Merge "API microversion 2.69: Handles Down Cells" 2019-02-17 00:01:31 +00:00
Surya Seetharaman
983abb05d7 API microversion 2.69: Handles Down Cells
This patch introduces a new API microversion which will be
used to alter the responses of ``GET /servers``, ``GET /servers/detail``,
``GET /servers/{server_id}`` and ``GET /os-services`` when a cell is
down to return minimal constructs with missing keys.

Implements blueprint handling-down-cell

Change-Id: Id9f12532897912b39093f63e9286540d9029edeb
2019-02-15 14:39:20 -05:00
Zuul
880327cc31 Merge "Make VolumeAttachmentsSampleV249 test other methods" 2019-02-15 16:48:53 +00:00
Zuul
3b3d0442e4 Merge "Remove deprecated 'os-flavor-manage' policy" 2019-02-15 01:56:08 +00:00
Zuul
18d2f7f5b3 Merge "Replace glance command with openstack command" 2019-02-14 19:08:35 +00:00
Zuul
3505fde741 Merge "doc: specify --os-compute-api-version when setting flavor description" 2019-02-14 17:05:32 +00:00
Matt Riedemann
e3c089bf1d Make VolumeAttachmentsSampleV249 test other methods
The 2.49 microversion for the os-volume_attachments API
only changes the POST action to attach a volume with a tag.
But we should make sure 2.49 is backward compatible on the
GET, PUT and DELETE methods for the same API.

This makes VolumeAttachmentsSampleV249 extend
VolumeAttachmentsSample and also removes duplicate code
by adding the _get_vol_attachment_subs method.

In addition, VolumeAttachmentsSampleV249OldCinderFlow is
removed since it didn't really work properly (it was missing
a few stubs) and was redundant with the test_tagged_attach_volume
unit test found in nova.tests.unit.test_compute_api.

Change-Id: I757576d3474997c49c67745fb245122fc2c6decc
2019-02-14 10:52:21 -05:00
Takashi NATSUME
dedeff70a7 Remove deprecated 'os-flavor-manage' policy
Remove the 'os_compute_api:os-flavor-manage' policy.
The 'os_compute_api:os-flavor-manage' policy has been deprecated
since 16.0.0 Pike.
The policy has been replaced with the following policies.

- os_compute_api:os-flavor-manage:create
- os_compute_api:os-flavor-manage:delete

Change-Id: I856498dfcebfa330598a22dd7c660bd6f158351b
2019-02-14 15:00:37 +00:00
Zuul
37f3a96a74 Merge "Use :oslo-config: role in hypervisor-kvm doc" 2019-02-14 04:05:31 +00:00
Adam Spiers
28a1116a09 Drop specific versions of openSUSE-based distributions
In the contributor documentation, don't reference specific
distribution versions since they'll inevitably get out of date, and
these instructions are valid for all releases in the last 5 years at
least, and are not likely to change any time soon.

Change-Id: I7e7391a8850cf8a9dda763d9b85242fbbbb42af7
2019-02-13 20:11:29 +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
Zuul
95287619c9 Merge "doc: link admin/configuration from admin home page" 2019-02-12 08:07:00 +00:00
Zuul
484003ceb5 Merge "doc: update the security groups admin doc" 2019-02-12 08:06:51 +00:00
Zuul
bff3fd1cdb Merge "API: Remove evacuate/live-migrate 'force' parameter" 2019-02-09 22:55:34 +00:00
Zuul
782d742e60 Merge "Drop nova-multiattach job" 2019-02-09 22:46:34 +00:00
Zuul
ad50b7e678 Merge "doc: mention description field in user flavors docs" 2019-02-09 07:54:50 +00:00
Stephen Finucane
36a91936a8 API: Remove evacuate/live-migrate 'force' parameter
Add a new microversion that removes support for the aforementioned
argument, which cannot be adequately guaranteed in the new placement
world.

Change-Id: I2a395aa6eccad75a97fa49e993b0300bdcfc7258
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Implements: blueprint remove-force-flag-from-live-migrate-and-evacuate
APIImpact
2019-02-08 17:05:19 -05:00
Matt Riedemann
8e8834cd47 doc: specify --os-compute-api-version when setting flavor description
This is a follow up to change I0f206d9db70465d8ce6b1404f546f3e00eeb6e23
where we changed the docs from using "nova flavor-update" to
"openstack flavor set --description" but unlike nova CLI which
negotiates the highest available microversion by default, OSC does not
and defaults to 2.1 which won't work when trying to set a flavor
description. This change adds the --os-compute-api-version option
to the command line example to make that command work.

Change-Id: I7eacc30b4cf3a5ef89f90ec599f21eaa12bf2a10
2019-02-07 08:31:36 -05:00
Chris Dent
1e3ed770ef Remove placement from contributor doc
Placement has its own contributor documentation.

Change-Id: I13070ee66eb2ecce9ce68fd6e5f3f62743437c6a
2019-02-07 10:40:00 +00:00
Chris Dent
e4ee203f62 Remove link to placement configuration from nova config docs
It's elsewhere now.

Change-Id: Ie9a49a83b4b3f676f1aa0215a62390f29c7f784f
2019-02-07 10:39:59 +00:00
Chris Dent
f21b07153d Remove placement from nova install docs
In a fairly hack and slash fashion, remove the installation of placement
from the nova install docs. Placement will have its own installation
docs.

Configuring access to placement from the controller and compute nodes is
still described.

The depends-on is to the patch that provides placement install docs.

The output of 'nova-status upgrade check' is updated to reflect the
current state of the output of that command; this means it now
includes a fair bit more than checking cells v2 and the existence
of the placement API.

Depends-On: https://review.openstack.org/#/c/628220/
Change-Id: I9e082a9c6d4b6369f1ec6c17bbd3ccc417a5e97b
2019-02-07 10:39:59 +00:00
Chris Dent
547cd3b382 Update nova docs front page for placement removal
Remove links to internal placement documentation. Instead indicate
that placement is required by nova, and point elsewhere.

The depends-on adds placement install docs to the placement repo.

Depends-On: https://review.openstack.org/628220
Change-Id: I9f0d52e7b46b270363946211cf6dc0c338981cb2
2019-02-07 10:39:59 +00:00
Eric Fried
31508ddc71 Use :oslo-config: role in hypervisor-kvm doc
Convert ``option`` to the shiny :oslo.config:option:`section.option`
format in admin/configuration/hypervisore-kvm.

Recognizing this could be done to a lot more files; I just happened to
be looking at this one today.

Change-Id: If1b02ce99152ffd00d4f461dc4539606db1bb13b
2019-02-06 16:41:57 -06: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
Sean Mooney
80ad7d9df6 update flavor admin docs
- This change updates the admin flavor docs
  to reflect the use of osc to update flavor
  descriptions

- This change documents that modifcations to
  flavor extra_specs are not reflected in an
  instance's embedded flavor.

Change-Id: I0f206d9db70465d8ce6b1404f546f3e00eeb6e23
2019-02-06 14:38:56 -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
Matt Riedemann
e9dd8c0f48 Drop nova-multiattach job
The dependent tempest change enables the volume multiattach
tests in the tempest-full and tempest-slow jobs, on which
nova already gates, which allows us to drop the special
nova-multiattach job which is mostly redundant test coverage
of the other tempest.api.compute.* tests, and allows us to
run one fewer job on nova/cinder/tempest changes in Stein.

The docs are updated to reflect the source of the testing
now.

Also depends on cinder dropping its usage of the nova-multiattach
job before we can drop the job definition from nova.

Depends-On: https://review.openstack.org/606978
Depends-On: https://review.openstack.org/606985
Change-Id: I744afa1df9a6ed8e0eba4310b20c33755ce1ba88
2019-02-05 09:13:02 -05:00
Zuul
a62cf91282 Merge "doc: link Kashyap's cpu model talk to the libvirt driver config docs" 2019-02-04 23:27:04 +00:00
Zuul
7997fb68bb Merge "doc: Add solution to live migration ssh issues" 2019-02-04 22:22:46 +00:00
Zuul
b7611e8236 Merge "doc: Switch header styles in support doc" 2019-02-04 22:22:38 +00:00
Stephen Finucane
76aea693dc doc: Add solution to live migration ssh issues
This took me a good hour to suss and while there were a couple of Google
hits for it, the top suggestion was to use TCP (rather than SSH) and
disable all security, which is rarely good advice.

Paste an sample error and link to the doc where you can find advice of
resolving the issue.

Change-Id: I3805361834f7d954ae6759a22f61f02db139bcc5
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2019-02-04 17:35:56 +00:00
Matt Riedemann
14b45dce61 doc: update the security groups admin doc
This makes the following changes:

* re-orders the page to move the nova-network
  specific information to the bottom
* creates two sections: one for CLI and one for
  nova-network
* mentions at the top that by default neutron
  manages security groups and their quota and
  links to the neutron docs
* drops the mention of the 'nova' CLI since there
  are no examples in this doc using that CLI

Change-Id: Ifd23424ac14bacf4bf7a0716c268f48ec869a41e
2019-02-04 11:31:06 -05:00
Matt Riedemann
d3251c3f9f doc: link Kashyap's cpu model talk to the libvirt driver config docs
Change-Id: If9b72290d3e7faa486dc0d3a7b2e4a6928705011
2019-02-04 11:09:13 -05:00
Matt Riedemann
b768496f10 doc: link admin/configuration from admin home page
There is some important stuff in the admin/configuration
docs sub-tree like information about configuring hypervisor
drivers and scheduler filters/weighers but it wasn't easily
found since it wasn't in the admin toc tree. This adds it
to the overall admin home page and adds a TODO that we need
to organize that admin page into sections somehow.

Change-Id: I5952a2dd590407b1ce56805df6f90a472cc878bf
2019-02-04 11:00:03 -05: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