vmware-iso: Registering remote VM... possibly waits on a timeout

25 views
Skip to first unread message

mate....@astc-design.com

unread,
Jun 6, 2017, 8:26:49 PM6/6/17
to Packer
Hi there,

I started experimenting with the vmware-iso builder using a vSphere 6.5 host. The first few builds were flawless then after a few days, when I got back to the project, the build procedure waits for at least 30-45 minutes after the "vmware-iso: Starting HTTP server" phase.

I tried to correlate this to events in the logs on the vSphere host but nothing stands out for me.

Doing a strace on the packer process I get this: futex(0x1f674b0, FUTEX_WAIT, 0, NULL

The problem is constantly present but I have no idea what is causing it.

I'd like to ask your your help who are more experienced with packer and vSphere, maybe you have encountered this issue or can give me some this of how to debug it.

Kind regards,
Mate

Matthew Hooker

unread,
Jun 6, 2017, 8:30:56 PM6/6/17
to Packer
If you can send a log of packer with `PACKER_LOG=1` set, and any logs you can get from vsphere, it would help.

--
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 packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/c2a6c174-4303-4a49-b3ba-8b16d5476186%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mate....@astc-design.com

unread,
Jun 6, 2017, 8:39:27 PM6/6/17
to Packer
Hi Matthew,

the PACKER_LOG option immediately revealed the error. Packer was trying to connect the the VNC port on the vSphere host. Somehow the firewall rules allowing the VNC port range used by packer disappeared. Opening the firewall resolved my issue.

Thank you!

Kind regards,
Mate

Matthew Hooker

unread,
Jun 6, 2017, 8:43:14 PM6/6/17
to Packer
glad to hear it =)

Reply all
Reply to author
Forward
0 new messages