Commit Graph

1860 Commits

Author SHA1 Message Date
Zuul 66a030528f Merge "Clean up cpu_shared_set config docs" 2018-12-06 11:28:53 +00:00
Zuul 6ddc903a41 Merge "Update mailinglist from dev to discuss" 2018-12-06 07:41:24 +00:00
Zuul aed3e24013 Merge "Add a bug tag for nova doc" 2018-12-05 17:59:27 +00:00
Zuul 5bf6f6304e Merge "Deprecate the nova-xvpvncproxy service" 2018-12-05 13:18:41 +00:00
Zuul e26ac8f24a Merge "Deprecate the nova-console service" 2018-12-05 13:05:06 +00:00
ZhongShengping ba0502182e Update mailinglist from dev to discuss
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss

Change-Id: If51f5d5eb710e06216f6d6981a70d70b6b5783cc
2018-12-05 09:44:35 +08:00
Takashi NATSUME 168704349b Add a bug tag for nova doc
Add a default bug tag for nova doc in doc/source/conf.py.
The 'doc' tag(*) should be set for document bug
in bug reports by default.

*: https://wiki.openstack.org/wiki/Nova/BugTriage#Tag_Owner_List

TrivialFix
Change-Id: Ib2de207d368d248464770fd0a9452e325f0a0596
2018-11-26 04:10:44 +00:00
Zuul 47bcc39cd6 Merge "Add CellsV2 FAQ about API design decisions" 2018-11-20 15:55:36 +00:00
Zuul 72978c0758 Merge "Add description of custom resource classes" 2018-11-20 15:55:29 +00:00
Dan Smith dc7039669f Add CellsV2 FAQ about API design decisions
At the Stein summit (and previous discussions) the topic of exposing
cellsv2 out of the API came up again. This patch adds two FAQ entries
reflecting my notes from early design decisions about why we did not
want to do that, along with more recent examples, such as FFU.

These are my feelings on the subject and I was asked to put these into
FAQ form for posterity to make the discussion easier in the future. I
would recommend that we agree on these and then codify them here.

Change-Id: I0499e141456fcca63f95bad25503c4e86c6aa369
2018-11-20 06:44:59 -08:00
Zuul 3e756ff674 Merge "doc: Add minimal documentation for MKS consoles" 2018-11-19 04:34:18 +00:00
Zuul 44dfb58ef4 Merge "doc: Add minimal documentation for RDP consoles" 2018-11-19 04:34:11 +00:00
Zuul 238184b23c Merge "doc: Rewrite the console doc" 2018-11-19 04:34:02 +00:00
Takashi NATSUME 0e718ddb7a Add description of custom resource classes
Add the description about custom resource classes and
overriding standard resource classes in the "Flavors" document.

Change-Id: I5b804db70d229696e7b7c5b5db16946cf1f1c49f
Closes-Bug: #1800663
2018-11-14 15:47:16 +00:00
Zuul b3c3b8a5b8 Merge "Add a link to the doc contrib guide" 2018-11-10 01:30:23 +00:00
Zuul 511ba5ccb8 Merge "Mention meta key suffix in tenant isolation with placement docs" 2018-11-09 23:56:49 +00:00
Zuul bc46a54773 Merge "Update the description to make it more accuracy" 2018-11-09 18:37:30 +00:00
Matt Riedemann 1fa09acf08 Mention meta key suffix in tenant isolation with placement docs
This changes does two things to the admin scheduler configuration
docs:

1. Notes the limitation from bug 1802111 for the older
   AggregateMultiTenancyIsolation filter and mentions that
   starting in Rocky, using tenant isolation with placement
   is better.

2. Notes that when isolating tenants via placement, the metadata
   key "filter_tenant_id" can be suffixed to overcome the limitation
   in bug 1802111.

