Commit Graph

2399 Commits

Author SHA1 Message Date
Jenkins 5b35802244 Merge "Add language for compute node configuration" 2017-08-23 08:54:31 +00:00
Drew Fisher 60497a9051 Add language for compute node configuration
Add some clarifying language around the configuration of compute nodes
for cell v2 discovery.

Change-Id: I8225eb8b983219d774a3e22edd1af12bd5e52967
2017-08-22 10:10:08 -07:00
Jenkins d9db60d603 Merge "Fix a wrong link" 2017-08-22 17:06:09 +00:00
Jenkins 6a70fd9749 Merge "doc: code review considerations for online data migrations" 2017-08-22 17:05:44 +00:00
Jenkins 41ff707efd Merge "doc: Address review comments for main index" 2017-08-21 22:13:46 +00:00
Sean Dague d2d57acbf5 doc: Address review comments for main index
Per comments in I6815958b2533d462a2e5d27e7be57440d9f4f40a and
I5fdafd9f6cf07a19bf86a6343663dad410887dcb.

Part of bp: doc-migration

Change-Id: Iac833503b57386ab91fa86f8c48f0dd8039e5922
2017-08-21 16:18:28 -04:00
Jenkins f34e8421ee Merge "doc: Address review comments for contributor index" 2017-08-21 20:06:01 +00:00
Jenkins d385bf3918 Merge "Clarify that vlan feature means nova-network support" 2017-08-21 15:29:41 +00:00
Jenkins 4db37db95b Merge "replace chance with filter scheduler in func tests" 2017-08-21 15:29:19 +00:00
Jenkins f28da08a1b Merge "Fix contributor documentation" 2017-08-17 04:55:56 +00:00
Jenkins c7153048f3 Merge "Clean up *most* ec2 / euca2ools references" 2017-08-16 19:55:12 +00:00
Jenkins 029c42243f Merge "Add documentation for documentation contributions" 2017-08-16 19:54:35 +00:00
Ken'ichi Ohmichi 547725946b Fix contributor documentation
There are some small comments on the review of
Ib2b49f70c55311195535a5ef250ff555e227fa0a
This is a follow-up for these comments.

Change-Id: I1d2d95a0864578161a34084db31eb460e895c1ec
2017-08-16 10:20:12 -07:00
Balazs Gibizer cc83335987 replace chance with filter scheduler in func tests
FilterScheduler is the only scheduler driver that properly integrated
with placement api so this patch changes the functional test environment
to use the FilterScheduler instead of the ChanceScheduler.

The amount of vcpu the SmallFakeDriver reports need to be bumped to 2
as during resize to same host the filter scheduler doubles the
allocation on the host. Simply relying on the 16.0 default allocation
ratio does not work as the max_unit of the vcpu does not use the
allocation ratio to avoid that a single server overallocates the cpu.

The only change in unit test is
test_create_instance_with_oversubscribed_cpu which also loads the
SmallFakeDriver and asserts available resources on it.

Change-Id: I12de2e195022593ea2a3e2894f2c3b5226930d4f
2017-08-16 14:42:51 +00:00
gaozx b7675bd4b2 Fix a wrong link
Change-Id: Ie238513abc1ca5f9fc89d5b32b8df2116b6c59c7
2017-08-16 16:08:52 +08:00
Jenkins 5cf3d55259 Merge "Update api doc with latest updates in api framework" 2017-08-15 17:28:30 +00:00
ghanshyam 796f3036c2 Update api doc with latest updates in api framework
api.rst has many stale information now as we have done
many changes in api framework specially removal of
stevedore extensions loading and plain routing.

This commit modify this doc to reflect latest information
and remove v2 specific info which are no longer valid.

Note- in next part we will merge api_2.rst in this doc and
show 'adding api method' step by step.

Change-Id: I0628d8fa0b19c3fb09f1896402fc85dcae90916f
2017-08-15 07:02:40 +00:00
Jenkins 1bdf7991f9 Merge "doc: Extend nfv feature matrix with pinning/NUMA" 2017-08-14 21:24:13 +00:00
Stephen Finucane 8797ed5ac8 doc: Extend nfv feature matrix with pinning/NUMA
Detail these features, including links to the documentation. No tests
are provided as no upstream Tempest tests currently exist.

Change-Id: I1bb3674f35f83e2a33243103a267b4aff70f852e
2017-08-14 20:01:49 +00:00
Jenkins 33f3614135 Merge "doc: address review comments in stable-api guide updates" 2017-08-14 08:02:09 +00:00
Matt Riedemann c62ed630a9 doc: add superconductor up-call caveat for cross_az_attach=False
When attaching a volume, if CONF.cinder.cross_az_attach=False,
we attempt to lookup the AZ that the instance is in and compare
that to the volume AZ. The instance AZ lookup involves getting
host aggregates which are in the API database, and in superconductor
mode the cell conductor can't access to the API database.

For volume attach, we could remove this check from the compute
service since we already check this in nova-api so the check in
nova-compute is redundant.

