Commit Graph

2072 Commits

Author SHA1 Message Date
Zuul 1459e8edb9 Merge "Add documentation for counting quota usage from placement" 2019-06-01 02:32:32 +00:00
melanie witt e3aadaf17f Add documentation for counting quota usage from placement
Part of blueprint count-quota-usage-from-placement

Change-Id: I88919634551b654b6cfdd377ac5de78106bc894f
2019-05-31 18:08:45 +00:00
zhang.lei 8f2b7d8128 Remove zeromq from getting started with compute docs
ZeroMQ driver is deprecated, as per the Dublin 2018 PTG decision:
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128055.html

This change simply replaces the zeromq mention with a link to the
other oslo.messaging drivers.

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

Change-Id: I0c8d488c1daecc71d7d2817ffb4ae10727771d19
2019-05-30 12:00:00 -04:00
Stephen Finucane 8b9dad0b63 docs: Don't version links to reno docs
reno doesn't have stable branches and doesn't version its documentation.
There's no point versioning our links to same.

Change-Id: Id782d3b11715bc3211e7952fb01b42a659d06e36
Closes-Bug: #1830926
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2019-05-29 15:23:59 +00:00
Zuul 37ccd7ec3a Merge "[Docs] Fix minor typo" 2019-05-25 00:54:42 +00:00
Zuul 8f00b5d345 Merge "Add --before to nova-manage db archive_deleted_rows" 2019-05-24 16:50:24 +00:00
Matt Riedemann a4651c4558 Link versioned notification talk into docs
This provides a link to gibi's talk from the Train summit
on versioned notifications in to the reference docs.

Change-Id: I5d0c1fb675bdf2cae699efd733048663e5828699
2019-05-23 22:34:38 +00:00
Jake Yip e822360b66 Add --before to nova-manage db archive_deleted_rows
Add a parameter to limit the archival of deleted rows by date. That is,
only rows related to instances deleted before provided date will be
archived.

This option works together with --max_rows, if both are specified both
will take effect.

Closes-Bug: #1751192
Change-Id: I408c22d8eada0518ec5d685213f250e8e3dae76e
Implements: blueprint nova-archive-before
2019-05-23 11:07:08 +10:00
Jean-Philippe Evrard 3b229836e5 [Docs] Fix minor typo
Libvirt not libivrt. I would feel better if that was fixed.

Change-Id: Iab7b087f9c6a4a562e0dd8575fd4cdcf01a1fd0e
2019-05-22 14:12:18 +02:00
Zuul f40ade99ef Merge "Add docs for image type support request filter" 2019-05-15 22:18:52 +00:00
zhufl 84afd12589 Change some URLs to point to better targets
This is to change some URLs to point to better or more accurate targets.

Change-Id: I1d450ba8bd2271a69f9380cc4d2b36ae3eefe09a
2019-05-13 00:52:23 +00:00
Zuul eccdf5f81d Merge "Update the contributor doc for macos" 2019-05-09 20:35:17 +00:00
Zuul 44e686c727 Merge "Add --instance option to heal_allocations" 2019-05-09 19:22:50 +00:00
Dan Smith 82f6d61537 Update the contributor doc for macos
All the tox targets require postgres' pg_config to be runnable,
so that always needs installing from brew. Add that and a hint
about python3 from brew and tox from that python's pip.

Change-Id: Id26700bdea5443cb266b166b7b35eef3c8315451
2019-05-09 08:35:58 -07:00
Dan Smith d4c8725940 Add docs for image type support request filter
This adds the missing "prefilter" stage to the description of the
scheduling process, and adds information about the image type
filter.

Related to blueprint request-filter-image-types

