openshift-evangelists / oc-cluster-wrapper

oc cluster up bash wrapper
Apache License 2.0
144 stars 72 forks source link

Error when taking up previously created cluster #13

Closed bjartek closed 8 years ago

bjartek commented 8 years ago

./oc-cluster up foo ./oc-cluster down ./oc-cluster up foo Give me the following error message

[INFO] Running a previously created cluster oc cluster up --public-hostname 127.0.0.1 --host-data-dir /Users/bjartek/.oc/profiles/foo/data --host-config-dir /Users/bjartek/.oc/profiles/foo/config --routing-suffix --use-existing-config -- Checking OpenShift client ... OK -- Checking Docker client ... OK -- Checking Docker version ... OK -- Checking for existing OpenShift container ... OK -- Checking for openshift/origin:v1.3.0 image ... OK -- Checking Docker daemon configuration ... OK -- Checking for available ports ... OK -- Checking type of volume mount ... Using Docker shared volumes for OpenShift volumes -- Creating host directories ... OK -- Finding server IP ... Using public hostname IP 127.0.0.1 as the host IP Using 127.0.0.1 as the server IP -- Starting OpenShift container ... Creating initial OpenShift configuration Starting OpenShift using container 'origin' FAIL Error: could not start OpenShift container "origin" Details: Last 10 lines of "origin" container log: W1007 17:17:27.162504 24876 start_master.go:272] Warning: assetConfig.loggingPublicURL: Invalid value: "": required to view aggregated container logs in the console, master start will continue. W1007 17:17:27.162600 24876 start_master.go:272] Warning: assetConfig.metricsPublicURL: Invalid value: "": required to view cluster metrics in the console, master start will continue. error: Invalid MasterConfig /var/lib/origin/openshift.local.config/master/master-config.yaml routingConfig.subdomain: Invalid value: "--use-existing-config": must be a valid subdomain

I get the same result of i source the run file in to foo profiles directory.

I am on a mac using docker for mac 1.12.1 b1233

oc from homebrew oc v1.3.0 kubernetes v1.3.0+52492b4

bjartek commented 8 years ago

This was fixed in a commit earlier today. I did not use the latest version from the repo. closing.