Change-Id: I792c5df01b7cbc46c8363e261bc7422b09180e56
Closes-Bug: #1802111
2018-11-09 11:30:44 -05:00
Zuul f5be7f7843 Merge "Fix support matrix for VMware UEFI support" 2018-11-08 20:46:56 +00:00
Takashi NATSUME e023146ad6 Add a link to the doc contrib guide
Add a link to the
"How to document your OpenStack API service" section
of the documentation contributor guide
in the nova API reference guideline.

Change-Id: I0d2889b63528c4d39820011746d92732440499e9
2018-11-07 13:19:30 +09:00
Radoslav Gerganov 5cb2350de7 Fix support matrix for VMware UEFI support
UEFI support in the VMware driver has been added with commit fc0c6d2.
This patch fixes the support matrix to reflect this.

Change-Id: I8b08e11ae4dd7f1101758b29ae3424d790b26ed1
2018-11-06 15:34:07 +02:00
caoyuan 9f937c5ab7 Update the description to make it more accuracy
after the changed[1], the nubmers of service components on
controller node should be two rather than three.

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

Change-Id: Iada43eb7f36f946d1713b20a50ebdeb8c69d0545
Closes-Bug: #1801444
2018-11-03 09:48:49 +08:00
Nguyen Hai Truong f8de2d9788 [Trivial Fix] Correct spelling error of "should" and "resource"
Small modification to correct spelling mistake.

Change-Id: I4bf378e5316ecc48f66eefae4f45d5a505adc305
Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2018-11-01 19:28:37 -07:00
Matt Riedemann 3e14c9557b Clean up cpu_shared_set config docs
This cleans up formatting and grammar for the cpu_shared_set
config option docs and related flavor extra spec docs, and
updates the flavor extra spec docs to link to the config
option.

Change-Id: Ief013224b5f6c541ea8900653d35057837f740eb
2018-11-01 16:00:49 -04:00
Zuul 5d9022bffd Merge "Provide allocation_ratio/reserved amounts from update_provider_tree()" 2018-10-31 18:32:47 +00:00
Zuul 9947e9cd86 Merge "Explain cpu_model_extra_flags and nested guest support" 2018-10-31 07:58:42 +00:00
Zuul edee8e6f8d Merge "Add nova-status upgrade check for consoles" 2018-10-30 22:44:07 +00:00
Florian Haas e304ad7f4d Explain cpu_model_extra_flags and nested guest support
In the Configuration Guide's section on KVM:

* expand on the implications of selecting a CPU mode and model
  for live migration,
* explain the cpu_model_extra_flags option,
* discuss how to enable nested guests, and the implications and
  limitations of doing so,
* bump the heading level of "Guest agent support".

Closes-Bug: 1791678
Change-Id: I671acd16c7e5eca01b0bd633caf8e58287d0a913
2018-10-30 17:03:48 +01:00
Matt Riedemann ca279c68a5 Provide allocation_ratio/reserved amounts from update_provider_tree()
The purpose of the RT._normalize_inventory_from_cn_obj method is
to set allocation_ratio and reserved amounts on standard resource
class inventory records that get sent to placement if the virt driver
did not specifically set a ratio or reserved value (which none but
the ironic driver do).

If the allocation_ratio or reserved amount is in the inventory
data dict from the virt driver, then the normalize method ignores
it and lets the virt driver take priority.

However, with change I6a706ec5966cdc85f97223617662fe15d3e6dc08,
any virt driver that implements the update_provider_tree() interface
is storing the inventory data on the ProviderTree object which gets
cached and re-used, meaning once allocation_ratio/reserved is set
from RT._normalize_inventory_from_cn_obj, it doesn't get unset and
the normalize method always assumes the driver provided a value which
should not be changed, even if the configuration value changes.

