Hope that's somewhat helpful.On Tue, Mar 20, 2018 at 1:46 PM, Charles Moulliard <cmoullia redhat com> wrote:Hi,When oc cluster up start with param "--service-catalog=true" then it will fail and this error about template not found is reported[root cloud ~]# systemctl status openshift.service● openshift.service - OpenShift oc cluster up ServiceLoaded: loaded (/etc/systemd/system/openshift
.service; enabled; vendor preset: disabled)Active: failed (Result: exit-code) since Tue 2018-03-20 17:42:05 UTC; 33s agoProcess: 3819 ExecStart=/usr/local/bin/oc cluster up --host-config-dir=/var/lib/ope nshift/config --host-data-dir=/var/lib/opens hift/data --host-pv-dir=/tmp --host-volumes-dir=/var/lib/op enshift/volumes --use-existing-config=true --public-hostname=192.168.99.5 0 --routing-suffix=192.168.99.50 .nip.io--loglevel=1 --service-catalog=true (code=exited, status=1/FAILURE)Main PID: 3819 (code=exited, status=1/FAILURE)Mar 20 17:42:05 cloud occlusterup: FAILMar 20 17:42:05 cloud occlusterup: Error: cannot register the template service brokerMar 20 17:42:05 cloud occlusterup: Caused By:Mar 20 17:42:05 cloud occlusterup: Error: cannot retrieve template "template-service-broker-regis tration" from namespace "openshift-infra"Mar 20 17:42:05 cloud occlusterup: Caused By:Mar 20 17:42:05 cloud occlusterup: Error: templates.template.openshift.i o"template-service-broker-regis tration" not foundMar 20 17:42:05 cloud systemd: openshift.service: main process exited, code=exited, status=1/FAILUREMar 20 17:42:05 cloud systemd: Failed to start OpenShift oc cluster up Service.Mar 20 17:42:05 cloud systemd: Unit openshift.service entered failed state.Mar 20 17:42:05 cloud systemd: openshift.service failed.Is there a workaround ?What version is that oc binary you're using? I ask to ensure that it's in sync with what release you're trying to deploy.It looks like there have been several related reports while using minishift (I assume minishift uses a systemd service for launching oc cluster up):
inishift/issues/1910This report outlines that using existing config is the problem:
rigin/issues/18119I've tried reproducing failure on 3.7.0, 3.7.1, and 3.7.2 with cluster up and all have worked for me, but this is without minishift or existing config in the mix. The exact command used was "oc cluster up --version=v3.7.2 --service-catalog".