{"action":"opened","issue":{"url":"https://api.github.com/repos/moby/moby/issues/34095","repository_url":"https://api.github.com/repos/moby/moby","labels_url":"https://api.github.com/repos/moby/moby/issues/34095/labels{/name}","comments_url":"https://api.github.com/repos/moby/moby/issues/34095/comments","events_url":"https://api.github.com/repos/moby/moby/issues/34095/events","html_url":"https://github.com/moby/moby/issues/34095","id":242763860,"number":34095,"title":"docker-machine deploys Ubuntu instance but Docker Daemon will not load.","user":{"login":"dmccullo","id":18235932,"avatar_url":"https://avatars0.githubusercontent.com/u/18235932?v=3","gravatar_id":"","url":"https://api.github.com/users/dmccullo","html_url":"https://github.com/dmccullo","followers_url":"https://api.github.com/users/dmccullo/followers","following_url":"https://api.github.com/users/dmccullo/following{/other_user}","gists_url":"https://api.github.com/users/dmccullo/gists{/gist_id}","starred_url":"https://api.github.com/users/dmccullo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmccullo/subscriptions","organizations_url":"https://api.github.com/users/dmccullo/orgs","repos_url":"https://api.github.com/users/dmccullo/repos","events_url":"https://api.github.com/users/dmccullo/events{/privacy}","received_events_url":"https://api.github.com/users/dmccullo/received_events","type":"User","site_admin":false},"labels":[{"id":616332869,"url":"https://api.github.com/repos/moby/moby/labels/version/17.06","name":"version/17.06","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-13T16:45:32Z","updated_at":"2017-07-13T16:45:32Z","closed_at":null,"body":"<!--\r\nIf you are reporting a new issue, make sure that we do not have any duplicates\r\nalready open. You can ensure this by searching the issue list for this\r\nrepository. If there is a duplicate, please close your issue and add a comment\r\nto the existing issue instead.\r\n\r\nIf you suspect your issue is a bug, please edit your issue description to\r\ninclude the BUG REPORT INFORMATION shown below. If you fail to provide this\r\ninformation within 7 days, we cannot debug your issue and will close it. We\r\nwill, however, reopen it if you later provide the information.\r\n\r\nFor more information about reporting issues, see\r\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues\r\n\r\n---------------------------------------------------\r\nGENERAL SUPPORT INFORMATION\r\n---------------------------------------------------\r\n\r\nThe GitHub issue tracker is for bug reports and feature requests.\r\nGeneral support can be found at the following locations:\r\n\r\n- Docker Support Forums - https://forums.docker.com\r\n- IRC - irc.freenode.net #docker channel\r\n- Post a question on StackOverflow, using the Docker tag\r\n\r\n---------------------------------------------------\r\nBUG REPORT INFORMATION\r\n---------------------------------------------------\r\nUse the commands below to provide key information from your environment:\r\nYou do NOT have to include this information if this is a FEATURE REQUEST\r\n-->\r\n\r\n**Description**\r\n\r\n<!--\r\n\r\nWhen I deploy instances with Docker-machine after upgrading to 17.06.0-ce-mac18 (18433)\r\n\r\nUbuntu images get deployed and show issues with Docker daemon starting.\r\n\r\nI have been using Docker for over a year in this co=loud environment which I am the lead architect for and have never run into such issues.\r\n\r\nAny insight would be appreciated.  I need to ensure our cloud environment works smoothly with Docker for our user community.\r\n\r\nI can docker-machine ssh to each of them, I have verified my tenant space allows port 2376 from my mac running Docker ce...\r\n\r\n-->\r\n\r\n**Steps to reproduce the issue:**\r\n1.When I deploy Docker machines with this command\r\ndocker-machine create --openstack-flavor-name s1.small --openstack-image-id 1b8a53f4-1986-492d-a6ad-4907b69fc76b --openstack-nova-network -d openstack Hostname\r\non Ubuntu 14.04 kernel 3.13.0-37-generic \r\n2.When i try to regenerate certs \r\ndocker-machine regenerate-certs hostname \r\n3. When I change to Ubuntu 16.04 kernel 4.4.0-53-generic\r\ndocker-machine create --openstack-flavor-name s1.small --openstack-image-id 9d018c75-c18d-40bf-853f-6266d1267d0d --openstack-nova-network -d openstack HostnameUB16\r\n\r\n**Describe the results you received:**\r\n1. The instance gets deployed to openstack and during provisioning I get this error\r\nError checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host \"208.75.74.38:2376\": dial tcp 208.75.74.38:2376: getsockopt: connection refused\r\n\r\n2. Regenerate TLS machine certs?  Warning: this is irreversible. (y/n): y\r\nRegenerating TLS certificates\r\nWaiting for SSH to be available...\r\nDetecting the provisioner...\r\nInstalling Docker...\r\nError getting SSH command to check if the daemon is up: ssh command error:\r\ncommand : sudo docker version\r\nerr     : exit status 1\r\noutput  : Client:\r\n Version:      17.06.0-ce\r\n API version:  1.30\r\n Go version:   go1.8.3\r\n Git commit:   02c1d87\r\n Built:        Fri Jun 23 21:19:16 2017\r\n OS/Arch:      linux/amd64\r\nCannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?\r\n\r\n3. Running pre-create checks...\r\nCreating machine...\r\n(HostnameUB16) Creating machine...\r\nWaiting for machine to be running, this may take a few minutes...\r\nDetecting operating system of created instance...\r\nWaiting for SSH to be available...\r\nDetecting the provisioner...\r\nProvisioning with ubuntu(systemd)...\r\nInstalling Docker...\r\nCopying certs to the local machine directory...\r\nCopying certs to the remote machine...\r\nSetting Docker configuration on the remote daemon...\r\nError creating machine: Error running provisioning: ssh command error:\r\ncommand : sudo systemctl -f start docker\r\nerr     : exit status 1\r\noutput  : Job for docker.service failed because the control process exited with error code. See \"systemctl status docker.service\" and \"journalctl -xe\" for details.\r\n**Describe the results you expected:**\r\n\r\nRunning on the same mac with all the same Openstack variables defined with the same openstack tenant using Centos 7 Kernel 3.10.0-514.10.2.el7.x86_64 i get \r\nRunning pre-create checks...\r\nCreating machine...\r\n(HostnameCE) Creating machine...\r\nWaiting for machine to be running, this may take a few minutes...\r\nDetecting operating system of created instance...\r\nWaiting for SSH to be available...\r\nDetecting the provisioner...\r\nProvisioning with centos...\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\nDocker is up and running!\r\nTo see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env HostnameCE\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\nDocker.log entered for Ubuntu 14.04\r\nubuntu@Hostname:/var/log/upstart$ sudo tail docker.log\r\nError starting daemon: error initializing graphdriver: driver not supported\r\n/var/run/docker.sock is up\r\ntime=\"2017-07-12T18:24:26.447506565Z\" level=info msg=\"libcontainerd: new containerd process, pid: 10734\"\r\nError starting daemon: error initializing graphdriver: driver not supported\r\n/var/run/docker.sock is up\r\ntime=\"2017-07-12T18:24:26.528832633Z\" level=info msg=\"libcontainerd: new containerd process, pid: 10784\"\r\nError starting daemon: error initializing graphdriver: driver not supported\r\n/var/run/docker.sock is up\r\ntime=\"2017-07-12T18:24:26.620341009Z\" level=info msg=\"libcontainerd: new containerd process, pid: 10862\"\r\nError starting daemon: error initializing graphdriver: driver not supported\r\n\r\nDocker.logs for Ubuntu 16.04\r\n**Output of `docker version`:**\r\nJul 13 15:20:44 HostnameUB16 systemd[1]: Starting Docker Application Container Engine...\r\nJul 13 15:20:44 HostnameUB16 dockerd[4527]: time=\"2017-07-13T15:20:44.664473778Z\" level=info msg=\"libcontainerd: new containerd process, pid: 4534\"\r\nJul 13 15:20:44 HostnameUB16 dockerd[4527]: time=\"2017-07-13T15:20:44.679879435Z\" level=warning msg=\"failed to rename /var/lib/docker/tmp for background deletion: rename /var/lib/docker/tmp /\r\nJul 13 15:20:44 HostnameUB16 dockerd[4527]: time=\"2017-07-13T15:20:44.838203421Z\" level=info msg=\"Graph migration to content-addressability took 0.00 seconds\"\r\nJul 13 15:20:44 HostnameUB16 dockerd[4527]: time=\"2017-07-13T15:20:44.838710361Z\" level=warning msg=\"Your kernel does not support swap memory limit\"\r\nJul 13 15:20:44 HostnameUB16 dockerd[4527]: time=\"2017-07-13T15:20:44.839028871Z\" level=warning msg=\"Your kernel does not support cgroup rt period\"\r\nJul 13 15:20:44 HostnameUB16 dockerd[4527]: time=\"2017-07-13T15:20:44.839226345Z\" level=warning msg=\"Your kernel does not support cgroup rt runtime\"\r\nJul 13 15:20:44 HostnameUB16 dockerd[4527]: time=\"2017-07-13T15:20:44.839810276Z\" level=info msg=\"Loading containers: start.\"\r\nJul 13 15:20:45 HostnameUB16 dockerd[4527]: time=\"2017-07-13T15:20:45.240554465Z\" level=info msg=\"Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip ca\r\nJul 13 15:20:45 HostnameUB16 dockerd[4527]: time=\"2017-07-13T15:20:45.319481075Z\" level=info msg=\"Loading containers: done.\"\r\nJul 13 15:20:45 HostnameUB16 dockerd[4527]: time=\"2017-07-13T15:20:45.331099182Z\" level=info msg=\"Daemon has completed initialization\"\r\nJul 13 15:20:45 HostnameUB16 dockerd[4527]: time=\"2017-07-13T15:20:45.331390694Z\" level=info msg=\"Docker daemon\" commit=02c1d87 graphdriver=overlay2 version=17.06.0-ce\r\nJul 13 15:20:45 HostnameUB16 systemd[1]: Started Docker Application Container Engine.\r\nJul 13 15:20:45 HostnameUB16 dockerd[4527]: time=\"2017-07-13T15:20:45.343944722Z\" level=info msg=\"API listen on /var/run/docker.sock\"\r\nJul 13 15:20:48 HostnameUB16 dockerd[4527]: time=\"2017-07-13T15:20:48.603258170Z\" level=info msg=\"Processing signal 'terminated'\"\r\nJul 13 15:20:48 HostnameUB16 systemd[1]: Stopping Docker Application Container Engine...\r\nJul 13 15:20:48 HostnameUB16 dockerd[4527]: time=\"2017-07-13T15:20:48.60414977Z\" level=info msg=\"stopping containerd after receiving terminated\"\r\nJul 13 15:20:48 HostnameUB16 systemd[1]: Stopped Docker Application Container Engine.\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: Starting Docker Application Container Engine...\r\nJul 13 15:20:55 HostnameUB16 docker[5255]: `docker daemon` is not supported on Linux. Please run `dockerd` directly\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: Failed to start Docker Application Container Engine.\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: docker.service: Unit entered failed state.\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: docker.service: Failed with result 'exit-code'.\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: docker.service: Service hold-off time over, scheduling restart.\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: Stopped Docker Application Container Engine.\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: Starting Docker Application Container Engine...\r\nJul 13 15:20:55 HostnameUB16 docker[5269]: `docker daemon` is not supported on Linux. Please run `dockerd` directly\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: Failed to start Docker Application Container Engine.\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: docker.service: Unit entered failed state.\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: docker.service: Failed with result 'exit-code'.\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: docker.service: Service hold-off time over, scheduling restart.\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: Stopped Docker Application Container Engine.\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: Starting Docker Application Container Engine...\r\nJul 13 15:20:55 HostnameUB16 docker[5276]: `docker daemon` is not supported on Linux. Please run `dockerd` directly\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: Failed to start Docker Application Container Engine.\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: docker.service: Unit entered failed state.\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: docker.service: Failed with result 'exit-code'.\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: docker.service: Service hold-off time over, scheduling restart.\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: Stopped Docker Application Container Engine.\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: docker.service: Start request repeated too quickly.\r\nJul 13 15:20:55 HostnameUB16 systemd[1]: Failed to start Docker Application Container Engine.\r\n```\r\n(paste your output here)\r\nClient:\r\n Version:      17.06.0-ce\r\n API version:  1.30\r\n Go version:   go1.8.3\r\n Git commit:   02c1d87\r\n Built:        Fri Jun 23 21:31:53 2017\r\n OS/Arch:      darwin/amd64\r\n\r\nServer:\r\n Version:      17.06.0-ce\r\n API version:  1.30 (minimum version 1.12)\r\n Go version:   go1.8.3\r\n Git commit:   02c1d87\r\n Built:        Fri Jun 23 21:51:55 2017\r\n OS/Arch:      linux/amd64\r\n Experimental: false```\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\n(paste your output here)\r\nContainers: 7\r\n Running: 0\r\n Paused: 0\r\n Stopped: 7\r\nImages: 9\r\nServer Version: 17.06.0-ce\r\nStorage Driver: overlay2\r\n Backing Filesystem: extfs\r\n Supports d_type: true\r\n Native Overlay Diff: true\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: bridge host macvlan null overlay\r\n Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nInit Binary: docker-init\r\ncontainerd version: cfb82a876ecc11b5ca0977d1733adbe58599088a\r\nrunc version: 2d41c047c83e09a6d61d464906feb2a2f3c52aa4\r\ninit version: 949e6fa\r\nSecurity Options:\r\n seccomp\r\n  Profile: default\r\nKernel Version: 4.9.31-moby\r\nOperating System: Alpine Linux v3.5\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 2\r\nTotal Memory: 2.934GiB\r\nName: moby\r\nID: 5AXK:74Q6:SYRS:3O3F:J6UA:KBBP:IGKD:VRSS:UDSR:GHK3:T4OW:GOS6\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): true\r\n File Descriptors: 17\r\n Goroutines: 28\r\n System Time: 2017-07-13T15:23:40.534570366Z\r\n EventsListeners: 1\r\nNo Proxy: *.local, 169.254/16\r\nRegistry: https://index.docker.io/v1/\r\nExperimental: false\r\nInsecure Registries:\r\n 127.0.0.0/8\r\nLive Restore Enabled: false```\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\nOpenstack \r\nDocker-machine version docker-machine version 0.12.0, build 45c69ad"}}
{"actor":{"display_login":"dmccullo"}}