Commit Graph

2907 Commits

Author SHA1 Message Date
Zuul e2b0b469be Merge "Honor availability_zone hint via placement" 2018-05-24 06:54:56 +00:00
Dan Smith 96f1071166 Honor availability_zone hint via placement
This adds a request filter that, if enabled, allows us to use placement
to select hosts in the desired availability zone by looking up the uuid
of the associated host aggregate and using that in our query for
allocation candidates. The deployer needs the same sort of mirrored
aggregate setup as the tenant filter, and documentation is added here to
make that clear.

Related to blueprint placement-req-filter

Change-Id: I7eb6de435e10793f5445724d847a8f1bf25ec6e3
2018-05-22 08:56:50 -07:00
Zuul 6bc136efcc Merge "Update placement upgrade docs for nova-api dependency on placement" 2018-05-19 01:55:38 +00:00
Zuul 777182c742 Merge "Update nova-status and docs for required placement 1.24" 2018-05-19 01:55:33 +00:00
Matt Riedemann 3abd5f5797 Update placement upgrade docs for nova-api dependency on placement
Change If507e23f0b7e5fa417041c3870d77786498f741d makes nova-api
dependent on placement for deleting an instance when the nova-compute
service on which that instance is running is down, also known as
"local delete".

Change I7b8622b178d5043ed1556d7bdceaf60f47e5ac80 makes nova-api
dependent on placement for deleting a nova-compute service record.

Both changes are idempotent if nova-api isn't configured to use
placement, but warnings will show up in the logs.

This change updates the upgrade docs to mention the new dependency.

Change-Id: I941a8f4b321e4c90a45f7d9fccb74489fae0d62d
Related-Bug: #1679750
Related-Bug: #1756179
2018-05-18 23:06:43 +00:00
Matthew Edmonds 30c87c5a9d Update PowerVM hypervisor docs
This refreshes the PowerVM hypervisor docs with a clearer flow and
additional information.

Change-Id: I0b33200b710960e4e8df7333d06c98456c4b0c00
2018-05-18 22:00:22 +00:00
Matt Riedemann 216e232def Update nova-status and docs for required placement 1.24
Change Id7eecbfe53f3a973d828122cf0149b2e10b8833f made
nova-scheduler require placement >= 1.24 so this change
updates the minimum required version checked in the
nova-status upgrade check command along with the upgrade
docs.

Change-Id: I4369f7fb1453e896864222fa407437982be8f6b5
2018-05-18 21:46:25 +00:00
esberglu 026c2a61d0 PowerVM Driver: Localdisk
Add PowerVM Driver support for local ephemeral disk.

Change-Id: I9251287451bc2f800ef4a230c3c01598f37b5ad3
Blueprint: powervm-localdisk
2018-05-18 21:38:09 +00:00
Zuul 0f70337718 Merge "Fix typo in NUMATopologyFilter docs" 2018-05-18 18:18:18 +00:00
Zuul c8fd5ce108 Merge "Fix inconsistency in docs" 2018-05-18 16:30:51 +00:00
chenxing d163fb6d69 Update the deprecate os_region_name option
Option "os_region_name" from group "placement" is deprecated. Use
option "region_name" from group "placement".

Change-Id: Id44d456bb1bdb0c5564ad4f5d9cdee2f41226052
Related-Bug: #1762106
2018-05-18 15:35:31 +00:00
Robin Naundorf dd1dea22f2 Fix inconsistency in docs
* Make the `True` lowercase to reflect examples in config and
    other parameters in docs

TrivialFix

Change-Id: I259d36bc15e034c248ec39b2c5c97ff95986b31b
2018-05-18 09:37:02 +02:00
Zuul de52fefa1f Merge "Deduplicate config/policy reference docs from main index" 2018-05-17 20:07:09 +00:00
Matt Riedemann ccc02de36c Deduplicate config/policy reference docs from main index
The top level index (home page) was duplicating the
configuration/index content, so this simply changes
the home page into a table of contents for the configuration
sub-tree and leaves the config/policy content in the
sub-tree. This will be needed when we add docs about
placement policy.

The hidden configuration toc tree items are moved
into the sub-tree configuration/index to be closer
to the actual documents we're hiding from the toc tree.

Related to blueprint granular-placement-policy

Change-Id: Iad87dc339278ee7e7cf8de5eea252bbb7a5f75c2
2018-05-17 11:11:25 -04:00
Takashi NATSUME 18a018033c Fix auth_url example in hypervisor-hyper-v.rst
The url path should be 'v3' instead of 'v3.0'
in the 'auth_url'.

