Commit Graph

1073 Commits

Author SHA1 Message Date
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
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
Matt Riedemann 9ca2a51ec4 doc: add some detail to the map_cell0 man page
There are two changes here:

1. Removes the mention of the message queue since the cell0
   mapping has a transport_url but it's effectively none meaning
   we don't use RPC for accessing cell0 objects.
2. Adds boilerplate wording on the config option used to determine
   the database connection if the --database_connection argument
   is not specified. This was particularly confusing at one point
   because it originally started out as the CONF.api_database.connection
   but we changed that mid-cycle in Ocata since the schema for cell0
   is the cell (nova) DB, not the nova_api DB.

Change-Id: Ie869f8565460600da767d99e9e397abc5e8bf0e0
2017-02-01 15:07:18 -05:00
Jenkins 8c0b832dc4 Merge "ironic: Add trigger crash dump support to ironic driver" 2017-01-31 19:10:18 +00:00
Jenkins 380313b0d4 Merge "nova-manage docs: cell_v2 delete_cell" 2017-01-31 19:02:04 +00:00
Jenkins 233c390d7b Merge "nova-manage docs: cell_v2 list_cells" 2017-01-31 19:01:29 +00:00
Jenkins 61fb9c1957 Merge "nova-manage docs: cell_v2 discover_hosts" 2017-01-31 19:00:57 +00:00
Jenkins d273b6cecc Merge "nova-manage docs: cell_v2 create_cell" 2017-01-31 19:00:30 +00:00
Jenkins 55c669bda3 Merge "nova-manage docs: cell_v2 verify_instance" 2017-01-31 19:00:03 +00:00
Jenkins 6823e47f58 Merge "nova-manage docs: cell_v2 map_cell_and_hosts" 2017-01-31 18:59:35 +00:00
Diana Clarke dec7505935 nova-manage docs: cell_v2 delete_cell
Document the `nova-manage cell_v2 delete_cell` command.

This is part of a series to document the nova-manage cells
commands.

Change-Id: I280b87ad38feeaa68728f51c78b1c6a0dc895ca7
2017-01-30 20:49:05 -05:00
Diana Clarke 218d26c5bc nova-manage docs: cell_v2 list_cells
Document the `nova-manage cell_v2 list_cells` command.

This is part of a series to document the nova-manage cells
commands.

Change-Id: I0cd0c3d8c6cd0229a62b3eaf18679d4931c6e4eb
2017-01-30 20:49:05 -05:00
Diana Clarke fb7599db49 nova-manage docs: cell_v2 discover_hosts
Document the `nova-manage cell_v2 discover_hosts` command.

This is part of a series to document the nova-manage cells
commands.

Change-Id: I7ce9a93384741e42f409324cf0ee3cb1fc4c6a67
2017-01-30 20:49:05 -05:00
Diana Clarke 94687a9074 nova-manage docs: cell_v2 create_cell
Document the `nova-manage cell_v2 create_cell` command.

This is part of a series to document the nova-manage cells
commands.

Change-Id: Ic9ddef319aaf8a377d733633cc279a0fc1558cb2
2017-01-30 20:48:57 -05:00
Diana Clarke 4d5998f09a nova-manage docs: cell_v2 verify_instance
Document the `nova-manage cell_v2 verify_instance` command.

This is part of a series to document the nova-manage cells
commands.

Change-Id: Id243299bdf0f115e86200cee38634791ea359b2a
2017-01-30 20:48:57 -05:00
Diana Clarke 42b7df072a nova-manage docs: cell_v2 map_cell_and_hosts
Document the `nova-manage cell_v2 map_cell_and_hosts` command.

This is part of a series to document the nova-manage cells
commands.

Change-Id: I4ed1e77f100e9d90d6a1ebd5e20bdd1f1ff5ce6e
2017-01-30 20:48:50 -05:00
Jenkins b3f54cbda8 Merge "Document testing process for zero downtime upgrade" 2017-01-28 02:18:09 +00:00
Jenkins 181f744aad Merge "nova-manage docs: cell_v2 map_instances" 2017-01-28 00:54:59 +00:00
Jenkins 0b93747bb4 Merge "nova-manage docs: cell_v2 map_cell0" 2017-01-28 00:54:12 +00:00
Jenkins 6e4d2bb637 Merge "nova-manage docs: cell_v2 simple_cell_setup" 2017-01-26 06:40:44 +00:00
xiexs b1556c2009 ironic: Add trigger crash dump support to ironic driver
This patch adds a new method "trigger_crash_dump" to Ironic virt
driver. Ironic supports this feature since Ironic API version 1.29.
It also requires python-ironicclient >= 1.11.0.

Change-Id: I33812abbff919e5e477334c3bc46309491d14b6a
Implements: blueprint inject-nmi-ironic
Co-Authored-By: Tang Chen <chen.tang@easystack.cn>
Co-Authored-By: xiexs <xiexs@cn.fujitsu.com>
Depends-On: Iac112b82bab9cdf8a383879f9424cb368df741d6
2017-01-26 04:27:25 +00:00