Commit Graph

1092 Commits

Author SHA1 Message Date
Jenkins 3d015a8b4d Merge "fixed typos and reword stable api doc" 2017-04-07 09:15:34 +00:00
Matt Riedemann f828f6db6f docs: update description for AggregateInstanceExtraSpecsFilter
This copies a line from the ComputeCapabilitiesFilter description
which points out that if the flavor does not have any extra specs
then it passes the filter. I had to figure this out via code inspection
so it would be good to document it.

Change-Id: Id7b3ec5dd2847c9ea615981031d7e0f2b1beb3e2
2017-04-04 17:42:48 -04:00
Jenkins 13f44f90c0 Merge "doc: Separate the releasenotes guide from the code-review section" 2017-04-03 22:53:20 +00:00
Lee Yarwood c6a399f453 doc: Separate the releasenotes guide from the code-review section
This was previously hidden within the code review guide making it almost
impossible to find from the initial index page.

Change-Id: I47e771c641d72a837345b1b9a07e86ca4313b518
2017-04-03 22:02:59 +00:00
Matt Riedemann 068d2565d1 Distinguish between cells v1 and v2 in upgrades doc
The note about rolling upgrades not being supported for cells
was referring to cells v1, so let's make that clear.

We will support rolling upgrades for cells v2 deployments, we
just haven't documented it yet (or done it in a grenade job).

Change-Id: I6a8b3d3aaa49859e8b769a296684ac96883719f8
2017-04-03 13:31:15 -04:00
Lee Yarwood 9cf7a0363a doc: Move code-review under developer policies
This was previously hidden within Architecture Evolution Plans.

Change-Id: I7198f46e0f1a0a3d37312cc85077e53367c2cdec
2017-03-30 16:33:36 +01:00
Jenkins 07fcf70cae Merge "doc: add some documentation around quotas" 2017-03-29 23:23:07 +00:00
Jenkins 7814c685fc Merge "doc: configurable versioned notifications topics" 2017-03-27 13:31:27 +00:00
jichenjc 8eea19e5ac fixed typos and reword stable api doc
fixed some typos and reword the statement for better
readability in stable_api.rst file.
also, do some enhancement on /extensions API about it
is already deprecated and no more add to it.

Change-Id: I9946d8b095b1418aedb2210ab3a22589625fd2fb
2017-03-25 22:44:39 +08:00
Sean Dague e580afa839 update i18n guide for nova
This reflects the new approach of not translating log messages

Change-Id: Ie402c697a76a78db039a05ee03c60381ba37d91e
2017-03-21 07:15:54 -04:00
Jenkins 5e252d1c66 Merge "Remove extension in API layer" 2017-03-20 14:39:36 +00:00
Jenkins d4c4f7d43d Merge "Replace obsolete vanity openstack.org URLs" 2017-03-20 13:27:20 +00:00
Jenkins cb506ec2e5 Merge "nova-status: require placement >= 1.4" 2017-03-20 13:14:28 +00:00
Balazs Gibizer 211d02ab23 doc: configurable versioned notifications topics
After I817ce4bae0dd37e0d06bd44f21ba81b3cb800548 it is possible to
configure the topics where the versioned notifications are emitted.
Let's update the notificaton devref with this information.

Change-Id: I45b007cfb98330a5b885ef6870e9fcce7108403a
2017-03-16 14:48:28 +01:00
Andreas Jaeger df456c51bc Replace obsolete vanity openstack.org URLs
Project specific URLs are obsolete, , use docs.openstack.org - and use
https for that site.

Change-Id: I460b06c11bbc30387d1cb05136fb822ec1c3a5d9
2017-03-16 10:35:52 +00:00
Rafael Folco 1a8453fd9b [placement] Raising http codes on old microversion
Currently only HTTP 404 can be raised. This enables other HTTP status
to be raised if microversion does not match with the minimum required.
This is useful for new methods created to raise other http status code
for older placement microversions, like 405 HTTPMethodNotAllowed.

Change-Id: I2b684fcfd93fc70fe385a93346ee255279909489
2017-03-15 14:28:42 +00:00
Matt Riedemann fdf10d63bc doc: add some documentation around quotas
There are always some questions about how quotas work
in Nova, particularly how they are checked against
the configuration vs the 'default' quota class in the
database, and global vs project-specific quotas.

This change starts a document on quotas a high-level.
It does not get into the lower-level details of how
quotas work or are designed in Nova, or the issues
that can arise with the existing quota system or future
plans.

