summaryrefslogtreecommitdiff
path: root/nova/compute
diff options
context:
space:
mode:
authorLee Yarwood <lyarwood@redhat.com>2021-01-15 10:58:52 +0000
committerLee Yarwood <lyarwood@redhat.com>2021-01-18 09:19:58 +0000
commit534b4f38958af2fbf4392e445ddb1b2bad4179ed (patch)
treec72b0ff65ad89660e32ec94b2c85eba603bd3b56 /nova/compute
parent7527fdf6eafe47f0f783e9cdae8b79b76d6ca6b3 (diff)
downloadnova-534b4f38958af2fbf4392e445ddb1b2bad4179ed.tar.gz
api: Log os-resetState as an instance action
It appears this was missed as this action never hits the compute API and is fully handled within the API itself. This change simply records an instance action directly in the API for this admin action providing a breadcrumb to operators and users. Closes-Bug: #1911924 Change-Id: Ifd9657f3357bc39cb904caa65168d38def8c9184
Diffstat (limited to 'nova/compute')
-rw-r--r--nova/compute/instance_actions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/compute/instance_actions.py b/nova/compute/instance_actions.py
index e6e51c95e4..1089975049 100644
--- a/nova/compute/instance_actions.py
+++ b/nova/compute/instance_actions.py
@@ -70,3 +70,4 @@ LOCK = 'lock'
UNLOCK = 'unlock'
BACKUP = 'createBackup'
CREATE_IMAGE = 'createImage'
+RESET_STATE = 'resetState'