nova rescue vm_instance
which option system is linux
lin.wang 20190426
openstack环境中的虚拟机的救援模式,只能在boot from image的情况下使用,boot from volume的情况,只能采用将虚拟机删除,将虚拟机的volume挂载给其他虚拟机的方式进行修复.
nova rescue命令使用帮助
[root@node-1 ~]# nova help rescue
usage: nova rescue [--password <password>] [--image <image>] <server>
Reboots a server into rescue mode, which starts the machine from either the
initial image or a specified image, attaching the current boot disk as
secondary.
Positional arguments:
<server> Name or ID of server.
Optional arguments:
--password <password> The admin password to be set in the rescue
environment.
--image <image> The image to rescue with.
在控制节点执行如下命令nova rescue