Merge "Allow volumes in error_restoring/error_managing to be deleted"
This commit is contained in:
commit
0850f71df6
|
@ -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 = (
|
||||
|
|
Loading…
Reference in New Issue