{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/bugs/issues/1514","repository_url":"https://api.github.com/repos/coreos/bugs","labels_url":"https://api.github.com/repos/coreos/bugs/issues/1514/labels{/name}","comments_url":"https://api.github.com/repos/coreos/bugs/issues/1514/comments","events_url":"https://api.github.com/repos/coreos/bugs/issues/1514/events","html_url":"https://github.com/coreos/bugs/issues/1514","id":170662630,"number":1514,"title":"cloudinit VMWare OEM trying to fetch cloud-config before configuring network","user":{"login":"rikatz","id":7182341,"avatar_url":"https://avatars.githubusercontent.com/u/7182341?v=3","gravatar_id":"","url":"https://api.github.com/users/rikatz","html_url":"https://github.com/rikatz","followers_url":"https://api.github.com/users/rikatz/followers","following_url":"https://api.github.com/users/rikatz/following{/other_user}","gists_url":"https://api.github.com/users/rikatz/gists{/gist_id}","starred_url":"https://api.github.com/users/rikatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rikatz/subscriptions","organizations_url":"https://api.github.com/users/rikatz/orgs","repos_url":"https://api.github.com/users/rikatz/repos","events_url":"https://api.github.com/users/rikatz/events{/privacy}","received_events_url":"https://api.github.com/users/rikatz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coreos/bugs/labels/area/usability","name":"area/usability","color":"bfe5bf"},{"url":"https://api.github.com/repos/coreos/bugs/labels/component/cloud-init","name":"component/cloud-init","color":"0052cc"},{"url":"https://api.github.com/repos/coreos/bugs/labels/kind/friction","name":"kind/friction","color":"c7def8"},{"url":"https://api.github.com/repos/coreos/bugs/labels/team/os","name":"team/os","color":"ffffff"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-08-11T14:41:22Z","updated_at":"2016-08-17T03:25:34Z","closed_at":null,"body":"# Issue Report #\r\n\r\n## Bug ##\r\n\r\n### CoreOS Version ###\r\n\r\n```\r\n$ cat /etc/os-release\r\nNAME=CoreOS\r\nID=coreos\r\nVERSION=1122.0.0\r\nVERSION_ID=1122.0.0\r\nBUILD_ID=2016-07-27-0739\r\nPRETTY_NAME=\"CoreOS 1122.0.0 (MoreOS)\"\r\nANSI_COLOR=\"1;32\"\r\nHOME_URL=\"https://coreos.com/\"\r\nBUG_REPORT_URL=\"https://github.com/coreos/bugs/issues\"\r\n\r\n```\r\n\r\n### Environment ###\r\n\r\nVMWare vSphere 6 Update 2\r\n\r\n### Expected Behavior ###\r\nUsing the guestinfo on the VMX  occurs sucessfully, configuring the networking throgh the information on VMX file (guestinfo.*) as documented on https://coreos.com/os/docs/latest/vmware-guestinfo.html, and then fetches the remaining configurations from cloud-config.yaml described on 'guestinfo.coreos.config.url'\r\n\r\n### Actual Behavior ###\r\nUsing the guestinfo on the VMX file with the directive 'coreos.config.url' fails, as the 'coreos-cloudconfig -oem=vmware' tries to fetch the file from http server before configuring the network interface\r\n### Reproduction Steps ###\r\n\r\n  1. Deploy the OVA\r\n  2. Before start the OVA, put the 'guestinfo' information on the VMX:\r\n\r\n```\r\nguestinfo.hostname = \"katzcoreos11\"\r\nguestinfo.interface.0.name = \"ens192\"\r\nguestinfo.interface.0.dhcp = \"no\"\r\nguestinfo.interface.0.ip.0.address = \"10.200.82.27/21\"\r\nguestinfo.interface.0.route.0.gateway = \"10.200.80.1\"\r\nguestinfo.interface.0.route.0.destination = \"0.0.0.0/0\"\r\nguestinfo.dns.server.0 = \"10.30.0.235\"\r\nguestinfo.coreos.config.url = \"http://10.200.84.222/cloud-config.yaml\"\r\n```\r\n  3. Reload the VMX\r\n  4. Start the VM. After some time (when trying to reach the config.url times out) the VM changes its IP address to respect the directives of VMX file\r\n  5. To see the error, start the VM again with 'coreos.autologin' and inspect the oem-cloudinit.service. After the VM acquires the right IP, you can exec 'coreos-cloudinit -oem=vmware' again and it works fine, as the VM have the right IP address\r\n\r\n\r\n\r\n### Environment ###\r\n\r\nVMWare vSphere 6 Update 2\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/coreos/bugs/issues/comments/240303888","html_url":"https://github.com/coreos/bugs/issues/1514#issuecomment-240303888","issue_url":"https://api.github.com/repos/coreos/bugs/issues/1514","id":240303888,"user":{"login":"rikatz","id":7182341,"avatar_url":"https://avatars.githubusercontent.com/u/7182341?v=3","gravatar_id":"","url":"https://api.github.com/users/rikatz","html_url":"https://github.com/rikatz","followers_url":"https://api.github.com/users/rikatz/followers","following_url":"https://api.github.com/users/rikatz/following{/other_user}","gists_url":"https://api.github.com/users/rikatz/gists{/gist_id}","starred_url":"https://api.github.com/users/rikatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rikatz/subscriptions","organizations_url":"https://api.github.com/users/rikatz/orgs","repos_url":"https://api.github.com/users/rikatz/repos","events_url":"https://api.github.com/users/rikatz/events{/privacy}","received_events_url":"https://api.github.com/users/rikatz/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T03:25:34Z","updated_at":"2016-08-17T03:25:34Z","body":"Ok, I'm on a business travel, but will be able to test when I come back on friday!\r\n\r\nThanks!"}}
{"actor":{"display_login":"rikatz"}}