I have this same issue since moving to 1.0.2. Does anyone know a work around? mine fails with the vnc errors pretty much right away so i don't think its a timeout issue
==> Some builds didn't complete successfully and had errors: --> Windows2012R2v3-2017-06: Unable to find available VNC port between 5900 and 6000 James On Friday, 23 June 2017 10:58:54 UTC+10, Matthew Hooker wrote: > > Think I figured out the issue. Pushing up a PR now > > On Thu, Jun 22, 2017 at 5:55 PM Matthew Hooker <[email protected] > <javascript:>> wrote: > >> Hi Dan, >> >> We added a configurable timeout for discovering VNC ports. Sorry this >> broke in 1.0.2, don't know why that is yet. Would you try setting the env >> var `PACKER_ESXI_VNC_PROBE_TIMEOUT` to `30s` and tell me if it works? >> >> https://github.com/hashicorp/packer/pull/4919 >> >> On Thu, Jun 22, 2017 at 5:00 PM Dan Tran <[email protected] <javascript:>> >> wrote: >> >>> >>> Hi >>> >>> Upgrade from 1.0.0 to 1.0.2 fail on my VNC port >>> >>> ==> vmware-iso: Unable to find available VNC port between 5900 and 5964 >>> 2017/06/22 23:44:47 packer: 2017/06/22 23:44:47 Trying address: >>> resx86.lss.com:5920... >>> 2017/06/22 23:44:47 packer: 2017/06/22 23:44:47 Timeout connecting to: >>> resx86.lss.com:5920 (check firewall rules) >>> 2017/06/22 23:44:47 packer: 2017/06/22 23:44:47 Trying address: >>> resx86.lss.com:5921... >>> 2017/06/22 23:44:47 packer: 2017/06/22 23:44:47 Timeout connecting to: >>> resx86.lss.com:5921 (check firewall rules) >>> 2017/06/22 23:44:47 packer: 2017/06/22 23:44:47 Trying address: >>> resx86.lss.com:5922... >>> 2017/06/22 23:44:47 packer: 2017/06/22 23:44:47 Timeout connecting to: >>> resx86.lss.com:5922 (check firewall rules) >>> 2017/06/22 23:44:47 packer: 2017/06/22 23:44:47 Trying address: >>> resx86.lss.com:5923... >>> 2017/06/22 23:44:47 packer: 2017/06/22 23:44:47 Timeout connecting to: >>> resx86.lss.com:5923 (check firewall rules) >>> 2017/06/22 23:44:47 packer: 2017/06/22 23:44:47 Trying address: >>> resx86.lss.5924... >>> 2017/06/22 23:44:47 packer: 2017/06/22 23:44:47 Timeout connecting to: >>> resx86.lss.com:5924 (check firewall rules) >>> 2017/06/22 23:44:47 packer: 2017/06/22 23:44:47 Trying address: >>> resx86.lss.com:5925... >>> 2017/06/22 23:44:47 packer: 2017/06/22 23:44:47 Timeout connecting to: >>> resx86.lss.com:5925 (check firewall rules) >>> 2017/06/22 23:44:47 packer: 2017/06/22 23:44:47 Trying address: >>> resx86.lss.com:5926... >>> >>> >>> >>> suggestion is very much appreciated. Downgrade back to 1.0.0 works >>> >>> Thanks >>> >>> -Dan >>> >>> >>> -- >>> 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] <javascript:>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/packer-tool/131c5c34-70c0-48a6-9761-26806788f2a2%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/packer-tool/131c5c34-70c0-48a6-9761-26806788f2a2%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- 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/3e4c5317-0bc6-452c-bbdd-1a402a815f96%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
