Commit Graph

74 Commits

Author SHA1 Message Date
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 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 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 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
Jenkins 3ef7e7f0dd Merge "nova-manage docs: add cells commands prep" 2017-01-25 23:56:06 +00:00
Diana Clarke e5c41e5c4a nova-manage docs: cell_v2 map_instances
Document the `nova-manage cell_v2 map_instances` command.

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

Change-Id: Ie7b8a3b54ca851485393e279d2355f57a097b4d2
2017-01-25 12:50:33 -05:00
Diana Clarke 30ea0f8651 nova-manage docs: cell_v2 map_cell0
Document the `nova-manage cell_v2 map_cell0` command.

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

Change-Id: I088c959ee5e20e754c2bcfc4a3698db83abc570c
2017-01-25 12:23:18 -05:00
Diana Clarke 919bee6af5 nova-manage docs: cell_v2 simple_cell_setup
Document the `nova-manage cell_v2 simple_cell_setup` command.

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

Change-Id: I236d47595b29dbfa18c2c26902301e764d086556
2017-01-25 12:23:09 -05:00
Diana Clarke ce56fe45cc nova-manage docs: add cells commands prep
This is the first commit in a series to document the nova-manage cells
commands.

This scope of this first commit is limited to cleaning up the section
titles, and removing the hardcoded list of categories as it is prone to
becoming out of date (and is currently not up-to-date).

Change-Id: I59af436fca739de3d4d5033f7b5eb43a8dff287f
2017-01-17 10:32:59 -05:00
Matt Riedemann e88c0bbb79 Remove nova-manage image from man pages
There is no 'nova-manage image' subcommand so this removes
it's reference from the man pages.

Change-Id: Ia918006d58c8d7536c37187c37b8004c6f7d3aac
Closes-Bug: #1656686
2017-01-15 14:17:10 -05:00
Jenkins d532d1aaf9 Merge "nova-status: return 255 for unexpected errors" 2017-01-04 21:36:40 +00:00
Matt Riedemann 15e962b3a0 Remove more deprecated nova-manage commands
These were all deprecated in newton in change:

b82b987b76

The network and floating IP commands can't be removed yet
because devstack still relies on them, which is being worked
in I5c4291509841325e6123520131f30b64c847a17f.

Change-Id: I0c02d409c5726b5e0532fc91fb9b8c5d3196499f
2017-01-03 16:51:16 -05:00
Matt Riedemann 7a69da4b4f nova-status: return 255 for unexpected errors
This came up during review of I687dd7317703a1bb76c197ebba849ca368c0872e.

Change-Id: I2dd62e994957d4cc8cc4a8b23a604b03815f2639
2016-12-22 15:56:33 -05:00
Matt Riedemann a1f3a5946a Add nova-status upgrade check command framework
This adds the basic framework for the nova-status
upgrade check commands. Follow up patches will flesh
this out to perform cells v2 and placement API related
upgrade status checks.

A man page is added for the new CLI and as part of that
the man page index is sorted.

Part of blueprint cells-scheduling-interaction
Part of blueprint resource-providers-scheduler-db-filters

Change-Id: I687dd7317703a1bb76c197ebba849ca368c0872e
2016-12-19 16:40:50 -05:00
Jenkins 2732d3e0f6 Merge "Remove deprecated nova-all binary" 2016-11-23 15:39:45 +00:00
Matt Riedemann 94a28d346a Remove deprecated nova-manage vm list command
The nova-manage vm list command was deprecated in newton
with change:

5a5b06fb24

Change-Id: I9b7a791b5b5a4c3375fcbfac081ba6bc40c84d6d
2016-10-18 10:48:13 -04:00
Mike Perez c07c0d4b8e Remove deprecated nova-all binary
This was deprecated and to set to be removed in Ocata. It was only
intended for testing purposes and not for production use. Individual
binaries will be used instead.

Change-Id: I260962ec7c4167b07e9480a04454a9cb5666f8ed
2016-10-12 10:02:17 -07:00
Jenkins bae1d9cc21 Merge "Deprecate nova-manage vm list command" 2016-07-11 15:23:47 +00:00
Jenkins 66d4ab7579 Merge "Add nova-manage quota_usage_refresh command" 2016-07-10 06:12:38 +00:00
Matt Riedemann 5a5b06fb24 Deprecate nova-manage vm list command
The nova-manage vm command is replaced with the nova list command
in python-novaclient, and has been for a long time.

