{"action":"opened","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/6890","labels_url":"https://api.github.com/repos/openshift/origin/issues/6890/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/6890/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/6890/events","html_url":"https://github.com/openshift/origin/issues/6890","id":129603569,"number":6890,"title":"docker image openshift/origin cannot start containers","user":{"login":"fkautz","id":135706,"avatar_url":"https://avatars.githubusercontent.com/u/135706?v=3","gravatar_id":"","url":"https://api.github.com/users/fkautz","html_url":"https://github.com/fkautz","followers_url":"https://api.github.com/users/fkautz/followers","following_url":"https://api.github.com/users/fkautz/following{/other_user}","gists_url":"https://api.github.com/users/fkautz/gists{/gist_id}","starred_url":"https://api.github.com/users/fkautz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fkautz/subscriptions","organizations_url":"https://api.github.com/users/fkautz/orgs","repos_url":"https://api.github.com/users/fkautz/repos","events_url":"https://api.github.com/users/fkautz/events{/privacy}","received_events_url":"https://api.github.com/users/fkautz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-28T22:33:01Z","updated_at":"2016-01-28T22:33:01Z","closed_at":null,"body":"Attempting to run a container fails. I tested this only on Fedora 23 at this point.\r\n\r\nThis is the error message from oc logs, extracted from examples below:\r\n```\r\nF0128 22:18:08.288025       1 deployer.go:65] couldn't get deployment test/training-1: Get https://[ipaddr redacted]:8443/api/v1/namespaces/test/replicationcontrollers/training-1: dial tcp [ipaddr redacted]:8443: no route to host\r\n```\r\n\r\nExample 1: Start app from oc\r\n```sh\r\n$ sudo docker run -d --name \"origin\" \\\r\n        --privileged --pid=host --net=host \\\r\n        -v /:/rootfs:ro -v /var/run:/var/run:rw -v /sys:/sys -v /var/lib/docker:/var/lib/docker:rw \\\r\n        -v /var/lib/origin/openshift.local.volumes:/var/lib/origin/openshift.local.volumes \\\r\n        openshift/origin start\r\n\r\n$ sudo docker exec -it origin bash\r\n\r\n$ oc login\r\nAuthentication required for https://[ipaddr redacted]:8443 (openshift)\r\nUsername: test\r\nPassword: \r\nLogin successful.\r\n\r\n$ oc new-project test\r\nNow using project \"test\" on server \"https://[ipaddr redacted]:8443\".\r\n\r\nYou can add applications to this project with the 'new-app' command. For example, try:\r\n\r\n    $ oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-hello-world.git\r\n\r\nto build a new hello-world application in Ruby.\r\n\r\n$ oc new-app openshift/hello-openshift\r\n--> Found Docker image 41aac80 (About an hour old) from Docker Hub for \"openshift/hello-openshift\"\r\n\r\n    * An image stream will be created as \"hello-openshift:latest\" that will track this image\r\n    * This image will be deployed in deployment config \"hello-openshift\"\r\n    * [WARNING] Image \"hello-openshift\" runs as the 'root' user which may not be permitted by your cluster administrator\r\n    * Ports 8080/tcp, 8888/tcp will be load balanced by service \"hello-openshift\"\r\n    * Other containers can access this service through the hostname \"hello-openshift\"\r\n\r\n--> Creating resources with label app=hello-openshift ...\r\n    imagestream \"hello-openshift\" created\r\n    deploymentconfig \"hello-openshift\" created\r\n    service \"hello-openshift\" created\r\n--> Success\r\n    WARNING: No Docker registry has been configured with the server. Automatic builds and deployments may not function.\r\n    Run 'oc status' to view your app.\r\n\r\n$ oc status\r\nIn project test on server https://[ipaddr redacted]:8443\r\n\r\nsvc/hello-openshift - 172.30.226.121 ports 8080, 8888\r\n  dc/hello-openshift deploys istag/hello-openshift:latest \r\n    #1 deployment failed 10 seconds ago\r\n\r\nView details with 'oc describe <resource>/<name>' or list everything with 'oc get all'.\r\n\r\n$ oc logs dc/hello-openshift\r\nF0128 22:12:30.184268       1 deployer.go:65] couldn't get deployment test/hello-openshift-1: Get https://[ipaddr redacted]:8443/api/v1/namespaces/test/replicationcontrollers/hello-openshift-1: dial tcp [ipaddr redacted]:8443: no route to host\r\n```\r\n\r\nExample 2: Start app using kubectl\r\n```\r\n$ kubectl run training --image=training/webapp\r\ndeploymentconfig \"training\" created\r\n\r\n$ oc status\r\nIn project test on server https://[ipaddr redacted]:8443\r\n\r\nsvc/hello-openshift - 172.30.226.121 ports 8080, 8888\r\n  dc/hello-openshift deploys istag/hello-openshift:latest \r\n    #1 deployment failed 6 minutes ago\r\n\r\ndc/training deploys docker.io/training/webapp:latest \r\n  #1 deployment failed 31 seconds ago\r\n\r\nView details with 'oc describe <resource>/<name>' or list everything with 'oc get all'.\r\n\r\n$ oc logs dc/training\r\nF0128 22:18:08.288025       1 deployer.go:65] couldn't get deployment test/training-1: Get https://[ipaddr redacted]:8443/api/v1/namespaces/test/replicationcontrollers/training-1: dial tcp [ipaddr redacted]:8443: no route to host\r\n```"}}