Commit Graph

145 Commits

Author SHA1 Message Date
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
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 18332d0353 Merge "PowerVM Driver: Snapshot" 2018-05-16 15:47:19 +00: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
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
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 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
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
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 7ab7e61bc0 Merge "Add CPUWeigher" 2018-04-24 01:09:31 +00: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
naichuans 8bcb9ee066 xenapi: Documents update for XAPI pool shared SR migration
xenapi is going to support pool-based multi-hosts OpenStack
environments, aggregate-based-pools support was removed in
change I2c492c46e85c1df96aa7fdc12cdee0b1c7ba775e.
This patch is used to update related OpenStack documents.

Change-Id: I9a1244fb23aea99eb246325d5655ab005dca42b4
Implements: blueprint live-migration-in-xapi-pool
2018-04-20 13:13:03 +00:00
Zuul e3a9efab86 Merge "Add hide_hypervisor_id flavor extra_spec" 2018-04-20 05:21:38 +00:00
Konstantinos Samaras-Tsakiris edf67cfda2 Add hide_hypervisor_id flavor extra_spec
Blueprint add-kvm-hidden-feature added the capability of hiding the kvm
signature from guests. However, it was implemented only through an image
property.

A major reason for this feature is to allow passed-through Nvidia GPUs
to work correctly. GPU pci-passthrough is specified on the flavor's
extra_specs, without requiring an image with special properties.
Therefore, hiding the KVM signature should also be specifiable through
the flavor's extra_specs, in order to not require a special image for
this use case.

If the new flavor extra_spec is present and set to 'true', the libvirt
driver will produce an additional element to hide kvm's signature on
the vm, in the same way as with the image property
`img_hide_hypervisor_id`.

Implements: blueprint hide-hypervisor-id-flavor-extra-spec
Closes-Bug: 1757424
Change-Id: I41c5913b4148629b448ea5fb43b7597dc067dc22
2018-04-19 22:36:26 +00:00
Stephen Finucane 67f52ab36d Add CPUWeigher
nova provides many different types of filter, providing both resource
stacking/spreading and affinity/anti-affinity patterns. Curiously
enough, however, there is no way to configure a stack or spread policy
of CPUs. Add one.

Change-Id: I90ee8a2081c2a0465441a8d81d161f4887b4e1fb
Implements: bp vcpu-weighter
2018-04-18 15:20:30 +01:00
Chris Dent 2c51688558 Parse forbidden in extra_specs
Accept forbidden traits in the processing of extra_specs, with the
format of:

      trait:CUSTOM_MAGIC=forbidden

This will be transformed into required=!CUSTOM_MAGIC when the traits
are assembled into a request to GET /allocation_candidates.

Implements blueprint forbidden-traits-in-nova

Change-Id: I31e609aef47d2fea03f279e4bfdd30f072d062b4
2018-04-17 18:18:43 +01:00
jichen a53dbc0c23 make metadata doc up to date
currently we have following output:

$ curl http://169.254.169.254/openstack
2012-08-10
2013-04-04
2013-10-17
2015-10-15
2016-06-30
2016-10-06
2017-02-22
latest

Change-Id: I6b4aed63d5c981abc9374baf929f05b26760e645
2018-04-10 09:41:22 +08:00
Dan Smith 104c9e6375 Clarify/correct the ordering of API and Cell database schema updates
Everyone seems to agree that the only sane ordering of these operations
is "api first, cell after." However, grenade and our own documentation
shows the api database as coming after the main one. I believe this
was added to grenade in a sort of append operation, and thus after the
main database. This was done back when usage of the API database was
still optional (for upgrades) and thus the ordering didn't matter much.
Since the process has been correct (api first) in devstack for a long
time, and since grenade runs after devstack, we haven't had any issues.
A recent change to add something to a core data structure column format
highlighted the out-of-order-ness of this.

I also believe the docs got the same append behavior when adding the
command to the list, and/or it may have been copied from grenade, which
is our in-code manifestation of the upgrade steps.

Change-Id: I19f263ed314a8b01bbb07337467392cc1c146b66
Related-Bug: #1761775
2018-04-06 08:24:33 -07:00
Zuul deecb7892a Merge "Update the cells FAQs and scheduler maintenance docs." 2018-04-05 23:16:22 +00:00
Surya Seetharaman 660da1e952 Update the cells FAQs and scheduler maintenance docs.
Related to blueprint cell-disable

