@Override
        public long activate() {
            lastActivationTimes.put(applicationId, clock.instant());

            for (Node node : nodeRepository.nodes().list().owner(applicationId).state(Node.State.active).retiring()) {
                try (NodeMutex lock = nodeRepository.nodes().lockAndGetRequired(node)) {
                    nodeRepository.nodes().write(lock.node().retire(nodeRepository.clock().instant()), lock);
                }
            }
            return activations++;
        }
The list of hosts prepared in this. Only set after prepare is called (and a provisioner is assigned)
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/testutils/MockDeployer.java