Change-Id: I07eef048cf2c85a3fdb8adbe38e362878e4e177e
2019-05-07 10:24:21 -07:00
Zuul 1388855be2 Merge "Delete the placement code" 2019-05-04 09:16:41 +00:00
Zuul 8aed9cdc01 Merge "Add nova-status upgrade check for minimum required cinder API version" 2019-05-04 03:05:42 +00:00
Zuul 75e5b5de6d Merge "Add ids to sections of flavors guide to allow deep-linking" 2019-05-03 22:11:54 +00:00
Zuul 1a1359c777 Merge "Add Venn diagram showing taxonomy of traits and capabilities" 2019-05-03 21:08:21 +00:00
Matt Riedemann 270d5d351e Add nova-status upgrade check for minimum required cinder API version
The compute API has required cinder API >= 3.44 since Queens [1] for
working with the volume attachments API as part of the wider
volume multi-attach support.

In order to start removing the compatibility code in the compute API
this change adds an upgrade check for the minimum required cinder API
version (3.44).

[1] Ifc01dbf98545104c998ab96f65ff8623a6db0f28

Change-Id: Ic9d1fb364e06e08250c7c5d7d4bdb956cb60e678
2019-05-03 11:53:12 -04:00
Zuul dd6bd75355 Merge "Query in_tree to placement" 2019-05-02 21:55:38 +00:00
Chris Dent 70a2879b2c Delete the placement code
This finalizes the removal of the placement code from nova.
This change primarily removes code and makes fixes to cmd,
test and migration tooling to adapt to the removal.

Placement tests and documention were already removed in
early patches.

A database migration that calls
consumer_obj.create_incomplete_consumers in nova-manage has been
removed.

A functional test which confirms the default incomplete
consumer user and project id has been changes so its its use of
conf.placement.incomplete_* (now removed) is replaced with a
constant. The placement server, running in the functional
test, provides its own config.

placement-related configuration is updated to only register those
opts which are relevant on the nova side. This mostly means
ksa-related opts. placement-database configuration is removed
from nova/conf/database.

tox.ini is updated to remove the group_regex required by the
placement gabbi tests. This should probably have gone when the
placement functional tests went, but was overlooked.

A release note is added which describes that this is cleanup,
the main action already happened, but points people to the
nova to placement upgrade instructions in case they haven't
done it yet.

Change-Id: I4181f39dea7eb10b84e6f5057938767b3e422aff
2019-04-28 20:06:15 +00:00
Zuul a5c5f72cc0 Merge "Add post-release checklist items to the PTL guide" 2019-04-26 22:17:27 +00:00
Adam Spiers 752b135ec4 Add Venn diagram showing taxonomy of traits and capabilities
This was put together while working on the mechanism for converting
driver capabilities to traits in I15364d37fb7426f4eec00ca4eaf99bec50e964b6:

    https://review.openstack.org/538498

and may help other developers working on this area in the future.

Change-Id: I395e386ee713769d4c105be0dd6e821382945866
2019-04-26 22:54:31 +01:00
ZhongShengping 7ecaa3fcf8 Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.

Change-Id: I3e0af55e0707f04428a422b973d016ad30c82a12
2019-04-24 13:59:57 +08:00
Adam Spiers 5ee6e75ab6 Add ids to sections of flavors guide to allow deep-linking
The flavors section of the user guide is comprehensive with many
sub-sections, but only some of them had anchor ids.  Add anchors for
the rest so that deep-linking to any of these sub-sections is
possible.

Change-Id: I84984d7534c9c92b51fb4e1797cf6a9db3c28755
2019-04-17 16:23:38 +00:00
Tetsuro Nakamura 575fd08e63 Query in_tree to placement
This patch adds the translation of `RequestGroup.in_tree` to the
actual placement query and bumps microversion to enable it.

The release note for this change is added.

Change-Id: I8ec95d576417c32a57aa0298789dac6afb0cca02
Blueprint: use-placement-in-tree
Related-Bug: #1777591
2019-04-17 08:52:59 +00:00
Stephen Finucane 7954b2714e Remove 'nova-manage cell' commands
These are no longer necessary with the removal of cells v1. A check for
cells v1 in 'nova-manage cell_v2 simple_cell_setup' is also removed,
meaning this can no longer return the '2' exit code.

