2
2
Rescue an instance
3
3
==================
4
4
5
- Rescue mode provides a mechanism for access, even if an image renders
6
- the instance inaccessible. By default, it starts an instance from the
7
- initial image attaching the current boot disk as a secondary one.
5
+ Instance rescue provides a mechanism for access, even if an image renders the
6
+ instance inaccessible. Two rescue modes are currently provided.
7
+
8
+ Instance rescue
9
+ ---------------
10
+
11
+ By default the instance is booted from the provided rescue image or a fresh
12
+ copy of the original instance image if a rescue image is not provided. The root
13
+ disk and optional regenerated config drive are also attached to the instance
14
+ for data recovery.
15
+
16
+ .. note ::
17
+
18
+ Rescuing a volume-backed instance is not supported with this mode.
19
+
20
+ Stable device instance rescue
21
+ -----------------------------
22
+
23
+ As of 21.0.0 (Ussuri) an additional stable device rescue mode is available.
24
+ This mode now supports the rescue of volume-backed instances.
25
+
26
+ This mode keeps all devices both local and remote attached in their original
27
+ order to the instance during the rescue while booting from the provided rescue
28
+ image. This mode is enabled and controlled by the presence of
29
+ ``hw_rescue_device `` or ``hw_rescue_bus `` image properties on the provided
30
+ rescue image.
31
+
32
+ As their names suggest these properties control the rescue device type
33
+ (``cdrom ``, ``disk `` or ``floppy ``) and bus type (``scsi ``, ``virtio ``,
34
+ ``ide ``, or ``usb ``) used when attaching the rescue image to the instance.
35
+
36
+ Support for each combination of the ``hw_rescue_device `` and ``hw_rescue_bus ``
37
+ image properties is dependent on the underlying hypervisor and platform being
38
+ used. For example the ``IDE `` bus is not available on POWER KVM based compute
39
+ hosts.
40
+
41
+ .. note ::
42
+
43
+ This mode is only supported when using the Libvirt virt driver.
44
+
45
+ This mode is not supported when using LXC or Xen hypervisors as enabled by
46
+ the :oslo.config:option: `libvirt.virt_type ` configurable on the computes.
47
+
48
+ Usage
49
+ -----
8
50
9
51
.. note ::
10
52
@@ -13,9 +55,6 @@ initial image attaching the current boot disk as a secondary one.
13
55
loss of the original instance state and makes it impossible to
14
56
unrescue the instance.
15
57
16
- As of the 20.0.0 (Train) release rescuing a volume-backed server
17
- is not supported.
18
-
19
58
To perform an instance rescue, use the :command: `openstack server rescue `
20
59
command:
21
60
0 commit comments