Commit Graph

2274 Commits

Author SHA1 Message Date
Zuul 4ff2796524 Merge "Give the policy vision document a facelift" 2019-11-22 19:53:09 +00:00
Zuul 41c2513bb2 Merge "Remove service_uuids_online_data_migration" 2019-11-18 21:01:45 +00:00
Zuul 313a1a1d23 Merge "doc: mention that rescuing a volume-backed server is not supported" 2019-11-16 07:48:43 +00:00
Zuul 1c7437e345 Merge "docs: Extract rescue from reboot" 2019-11-15 23:01:38 +00:00
Matt Riedemann b609bdc20e doc: mention that rescuing a volume-backed server is not supported
The API reference already says this [1] so the doc should also.

[1] https://docs.openstack.org/api-ref/compute/?expanded=rescue-server-rescue-action-detail#rescue-server-rescue-action

Change-Id: I085bb3f01802332fcf4820d3ead6f74785dff8b9
2019-11-15 19:21:43 +00:00
Lee Yarwood 7f46b9b281 docs: Extract rescue from reboot
This change simply extracts and slightly reorders the existing rescue
documentation from the reboot reference page.

Closes-Bug: #1852609
Change-Id: I4ce8874aa3e879e89ab5c7c76162561acbdea5c4
2019-11-15 10:56:03 -05:00
Zuul 28963bd64c Merge "FUP for Ib62ac0b692eb92a2ed364ec9f486ded05def39ad" 2019-11-15 11:53:51 +00:00
Zuul 8f341eb4a4 Merge "doc: add troubleshooting guide for cleaning up orphaned allocations" 2019-11-14 10:28:58 +00:00
Zuul 59d4cfef7d Merge "Add image caching to the support matrix" 2019-11-14 08:29:51 +00:00
Zuul 0f37acb3a3 Merge "Consolidate [image_cache] conf options" 2019-11-14 08:29:45 +00:00
Zuul ea55a53880 Merge "Fix review link." 2019-11-14 01:46:15 +00:00
Zuul 2dbe174278 Merge "Drop compat for non-update_provider_tree code paths" 2019-11-14 00:54:44 +00:00
Zuul 9fcb0d5def Merge "Add support matrix for Delete (Abort) on-going live migration" 2019-11-13 23:43:52 +00:00
Matt Riedemann dcd3f516d2 doc: add troubleshooting guide for cleaning up orphaned allocations
While we do not have an automated fix for bug 1849479 this provides
a troubleshooting document for working around that issue where
allocations from a server that was evacuated from a down host need
to be cleaned up manually in order to delete the resource provider
and associated compute node/service.

In general this is also a useful guide for linking up the various
resources and terms in nova and how they are reflected in placement
with the relevant commands which is probably something we should
do more of in our docs.

Change-Id: I120e1ddd7946a371888bfc890b5979f2e19288cd
Related-Bug: #1829479
2019-11-13 15:31:32 -05:00
Eric Fried f7c027db9a Add image caching to the support matrix
Add a section to the support matrix for image caching
(``has_imagecache`` virt driver capability).

Change-Id: I9147c5ea6b276b4fe18a981f4360844009bd3d95
Partial-Bug: #1847302
2019-11-13 11:09:03 -06:00
Eric Fried 828e8047e5 Consolidate [image_cache] conf options
Blueprint image-precache-support added a conf section called
[image_cache], so it makes sense to move all the existing image
cache-related conf options into it.

Old:
[DEFAULT]image_cache_manager_interval
[DEFAULT]image_cache_subdirectory_name
[DEFAULT]remove_unused_base_images
[DEFAULT]remove_unused_original_minimum_age_seconds
[libvirt]remove_unused_resized_minimum_age_seconds

New:
[image_cache]manager_interval
[image_cache]subdirectory_name
[image_cache]remove_unused_base_images
[image_cache]remove_unused_original_minimum_age_seconds
[image_cache]remove_unused_resized_minimum_age_seconds