As of microversion 2.3, the fields that are output from
nova-manage vm list are all covered in the REST API for showing server
details, which can also be used via the --fields option of the nova
list command. The nova list command also allows filtering by host.

This sets the timer for deprecation and then removal in Ocata.

Change-Id: Ibce8c3deb24a16019b721d3b91640ca342ae541b
Closes-Bug: #1494841
2016-07-07 16:15:09 -04:00
Matt Riedemann c1d7fc702a Remove live-migration from nova-manage man page
There is no command for live-migration in nova-manage
so remove it from the man page.

Change-Id: I29764bcc4592ce023cfce53a477a851a633e6541
2016-07-07 16:04:13 -04:00
Chuck Carmack 8d25383ad2 Add nova-manage quota_usage_refresh command
This is the final patch in the sequence.

The nova-manage quota_usage_refresh command will
sync a project or user's usage in the database
with the actual usage.

Implements blueprint: refresh-quotas-usage

Change-Id: Ic6da10b9c567ad5396b4a22b160e1abef8fa8f28
2016-07-06 22:24:02 +00:00
Davanum Srinivas 4140eb4004 Remove Deprecated EC2 and ObjectStore impl/tests
In Id7936be290b6febd18deb4c2db8ea4d678d4d9b1, we removed
entries from api-paste.ini for EC2 API service. In this
review we remove all the unnecessary code, docs and tests
associated with objectstore and ec2 service. Note that this
does not cleanup the Instance object or change any of the
versioned objects. We just drop any code associated with
testing the REST endpoint(s) that are no longer needed.
Also added shims such that the api-paste.ini from liberty
will still work (grenade job) and added logs and response
messages for prompting administrators to cleanup their
old api-paste.ini and switching to the stand alone EC2 API
project for their needs.

Change-Id: I8bf7cbaa7015bb61656ab90ccc8f944aaeebb095
2016-01-08 06:30:20 -05:00
Matt Riedemann e37279b459 Print number of rows archived per table in db archive_deleted_rows
The `nova-manage db archive_deleted_rows` command doesn't print any
results, not even how many rows were deleted, which is something the
database API returns.

The number of rows deleted also changes depending on the max_rows input
and how many rows are deleted in each table, it's a cumulative effect.

We should keep track of which tables we've deleted rows from along with
how many rows, and print that all out to the CLI console if the user
passed a --verbose option.

Implements blueprint print-table-archived-rows

Change-Id: I5c47cd5633eca056f8ae508753a41e2c1ed9e523
2015-10-16 10:23:54 -07:00
Chuck Carmack 60d08e6bf8 Add documentation for the nova-cells command.
The rst file was missing.

DocImpact
Partial-Bug: #1434866

Change-Id: I65ba5d89c1812d47ddaa64db150c5ae8a670c236
2015-08-06 12:45:57 +00:00
Chuck Carmack 8a7b1e8837 :Add documentation for the nova-idmapshift command.
The rst file was missing.

DocImpact

Change-Id: Ia5b34cf7bbacfeb6cb016499e20d3ea96473b0c6
Partial-Bug: #1434866
2015-08-05 19:11:52 +00:00
Joe Gordon a1e8fc6dd9 Update docs layout
* Explain these docs are for trunk (copied from ironic)
* All the docs in this repo are meant to be developer docs, so having a
  devref inside of the docs is redundant and just makes the docs more
  complicated to navigate. Move everything out of the devref folder and
  link to everything from main index.
* Move man pages into separate section. The man pages are pretty sparse
* right now, we should either make them useful or just delete them
* Remove dead docs from unused_docs list in doc/source/conf.py
* Shuffle docs landing page, move common referees to the top (API,
  hypervisor support matrix), Add a introduction section and more. The
  hope is the updated layout makes this document easier to navigate.
* Use maxdepth of 1
* Rename a few sections with what are hopefully better names

The next step is to prune out outdated documents and further cleanup
this page.

Change-Id: Iff453e47ccc902a0e72b1a5f6ce1ee939ff3a1a0
2015-05-15 10:47:18 -07:00
Andrew Laski 6d2840ef6a Add nova-manage commands for the new api database
Adds new 'nova-manage api_db sync' and 'nova-manage api_db version'
commands for working with the new api database for cells.

DocImpact
bp: cells-v2-mapping

