{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/19139","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/19139/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/19139/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/19139/events","html_url":"https://github.com/openshift/origin/issues/19139","id":309553608,"number":19139,"title":"Can't rerun oc cluster up with --service-catalog=true","user":{"login":"jmontleon","id":1850500,"avatar_url":"https://avatars3.githubusercontent.com/u/1850500?v=4","gravatar_id":"","url":"https://api.github.com/users/jmontleon","html_url":"https://github.com/jmontleon","followers_url":"https://api.github.com/users/jmontleon/followers","following_url":"https://api.github.com/users/jmontleon/following{/other_user}","gists_url":"https://api.github.com/users/jmontleon/gists{/gist_id}","starred_url":"https://api.github.com/users/jmontleon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmontleon/subscriptions","organizations_url":"https://api.github.com/users/jmontleon/orgs","repos_url":"https://api.github.com/users/jmontleon/repos","events_url":"https://api.github.com/users/jmontleon/events{/privacy}","received_events_url":"https://api.github.com/users/jmontleon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-28T22:22:49Z","updated_at":"2018-04-09T14:57:29Z","closed_at":"2018-04-09T14:57:29Z","author_association":"NONE","body":"Can't rerun oc cluster up with --service-catalog=true\r\n\r\n##### Version\r\noc version\r\noc v3.10.0-alpha.0+1691e4d-400\r\nkubernetes v1.9.1+a0ce1bc657\r\nfeatures: Basic-Auth GSSAPI Kerberos SPNEGO\r\n\r\n\r\n##### Steps To Reproduce\r\n1.\r\n```\r\n$ oc cluster up --routing-suffix=172.18.0.1.nip.io --service-catalog=true --tag=latest\r\nStarting OpenShift using openshift/origin:latest ...\r\nI0328 18:15:46.883832    6704 config.go:38] Running \"create-master-config\"\r\nI0328 18:15:49.167239    6704 config.go:45] Running \"create-node-config\"\r\nI0328 18:15:50.641444    6704 flags.go:31] Running \"create-kubelet-flags\"\r\nI0328 18:15:51.587321    6704 run_kubelet.go:48] Running \"start-kubelet\"\r\nI0328 18:15:52.048908    6704 run_self_hosted.go:156] Waiting for the kube-apiserver to be ready.\r\nI0328 18:16:14.053400    6704 apply_template.go:77] Installing \"openshift-apiserver\"\r\nI0328 18:16:14.053418    6704 apply_template.go:77] Installing \"kube-proxy\"\r\nI0328 18:16:14.053438    6704 apply_template.go:77] Installing \"kube-dns\"\r\nI0328 18:16:16.173532    6704 interface.go:41] Finished installing \"kube-proxy\" \"kube-dns\" \"openshift-apiserver\"\r\nI0328 18:16:55.216613    6704 run_self_hosted.go:196] openshift-apiserver available\r\nI0328 18:16:55.216693    6704 apply_template.go:77] Installing \"openshift-controller-manager\"\r\nI0328 18:16:56.964988    6704 interface.go:41] Finished installing \"openshift-controller-manager\"\r\nI0328 18:16:57.075527    6704 apply_list.go:48] Installing \"openshift/centos7\"\r\nI0328 18:16:57.075556    6704 apply_list.go:48] Installing \"openshift/jenkins pipeline persistent\"\r\nI0328 18:16:57.075575    6704 apply_list.go:48] Installing \"openshift/nodejs quickstart\"\r\nI0328 18:16:57.075600    6704 apply_list.go:48] Installing \"openshift/rails quickstart\"\r\nI0328 18:16:57.075617    6704 apply_list.go:48] Installing \"openshift/django quickstart\"\r\nI0328 18:16:57.075631    6704 apply_list.go:48] Installing \"kube-system/prometheus\"\r\nI0328 18:16:57.075661    6704 apply_list.go:48] Installing \"openshift-infra/web console server template\"\r\nI0328 18:16:57.075660    6704 apply_list.go:48] Installing \"openshift/mysql\"\r\nI0328 18:16:57.075679    6704 apply_list.go:48] Installing \"openshift-infra/template service broker registration\"\r\nI0328 18:16:57.075576    6704 apply_list.go:48] Installing \"openshift/dancer quickstart\"\r\nI0328 18:16:57.075708    6704 apply_list.go:48] Installing \"openshift/postgresql\"\r\nI0328 18:16:57.075709    6704 apply_list.go:48] Installing \"openshift/mongodb\"\r\nI0328 18:16:57.075745    6704 apply_list.go:48] Installing \"openshift/sample pipeline\"\r\nI0328 18:16:57.075749    6704 apply_list.go:48] Installing \"openshift-infra/template service broker apiserver\"\r\nI0328 18:16:57.075612    6704 apply_list.go:48] Installing \"openshift/cakephp quickstart\"\r\nI0328 18:16:57.075921    6704 apply_list.go:48] Installing \"openshift-infra/template service broker rbac\"\r\nI0328 18:16:57.076988    6704 apply_list.go:48] Installing \"openshift-infra/service catalog\"\r\nI0328 18:16:57.076990    6704 apply_list.go:48] Installing \"openshift/mariadb\"\r\nI0328 18:16:57.075644    6704 apply_list.go:48] Installing \"kube-system/heapster standalone\"\r\nI0328 18:16:57.090295    6704 registry_install.go:56] Running \"openshift-image-registry\"\r\nscc \"privileged\" added to: [\"system:serviceaccount:default:registry\"]\r\nI0328 18:17:03.422863    6704 interface.go:41] Finished installing \"openshift/centos7\" \"openshift/cakephp quickstart\" \"openshift/dancer quickstart\" \"openshift/nodejs quickstart\" \"openshift/rails quickstart\" \"openshift/jenkins pipeline persistent\" \"openshift/mysql\" \"openshift/postgresql\" \"openshift/django quickstart\" \"openshift/sample pipeline\" \"openshift/mongodb\" \"openshift/mariadb\" \"kube-system/prometheus\" \"kube-system/heapster standalone\" \"openshift-infra/template service broker rbac\" \"openshift-infra/template service broker registration\" \"openshift-infra/service catalog\" \"openshift-infra/web console server template\" \"openshift-infra/template service broker apiserver\" \"openshift-image-registry\"\r\nI0328 18:17:03.425361    6704 admin.go:48] Running \"install-router\"\r\nI0328 18:17:12.816327    6704 apply_template.go:77] Installing \"tsb-apiserver\"\r\nI0328 18:17:22.806751    6704 apply_template.go:77] Installing \"tsb-registration\"\r\nOpenShift server started.\r\n\r\nThe server is accessible via web console at:\r\n    https://127.0.0.1:8443\r\n\r\nYou are logged in as:\r\n    User:     developer\r\n    Password: <any value>\r\n\r\nTo login as administrator:\r\n    oc login -u system:admin\r\n```\r\n\r\n2.\r\n```\r\noc cluster down\r\n```\r\n\r\n3.\r\n```\r\n$ oc cluster up --routing-suffix=172.18.0.1.nip.io --service-catalog=true --tag=latest\r\nStarting OpenShift using openshift/origin:latest ...\r\nI0328 18:18:06.290503   20742 flags.go:31] Running \"create-kubelet-flags\"\r\nI0328 18:18:07.212581   20742 run_kubelet.go:48] Running \"start-kubelet\"\r\nI0328 18:18:07.676125   20742 run_self_hosted.go:156] Waiting for the kube-apiserver to be ready.\r\nI0328 18:18:26.680112   20742 apply_template.go:77] Installing \"openshift-apiserver\"\r\nI0328 18:18:26.680120   20742 apply_template.go:77] Installing \"kube-proxy\"\r\nI0328 18:18:26.680126   20742 apply_template.go:77] Installing \"kube-dns\"\r\nI0328 18:18:36.351499   20742 interface.go:41] Finished installing \"kube-proxy\" \"kube-dns\" \"openshift-apiserver\"\r\nI0328 18:18:36.378841   20742 run_self_hosted.go:196] openshift-apiserver available\r\nI0328 18:18:36.378939   20742 apply_template.go:77] Installing \"openshift-controller-manager\"\r\nI0328 18:18:38.112255   20742 interface.go:41] Finished installing \"openshift-controller-manager\"\r\nI0328 18:18:38.171936   20742 apply_list.go:48] Installing \"openshift/postgresql\"\r\nI0328 18:18:38.171982   20742 apply_list.go:48] Installing \"openshift/jenkins pipeline persistent\"\r\nI0328 18:18:38.172023   20742 apply_list.go:48] Installing \"kube-system/heapster standalone\"\r\nI0328 18:18:38.172054   20742 apply_list.go:48] Installing \"kube-system/prometheus\"\r\nI0328 18:18:38.172034   20742 apply_list.go:48] Installing \"openshift-infra/template service broker registration\"1. [step 1]\r\n2. [step 2]\r\nI0328 18:18:38.172078   20742 apply_list.go:48] Installing \"openshift-infra/service catalog\"\r\nI0328 18:18:38.171950   20742 apply_list.go:48] Installing \"openshift/sample pipeline\"\r\nI0328 18:18:38.172024   20742 apply_list.go:48] Installing \"openshift/mariadb\"\r\nI0328 18:18:38.171989   20742 apply_list.go:48] Installing \"openshift-infra/web console server template\"\r\nI0328 18:18:38.171989   20742 apply_list.go:48] Installing \"openshift/mongodb\"\r\nI0328 18:18:38.173026   20742 apply_list.go:48] Installing \"openshift-infra/template service broker rbac\"\r\nI0328 18:18:38.173154   20742 apply_list.go:48] Installing \"openshift/nodejs quickstart\"\r\nI0328 18:18:38.172771   20742 apply_list.go:48] Installing \"openshift-infra/template service broker apiserver\"\r\nI0328 18:18:38.172749   20742 apply_list.go:48] Installing \"openshift/django quickstart\"\r\nI0328 18:18:38.173301   20742 apply_list.go:48] Installing \"openshift/cakephp quickstart\"\r\nI0328 18:18:38.172961   20742 apply_list.go:48] Installing \"openshift/rails quickstart\"\r\nI0328 18:18:38.171956   20742 apply_list.go:48] Installing \"openshift/centos7\"\r\nI0328 18:18:38.175101   20742 apply_list.go:48] Installing \"openshift/dancer quickstart\"\r\nI0328 18:18:38.173090   20742 apply_list.go:48] Installing \"openshift/mysql\"\r\nI0328 18:18:43.622877   20742 interface.go:41] Finished installing \"openshift/centos7\" \"openshift/sample pipeline\" \"openshift/mongodb\" \"openshift/mariadb\" \"openshift/postgresql\" \"openshift/cakephp quickstart\" \"openshift/dancer quickstart\" \"openshift/django quickstart\" \"openshift/mysql\" \"openshift/nodejs quickstart\" \"openshift/rails quickstart\" \"openshift/jenkins pipeline persistent\" \"kube-system/prometheus\" \"kube-system/heapster standalone\" \"openshift-infra/template service broker rbac\" \"openshift-infra/template service broker registration\" \"openshift-infra/service catalog\" \"openshift-infra/web console server template\" \"openshift-infra/template service broker apiserver\" \"openshift-image-registry\"\r\nError: FAIL\r\n   Error: cannot instantiate service catalog template\r\n   Caused By:\r\n     Error: cannot create objects from template openshift-infra/service-catalog\r\n     Caused By:\r\n       Error: Service \"apiserver\" is invalid: spec.clusterIP: Invalid value: \"172.30.1.2\": provided IP is already allocated\r\n\r\n\r\n##### Current Result\r\nFailure\r\n\r\n##### Expected Result\r\nCluster comes back up\r\n\r\n##### Additional Information\r\nTo get it working again\r\n\r\n```\r\n$ oc cluster down\r\n$ for i in $(mount | grep openshift | awk '{ print $3}'); do sudo umount \"$i\"; done && sudo rm -rf ./openshift.local.clusterup\r\n$ oc cluster up --routing-suffix=172.18.0.1.nip.io --service-catalog=true --tag=latest\r\nStarting OpenShift using openshift/origin:latest ...\r\nI0328 18:20:24.176777   28081 config.go:38] Running \"create-master-config\"\r\nI0328 18:20:26.968095   28081 config.go:45] Running \"create-node-config\"\r\nI0328 18:20:28.226166   28081 flags.go:31] Running \"create-kubelet-flags\"\r\nI0328 18:20:29.132971   28081 run_kubelet.go:48] Running \"start-kubelet\"\r\nI0328 18:20:29.608225   28081 run_self_hosted.go:156] Waiting for the kube-apiserver to be ready.\r\nI0328 18:20:51.612669   28081 apply_template.go:77] Installing \"kube-dns\"\r\nI0328 18:20:51.612669   28081 apply_template.go:77] Installing \"openshift-apiserver\"\r\nI0328 18:20:51.612669   28081 apply_template.go:77] Installing \"kube-proxy\"\r\nI0328 18:20:53.698706   28081 interface.go:41] Finished installing \"kube-proxy\" \"kube-dns\" \"openshift-apiserver\"\r\nI0328 18:21:20.740904   28081 run_self_hosted.go:196] openshift-apiserver available\r\nI0328 18:21:20.740981   28081 apply_template.go:77] Installing \"openshift-controller-manager\"\r\nI0328 18:21:22.504527   28081 interface.go:41] Finished installing \"openshift-controller-manager\"\r\nI0328 18:21:22.600340   28081 apply_list.go:48] Installing \"openshift/rails quickstart\"\r\nI0328 18:21:22.600366   28081 apply_list.go:48] Installing \"openshift/django quickstart\"\r\nI0328 18:21:22.600361   28081 apply_list.go:48] Installing \"openshift/sample pipeline\"\r\nI0328 18:21:22.600379   28081 apply_list.go:48] Installing \"openshift/cakephp quickstart\"\r\nI0328 18:21:22.600403   28081 apply_list.go:48] Installing \"openshift-infra/service catalog\"\r\nI0328 18:21:22.600403   28081 apply_list.go:48] Installing \"openshift/nodejs quickstart\"\r\nI0328 18:21:22.600436   28081 apply_list.go:48] Installing \"openshift/mariadb\"\r\nI0328 18:21:22.600444   28081 apply_list.go:48] Installing \"openshift/jenkins pipeline persistent\"\r\nI0328 18:21:22.600453   28081 apply_list.go:48] Installing \"openshift-infra/template service broker registration\"\r\nI0328 18:21:22.600500   28081 apply_list.go:48] Installing \"kube-system/heapster standalone\"\r\nI0328 18:21:22.600503   28081 apply_list.go:48] Installing \"openshift-infra/web console server template\"\r\nI0328 18:21:22.600340   28081 apply_list.go:48] Installing \"openshift/centos7\"\r\nI0328 18:21:22.600409   28081 apply_list.go:48] Installing \"openshift/mongodb\"\r\nI0328 18:21:22.600582   28081 apply_list.go:48] Installing \"openshift-infra/template service broker rbac\"\r\nI0328 18:21:22.600620   28081 apply_list.go:48] Installing \"openshift-infra/template service broker apiserver\"\r\nI0328 18:21:22.600369   28081 apply_list.go:48] Installing \"openshift/dancer quickstart\"\r\nI0328 18:21:22.600477   28081 apply_list.go:48] Installing \"openshift/mysql\"\r\nI0328 18:21:22.600491   28081 apply_list.go:48] Installing \"kube-system/prometheus\"\r\nI0328 18:21:22.600443   28081 apply_list.go:48] Installing \"openshift/postgresql\"\r\nI0328 18:21:22.611391   28081 registry_install.go:56] Running \"openshift-image-registry\"\r\nscc \"privileged\" added to: [\"system:serviceaccount:default:registry\"]\r\nI0328 18:21:28.522849   28081 interface.go:41] Finished installing \"openshift/centos7\" \"openshift/cakephp quickstart\" \"openshift/django quickstart\" \"openshift/rails quickstart\" \"openshift/mongodb\" \"openshift/mariadb\" \"openshift/dancer quickstart\" \"openshift/nodejs quickstart\" \"openshift/jenkins pipeline persistent\" \"openshift/sample pipeline\" \"openshift/mysql\" \"openshift/postgresql\" \"kube-system/prometheus\" \"kube-system/heapster standalone\" \"openshift-infra/service catalog\" \"openshift-infra/template service broker rbac\" \"openshift-infra/template service broker registration\" \"openshift-infra/web console server template\" \"openshift-infra/template service broker apiserver\" \"openshift-image-registry\"\r\nI0328 18:21:28.559053   28081 admin.go:48] Running \"install-router\"\r\nI0328 18:21:39.720021   28081 apply_template.go:77] Installing \"tsb-apiserver\"\r\nI0328 18:21:47.765490   28081 apply_template.go:77] Installing \"tsb-registration\"\r\nOpenShift server started.\r\n\r\nThe server is accessible via web console at:\r\n    https://127.0.0.1:8443\r\n\r\nYou are logged in as:\r\n    User:     developer\r\n    Password: <any value>\r\n\r\nTo login as administrator:\r\n    oc login -u system:admin\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/379781792","html_url":"https://github.com/openshift/origin/issues/19139#issuecomment-379781792","issue_url":"https://api.github.com/repos/openshift/origin/issues/19139","id":379781792,"user":{"login":"jwforres","id":1467629,"avatar_url":"https://avatars2.githubusercontent.com/u/1467629?v=4","gravatar_id":"","url":"https://api.github.com/users/jwforres","html_url":"https://github.com/jwforres","followers_url":"https://api.github.com/users/jwforres/followers","following_url":"https://api.github.com/users/jwforres/following{/other_user}","gists_url":"https://api.github.com/users/jwforres/gists{/gist_id}","starred_url":"https://api.github.com/users/jwforres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwforres/subscriptions","organizations_url":"https://api.github.com/users/jwforres/orgs","repos_url":"https://api.github.com/users/jwforres/repos","events_url":"https://api.github.com/users/jwforres/events{/privacy}","received_events_url":"https://api.github.com/users/jwforres/received_events","type":"User","site_admin":false},"created_at":"2018-04-09T14:57:29Z","updated_at":"2018-04-09T14:57:29Z","author_association":"CONTRIBUTOR","body":"I'm closing this given all the changes to oc cluster up"}}
{"actor":{"display_login":"jwforres"}}