Skip to content

Commit c20a053

Browse files
committed
Expand help of server migrate command
mention server migrate is 'offline', and mention live migration and how it is different. Change-Id: Ia9af8e4a21989c39deaf2f6f7e1039b3fc4a0eef Signed-off-by: Pavlo Shchelokovskyy <shchelokovskyy@gmail.com>
1 parent de81f47 commit c20a053

1 file changed

Lines changed: 16 additions & 7 deletions

File tree

openstackclient/compute/v2/server.py

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3189,13 +3189,22 @@ class MigrateServer(command.Command):
31893189
_description = _(
31903190
"""Migrate server to different host.
31913191
3192-
A migrate operation is implemented as a resize operation using the same flavor
3193-
as the old server. This means that, like resize, migrate works by creating a
3194-
new server using the same flavor and copying the contents of the original disk
3195-
into a new one. As with resize, the migrate operation is a two-step process for
3196-
the user: the first step is to perform the migrate, and the second step is to
3197-
either confirm (verify) success and release the old server, or to declare a
3198-
revert to release the new server and restart the old one."""
3192+
There are two types of migration operation: a cold migration and a live
3193+
migration.
3194+
3195+
A cold migration operation is implemented as a resize operation
3196+
using the same flavor as the old server. This means that, like resize, migrate
3197+
works by shutting down the original server, creating a new server using the
3198+
same flavor and copying the contents of the original disk into a new one.
3199+
As with resize, the migrate operation is a two-step process for the user:
3200+
the first step is to perform the migrate, and the second step is to either
3201+
confirm (verify) success and release the old server, or to declare a revert
3202+
to release the new server and restart the old one.
3203+
3204+
By comparison, a live migration operation does not involve shutting the server
3205+
down, and is a one-step process that does not require a confirmation or revert
3206+
to finish.
3207+
"""
31993208
)
32003209

32013210
def get_parser(self, prog_name):

0 commit comments

Comments
 (0)