Add messages in cases when scaleUp/Down action execution fails
Change-Id: Id233e69ab0bd4d2fd993b3c52b0ce2754cca5588 Closes-Bug: #1449595
This commit is contained in:
@@ -454,6 +454,8 @@ Methods:
|
|||||||
- $._environment.reporter.report($this, 'Scaling up Kubernetes cluster')
|
- $._environment.reporter.report($this, 'Scaling up Kubernetes cluster')
|
||||||
- $.nodeCount: $.nodeCount + 1
|
- $.nodeCount: $.nodeCount + 1
|
||||||
- $.deploy()
|
- $.deploy()
|
||||||
|
Else:
|
||||||
|
- $._environment.reporter.report($this, 'The maximum number of nodes has been reached')
|
||||||
|
|
||||||
|
|
||||||
scaleNodesDown:
|
scaleNodesDown:
|
||||||
@@ -464,6 +466,8 @@ Methods:
|
|||||||
- $._environment.reporter.report($this, 'Scaling Kubernetes cluster down')
|
- $._environment.reporter.report($this, 'Scaling Kubernetes cluster down')
|
||||||
- $.nodeCount: $.nodeCount - 1
|
- $.nodeCount: $.nodeCount - 1
|
||||||
- $.deploy()
|
- $.deploy()
|
||||||
|
Else:
|
||||||
|
- $._environment.reporter.report($this, 'At least one node must be in cluster')
|
||||||
|
|
||||||
|
|
||||||
scaleGatewaysUp:
|
scaleGatewaysUp:
|
||||||
@@ -474,6 +478,8 @@ Methods:
|
|||||||
- $._environment.reporter.report($this, 'Adding new gateway node')
|
- $._environment.reporter.report($this, 'Adding new gateway node')
|
||||||
- $.gatewayCount: $.gatewayCount + 1
|
- $.gatewayCount: $.gatewayCount + 1
|
||||||
- $.deploy()
|
- $.deploy()
|
||||||
|
Else:
|
||||||
|
- $._environment.reporter.report($this, 'The maximum number of nodes has been reached')
|
||||||
|
|
||||||
|
|
||||||
exportConfig:
|
exportConfig:
|
||||||
|
Reference in New Issue
Block a user