Thanks for the report. I don't believe we know of this issue. Would you mind opening an issue on github? It would be ideal if you could make a gist of the entire debug output as well as provide a packer.json file that can reproduce this.
I briefly looked through `git log -p v0.10.2..HEAD builder/vmware/iso` and didn't see anything obvious, so worth investigating more On Monday, October 10, 2016 at 10:47:10 AM UTC-7, Steven Langlois wrote: > > I downloaded and compiled the latest master to pick up the fix for > > * https://github.com/mitchellh/packer/issues/3087 > > * https://github.com/mitchellh/packer/pull/3050 > > > However, in so doing, I am getting an error when the VMware VM is being > shut down > > > *==> vmware-iso: Gracefully halting virtual machine...* > > 2016/10/10 12:09:56 packer: 2016/10/10 12:09:56 starting remote command: > /sbin/halt -h -p > > 2016/10/10 12:09:56 packer: 2016/10/10 12:09:56 Remote command exited > without exit status or exit signal. > > 2016/10/10 12:09:56 packer: 2016/10/10 12:09:56 opening new ssh session > > 2016/10/10 12:09:56 packer: 2016/10/10 12:09:56 starting remote command: > vim-cmd vmsvc/power.getstate 954 > > 2016/10/10 12:09:57 ui: *==> vmware-iso: Stopping virtual machine...* > > *==> vmware-iso: Stopping virtual machine...* > > 2016/10/10 12:09:57 packer: 2016/10/10 12:09:57 opening new ssh session > > 2016/10/10 12:09:57 packer: 2016/10/10 12:09:57 starting remote command: > vim-cmd vmsvc/power.off 954 > > 2016/10/10 12:09:58 packer: 2016/10/10 12:09:58 Remote command exited with > '1': vim-cmd vmsvc/power.off 954 > > 2016/10/10 12:09:58 ui error: *==> vmware-iso: Error stopping VM: > 'vim-cmd vmsvc/power.off 954'* > > *==> vmware-iso: * > > *==> vmware-iso: Stdout: Powering off VM:* > > *==> vmware-iso: * > > *==> vmware-iso: * > > *==> vmware-iso: Stderr: Power off failed* > > *==> vmware-iso:* > > *==> vmware-iso: Error stopping VM: 'vim-cmd vmsvc/power.off 954'* > > *==> vmware-iso: * > > *2016/10/10 12:09:58 ui: **==> vmware-iso: Unregistering virtual > machine...* > > > If I go back to 0.10.2 I do not get this error but of course I still have > the issue where the output directory need to exist on the local machine. > > > I searched for this error in the group but could not find it so apologies > if this is already a known issue. > > > Thank you. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/2e6a2daa-35ca-4bc1-bfd3-06bb74cbac4e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