TrivialFix
Change-Id: I91528d61bbadc1b30c27985de9511e51ad71e771
2018-05-17 08:30:42 +09:00
Zuul 18332d0353 Merge "PowerVM Driver: Snapshot" 2018-05-16 15:47:19 +00:00
caoyuan 17105cce3a Update auth_url in install docs
1. Beginning with the Queens release, the keystone install guide
recommends running all interfaces on the same port. This patch
updates the install guide to reflect that change.
2. update the deprecated neutron auth options

Change-Id: I5c0a6389b759153bae06fa43846f03ac083c3db4
2018-05-15 13:06:07 +00:00
Zuul 4fa05ab6d4 Merge "[Doc]Link policies file into api" 2018-05-11 01:51:27 +00:00
jichen 936f765b85 [Doc]Link policies file into api
Link policies file into api.

Change-Id: I0afb7e850ad7064138ad2b69d0fa900d40f3efbe
2018-05-09 17:22:37 +08:00
Zuul b709892cdc Merge "Add docs for hw_video:ram_max_mb flavor extra spec" 2018-05-09 04:11:01 +00:00
Zuul 3f1c581fc6 Merge "Use .. deprecated:: theme for deprecations" 2018-05-08 23:47:51 +00:00
Zuul 1d4f01a6fe Merge "doc: Don't confuse CPU pinning/NUMA as Hyper-V only" 2018-05-08 23:47:43 +00:00
Matt Riedemann 1ae5821efd Add docs for hw_video:ram_max_mb flavor extra spec
Change-Id: I4fc888b40216d7d8e53e278c71fde297fa7f2704
2018-05-08 18:13:35 -04:00
Eric Fried fca14f0906 Use .. deprecated:: theme for deprecations
We were using `warning`, and `important` themes to mark deprecations in
various places.  We have a `deprecated` role, so this change switches to
use it.

Note that I also found the following files that mentioned deprecation,
but not in a way where using this role seemed appropriate.  I'm
recording them here so you know I considered them.

doc/source/admin/configuration/hypervisor-kvm.rst
doc/source/admin/configuration/schedulers.rst
doc/source/cli/index.rst
doc/source/cli/nova-rootwrap.rst
doc/source/contributor/api.rst
doc/source/contributor/code-review.rst
doc/source/contributor/policies.rst
doc/source/contributor/project-scope.rst
doc/source/reference/policy-enforcement.rst
doc/source/reference/stable-api.rst
doc/source/user/feature-classification.rst
doc/source/user/flavors.rst
doc/source/user/upgrade.rst

Change-Id: Icd7613d9886cfe0775372c817e5f3d07d8fb553d
2018-05-08 21:50:51 +00:00
Stephen Finucane a2a01c4ace doc: Don't confuse CPU pinning/NUMA as Hyper-V only
A recent'ish change in openstack-manuals [1] noted the new support for
NUMA topologies when using the Hyper-V driver. As part of this change, a
section was added that describes the configuration steps that were
necessary on Hyper-V hosts before booting instances. However, the way
this section is integrated gives the impression that NUMA support is a
Hyper-V only feature.

Correct this by moving this configuration step to the end of the
document and instead opting to link to it from higher in the doc.

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

Change-Id: Ic8d9c1b35d52a26374763b5c0e4be79875814569
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2018-05-08 17:40:22 -04:00
Zuul d5049878ca Merge "Deprecate the nova-consoleauth service" 2018-05-08 04:21:43 +00:00
Zuul b60c3fc394 Merge "[doc]remove nova-cert leftover in doc" 2018-05-07 20:09:45 +00:00
Zuul f58d8b5513 Merge "doc: add note about xenapi aggregate upcall being resolved" 2018-05-07 19:59:14 +00:00
Daniel Abad 72633d955f Fix typos in Host aggregates documentation
Change-Id: I5835928b51435149cb1557080b03ae3ab6bf3fa8
2018-05-07 16:41:39 +02:00
melanie witt e91dad3ee9 Deprecate the nova-consoleauth service
Part of blueprint convert-consoles-to-objects

Change-Id: I9bfa89d2d8fe2b5803b4e1478377e13dc3231b1c
2018-05-03 10:02:29 -04:00
melanie witt c53c9ea759 Update layout docs for running console proxies
As of Rocky, the cell databases are being used for storing console
authorizations, so the layout for running console proxies has
changed from global to a deployment to per cell.

Part of blueprint convert-consoles-to-objects

Change-Id: If5c7b081682f0cb36a678d0e21e26b7985cd8527
2018-05-03 09:57:56 -04:00
Zuul 93f4364a4e Merge "trivial: Fix file permissions" 2018-05-03 13:11:38 +00:00
Zuul 7e25f50cbf Merge "Cleanup patch for the cell-disable series" 2018-05-03 10:58:38 +00:00
Stephen Finucane a268905ea8 trivial: Fix file permissions
No reason for JSON samples to be executable.

