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
This commit is contained in:
parent
1bc84c472e
commit
a4eebede2d
|
@ -503,6 +503,7 @@ models.Node = BaseModel.extend({
|
||||||
return this.get('pending_addition') ||
|
return this.get('pending_addition') ||
|
||||||
this.get('pending_deletion') ||
|
this.get('pending_deletion') ||
|
||||||
this.get('status') === 'stopped' ||
|
this.get('status') === 'stopped' ||
|
||||||
|
this.get('status') === 'error' ||
|
||||||
!!this.get('cluster') && !!this.get('pending_roles').length;
|
!!this.get('cluster') && !!this.get('pending_roles').length;
|
||||||
},
|
},
|
||||||
areDisksConfigurable() {
|
areDisksConfigurable() {
|
||||||
|
|
Loading…
Reference in New Issue