diff options
author | Harald Musum <musum@yahoo-inc.com> | 2017-07-24 11:25:25 +0200 |
---|---|---|
committer | Harald Musum <musum@yahoo-inc.com> | 2017-07-24 11:25:25 +0200 |
commit | 4c5a1501efd2d80291cf6b19983868e8499a1d70 (patch) | |
tree | d777cb9cab5999a84a9958935d364dd717ee18fe /node-repository/src | |
parent | a686e44549ccb59682511d1a2ad91ff86cc3443f (diff) |
Add possible cause to log message when activation fails
Diffstat (limited to 'node-repository/src')
-rw-r--r-- | node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/Activator.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/Activator.java b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/Activator.java index ee36b6c4279..d327ec14300 100644 --- a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/Activator.java +++ b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/Activator.java @@ -59,7 +59,9 @@ class Activator { "Could not find all requested hosts." + "\nRequested: " + hosts + "\nReserved: " + toHostNames(reserved) + - "\nActive: " + toHostNames(active)); + "\nActive: " + toHostNames(active) + + "\nThis might happen if the time from reserving a node to activation takes " + + "longer time than reservation expiry (the nodes will then no longer be reserved)"); List<Node> activeToRemove = removeHostsFromList(hostnames, active); activeToRemove = activeToRemove.stream().map(Node::unretire).collect(Collectors.toList()); // only active nodes can be retired |