Change-Id: I3c49825ac0d70152b6c8ee4c8ca01546265f4b80
Partial-Bug: #1847302
2019-11-13 11:09:03 -06:00
wangfaxin 200a050182 Fix review link.
Change-Id: Ibdc333f155835f27c95d8e50d0a5fab92bbb0780
2019-11-13 15:54:53 +00:00
Matt Riedemann de5c338792 Remove service_uuids_online_data_migration
A blocker migration was added in Train [1] to force
deployments to make sure they have completed the
services.uuid online migration (added in Pike). Now
that we're in Ussuri we can drop that online data
migration code.

Note that InstanceListWithServicesTestCase is removed
because the scenario is now invalid with the blocker
DB migration.

[1] I8927b8a4513dab242d34953d13dd2cc95393dc80

Change-Id: If77702f0c3212f904443f627037782f9ad7b3b55
2019-11-08 11:38:48 -05:00
Matt Riedemann 9fd0b9a850 FUP for Ib62ac0b692eb92a2ed364ec9f486ded05def39ad
This addresses some nits from that review related to
the tense in the docs and no longer valid code comments
in the resource tracker.

Change-Id: Idde7ef4e91d516b8f225118862e36feda4c8a9d4
2019-11-08 11:16:10 -05:00
Matt Riedemann c80912866f Drop compat for non-update_provider_tree code paths
In Train [1] we deprecated support for compute drivers
that did not implement the update_provider_tree method.
That compat code is now removed along with the get_inventory
method definition and (most) references to it.

As a result there are more things we can remove but those
will come in separate changes.

[1] I1eae47bce08f6292d38e893a2122289bcd6f4b58

Change-Id: Ib62ac0b692eb92a2ed364ec9f486ded05def39ad
2019-11-07 17:20:18 -05:00
Archit Modi aa39641182 Revert "openstack server create" to "nova boot" in nova docs
When this patch [1] was introduced, it didn't take into consideration,
the updated/changed/modified parameters when using OSC vs nova CLI, so not
every option can be used in "openstack server create" which was used in "nova boot"
and vice versa. This bug would track reverting some of these incorrect commands usage.

For example- "nova boot --block device <params1>" can be translated as
"openstack server create --block-device-mapping <params2>" where params1 and
params2 are formatted differently (hence needs more than a simple search/replace)

[1] https://review.opendev.org/#/c/404623/

Related-To: https://review.opendev.org/#/c/404623/
Change-Id: I8e400da9445101b9ff5240511c56105e26e16e4c
Closes-Bug: #1851425
2019-11-06 16:25:52 +00:00
Zuul 7be71a860d Merge "Add Aggregate image caching progress notifications" 2019-11-02 01:19:43 +00:00
Matt Riedemann e619354f7c Document CD mentality policy for nova contributors
The mentality of being able to continuously deliver nova
has been around since the beginning with Rackspace public
cloud trying to CD openstack as close to master as possible.
This has implications for how code series are structured,
reviewed and merged. For the most part this seems to be tribal
knowledge and we don't have anything very obvious in the nova
docs about it, and not all projects in openstack necessarily
subscribe to this mentality anymore, or do so grudgingly, but
it's worth documenting it in nova while still applied here.

Change-Id: Ieff87dbd748318f1b7f879a136ff25081dac321e
2019-11-01 11:52:07 -04:00
Matt Riedemann c5557f03da doc: link to nova code review guide from dev policies
The development policies section on code review was linking to the
generic openstack review guidelines but we have nova-specific
guidelines as well so this changes the policies page to link to the
nova code review guidelines, links the general guidelines into the
nova page, and also fixes a formatting issue in the nova code review
guidelines page.

Change-Id: I725570d0d737f18fe8b105dc8382c4abcfdef295
2019-11-01 11:34:13 -04:00
Zuul 46a02d5eb5 Merge "Default AZ for instance if cross_az_attach=False and checking from API" 2019-11-01 13:04:58 +00:00
Matt Riedemann 07a24dcef7 Default AZ for instance if cross_az_attach=False and checking from API
If we're booting from an existing volume but the instance is not being
created in a requested availability zone, and cross_az_attach=False,
we'll fail with a 400 since by default the volume is in the 'nova'
AZ and the instance does not have an AZ set - because one wasn't requested
and because it's not in a host aggregate yet.

