{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/machine/issues/4311","repository_url":"https://api.github.com/repos/docker/machine","labels_url":"https://api.github.com/repos/docker/machine/issues/4311/labels{/name}","comments_url":"https://api.github.com/repos/docker/machine/issues/4311/comments","events_url":"https://api.github.com/repos/docker/machine/issues/4311/events","html_url":"https://github.com/docker/machine/issues/4311","id":274538881,"number":4311,"title":"\"cloud-init.config.url\" : \"no such file or directory\" with gitlab","user":{"login":"rbucker","id":882595,"avatar_url":"https://avatars1.githubusercontent.com/u/882595?v=4","gravatar_id":"","url":"https://api.github.com/users/rbucker","html_url":"https://github.com/rbucker","followers_url":"https://api.github.com/users/rbucker/followers","following_url":"https://api.github.com/users/rbucker/following{/other_user}","gists_url":"https://api.github.com/users/rbucker/gists{/gist_id}","starred_url":"https://api.github.com/users/rbucker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbucker/subscriptions","organizations_url":"https://api.github.com/users/rbucker/orgs","repos_url":"https://api.github.com/users/rbucker/repos","events_url":"https://api.github.com/users/rbucker/events{/privacy}","received_events_url":"https://api.github.com/users/rbucker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-16T14:40:13Z","updated_at":"2017-11-16T14:40:13Z","closed_at":null,"author_association":"NONE","body":"I'm trying to deploy RancherOS with docker-machine on a vsphere 6.5 host. Using all of the common docs I have determined that [a] the ISO is booted but not actually installed [b] installation requires a cloud-config.yml file [c] and that YAML file needs to be hosted (there is no obvious magic where a local file might exist such that it ends up on the target)\r\n\r\nPROBLEM: FILE NOT FOUND\r\n\r\n```\r\ntime=\"2017-11-16T13:12:22Z\" level=info msg=\"cloud-init: Checking availability of \"cloud-drive\"\" \r\ntime=\"2017-11-16T13:12:22Z\" level=info msg=\"cloud-init: Checking availability of \"VMWare\"\" \r\ntime=\"2017-11-16T13:12:22Z\" level=info msg=\"cloud-init: Datasource available: VMWare:  (lastError: %!s(<nil>))\" \r\ntime=\"2017-11-16T13:12:22Z\" level=info msg=\"Fetching user-data from datasource VMWare:  (lastError: %!s(<nil>))\" \r\ntime=\"2017-11-16T13:12:22Z\" level=info msg=\"Read from \"cloud-init.data.encoding\": \"\"\r\n\" \r\ntime=\"2017-11-16T13:12:22Z\" level=info msg=\"Read from \"cloud-init.config.data\": \"\"\r\n\" \r\ntime=\"2017-11-16T13:12:22Z\" level=info msg=\"Read from \"cloud-init.config.url\": \"http://git.bucker.net/snippets/1/raw\"\r\n\" \r\ntime=\"2017-11-16T13:12:22Z\" level=error msg=\"no such file or directory\" \r\ntime=\"2017-11-16T13:12:22Z\" level=info msg=\"cloud-init: Datasource unavailable, skipping: cloud-drive: /media/config-2 (lastError: no such file or directory)\" \r\n```\r\n\r\nHere is my ```docker-machine create``` command:\r\n\r\n```\r\ndocker-machine create -d vmwarevsphere --vmwarevsphere-username USER --vmwarevsphere-password PASSWD  --vmwarevsphere-vcenter 1.2.3.4 --vmwarevsphere-boot2docker-url https://github.com/rancher/os/releases/download/v1.1.0/rancheros.iso --vmwarevsphere-cloudinit http://git.bucker.net/snippets/1/raw ros99\r\n```\r\n\r\nI happen to be using gitlab to host my snippet. Unlike github the filename is not embedded in the URL. While that could be a gitlab feature or bug I would think that it would be simple enough to add the ```-O filename``` to the docker-machine code; assuming that it was assuming the name of the file in the install-strap subsequent code."}}
{"actor":{"display_login":"rbucker"}}