nova rebuild

Posted allcloud

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了nova rebuild相关的知识,希望对你有一定的参考价值。

 

 

nova rebuild

usage: nova rebuild [--rebuild-password <rebuild-password>] [--poll]
                    [--minimal] [--preserve-ephemeral] [--name <name>]
                    [--description <description>] [--meta <key=value>]
                    [--file <dst-path=src-path>]
                    <server> <image>

Shutdown, re-image, and re-boot a server.

Positional arguments:

<server>
Name or ID of server.
<image>
Name or ID of new image.

Optional arguments:

--rebuild-password <rebuild-password>
Set the provided admin password on the rebuilt server.
--poll
Report the server rebuild progress until it completes.
--minimal
Skips flavor/image lookups when showing servers.
--preserve-ephemeral
Preserve the default ephemeral storage partition on rebuild.
--name <name>
Name for the new server.
--description <description>
New description for the server. (Supported by API versions ‘2.19’ - ‘2.latest’)
--meta <key=value>
Record arbitrary key/value metadata to /meta_data.json on the metadata server. Can be specified multiple times.
--file <dst-path=src-path>
Store arbitrary files from <src-path> locally to <dst-path> on the new server. You may store up to 5 files.

 http://docs.openstack.org/cli-reference/nova.html

 

 

以上是关于nova rebuild的主要内容,如果未能解决你的问题,请参考以下文章

计算节点宕机了怎么办?- 每天5分钟玩转 OpenStack(43)

nova boot代码流程分析:nova与neutron的交互

四维偏序(K-D-Tree+rebuild)

nova boot代码流程分析:nova与neutron的plugin交互

nova boot代码流程分析:nova与neutron的l2 agent(neutron-linuxbridge-agent)交互

Openstack nova代码部分凝视一