Change-Id: I020b78cc3ce035ff3466774d5d08198d89271117
2018-04-05 15:57:00 +00:00
Zuul 90cd707b31 Merge "Remove a outdated warning" 2018-04-04 18:34:19 +00:00
Zuul 2474f44b17 Merge "PowerVM Driver: Network interface attach/detach" 2018-04-04 06:49:19 +00:00
jichen 812e2c1736 Remove a outdated warning
this document is out of date since a set of changes made such as

43f91a87cb
39f6159bde
8be8d02aa7

Put those 'to be fixed in queens' make people think it should
be already been fixed due to queen release, so remove them in order
to avoid confusion and we can continue to enhance this doc.

TrivialFix

Change-Id: I12dd385f4e1f159bdb9a78a629d4095889397c09
2018-04-04 14:00:47 +08:00
esberglu ed525cc403 PowerVM Driver: Network interface attach/detach
This adds the ability to hotplug network interfaces for the powervm
virt driver.

Blueprint: powervm-network-hotplug
Change-Id: I78b94c9731c35e3291d46b9bf9f5554e21c2429e
2018-03-29 09:06:09 -04:00
Eric Fried 7f1b338bce doc: Upgrade placement first
It has long been *recommended* that the placement service be upgraded
before nova services, but scenarios where it isn't have never really
been explored or tested.  Following (yet another) discussion on the
topic [1] it was decided that we are best served by *requiring* that
placement be updated first.  This simplifies our test/support matrix,
and the code we write to consume placement.  It also makes the operator
experience cleaner by giving them a clear and unambiguous script to
follow.

This change set rewords the upgrade document accordingly.

[1] http://eavesdrop.openstack.org/irclogs/%23openstack-nova/%23openstack-nova.2018-03-26.log.html#t2018-03-26T17:35:11

Change-Id: I97215e94efdd8c05045872fb9ba7d2089dc6efb8
2018-03-26 21:10:03 +00:00
Matt Riedemann 43f91a87cb Re-work the metadata service docs
The metadata service docs were hard to find since they were nested
down in some nova-network admin guide docs, and they were a mix of
end user and admin deployment guide information.

This change splits out the end-user facing content into a user
guide and leaves the deployment-specific information in the admin
guide, and links are updated appropriately.

The admin guide portion also referenced some config options that no
longer exist, so those are also removed and vendordata_providers
is added with a link to the vendordata guide. The options themselves
are cleaned up for their current groups and linked to the config option
docs.

Change-Id: I66035366f3a7ca62ea12d6afa74d13db01ec9f8d
2018-03-08 11:54:41 -05:00
Zuul ee66ad484a Merge "Remove warning in feature support matrix page" 2018-03-01 12:56:11 +00:00
Sylvain Bauza 9526802915 doc: Clarify how to create your own filter
The filter-scheduler doc was pretty old and I was recently asked to give
some guidance on how to create a custom filter.
A doc is better than any chat, so let's make that better.

Change-Id: I64d24fb4337bb8c1e59a04818307b43f181e2ad2
2018-02-15 11:30:32 +01:00
Matt Riedemann 6a67861c44 Remove warning in feature support matrix page
The feature classification effectively died with OSIC, so
let's remove the warning from the page as it's actively
maintained.

Change-Id: I6e601759f6e26d2c9b94229be953490a8342709a
2018-02-13 12:27:06 -05:00
Zuul bfa9e2598a Merge "Fix docs for IsolatedHostsFilter" 2018-02-12 18:08:41 +00:00
Matt Riedemann 60bbec15ed Fix docs for IsolatedHostsFilter
The docs were using variable names from the filter code rather
than the actual config options.

Change-Id: I2694b32e9c90ad098101e41e4e3ae36ddafd8d0f
Related-Bug: #1746483
2018-02-11 17:23:38 -05:00
Marcin Juszkiewicz 30b7a566aa Provide basic data for AArch64 support matrix/functionality
Nova has two pages in documentation listing things supported on several
architectures/hypervisors. This patch adds initial state of AArch64
into support matrix.

Document minimal qemu/libvirt for aarch64. Version 3.6.0 was first one
which worked for us with Nova without a need for extra patches.

