Skip to content

Commit 58aaffa

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "docs: Add stable device rescue docs"
2 parents b0cc9ba + 30fcb2d commit 58aaffa

File tree

1 file changed

+45
-6
lines changed

1 file changed

+45
-6
lines changed

doc/source/user/rescue.rst

Lines changed: 45 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,51 @@
22
Rescue an instance
33
==================
44

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+
-----
850

951
.. note::
1052

@@ -13,9 +55,6 @@ initial image attaching the current boot disk as a secondary one.
1355
loss of the original instance state and makes it impossible to
1456
unrescue the instance.
1557

16-
As of the 20.0.0 (Train) release rescuing a volume-backed server
17-
is not supported.
18-
1958
To perform an instance rescue, use the :command:`openstack server rescue`
2059
command:
2160

0 commit comments

Comments
 (0)