diff options
author | Jon Bratseth <bratseth@gmail.com> | 2022-02-23 11:18:08 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2022-02-23 11:18:08 +0100 |
commit | d49afeaea9c407da990ed494266a0cc8374f48c1 (patch) | |
tree | e088490857e4565c18f7333436d9087dfc01b27b /controller-api | |
parent | f0ae94a10d7a83ddee2eaa484f34f0bd4dd01e02 (diff) |
Replace 'out of capacity' by 'node allocation failure'
Diffstat (limited to 'controller-api')
2 files changed, 5 insertions, 5 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServerException.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServerException.java index f0b681fd9c9..47373413a0d 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServerException.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServerException.java @@ -34,7 +34,7 @@ public class ConfigServerException extends RuntimeException { INVALID_APPLICATION_PACKAGE, METHOD_NOT_ALLOWED, NOT_FOUND, - OUT_OF_CAPACITY, + NODE_ALLOCATION_FAILURE, REQUEST_TIMEOUT, UNKNOWN_VESPA_VERSION, PARENT_HOST_NOT_READY, diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/organization/DeploymentFailureMails.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/organization/DeploymentFailureMails.java index 10727f1d4eb..2dcb80d28fb 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/organization/DeploymentFailureMails.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/organization/DeploymentFailureMails.java @@ -20,10 +20,10 @@ public class DeploymentFailureMails { this.registry = registry; } - public Mail outOfCapacity(RunId id, Collection<String> recipients) { - return mail(id, recipients, " due to lack of capacity", - "as the zone does not have enough free capacity to " + - "accomodate the deployment. Please contact the Vespa team to request more!"); + public Mail nodeAllocationFailure(RunId id, Collection<String> recipients) { + return mail(id, recipients, " due to node allocation failure", + "as your node resource request could not be " + + "fulfilled for your tenant. Contact Vespa Cloud support."); } public Mail deploymentFailure(RunId id, Collection<String> recipients) { |