We can make the config option changes take effect by changing
the semantics between _normalize_inventory_from_cn_obj and
drivers that implement the update_provider_tree interface, like
for the libvirt driver. Effectively with this change, when a driver
implements update_provider_tree(), they now control setting the
allocation_ratio and reserved resource amounts for inventory they
report. The libvirt driver will use the same configuration option
values that _normalize_inventory_from_cn_obj used. The only difference
is in update_provider_tree we don't have the ComputeNode facade to
get the "real" default values when the allocation_ratio is 0.0, so
we handle that like "CONF.cpu_allocation_ratio or 16.0". Eventually
that will get cleaned up with blueprint initial-allocation-ratios.

Change-Id: I72c83a95dabd581998470edb9543079acb6536a5
Closes-Bug: #1799727
2018-10-29 12:27:31 -04:00
Zuul 9ef70d31f3 Merge "Add more documentation for online_data_migrations CLI" 2018-10-26 19:32:36 +00:00
Zuul 272fbb1993 Merge "Add API ref guideline for examples" 2018-10-26 16:30:58 +00:00
melanie witt d2535b0261 Add nova-status upgrade check for consoles
This will check if a deployment is currently using consoles and warns
the operator to set [workarounds]enable_consoleauth = True on their
console proxy host if they are performing a rolling upgrade which is
not yet complete.

Partial-Bug: #1798188

Change-Id: Idd6079ce4038d6f19966e98bcc61422b61b3636b
2018-10-26 04:34:49 +00:00
Takashi NATSUME 8ad33f35a4 Add API ref guideline for examples
Add guideline for JSON request/response body examples
in the API reference.

Change-Id: I2dcc2fc1a16cc5dcba7879518a2b101df3576304
2018-10-25 07:46:48 +00:00
Matt Riedemann c86f309c56 Add more documentation for online_data_migrations CLI
This is a follow up to commit c4c6dc736 to clarify some
confusing comments in the code, add more comments in
the actual runtime code, and also provide an example
in the CLI man page docs along with an explanation of
the output, specifically for the case that $found>0
but done=0 and what that means.

Change-Id: I0691caab2c44d3189504c54e51bb263ecdc5d1d2
Related-Bug: #1794364
2018-10-24 16:14:00 -04:00
Matt Riedemann 25dadb94db Remove the CachingScheduler
The CachingScheduler has been deprecated since Pike [1].
It does not use the placement service and as more of nova
relies on placement for managing resource allocations,
maintaining compabitility for the CachingScheduler is
exorbitant.

The release note in this change goes into much more detail
about why the FilterScheduler + Placement should be a
sufficient replacement for the original justification
for the CachingScheduler along with details on how to migrate
from the CachingScheduler to the FilterScheduler.

Since the [scheduler]/driver configuration option does allow
loading out-of-tree drivers and the scheduler driver interface
does have the USES_ALLOCATION_CANDIDATES variable, it is
possible that there are drivers being used which are also not
using the placement service. The release note also explains this
but warns against it. However, as a result some existing
functional tests, which were using the CachingScheduler, are
updated to still test scheduling without allocations being
created in the placement service.

Over time we will likely remove the USES_ALLOCATION_CANDIDATES
variable in the scheduler driver interface along with the
compatibility code associated with it, but that is left for
a later change.

[1] Ia7ff98ff28b7265058845e46b277317a2bfc96d2

Change-Id: I1832da2190be5ef2b04953938860a56a43e8cddf
2018-10-18 17:55:36 -04:00
Zuul 0c5feb21b3 Merge "Handle online_data_migrations exceptions" 2018-10-17 07:07:06 +00:00
imacdonn 3eea37b85b Handle online_data_migrations exceptions
When online_data_migrations raise exceptions, nova/cinder-manage catches
the exceptions, prints fairly useless "something didn't work" messages,
and moves on. Two issues:

1) The user(/admin) has no way to see what actually failed (exception
   detail is not logged)

2) The command returns exit status 0, as if all possible migrations have
   been completed successfully - this can cause failures to get missed,
   especially if automated