Change-Id: I3ccfe4175b4c817a423ea4c79c28e33d6ad01f86
2018-05-03 10:48:39 +01:00
jichen e1c269b742 [doc]remove nova-cert leftover in doc
commit f2121f5880
cleaned up nova-cert, this patched removed remainings in doc

Change-Id: I0adf653976ccda77d56a752d3b4408c57621a428
2018-05-03 17:47:49 +08:00
zhangyangyang 3c756ac659 Remove ExactCoreFilter ExactDiskFilter ExactRamFilter
ExactCoreFilter, ExactDiskFilter and ExactRamFilter were deprecated
for removal in the Pike release [1] and are now being removed.

Now scheduling will use the custom resource class defined for each
baremetal node to make its selection.

[1] I843353427c90142a366ae9ca63ee4298b4f3ecd4

Change-Id: Ie25a5f6c28c20f589016791970da8d5849ec291c
2018-05-01 10:33:23 -04:00
Matt Riedemann 3c95254b1c Fix tox -e docs
This was missed in I90ee8a2081c2a0465441a8d81d161f4887b4e1fb
presumably because we no longer get warnings as errors, or
some such wickedness. Anyway, this fixes docs build using tox.

Change-Id: Ic8ec0c54a7c6502a0a4ea91d034fa9c1ae5e59d4
Closes-Bug: #1767192
2018-04-26 17:30:08 -04:00
Zuul ceac5d5469 Merge "Add host/hostId to instance action events API" 2018-04-26 20:42:07 +00:00
Yikun Jiang c2f7d65858 Add host/hostId to instance action events API
This patch adds a new microversion to
``GET /servers/{server_id}/os-instance-actions/{req_id}`` API to
include the ``host`` field for admin and an ``hostId`` for all users
by default. And the display of newly added ``host`` field will be
controlled by the same policy as the ``traceback`` field.

The newly added fields can be used to determine on which host a
given action event occurred.

Part of blueprint: add-host-to-instance-action-events

Change-Id: I2f8b4a12a088b9ed96b428eafde2e0c478fb1db5
2018-04-26 14:17:02 +00:00
Zuul 1d335b3332 Merge "ServerActionsSampleJsonTest refactor" 2018-04-26 13:55:56 +00:00
Yikun Jiang 577cb4b2f4 ServerActionsSampleJsonTest refactor
Change the instance action sample to a real world action.

In Setup, we create an instance and then stop it. That would
be 2 actions(create and stop), and the stop action should have
a "compute_stop_instance" event. And then we do 2.1/2.21/2.51
test case based on these actions, like we have done in 2.58.

Change-Id: Iac23a574a05e62a99aab20ffce4265f4fb5a44d9
2018-04-26 09:26:35 +08:00
Zuul e6adcd49fd Merge "doc: Adds Hyper-V PCI passthrough details" 2018-04-26 00:06:47 +00:00
Zuul ad165ead23 Merge "Update docs for [keystone_authtoken] changes since Queens" 2018-04-25 20:25:04 +00:00
esberglu 3bb59e393f PowerVM Driver: Snapshot
Add instance snapshot support for the PowerVM virt driver.

Blueprint: powervm-snapshot

Change-Id: I2691b09d95691915dc1065284d25ad22db41d32b
2018-04-25 14:35:12 -05:00
Zuul 764a3127ba Merge "docs: link to volume multi-attach demo recording" 2018-04-24 19:50:12 +00:00
Zuul 7ab7e61bc0 Merge "Add CPUWeigher" 2018-04-24 01:09:31 +00:00
Matt Riedemann ef15a2dd15 docs: link to volume multi-attach demo recording
Since we have a recorded overview and demo for
volume multi-attach we should link to it from our
docs.

Change-Id: I6e0e243dbb1e1203dd31e820ea12dc7aaa227b64
2018-04-23 14:48:46 -04:00
Matt Riedemann 37af0f28f7 doc: add note about xenapi aggregate upcall being resolved
Change I2c492c46e85c1df96aa7fdc12cdee0b1c7ba775e removed the
need to the host aggregate up-call when doing non-block
live migration in the xenapi driver. This change adds a note
in the cells v2 layout docs saying the upcall is resolved.

Related to blueprint live-migration-in-xapi-pool

Change-Id: I7fe6ed428c77a0f719afb957d74e517f1ab9a991
2018-04-23 13:57:54 -04:00
Zuul 77bd44c878 Merge "Mention that users need noVNC >= 0.6" 2018-04-23 14:29:37 +00:00
Zuul d4504302c9 Merge "Add request_id to instance action notifications" 2018-04-21 00:52:42 +00:00