@Override
    public HostSpec allocateHost(String alias) {
        // TODO: Remove this method since hosted/non-hosted needs different interfaces. See also ModelContextImpl.getHostProvisioner
        // Illegal argument because we end here by following a path not suitable for the environment steered
        // by the content of the nodes tag in services
        throw new IllegalArgumentException("Clusters in hosted environments must have a <nodes count='N'> tag " +
                                                "matching all zones, and having no <node> subtags, " +
                                                "see https://docs.vespa.ai/en/reference/services.html");
    }
A wrapper for {@link Provisioner} to avoid having to expose multitenant
behavior to the config model. Adapts interface from a {@link HostProvisioner} to a
{@link Provisioner}.

@author Ulf Lilleengen
configserver/src/main/java/com/yahoo/vespa/config/server/provision/ProvisionerAdapter.java