This change adds logging of the exceptions, and introduces a new exit
status of 2, which indicates that no updates took effect in the last
batch attempt, but some are (still) failing, which requires intervention.

Change-Id: Ib684091af0b19e62396f6becc78c656c49a60504
Closes-Bug: #1796192
2018-10-16 15:49:51 +00:00
Zuul 8fadc806f4 Merge "doc: update metadata service doc" 2018-10-16 10:30:03 +00:00
Zuul f8727c4112 Merge "Add some more docs for upgrade checkers" 2018-10-15 18:49:34 +00:00
Matt Riedemann 2a25a13ea9 Add some more docs for upgrade checkers
This adds a few more things to the upgrade checks
reference docs after getting questions about it
during the Stein release goal implementation from
other project teams:

1. Notes the high level set of steps for upgrading
   nova in grenade and where nova-status fits into
   that sequence.

2. Links to the oslo.upgradecheck library which
   didn't exist when the original document was
   written.

3. Adds a FAQs section with Q&A for several things
   that have come up during the Stein release goal.

Change-Id: I990e5dbe563fa342f7481c3720445b924447ad54
Story: 2003657
2018-10-15 15:37:11 +00:00
Stephen Finucane 4e6cffe45e Deprecate the nova-xvpvncproxy service
This is a relic that has long since been replaced by the noVNC proxy
service. Start preparing for its removal.

Change-Id: Icb225dec3ad291b751e475bd3703ce0eb30b44db
2018-10-15 10:03:13 +01:00
Stephen Finucane f18ae13e36 Deprecate the nova-console service
As discussed on the mailing list [1].

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135413.html

Change-Id: I1f1fa1d0f79bec5a4101e03bc2d43ba581dd35a0
2018-10-15 10:03:08 +01:00
Stephen Finucane 2764b938b1 doc: Add minimal documentation for MKS consoles
I did know this was a thing but only barely. As with RDP, the
documentation is very minimal but it should contain enough pointers for
anyone playing with this stuff.

Change-Id: I0b62d42eae7c325566ee065dcdc0f73b7223d471
2018-10-15 10:02:28 +01:00
Stephen Finucane c7355aa66d doc: Add minimal documentation for RDP consoles
I didn't even know this was a thing. Call it out...and promptly link to
the Cloudbase documentation, which I don't want to reproduce here for
reasons of expediency.

Change-Id: I4416bf5c5c4e906bcfdeec5a7ae41f747029a292
2018-10-15 10:02:28 +01:00
Stephen Finucane 0e801a9e62 doc: Rewrite the console doc
The link between the various consoles was never well understood (by me,
at least). Clarify this by restructuring the document to highlight the
few differences between these services.

Change-Id: I08991796aaced2abc824f608108c0c786181eb65
2018-10-15 10:02:26 +01:00
Chen 1142f64ba2 doc: update metadata service doc
1 update to the latest metadata version in the examples
2 fix a typo
3 update a url

Change-Id: I5a78088413ba3e15d3f3c19392effa898205f502
2018-10-15 11:47:39 +08:00
Zuul 396156eb13 Merge "Add microversion 2.67 to support volume_type" 2018-10-13 18:46:09 +00:00
zhangbailin c7f4190af2 Add microversion 2.67 to support volume_type
Add a new microversion 2.67 to support specify ``volume_type``
when boot instances.

Part of bp boot-instance-specific-storage-backend
Change-Id: I13102243f7ce36a5d44c1790f3a633703373ebf7
2018-10-12 02:57:58 -04:00
Adam Spiers f619d5447e fix "you" typo
Saving the world, one typo at a time ...

Change-Id: I6bb98849ee26abee13e35e12d2c748a902964ac7
2018-10-11 19:03:58 +01:00
zhang.lei 1423f920bb Remove useless TODO section
Change-Id: Ia55924d36e75e050e65c19389d62e21f87dea98b
Closes-Bug: #1796676
2018-10-09 01:43:22 +00:00