Change-Id: Iabe3d40f44c59f14fa89ceddc556497d2885845c
2017-03-14 17:45:57 -04:00
Roman Podoliaka a17851ab0a nova-status: require placement >= 1.4
Since Ia1a0066dc30025c02553584a077365b28d8ff80e FilterScheduler will
no longer fall back to not using placement API. We need to require
version 1.4 to prevent NoValidHost errors.

Closes-Bug: #1669433

Change-Id: I6666cb2f558ed1f4e83f21e0317a206b07c25134
2017-03-14 12:26:37 +02:00
Jenkins 409f04b218 Merge "Update placement_dev with info about new decorator" 2017-03-06 16:59:14 +00:00
Danfeng 90b6a3984a Fix typos detected by toolkit misspellings.
* pip install misspellings
* git ls-files | grep -v locale | misspellings -f -

doc/source/upgrade.rst:177: incidentially -> "incidentally"
nova/conf/libvirt.py:286: dependant -> "dependent"

Change-Id: I9ae81c23de6eb4eb720552571267a372365b95d9
2017-02-26 13:50:17 +08:00
jichenjc bff86a0308 Remove extension in API layer
Extension is stablized now and no further development for it
so we can remove those todos in API concept doc.

Change-Id: I087caf4dec2d8dd281c2cf0a17aab4f43b081434
2017-02-25 13:06:32 +08:00
Jenkins 81534c83e8 Merge "Typo fix: degredation => degradation" 2017-02-25 04:09:31 +00:00
Jenkins 383073f582 Merge "doc: Don't put comments inside toctree" 2017-02-25 03:31:29 +00:00
Jenkins fa207ab715 Merge "Fix typo in config drive support matrix docs" 2017-02-25 03:30:56 +00:00
Matt Riedemann 5a1cb35985 Fix typo in config drive support matrix docs
There is no administrator password of keys, but if there
is, I'd like to meet them.

Change-Id: I023edd20204657a6d6420a1fb84546e8984d32fb
2017-02-24 16:29:19 -05:00
Stephen Finucane 456a80878d doc: Don't put comments inside toctree
Turns out you can't embed a comment inside a toctree, resulting in the
following error:

  WARNING: toctree contains reference to nonexisting document u'.. NOTE:
  keep this list sorted by title'

Change-Id: Ifc3fbcde8371b8002f3b17364e6f252e36113702
2017-02-24 14:16:42 -05:00
Takashi NATSUME 1585ca189e Fix doc generation warnings
Fix the following warnings.

- A warning in config sample generation
- Warnings about nova-status.rst

Change-Id: Ifcc3b4a89eeea9d0dd62e2a8b560c5e6a9ff3d1a
Closes-Bug: #1659485
2017-02-24 17:43:08 +00:00
Jenkins 221bc57dee Merge "docs: sort the Architecture Concepts index" 2017-02-23 12:44:07 +00:00
Jenkins 6a3b436b09 Merge "Remove service version check for Ocata/Newton placement decisions" 2017-02-21 21:18:26 +00:00
Dan Smith c604a6cf16 Remove service version check for Ocata/Newton placement decisions
In Ocata, the filter scheduler would not consult placement until all of
the computes had been upgraded. That check no longer makes sense in Pike
and isn't multi-cell-aware anyway. This removes that check.

Change-Id: Ia1a0066dc30025c02553584a077365b28d8ff80e
2017-02-20 13:21:58 -08:00
Chris Dent d0900c0609 Update placement_dev with info about new decorator
webob.dec.wsgify was replaced with wsgi_wrapper.PlacementWsgify in
change I3b81c5bd00a013f1659b9e6e80c71b373d965862 .

Here the placement_dev is updated to reflect that the new decorator
should be used.

Change-Id: I049c0d50b3af0d829cb7a041668d8ec4d6e0c590
2017-02-17 17:11:30 +00:00
Corey Bryant b276e84103 Enable defaults for cell_v2 update_cell command
Initialize optional parameters for update_cell() to None and
enable getting the transport_url and db_connection from
nova.conf if not specified as arguments.

Change-Id: Ib20cfeb7b17dba06f9f2db5eca1fa194d2795767
Closes-Bug: 1665145
2017-02-15 18:02:28 -05:00
Anh Tran 22b71d3d8d Typo fix: degredation => degradation
Change-Id: I21d58921053ac154d07ecb10b83e465ba3f99b39
2017-02-15 11:22:06 +07:00
melanie witt ae3f3c4acc Add Cells V1 -> Cells V2 step-by-step example
This adds an example for: upgrade with Cells V1.

