From a4eebede2d3840c2665468b8c0d791bf63443233 Mon Sep 17 00:00:00 2001 From: Julia Aranovich Date: Wed, 21 Dec 2016 10:41:37 +0300 Subject: [PATCH] Allow to redeploy error nodes If there are error nodes in cluster, Deploy Changes button should be available on Dashboard for user to be able to redeploy the nodes. Closes-Bug: #1650663 Change-Id: Ife0c0034fd181caf84ec22ac738118f0fbaae81d --- static/models.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/models.js b/static/models.js index 71a02c400..1e473deae 100644 --- a/static/models.js +++ b/static/models.js @@ -503,6 +503,7 @@ models.Node = BaseModel.extend({ return this.get('pending_addition') || this.get('pending_deletion') || this.get('status') === 'stopped' || + this.get('status') === 'error' || !!this.get('cluster') && !!this.get('pending_roles').length; }, areDisksConfigurable() {