Change-Id: I2ee7be9e88e20ed0f77be07fed4fdd800533b3c5
2018-02-09 18:55:23 +00:00
Zuul e8e8fe4eef Merge "Fix wrong link for "Manage Flavors" in CPU topologies doc" 2018-02-07 05:07:33 +00:00
Zuul b37aa54153 Merge "Add late server group policy check to rebuild" 2018-02-07 03:46:34 +00:00
Zuul f622df7c82 Merge "docs: Add booting from an encrypted volume" 2018-02-07 00:44:22 +00:00
Zuul 593e73fb87 Merge "Add PowerVM to feature-classification" 2018-02-06 21:16:02 +00:00
Balazs Gibizer edeeaf9102 Add late server group policy check to rebuild
The affinity and anti-affinity server group policy is enforced by the
scheduler but two parallel scheduling could cause that such policy is
violated. During instance boot a late policy check was performed in
the compute manager to prevent this. This check was missing in case
of rebuild. Therefore two parallel evacuate command could cause that
the server group policy is violated. This patch introduces the late
policy check to rebuild to prevent such situation. When the violation
is detected during boot a re-scheduling happens. However the rebuild
action does not have the re-scheduling implementation so in this case
the rebuild will fail and the evacuation needs to be retried by the
user. Still this is better than allowing a parallel evacuation to
break the server group affinity policy.

To make the late policy check possible in the compute/manager the
rebuild_instance compute RPC call was extended with a request_spec
parameter.

Co-Authored-By: Richard Zsarnoczai <richard.zsarnoczai@ericsson.com>

Change-Id: I752617066bb2167b49239ab9d17b0c89754a3e12
Closes-Bug: #1735407
2018-02-06 13:54:12 +01:00
Yikun Jiang 26de90a14d Fix wrong link for "Manage Flavors" in CPU topologies doc
The last sentence here where it links to "Manage Flavors"
is the wrong link. It goes here:
https://docs.openstack.org/nova/latest/admin/flavors.html which
doesn't talk about NUMA extra specs. It should be pointing at
the "NUMA topology" section of the flavor extra specs page:
https://docs.openstack.org/nova/latest/user/flavors.html#extra-specs-numa-topology

Change-Id: I30f6bc70afc5be00737cdf76e0e47bcb898a3a7f
Closes-Bug: #1747562
2018-02-06 17:33:10 +08:00
Zuul 58328627f5 Merge "Update cells v2 layout doc caveats for Queens" 2018-02-05 17:44:18 +00:00
Sylvain Bauza d133590e8b Provide support matrix and doc for VGPU
Now that Queens supports attaching virtual GPUs to an instance, we need to
properly document which hypervisors support that, how to use that feature and
what the existing caveats are.

Co-Authored-By: Matt Riedemann <mriedem.os@gmail.com>

Change-Id: I871894c3584e92f80f6420dfc009e21b30450f8e
Implements: blueprint add-support-for-vgpu
2018-02-05 08:13:30 +00:00
Matt Riedemann a0ee6b8c9e doc: update the GPU passthrough HPC feature entry
This updates some busted links, adds ironic and powervm to the
table header, and copies a description from the admin guide.

Change-Id: If146a26a8d0c66a3ff218c62624e3a130744dde5
2018-02-05 08:13:05 +00:00
Matt Riedemann 4ac7ef26ce Update cells v2 layout doc caveats for Queens
The instance list performance and reschedules issues have
been fixed in Queens so this updates the caveats section
of the cells v2 layout doc to point out those changes since
Pike.

Change-Id: I882f185554b6d2781534fa93e41e5010ea3a641d
2018-02-04 12:03:27 -05:00
Bruce Benjamin efb966ad64 docs: Add booting from an encrypted volume
Now that the instructions for booting from a volume
have been migrated to nova, the instructions for
booting from an encrypted volume can be added as
well.

This commit adds instructions for how to import an
image into an encrypted volume.

Closes-Bug: 1701614

Change-Id: Ida4cf70a7e53fd37ceeadb5629e3221072219689
2018-02-02 15:41:28 -05:00
Zuul 8ac8c995ca Merge "doc: placement upgrade notes for queens" 2018-02-02 09:55:58 +00:00