Skip to content

Commit c7db20d

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Remove wrong description for auto resize confirm"
2 parents 1893a70 + 5fdcb2c commit c7db20d

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

api-guide/source/server_concepts.rst

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -466,22 +466,16 @@ Server actions
466466
flavor, in essence, scaling the server up or down. The original
467467
server is saved for a period of time to allow rollback if there is a
468468
problem. All resizes should be tested and explicitly confirmed, at
469-
which time the original server is removed. All resizes are
470-
automatically confirmed after 24 hours if you do not confirm or
471-
revert them.
469+
which time the original server is removed. The resized server may be
470+
automatically confirmed based on the administrator's configuration of
471+
the deployment.
472472

473473
Confirm resize action will delete the old server in the virt layer.
474474
The spawned server in the virt layer will be used from then on.
475475
On the contrary, Revert resize action will delete the new server
476476
spawned in the virt layer and revert all changes. The original server
477477
will be used from then on.
478478

479-
Also, there is a periodic task configured by configuration option
480-
resize_confirm_window(in seconds), if this value is not 0, nova compute
481-
will check whether the server is in resized state longer than
482-
value of resize_confirm_window, it will automatically confirm the resize
483-
of the server.
484-
485479
- **Pause**, **Unpause**
486480

487481
You can pause a server by making a pause request. This request stores

doc/source/admin/configuration/resize.rst

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ Resize (or Server resize) is the ability to change the flavor of a server, thus
66
allowing it to upscale or downscale according to user needs. For this feature
77
to work properly, you might need to configure some underlying virt layers.
88

9-
.. todo:: This document needs to be updated for other virt drivers, shared
9+
Virt drivers
10+
------------
11+
12+
.. todo:: This section needs to be updated for other virt drivers, shared
1013
storage considerations, etc.
1114

1215
KVM
@@ -26,3 +29,13 @@ XenServer
2629
To get resize to work with XenServer (and XCP), you need to establish a root
2730
trust between all hypervisor nodes and provide an ``/image`` mount point to
2831
your hypervisors dom0.
32+
33+
Automatic confirm
34+
-----------------
35+
36+
There is a periodic task configured by configuration option
37+
:oslo.config:option:`resize_confirm_window` (in seconds).
38+
If this value is not 0, the ``nova-compute`` service will check whether
39+
servers are in a resized state longer than the value of
40+
:oslo.config:option:`resize_confirm_window` and if so will automatically
41+
confirm the resize of the servers.

doc/source/user/resize.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ You can now confirm the resize to change the status to ``ACTIVE``:
4949
5050
$ openstack server resize --confirm SERVER
5151
52+
.. note::
53+
54+
The resized server may be automatically confirmed based on
55+
the administrator's configuration of the deployment.
56+
5257
If the resize fails or does not work as expected, you can revert the resize.
5358
This will revert the instance to the old flavor and change the status to
5459
``ACTIVE``:

0 commit comments

Comments
 (0)