Change-Id: I00881db2ecbd559fdac7ad11ac452b0075ccc289
2015-03-03 15:43:20 -05:00
Erwan Gallen 28a1ca611d Fixes undocumented commands
* nova-manage db null_instance_uuid_scan
* nova-manage db archive_deleted_rows
Closes-Bug: #1399616
Change-Id: I678b0bf54b19cc440b8f98d68ec914007b444fc3
2015-01-21 18:22:02 +01:00
Dan Smith 46ed619b9a Remove baremetal virt driver
This patch removes the baremetal virt driver from nova, which was
deprecated in Juno. It does not aim to perform any of the refactoring
we need to do now that the driver is gone, but is intended as a clean
removal of all the baremetal code itself.

Of specific note are the api_samples tests. We didn't have samples to
test the ironic proxy code, so I removed the baremetal ones for show
and index, resetting that extension back to "untested" status as if it
was new.

Tests that stub out ironic interactions and re-introduce those tests
should be added after this patch.

Change-Id: Ia76e41a8a3b7230701872ae7a1975edc3d9ea847
2014-10-08 13:41:37 +00:00
Matt Riedemann 84612137ac Remove the nova-manage flavor sub-command
The nova-manage flavor sub-command was deprecated in Juno milestone-1
via commit a601556684 with a note that it
will be removed in Kilo.

This removes it.

Change I4e2399f2fbab2c20299dd62c104b9220c1d36fb2 is to remove the
related Tempest tests.

Change-Id: I1798c8a0697009b3dcebeb818580c8323880e395
2014-10-01 19:36:42 -07:00
Sahid Orentino Ferdjaoui ea8323eca4 cmd: add nova-serialproxy service
Adds a websocket proxy that is compatible with Nova
serial ports.

Co-Authored-By: Vladan Popovic <vpopovic@redhat.com>
Co-Authored-By: Ian Wells <iawells@cisco.com>
Co-Authored-By: Sushma Korati <sushma_korati@persistent.co.in>

Partial-Implements: blueprint serial-ports
Change-Id: Ia944cb93945140e6341588063329a981f7e778f1
2014-08-30 14:27:54 +00:00
Davanum Srinivas 24a24fcf52 docs - Add an index for the command line utilities
Change-Id: I03376a9159c3ef6c2b65cce417a217db68e8c246
2014-08-01 15:42:57 +00:00
Matt Riedemann a601556684 Deprecate nova-manage flavor subcommand
The nova client already has the following flavor commands:

flavor-access-add    Add flavor access for the given tenant.
flavor-access-list   Print access information about the given flavor.
flavor-access-remove Remove flavor access for the given tenant.
flavor-create        Create a new flavor
flavor-delete        Delete a specific flavor
flavor-key           Set or unset extra_spec for a flavor.
flavor-list          Print a list of available 'flavors' (sizes of
flavor-show          Show details about the given flavor.

This covers what nova-manage flavor was providing so let's deprecate the
legacy nova-manage subcommand and mark it for removal in the K release.

There is not a bug or blueprint for this. The flavor subcommand is
completely duplicated in nova client. It is accessing the database
directly and we want to move to using flavor objects which would go
through conductor. So this could be considered part of the objects
conversion for flavors.

For some other commands like service, db and host it makes sense to
leave those so you can access the database before the api service is
running, but that's not the case for flavors.

UpgradeImpact: nova-manage flavor command is deprecated, use nova client

Change-Id: I8709bc9af4e490142e44c6dc61fd0aaa3a392b68
2014-04-20 09:04:28 -07:00
Matt Riedemann 40bf0ab3e6 Remove mention of nova-manage.conf from nova-manage.rst
As of commit 07ee9639 three years ago nova-manage.conf is no longer
used, so let's clean up the man page.

Closes-Bug: #1304580

Change-Id: Ie061733da4bd0337f510e17b6dd7ca5bae14b7de
2014-04-08 12:05:16 -07:00
Sascha Peilicke 90a61d71cd Drop nova-rpc-zmq-receiver man-page
Doesn't make sense to install and build docs after it was removed.

Change-Id: Ia6193808cca625e83cb3497b5033db5c08dcdd1e
2014-04-01 11:06:33 +02:00
liu-sheng 57b24490d1 correct the bugs reference url in man documents
All the bugs reference in nova man documents are incorrect.
Nova bugs are managed at launchpad, not the nova.openstack.org

Change-Id: Id5bbf09ad8ba079d4de959314123437031ded3ab
2014-02-10 11:59:27 +08:00