However, we still have a problem with checking this during boot
from volume where nova-compute creates the volume and then
attaches it. At that point it's too late and we'll fail.

We should eventually create volumes during boot from volume in
conductor, like we've talked about doing with neutron ports
during server create, but that's not something we have today
so we need to point out this limitation.

Change-Id: I9cbe41e41f8ccdc9962ab593f313b5a47314a9d1
2017-08-11 09:22:27 -04:00
Matt Riedemann 904c4a1d9a doc: add another up-call caveat for cells v2 for xenapi aggregates
There is an up-call from the xenapi driver when performing a live
migration and --block-migrate is not specified such that the driver
checks to see if the source and destination hosts are in the same
aggregate. This fails in a super-conductor setup because the
aggregates are now in the API database and the cell conductor
won't be able to access that database by design.

Change-Id: I6c880c72d87eb0116cb57371e5d600dced2915f7
Related-Bug: #1709594
2017-08-11 09:05:14 -04:00
Jenkins 4cd6a3a1b4 Merge "Resource tracker compatibility with Ocata and Pike" 2017-08-11 07:06:48 +00:00
Jenkins f401d18a3d Merge "Improve stable-api doc with current API state" 2017-08-10 22:01:02 +00:00
Matt Riedemann 430af62aa3 doc: address review comments in stable-api guide updates
This addresses review comments made in change
I6522100a78241400b1ea059a39a32c259fe6ab90 which
updated the stable API docs.

Change-Id: Ib0ffe3e9702fd39914b2025096667e699bc432a0
2017-08-10 17:11:50 -04:00
Jenkins ba7b051d26 Merge "Structure cli page" 2017-08-10 21:04:44 +00:00
Jenkins 01e596e730 Merge "doc: Import configuration reference" 2017-08-10 21:04:01 +00:00
Jenkins d92eafbd85 Merge "Bulk import all config reference figures" 2017-08-10 21:00:36 +00:00
Jenkins b2301eacb3 Merge "rework index intro to describe nova" 2017-08-10 20:59:52 +00:00
Jenkins 15cc823466 Merge "Add For Operators section to front page" 2017-08-10 20:59:08 +00:00
Dan Smith ddef9dcfc0 Resource tracker compatibility with Ocata and Pike
Because we need to allow for a smooth upgrade from Ocata to
Pike, we need Pike compute hosts to be tolerant of the bad accounting
assumptions that Ocata compute hosts were making. If a user migrates an
instance from an Ocata compute host to a Pike compute host, the Ocata
compute host will continue essentially re-setting the instance
allocation to be an allocation against only the source Ocata host
(during the migration operation). We need to have the Pike destination
compute host recognize when its in a mixed Ocata/Pike environment and
tolerate this incorrect "healing" that the Ocata source host will do.
To tolerate this, the Pike destination compute host must continue to
behave like an Ocata compute host until all compute hosts are upgraded
to Pike or beyond.

Note that this adds service version caching for the compute service.
We were already doing the lookup for the RPC pin and caching that,
so this is not much of a change. Also note that we weren't clearing
this caching in tests, so any test that ran code that cached the
service version would affect later ones. This clears it as part of the
base test setup too.

Co-Authored-By: Jay Pipes <jaypipes@gmail.com>
Change-Id: Ia93168b1560267178059284186fb2b7096c7e81f
2017-08-10 09:47:20 -04:00
Sean Dague ae7adbc19e Clarify that vlan feature means nova-network support
Change-Id: I3fef0a935bb7fe9a91b1a1938ea47c86f0cf16fd
Closes-Bug: #1612890
2017-08-10 06:42:08 -04:00
Jenkins 45ac76d774 Merge "add cli to support matrix" 2017-08-10 00:51:03 +00:00
Stephen Finucane 3fcf82b32b doc: Address review comments for contributor index
Per comments in If5e7940ddd0ae3316f7475742c02abfe3df28ac4.

Part of bp: doc-migration

Change-Id: Ide8921b0d891a65212bc2173e0113f4ce00f50b0
2017-08-09 15:30:40 -04:00
Jenkins 963d284350 Merge "Document service layout for consoles with cells" 2017-08-09 19:03:41 +00:00
Jenkins e62fe1accf Merge "doc: provide more details on scheduling with placement" 2017-08-09 19:01:12 +00:00
Sean Dague 7e693e9c5c Clean up *most* ec2 / euca2ools references
The ec2 / euca2ools command references definitely don't work any more,
this deletes most of them. The exception is the policy reference doc
which is over a year out of date, and needs more then surgical removal
of ec2 from it.

Change-Id: I963170f99037d5ed085e8c676ab55750c7f6372e
2017-08-09 11:20:12 -04:00
Sean Dague 54529f03c9 Add documentation for documentation contributions
Missing from our contributor guides is documentation guidelines,
starting a page there for now especially as there are a couple of
things that emerged in the great pike import that would be good to
write down.

Part of bp: doc-migration

