From 814d2ab2bedd6e78c1f60267e5166e8a8ea10368 Mon Sep 17 00:00:00 2001 From: Jon Marius Venstad Date: Thu, 12 Nov 2020 18:31:45 +0100 Subject: Print that we are waiting for a web cert (#15309) --- .../yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java index 4cc4880591e..9b959bf1765 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java @@ -264,6 +264,7 @@ public class InternalStepRunner implements StepRunner { ? Optional.of(deploymentFailed) : Optional.empty(); switch (e.getErrorCode()) { case CERTIFICATE_NOT_READY: + logger.log("Waiting for provisioned web certificate — new application, or old one has expired"); if (startTime.plus(timeouts.endpointCertificate()).isBefore(controller.clock().instant())) { logger.log("Deployment failed to find provisioned endpoint certificate after " + timeouts.endpointCertificate()); return Optional.of(RunStatus.endpointCertificateTimeout); @@ -295,6 +296,7 @@ public class InternalStepRunner implements StepRunner { switch (e.type()) { case CERT_NOT_AVAILABLE: // Same as CERTIFICATE_NOT_READY above, only from the controller + logger.log("Waiting for provisioned web certificate — new application, or old one has expired"); if (startTime.plus(timeouts.endpointCertificate()).isBefore(controller.clock().instant())) { logger.log("Deployment failed to find provisioned endpoint certificate after " + timeouts.endpointCertificate()); return Optional.of(RunStatus.endpointCertificateTimeout); -- cgit v1.2.3