summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-09-19 22:59:07 +0000
committerGerrit Code Review <review@openstack.org>2022-09-19 22:59:07 +0000
commit0850f71df666ec8ecefed80ef20b772e94cb3097 (patch)
tree5aad4fbe2d938de4f9ffba933c333fde528d2dcf
parentc884f79e76bf1d4d342ace73a7a623136b2ec164 (diff)
parent8fa8bd37271d5911d2e7a322a3399c52a72072cd (diff)
downloadhorizon-0850f71df666ec8ecefed80ef20b772e94cb3097.tar.gz
Merge "Allow volumes in error_restoring/error_managing to be deleted"
-rw-r--r--openstack_dashboard/dashboards/project/volumes/tables.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/openstack_dashboard/dashboards/project/volumes/tables.py b/openstack_dashboard/dashboards/project/volumes/tables.py
index 5bd9568dd..601e78899 100644
--- a/openstack_dashboard/dashboards/project/volumes/tables.py
+++ b/openstack_dashboard/dashboards/project/volumes/tables.py
@@ -34,7 +34,13 @@ from openstack_dashboard.api import cinder
from openstack_dashboard import policy
from openstack_dashboard.usage import quotas
-DELETABLE_STATES = ("available", "error", "error_extending")
+DELETABLE_STATES = (
+ "available",
+ "error",
+ "error_extending",
+ "error_managing",
+ "error_restoring",
+)
class VolumePolicyTargetMixin(policy.PolicyTargetMixin):
@@ -462,6 +468,8 @@ class VolumesTableBase(tables.DataTable):
("creating", None),
("error", False),
("error_extending", False),
+ ("error_managing", False),
+ ("error_restoring", False),
("maintenance", False),
)
STATUS_DISPLAY_CHOICES = (