Change-Id: Ib2b49f70c55311195535a5ef250ff555e227fa0a
2017-08-09 11:20:12 -04:00
Sean Dague 104efa6fb6 Structure cli page
The cli page was just a straight list of cli links. This groups them
by function with a preamble to make it more clear why you'd want to go
look at any particular ones.

Part of bp: doc-migration

Change-Id: Iecf99e173be3c3d5a2d5dd758c09f79d443729b9
2017-08-09 11:20:12 -04:00
Stephen Finucane da224b3a05 doc: Import configuration reference
Import the following files from the former config-reference [1]:

  api.rst
  cells.rst
  fibre-channel.rst
  hypervisor-basics.rst
  hypervisor-hyper-v.rst
  hypervisor-kvm.rst
  hypervisor-lxc.rst
  hypervisor-qemu.rst
  hypervisor-virtuozzo.rst
  hypervisor-vmware.rst
  hypervisor-xen-api.rst
  hypervisor-xen-libvirt.rst
  hypervisors.rst
  index.rst
  iscsi-offload.rst
  logs.rst
  resize.rst
  samples/api-paste.ini.rst
  samples/index.rst
  samples/policy.yaml.rst
  samples/rootwrap.conf.rst
  schedulers.rst

The below files are skipped as they're already included, in slightly
different forms, in the nova documentation.

  config-options.rst
  nova-conf-samples.rst
  nova-conf.rst
  nova.conf

Part of bp: doc-migration

Change-Id: I145e38149bf20a5e068f8cfe913f90c7ebeaad36
2017-08-09 11:20:12 -04:00
ghanshyam a03c667109 Improve stable-api doc with current API state
extensions, stevedore and extensions config options are gone
and plain router is introduced in Pike.

Also this documents was little bit confusing about current and
old state of APIs.

This commit makes it more clear and reflect the current API state
and also describe the evolution of APIs.

Change-Id: I6522100a78241400b1ea059a39a32c259fe6ab90
2017-08-09 14:13:17 +00:00
Sean Dague 6b21efbc7f Bulk import all config reference figures
Most of these are used by the follow on patch, however because all
this content is deleted from openstack-manuals pulling these out of
history there is less straight forward. So bulk import even the ones
that aren't currently used into a top level figures repository.

Part of bp: doc-migration

Change-Id: I57929f3035f0a9f41398b50d93afee267d981f12
2017-08-09 08:10:47 -04:00
Sean Dague 8b072d7532 rework index intro to describe nova
The index previously was written for the developer docs, but this is
more than developer docs now. That also means this is the general
google landing page for people, so a basic "what is nova" is
appropriate.

Part of bp: doc-migration

Change-Id: I5fdafd9f6cf07a19bf86a6343663dad410887dcb
2017-08-09 08:10:46 -04:00
Matt Riedemann 204e7d7f42 doc: provide more details on scheduling with placement
This provides a more detailed, but still high level, explanation
of how the FilterScheduler is using allocation candidates to pick
hosts during scheduling, and how the allocations are handled during
a move operation, including a resize to the same host.

Ideally this content will live somewhere else in the devref, or
would be updated in the spec for blueprint placement-claims, but
for now this should suffice for Pike release notes that can point
at this upgrade doc.

Change-Id: I274c684f829bc310ebb17faabf498d36f4ceea0c
2017-08-08 21:56:14 -04:00
melanie witt 4a3e8ecf38 Document service layout for consoles with cells
This adds information about where the consoleauth service and console
proxies should run with multiple cells in Cells v2.

Change-Id: Ib817581dfe0c32d3888c242166e3daa7b954320a
2017-08-08 20:31:02 +00:00
Sean Dague ad69d0507f Add For Operators section to front page
This attempts to reorganize the front page content relevant to
operators into digestable chunks, including some summaries of links to
explain to people why they might want to follow those links to learn
more.

Part of bp: doc-migration

Change-Id: I6815958b2533d462a2e5d27e7be57440d9f4f40a
2017-08-08 15:21:02 -04:00
Sean Dague 53f752a669 Create For End Users index section
This reorganizes the pieces that are for end users into a convenient
chunk up front in the main index page.

Part of bp: doc-migration

Change-Id: Ic2fcabbf3faa531fccb19cffa2564f005142e463
2017-08-08 15:19:01 -04:00
Jenkins 3f12c8badd Merge "doc: Add additional content to admin guide" 2017-08-08 19:06:38 +00:00
Matt Riedemann 8ab41c83a8 doc: code review considerations for online data migrations
Online data migrations that move something from the cell database
to the API database typically create new things in the API DB and
on a query, look in the API DB first and then fallback to the cell
database. We started supporting multiple cells in Pike, so any online
data migrations that move things to the API DB after that will need
to be multi-cell aware for the fallback lookup code.

This just adds a reminder in the code review guide.

Change-Id: If0d7d9b80e336b696aaf87ec13ac18daa1068357
2017-08-08 15:06:17 -04:00
Jenkins 3bc32c47e5 Merge "Create reference subpage" 2017-08-08 19:05:46 +00:00