{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/packer/issues/3157","repository_url":"https://api.github.com/repos/mitchellh/packer","labels_url":"https://api.github.com/repos/mitchellh/packer/issues/3157/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/packer/issues/3157/comments","events_url":"https://api.github.com/repos/mitchellh/packer/issues/3157/events","html_url":"https://github.com/mitchellh/packer/issues/3157","id":131881790,"number":3157,"title":"[driver_esx5] dont check for power_on error to force retry","user":{"login":"dantran","id":705836,"avatar_url":"https://avatars.githubusercontent.com/u/705836?v=3","gravatar_id":"","url":"https://api.github.com/users/dantran","html_url":"https://github.com/dantran","followers_url":"https://api.github.com/users/dantran/followers","following_url":"https://api.github.com/users/dantran/following{/other_user}","gists_url":"https://api.github.com/users/dantran/gists{/gist_id}","starred_url":"https://api.github.com/users/dantran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantran/subscriptions","organizations_url":"https://api.github.com/users/dantran/orgs","repos_url":"https://api.github.com/users/dantran/repos","events_url":"https://api.github.com/users/dantran/events{/privacy}","received_events_url":"https://api.github.com/users/dantran/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitchellh/packer/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/mitchellh/packer/labels/builder/vmware-esxi","name":"builder/vmware-esxi","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-02-06T18:01:11Z","updated_at":"2016-08-21T21:21:38Z","closed_at":"2016-08-19T11:21:50Z","body":"Details discussion is here https://groups.google.com/forum/#!topic/packer-tool/OQ8rbQ2x4qw\r\n\r\nwhere after the register of vm, immediate power on can result in failure and prevent any retry\r\n\r\nMy environment is virtual esxi6 with sles12\r\n\r\nhere is the code\r\n\r\n    func (d *ESX5Driver) Start(vmxPathLocal string, headless bool) error {\r\n\tfor i := 0; i < 20; i++ {\r\n\t\terr := d.sh(\"vim-cmd\", \"vmsvc/power.on\", d.vmId)\r\n\t\tif err != nil {\r\n\t\t\treturn err  \r\n\t\t}\r\n\t\ttime.Sleep((time.Duration(i) * time.Second) + 1)\r\n\t\trunning, err := d.IsRunning(vmxPathLocal)\r\n\t\tif err != nil {\r\n\t\t\treturn err\r\n\t\t}\r\n\t\tif running {\r\n\t\t\treturn nil\r\n\t\t}\r\n\t}\r\n\treturn errors.New(\"Retry limit exceeded\")\r\n    }"},"comment":{"url":"https://api.github.com/repos/mitchellh/packer/issues/comments/241282864","html_url":"https://github.com/mitchellh/packer/issues/3157#issuecomment-241282864","issue_url":"https://api.github.com/repos/mitchellh/packer/issues/3157","id":241282864,"user":{"login":"dantran","id":705836,"avatar_url":"https://avatars.githubusercontent.com/u/705836?v=3","gravatar_id":"","url":"https://api.github.com/users/dantran","html_url":"https://github.com/dantran","followers_url":"https://api.github.com/users/dantran/followers","following_url":"https://api.github.com/users/dantran/following{/other_user}","gists_url":"https://api.github.com/users/dantran/gists{/gist_id}","starred_url":"https://api.github.com/users/dantran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantran/subscriptions","organizations_url":"https://api.github.com/users/dantran/orgs","repos_url":"https://api.github.com/users/dantran/repos","events_url":"https://api.github.com/users/dantran/events{/privacy}","received_events_url":"https://api.github.com/users/dantran/received_events","type":"User","site_admin":false},"created_at":"2016-08-21T21:21:38Z","updated_at":"2016-08-21T21:21:38Z","body":"now i am hitting a blocker similar to https://github.com/mitchellh/packer/issues/3165\r\n\r\n2016/08/21 13:32:16 packer: 2016/08/21 13:32:16 starting remote command: rm -rf /vmfs/volumes/EIX_703/ecdm-kickstart\r\n2016/08/21 13:32:16 packer: 2016/08/21 13:32:16 remote command exited with '0': rm -rf /vmfs/volumes/EIX_703/ecdm-kickstart\r\n2016/08/21 13:32:16 ui error: \u001B[1;31mBuild 'vmware-iso' errored: open rpm-summaries.txt/rpm-summaries.txt: no such file or directory\u001B[0m\r\n2016/08/21 13:32:16 Builds completed. Waiting on interrupt barrier...\r\n2016/08/21 13:32:16 machine readable: error-count []string{\"1\"}\r\n2016/08/21 13:32:16 ui error: \r\n==> Some builds didn't complete successfully and had errors:"}}
{"actor":{"display_login":"dantran"}}