This refactors that AZ validation during server create in the API to
do it before calling _validate_bdm so we get the pre-existing volumes
early and if cross_az_attach=False, we validate the volume zone(s) against
the instance AZ. If the [DEFAULT]/default_schedule_zone (for instances) is
not set and the volume AZ does not match the
[DEFAULT]/default_availability_zone then we put the volume AZ in the request
spec as if the user requested that AZ when creating the server.

Since this is a change in how cross_az_attach is used and how the instance
default AZ works when using BDMs for pre-existing volumes, the docs are
updated and a release note is added.

Note that not all of the API code paths are unit tested because the
functional test coverage does most of the heavy lifting for coverage.
Given the amount of unit tests that are impacted by this change, it is
pretty obvious that (1) many unit tests are mocking at too low a level and
(2) functional tests are better for validating these flows.

Closes-Bug: #1694844

Change-Id: Ib31ba2cbff0ebb22503172d8801b6e0c3d2aa68a
2019-10-31 10:08:46 -04:00
Kevin_Zheng 70e5c214f0 Add support matrix for Delete (Abort) on-going live migration
The info of Delete (Abort) on-going live migration is missing
in support matrix, it could be useful for users to consider
using this feature.

This patch adds it.

Change-Id: I2f917627fa451d20b1fd1ff35025481a4e525084
Closes-Bug: #1808902
2019-10-30 11:33:07 -04:00
Dan Smith c935377531 Add Aggregate image caching progress notifications
This adds AggregateCacheNotification, related payload, and code in
conductor to emit this per-compute with progress information. This
also adds a "progress" phase to NotificationPhase, which allows for
start..progress..progress..end information for a single operation
(cache_images in this case).

Related to blueprint image-precache-support

Change-Id: I69ae26d4caf4b56ab2c4864455bfe9b5b736dbf3
2019-10-29 08:18:32 -07:00
Dan Smith 829ccbe2bb Add image precaching docs for aggregates
Related to blueprint image-precache-support

Partial-Bug: #1847302
Change-Id: I7a57e5e09b2a1760a9c5aeac402911895dfce07d
2019-10-23 11:12:03 -07:00
Takashi NATSUME 976120cb20 Fix unit of hw_rng:rate_period
Replace seconds with milliseconds
in the description of hw_rng:rate_period.

* https://libvirt.org/formatdomain.html#elementsRng

Change-Id: I285f68c81b0587c6a197d4791b09234a1697f5e7
Closes-Bug: #1843542
2019-10-10 21:28:19 +00:00
Zuul b96b385a34 Merge "doc: link to user/index from main home page" 2019-10-09 09:55:36 +00:00
Zuul 2870c2e8cf Merge "doc: link to user/availability-zones from user home page" 2019-10-09 09:55:30 +00:00
Zuul 2a662b20b4 Merge "docs: Add redirects for '/user/aggregates'" 2019-10-09 09:55:24 +00:00
Matt Riedemann ec87830daf doc: link to user/index from main home page
We don't have a direct link from the main home page to the
user docs so this adds one.

Change-Id: I377f65ce78977be943d7a84b075623fd11613a99
2019-10-08 16:32:47 -04:00
Zuul 14f4a0b16b Merge "doc: fix formatting in mitigation-for-Intel-MDS-security-flaws" 2019-10-08 20:31:05 +00:00
Matt Riedemann 2e73dc2015 doc: link to user/availability-zones from user home page
This is a follow up to [1]. The user docs home page has a link
to the admin AZ guide but not a direct link to the user AZ guide
so that is added here.

[1] https://review.opendev.org/#/c/667133/10/doc/source/user/index.rst@75

Change-Id: I4acb120d2e347a43abc584107c7a19bb422af384
2019-10-08 16:30:17 -04:00
Stephen Finucane 93efca826f docs: Add redirects for '/user/aggregates'
These were missed in change If847b0085dbfb4c813d4a8d14d99346f8252bc19.

Change-Id: Iad18f355a20261313ddb3dafd302ed66ebca64bc
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2019-10-08 16:46:09 +00:00
Matt Riedemann 1ed2b2ac53 doc: fix formatting in mitigation-for-Intel-MDS-security-flaws
The bullet list was indented too far.

