correct misleading wording
this schema tells us host is required https://github.com/openstack/nova/blob/master/nova/api/ openstack/compute/schemas/migrate_server.py#L33 and also param say it's required, but the doc says 'if you omit' will misleading user ,actually, user can't omit it, they need to input null to let scheduler decide Implements: blueprint api-ref-in-rst-ocata Change-Id: I2661c85f32eff8e199856635a4c40a494a5decb6
This commit is contained in:
parent
a286c16ea0
commit
e4ae7e91dc
@ -2149,7 +2149,7 @@ host_memory_mb:
|
||||
type: string
|
||||
host_migration:
|
||||
description: |
|
||||
The host to which to migrate the server. If you omit this parameter, the scheduler
|
||||
The host to which to migrate the server. If this parameter is ``None``, the scheduler
|
||||
chooses a host.
|
||||
in: body
|
||||
required: true
|
||||
|
@ -145,8 +145,8 @@ Live-migrates a server to a new host without rebooting.
|
||||
|
||||
Specify the ``os-migrateLive`` action in the request body.
|
||||
|
||||
Use the ``host`` parameter to specify the destination host. If you
|
||||
omit this parameter, the scheduler chooses a host. If a scheduled host
|
||||
Use the ``host`` parameter to specify the destination host. If
|
||||
this param is ``null``, the scheduler chooses a host. If a scheduled host
|
||||
is not suitable to do migration, the scheduler tries up to
|
||||
``migrate_max_retries`` rescheduling attempts.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user