Part of blueprint remove-cells-v1

Change-Id: I8c2bfb31224300bc639d5089c4dfb62143d04b7f
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2019-04-16 18:26:17 +01:00
Matt Riedemann c92b297896 Add --instance option to heal_allocations
This resolves one of the TODOs in the heal_allocations CLI
by adding an --instance option to the command which, when
specified, will process just the single instance given.

Change-Id: Icf57f217f03ac52b1443addc34aa5128661a8554
2019-04-15 10:34:59 -04:00
Matt Riedemann ded3e4d900 Add --dry-run option to heal_allocations CLI
This resolves one of the TODOs in the heal_allocations CLI
by adding a --dry-run option which will still print the output
as we process instances but not commit any allocation changes
to placement, just print out that they would happen.

Change-Id: Ide31957306602c1f306ebfa48d6e95f48b1e8ead
2019-04-11 18:15:09 -04:00
melanie witt 96b3199d41 Add post-release checklist items to the PTL guide
We forgot to add the database migration placeholders for Rocky:

  https://review.openstack.org/650964

So add the steps explicitly to the guide to help in the future.

Change-Id: If670a82cee59438f9bff9a962083ebf040b9a779
2019-04-08 22:11:52 +00:00
Zuul 2907e84335 Merge "doc: Capitalize keystone domain name" 2019-04-06 11:21:39 +00:00
Zuul 647eb3911c Merge "Update docs: User token times out during long-running operations" 2019-04-06 11:21:32 +00:00
Matt Riedemann 8856009445 Add docs on what not to include in notifications
Based on bug 1823104 it's clear we should have some
explicit wording in the notification reference docs
about what not to include in versioned notification
payloads, so this change attempts to start that with
the most obvious thing - don't expose access credentials
to the nova deployment.

This also adds a reminder to think about what is being
added / mirrored from internal objects and determine if
consumers really need it and if they aren't asking, opt
to not including it until requested.

Change-Id: I326aa39d963091282a5d0b70ba222abfe8ccfdac
Related-Bug: #1823104
2019-04-04 10:20:32 -04:00
Matt Riedemann cec1808050 Drop migrate_keypairs_to_api_db data migration
This was added in Newton:

  I97b72ae3e7e8ea3d6b596870d8da3aaa689fd6b5

And was meant to migrate keypairs from the cell
(nova) DB to the API DB. Before that though, the
keypairs per instance would be migrated to the
instance_extra table in the cell DB. The migration
to instance_extra was dropped in Queens with change:

  Ie83e7bd807c2c79e5cbe1337292c2d1989d4ac03

As the commit message on ^ mentions, the 345 cell
DB schema migration required that the cell DB keypairs
table was empty before you could upgrade to Ocata.

The migrate_keypairs_to_api_db routine only migrates
any keypairs to the API DB if there are entries in the
keypairs table in the cell DB, but because of that blocker
migration in Ocata that cannot be the case anymore, so
really migrate_keypairs_to_api_db is just wasting time
querying the database during the online_data_migrations
routine without it actually migrating anything, so we
should just remove it.

Change-Id: Ie56bc411880c6d1c04599cf9521e12e8b4878e1e
Closes-Bug: #1822613
2019-04-03 11:42:48 -04:00
Artom Lifshitz 48bf8a50ee Docs: emulator threads: clarify expected behavior
This patch adds a table of possible extra-spec/cpu_shared_set
combinations, and lists the expected behavior of instance emulator
threads for each case. This is an improvement over the previous doc,
which incorrectly implied that `share` was the default policy value,
and only covered what happens if cpu_shared_set is set.

Change-Id: Ia56607d0b70d5f46159b57ee1092ba0e37a02270
2019-04-02 17:16:31 -04:00
Zara 3ed1e88bd2 Explain why disk_available_least can be negative
This commit adds a paragaph to explain the circumstances in which
disk_available_least will have a negative value, and why this behaviour is
preferred.

