Add support for aborting node cleaning

Added support for issuing an abort action to a node in clean-wait
state.

Change-Id: Ia2a7cce670bc4ee2a3febb86d6138386008cfd2a
Closes-Bug: 1648557
This commit is contained in:
Peter Piela 2017-01-09 10:52:10 -05:00
parent 1e68565998
commit ff7c04b103
2 changed files with 5 additions and 1 deletions

View File

@ -23,7 +23,7 @@ from horizon.utils.memoized import memoized # noqa
from openstack_dashboard.api import base
DEFAULT_IRONIC_API_VERSION = '1.11'
DEFAULT_IRONIC_API_VERSION = '1.13'
DEFAULT_INSECURE = False
DEFAULT_CACERT = None

View File

@ -67,6 +67,10 @@
states['inspect failed'].addTransition('manageable', 'manage');
states['clean wait'].addTransition('clean failed',
'abort',
gettext('Abort cleaning'));
states['clean failed'].addTransition('manageable', 'manage');
states['deploy failed'].addTransition('active', 'active');