{"action":"created","issue":{"url":"https://api.github.com/repos/minishift/minishift/issues/1160","repository_url":"https://api.github.com/repos/minishift/minishift","labels_url":"https://api.github.com/repos/minishift/minishift/issues/1160/labels{/name}","comments_url":"https://api.github.com/repos/minishift/minishift/issues/1160/comments","events_url":"https://api.github.com/repos/minishift/minishift/issues/1160/events","html_url":"https://github.com/minishift/minishift/issues/1160","id":244470196,"number":1160,"title":"Docker container fails to start during minishift start - VirtualBox, no VPN, Ubuntu 16.04","user":{"login":"jgreene-cwt","id":29920205,"avatar_url":"https://avatars3.githubusercontent.com/u/29920205?v=4","gravatar_id":"","url":"https://api.github.com/users/jgreene-cwt","html_url":"https://github.com/jgreene-cwt","followers_url":"https://api.github.com/users/jgreene-cwt/followers","following_url":"https://api.github.com/users/jgreene-cwt/following{/other_user}","gists_url":"https://api.github.com/users/jgreene-cwt/gists{/gist_id}","starred_url":"https://api.github.com/users/jgreene-cwt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgreene-cwt/subscriptions","organizations_url":"https://api.github.com/users/jgreene-cwt/orgs","repos_url":"https://api.github.com/users/jgreene-cwt/repos","events_url":"https://api.github.com/users/jgreene-cwt/events{/privacy}","received_events_url":"https://api.github.com/users/jgreene-cwt/received_events","type":"User","site_admin":false},"labels":[{"id":403874607,"url":"https://api.github.com/repos/minishift/minishift/labels/kind/bug","name":"kind/bug","color":"84b6eb","default":false},{"id":524948002,"url":"https://api.github.com/repos/minishift/minishift/labels/os/linux","name":"os/linux","color":"fef2c0","default":false},{"id":503456447,"url":"https://api.github.com/repos/minishift/minishift/labels/priority/minor","name":"priority/minor","color":"e99695","default":false},{"id":520000584,"url":"https://api.github.com/repos/minishift/minishift/labels/status/needs-info","name":"status/needs-info","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-07-20T19:21:53Z","updated_at":"2017-07-26T23:25:08Z","closed_at":null,"body":"Hello -\r\nFirst, see my previous recent thread [here](https://github.com/minishift/minishift/issues/1127).\r\n\r\nFirst of all, I acknowledge there is likely a network stack problem when working over vpn that could be causing our problem.  However, today I got my personal laptop fired up - it is running Ubuntu 16.04, with a good wifi connection.  I got the latest nodejs and npm and @angular/cli installed, then grabbed minishift and openshift cli, making sure they were all good.  I ran the following minishift command to try to start openshift in a centOS VM, same as in my previous post (which was done on my Windows work box):\r\n\r\n`minishift start --memory 4096 --cpus 2 --vm-driver virtualbox --show-libmachine-logs --iso-url centos`\r\n\r\nThe OpenShift cluster actually started as before (I can see it if i fire up the VirtualBox console), but I got pretty much the same Docker client issue as before (see my previous thread linked above):\r\n\r\n```\r\nDetecting the provisioner...\r\nProvisioning with minishift...\r\nCopying certs to the local machine directory...\r\nCopying certs to the remote machine...\r\nSetting Docker configuration on the remote daemon...\r\nChecking connection to Docker...\r\nE0720 13:13:42.811365   14787 start.go:278] Error starting the VM: Error creating the VM. Error creating machine: Error checking the host: Error checking and/or regenerating the certs: There was an error validating certificates for host \"192.168.99.100:2376\": dial tcp 192.168.99.100:2376: i/o timeout\r\nYou can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.\r\nBe advised that this will trigger a Docker daemon restart which might stop running containers.\r\n. Retrying.\r\nWaiting for SSH to be available...\r\nDetecting the provisioner...\r\nCopying certs to the local machine directory...\r\nCopying certs to the remote machine...\r\nSetting Docker configuration on the remote daemon...\r\nDownloading OpenShift binary oc version v1.5.1\r\n 19.96 MiB / 19.96 MiB [============================================] 100.00% 0s\r\n-- Checking OpenShift client ... OK\r\n-- Checking Docker client ... FAIL\r\n   Error: cannot communicate with Docker\r\n   Solution:\r\n\r\n     Ensure that Docker is installed and accessible in your environment.\r\n     Use your package manager or follow instructions at:\r\n\r\n        https://docs.docker.com/linux/\r\n\r\n   Caused By:\r\n     Error: Get https://192.168.99.100:2376/_ping: dial tcp 192.168.99.100:2376: i/o timeout\r\nOpenShift provisioning failed. origin container failed to start.\r\n```\r\nI totally did not expect this, since I had pretty much convinced myself with the help of the replies that this is a VPN issue.  \r\n\r\nSo now, since I'm not on VPN, and not on Windows, what could this be?  How can this be fixed or worked around on Ubuntu?  Any help would be greatly appreciated.\r\n"},"comment":{"url":"https://api.github.com/repos/minishift/minishift/issues/comments/318211724","html_url":"https://github.com/minishift/minishift/issues/1160#issuecomment-318211724","issue_url":"https://api.github.com/repos/minishift/minishift/issues/1160","id":318211724,"user":{"login":"jgreene-cwt","id":29920205,"avatar_url":"https://avatars3.githubusercontent.com/u/29920205?v=4","gravatar_id":"","url":"https://api.github.com/users/jgreene-cwt","html_url":"https://github.com/jgreene-cwt","followers_url":"https://api.github.com/users/jgreene-cwt/followers","following_url":"https://api.github.com/users/jgreene-cwt/following{/other_user}","gists_url":"https://api.github.com/users/jgreene-cwt/gists{/gist_id}","starred_url":"https://api.github.com/users/jgreene-cwt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgreene-cwt/subscriptions","organizations_url":"https://api.github.com/users/jgreene-cwt/orgs","repos_url":"https://api.github.com/users/jgreene-cwt/repos","events_url":"https://api.github.com/users/jgreene-cwt/events{/privacy}","received_events_url":"https://api.github.com/users/jgreene-cwt/received_events","type":"User","site_admin":false},"created_at":"2017-07-26T23:25:08Z","updated_at":"2017-07-26T23:25:08Z","body":"Ok, another update.  I began to think about the resources specified in the `minishift start...` command argument list (since my ubuntu box is not bursting at the seams with RAM).  So after making sure minishift was stopped, I did a `minishift delete`, used the `netstat -rn` command to double-check that the vboxnet0 network adapter was still up, and executed the following (different) `minishift start...` command:\r\n\r\n`minishift start --vm-driver virtualbox --show-libmachine-logs --iso-url centos`\r\n\r\nThis time, the startup went smoothly, and I was able to login as administrator and access the server at `https://192.168.100.99:8443`.  The openshift origin console loaded quickly, and all looks like I expected so far.  Here's the last part of the console at `minishift start...`:\r\n\r\n```\r\n-- Starting OpenShift container ...\r\n   Creating initial OpenShift configuration\r\n   Starting OpenShift using container 'origin'\r\n   Waiting for API server to start listening\r\n   OpenShift server started\r\n-- Adding default OAuthClient redirect URIs ... OK\r\n-- Installing registry ... OK\r\n-- Installing router ... OK\r\n-- Importing image streams ... OK\r\n-- Importing templates ... OK\r\n-- Login to server ... OK\r\n-- Creating initial project \"myproject\" ... OK\r\n-- Removing temporary directory ... OK\r\n-- Checking container networking ... OK\r\n-- Server Information ...\r\n   OpenShift server started.\r\n   The server is accessible via web console at:\r\n       https://192.168.99.100:8443\r\n\r\n   You are logged in as:\r\n       User:     developer\r\n       Password: developer\r\n\r\n   To login as administrator:\r\n       oc login -u system:admin\r\n```\r\n\r\n\r\n@quagliero, @gbraad thank you for your help.  I hope this thread helps more of us.  I'll keep this issue open in case either of you or anyone else has another comment.  Thanks again."}}
{"actor":{"display_login":"jgreene-cwt"}}