From 9e1e1a52de48877fd4eb9bcd783e7c187e09a2ab Mon Sep 17 00:00:00 2001 From: Hesam Chobanlou Date: Mon, 14 Aug 2017 02:09:30 -0400 Subject: [PATCH] add online_data_migrations to nova docs adding cli documentation for online_data_migrations to clarify when the command is complete. Closes-Bug: #1670738 Change-Id: If50bd044091250611a7d3d67438d732279510d5b --- doc/source/cli/nova-manage.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/source/cli/nova-manage.rst b/doc/source/cli/nova-manage.rst index f4736f19f8da..ba3efdb9878a 100644 --- a/doc/source/cli/nova-manage.rst +++ b/doc/source/cli/nova-manage.rst @@ -65,6 +65,18 @@ Nova Database Lists and optionally deletes database records where instance_uuid is NULL. +``nova-manage db online_data_migrations [--max-count]`` + + Perform data migration to update all live data. Return exit code 0 if + migrations were successful or exit code 1 for partial updates. This command + should be called after upgrading database schema and nova services on all + controller nodes. If the command exits with partial updates (exit code 1) + the command will need to be called again. + + ``--max-count`` controls the maximum number of objects to migrate in a given + call. If not specified, migration will occur in batches of 50 until fully + complete. + Nova API Database ~~~~~~~~~~~~~~~~~