Change-Id: Iaa33c35a14a6f0dc8b1d11803a885dce26722e52
2019-03-28 17:23:10 +00:00
Zuul 0b18e139d3 Merge "s,git://github.com/,https://git.openstack.org/," 2019-03-28 13:07:31 +00:00
Takashi NATSUME b71a5bae88 doc: Fix openstack CLI command
Replace 'openstack placement aggregate set' with
'openstack resource provider aggregate set'.

Change-Id: If085efd0cfb417764e24e9c7eeb23a4d34bf250f
Closes-Bug: #1821916
2019-03-28 09:45:16 +09:00
Zuul 38ce9d8a11 Merge "Add doc on VGPU allocs and inventories for nrp" 2019-03-27 16:14:00 +00:00
Zuul a8f9a62770 Merge "Document a warning about using the JsonFilter" 2019-03-27 03:45:33 +00:00
Zuul bf1e9f3fc5 Merge "Fix JsonFilter query hint examples in docs" 2019-03-27 03:45:27 +00:00
Zuul afc1a06df2 Merge "Add a reference PTL guide to the contributor docs" 2019-03-27 02:25:34 +00:00
Takashi NATSUME a71af2bead doc: Capitalize keystone domain name
There is an inconsistency for keystone domain names
in the nova doc. ('default' and 'Default')
Replace 'default' with 'Default'.

Change-Id: I437092d04b0cbea78942efd5f565734f34bcbcb2
Closes-Bug: #1821411
2019-03-27 10:37:38 +09:00
melanie witt 191cc474be Add a reference PTL guide to the contributor docs
This is a guide I used to help me throughout the cycle and I'm
proposing it to the docs, in case it might help someone.

Change-Id: I4f7600c908bf90395515f690b8eee0f9e7b0c9b0
2019-03-26 19:23:15 +00:00
Matt Riedemann 75d4ba6752 Document a warning about using the JsonFilter
People hit problems using the JsonFilter from time to time
and at least I always have to re-learn what it does and am
somewhat horrified to find how flexible it is based on using
HostState attributes as filtering variables, not to mention
we don't do any functional testing with it. The docs are also
misleading in stating it only supports a subset of variables
when it's really anything on the HostState object. A common
case is people filtering on the hypervisor_hostname attribute
to schedule directly to a specific baremetal node with ironic.

This change adds a warning recommending to not use the filter
if possible and find alternatives, like traits. It also mentions
the HostState object as defining the variables that can be used
along with adding the commonly-used hypervisor_hostname variable
to the list.

Change-Id: Ib2b1395715b6bdb25f53ee7c68df44e2d84b895b
Related-Bug: #1821764
2019-03-26 12:13:42 -04:00
Matt Riedemann 45cecbb427 Fix JsonFilter query hint examples in docs
The API reference and part of the scheduler filter docs for
the JsonFilter query hint are using invalid json strings
in the examples.

This fixes both invalid locations using the same json string
used in the openstack server create command example in the
scheduler admin docs.

Change-Id: Iaab8608c7ffa6fbbea40a838dd02d8096f632f7a
Closes-Bug: #1821764
2019-03-26 12:05:30 -04:00
Sylvain Bauza 44490142be Add doc on VGPU allocs and inventories for nrp
Now that we reshape inventories and allocations for VGPU resources in Stein,
we think it's good for operators to know how to verify the resources using
osc-placement.

Change-Id: Ic58709aac2dd1f20f1b8440a3cea4f29eed9a965
Closes-Bug: #1821015
2019-03-26 15:17:39 +01:00
Zuul 5cab04db0a Merge "Add description about sort order in API ref guideline" 2019-03-26 08:24:22 +00:00
Zuul 81603d8028 Merge "Remove expiremental note in the VGPU docs" 2019-03-25 23:24:45 +00:00