Change-Id: I615c20a6b2b54795dfbd991b0a51dbaaac543f36
2019-10-08 12:16:35 -04:00
Zuul 1983d76d6e Merge "docs: Remove a whole load of unused images, most remainder" 2019-10-08 16:06:49 +00:00
Zuul 43248b4c92 Merge "doc: Improve PDF document structure" 2019-10-08 16:06:39 +00:00
Zuul 7058fac53b Merge "Update contributor guide for Ussuri" 2019-10-08 12:14:39 +00:00
Akihiro Motoki 152d5c359c doc: Improve PDF document structure
This is a follow-up patch for https://review.opendev.org/676730.

In the TOC of the current PDF file [1], most contents related to
user and admin guides are located under "For Contributors" section.
This is weird. It happens because the latex builder constructs
the document tree based on "toctree" directives even though they
are marked as "hidden".

This commit reorganizes "toctree" per section.
The "toctree" directives must be placed at the end of
individual sections. Otherwise, content of a last section and
content just after "toctree" directive are concatenated
into a same section in the rendered LaTeX document.

This commit also improves the following as well:

* Specify "openany" as "extraclassoptions" to skip blank pages
  along with "oneside" to use same page style for odd and even pages.
* Set "tocdepth" and "secnumdepth" to 3 respectively.
  "tocdepth" controls the depth of TOC and "secnumdepth" controls
  the level of numbered sections in TOC.

Note that this commit does not reorganize file structure under doc/source.
I believe this should be done separately.

[1] https://docs.openstack.org/nova/latest/doc-nova.pdf

Change-Id: Ie9685e6a4798357d4979aa6b4ff8a03663a9c71c
Story: 2006100
Task: 35140
2019-10-08 11:06:00 +01:00
Stephen Finucane 5c5927a3d2 docs: Rewrite host aggregate, availability zone docs
These closely related features are the source of a disproportionate
number of bugs and a large amount of confusion among users. The spread
of information around multiple docs probably doesn't help matters.

Do what we've already done for the metadata service and remote consoles
and clean these docs up. There are a number of important changes:

- All documentation related to host aggregates and availability zones is
  placed in one of three documents, '/user/availability-zones',
  '/admin/aggregates' and '/admin/availability-zones'. (note that there
  is no '/user/aggregates' document since this is not user-facing)

- References to these features are updated to point to the new location

- A glossary is added. Currently this only contains definitions for host
  aggregates and availability zones

- nova CLI commands are replaced with their openstack CLI counterparts

- Some gaps in related documentation are closed

Change-Id: If847b0085dbfb4c813d4a8d14d99346f8252bc19
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2019-10-07 17:26:35 +01:00
Takashi NATSUME 6901be694c Update contributor guide for Ussuri
Update URLs for Ussuri release.
Remove some outdated descriptions.

Change-Id: Ibc3568483718da9ae4b2cf0568935cb0a86fa9fc
2019-10-07 12:24:39 +09:00
Zuul 68ed8d85e1 Merge "Update cells v2 up-call caveats doc" 2019-10-04 23:38:42 +00:00
Zuul c7b4048058 Merge "docs: Document global options for nova-manage" 2019-10-04 21:46:55 +00:00
Zuul 5ee7a7d5da Merge "docs: Update resize doc" 2019-10-03 19:44:57 +00:00
Zuul 94501c86fa Merge "docs: Document how to revert, confirm a cold migration" 2019-10-03 19:44:51 +00:00
melanie witt c4d6aabad1 Restore console proxy deployment info to cells v2 layout doc
This information was mistakenly removed when references to the
nova-consoleauth service were removed from the docs in change
Ie96e18ea7762b93b4116b35d7ebcfcbe53c55527.

Closes-Bug: #1846401

Change-Id: I08fa4650d190114775993e8094efbf46b984dfdc
2019-10-02 20:29:52 +00:00
Matt Riedemann a87fbdda9d Update cells v2 up-call caveats doc
With the fix for bug 1781286 for reschedules during server
create and resize/migrate, we can update the cells v2 docs
saying the up-call issue for that big is now fixed.

Change-Id: I9ff116de8b63c0fbfb880008718b1386178b1d1a
Related-Bug: #1781286
2019-10-02 13:44:23 -04:00