Change-Id: I05c48152eb66148c6f247a71f70f65d2e077bd7d
2017-02-10 19:58:59 +00:00
Jenkins fb8ca9df80 Merge "Prepare for using standard python tests" 2017-02-10 00:49:08 +00:00
Andreas Jaeger d60dffc6be Prepare for using standard python tests
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests. This is exactly what is
currently done by OpenStack CI in project-config.

This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.

See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html

Update devref for this.

Needed-By: Iea42a0525b2c5a5cdbf8604eb23a6e7b029f6b48
Change-Id: Ie9bae659077dbe299eea131572117036065bdccf
2017-02-09 17:52:55 +00:00
Jenkins 9e87c48336 Merge "Edits for Cells V2 step-by-step examples" 2017-02-09 00:41:43 +00:00
melanie witt 59f6423549 Edits for Cells V2 step-by-step examples
This addresses comments from the original patch set to add more
detail to the steps.

Change-Id: Ibebef30b499dc9b4c6ce8d43f4d8faf9eb93f809
2017-02-08 21:52:43 +00:00
Dan Smith 1102441a42 Add an update_cell command to nova-manage
In case a cell record was incorrectly created, or needs to be updated
to point to a new database or mq endpoint, we need a way for users to
be able to update a CellMapping record. Since deleting and re-creating
is definitely not an option, this patch adds an update_cell which
allows updating the mutable fields if necessary.

Change-Id: I75ddfa458a6fb650f1098505193398984f2be596
2017-02-07 15:35:34 -08:00
Jenkins da591bc543 Merge "Add step-by-step examples for Cells V2 setup" 2017-02-06 22:45:55 +00:00
Jenkins 9ae5b2306b Merge "Clarify the deployment of placement for cellsv1 users" 2017-02-06 16:40:06 +00:00
Jenkins 06e400384c Merge "Update the upgrades part of devref" 2017-02-06 15:56:12 +00:00
Dan Smith 4f86207285 Update the upgrades part of devref
This removes some references to "online schema migrations", as well
as some references to in-progress things that have been (long since)
completed. It also clarifies some of the upgrade steps, and unifies
the notion of "offline" and "live" upgrades, calling out only a couple
places where the process differs.

This came from me explaining the document to someone and calling out
things that were no longer accurate.

Change-Id: Iec1d73c3fd0038d9bca7e7fa746caad06c329ed3
2017-02-06 06:54:52 -08:00
Dan Smith 56d982851a Clarify the deployment of placement for cellsv1 users
Change-Id: I86818968b8d01c4b8297aa091d875d5df9eeb55c
2017-02-03 13:59:09 -08:00
melanie witt dd198d11f8 Add step-by-step examples for Cells V2 setup
This starts off with two examples: fresh install and minimal upgrade.

Change-Id: Id6a1fe694abc6069b6728434b5400f13f8f24c0e
2017-02-03 20:14:00 +00:00
Jenkins 6f3338612d Merge "Removes unnecessary utf-8 encoding" 2017-02-03 06:00:47 +00:00
Jenkins 60ec9cbf4b Merge "doc: add upgrade notes to the placement devref" 2017-02-02 16:45:11 +00:00
Matt Riedemann 21a04c859b doc: add upgrade notes to the placement devref
This just adds some more detailed docs for upgrading
to Ocata and notable things for the Placement service
and related components as part of that upgrade.

The Ocata release notes will have some of this
information too, but I think it's good to also have
a single place for some of this, like an install/upgrade
guide for Placement.

Change-Id: Id33b9c852bb36ae80a6f29ae33d963a78cbff193
Depends-On: Ie12acb76ec5affba536c3c45fbb6de35d64aea1b
2017-02-02 08:55:13 -05:00
Matt Riedemann a8aa093925 doc: update the man page entry for nova-manage db sync
The docs for this command were woefully out of date. This
change clarifies the wording since we're really upgrading
the schema in the database, not "synchronizing" it even
though that's the name of the command - the migration scripts
run the 'upgrade' method only. Also, it was saying this was
how you created the main database, which is totally wrong
since this command doesn't create the database. The deployer
creates the database, this command migrates the schema on that
database.

Then I also added the arguments along with a description of each
and noted that this will by default upgrade the cell0 schema.

Change-Id: I3d40cb32c325bc3f665e727b921082efba043192
2017-02-01 15:09:55 -05:00
Matt Riedemann a3563ed37e doc: refer to the cell_v2 man pages from the cells v2 doc
This is just a simple change that provides a references section
for setting up cells v2 and points to the nova-manage cell_v2
man pages.

Change-Id: I94d3de97f4ff2120e250ac40ac82c31372d90a2b
2017-02-01 15:09:50 -05:00