Hi Dan, Thanks for the report. We upgraded the ssh library to get a security patch, but unfortunately it changed how it needed to be used without causing a compile error. I thought we had found all of the places the change was needed (#4900, #4910), but it looks like we missed this one. I'll patch it and make sure we have a follow-up release.
Thanks, --Matt Hooker On Tue, Jun 20, 2017 at 1:52 PM Dan Tran <[email protected]> wrote: > Hi, > > after upgrade packer from 1.0.0 to 1.0.1, I encounter the follow error, . > Dont see any changes in release note about this issue. Thought? > > 2017/06/20 19:36:55 packer: 2017/06/20 19:36:55 Plugin address: unix > /tmp/packer-plugin611875739 > 2017/06/20 19:36:55 packer: 2017/06/20 19:36:55 Waiting for connection... > 2017/06/20 19:36:55 packer: 2017/06/20 19:36:55 Serving a plugin connection... > 2017/06/20 19:36:55 ui: vmware-iso output will be in this color. > 2017/06/20 19:36:55 ui: > 2017/06/20 19:36:55 Build debug mode: false > 2017/06/20 19:36:55 Force build: false > 2017/06/20 19:36:55 On error: > 2017/06/20 19:36:55 Preparing build: vmware-iso > vmware-iso output will be in this color. > > 2017/06/20 19:36:55 Waiting on builds to complete... > 2017/06/20 19:36:55 Starting build run: vmware-iso > 2017/06/20 19:36:55 Running builder: vmware-iso > 2017/06/20 19:36:55 [TELEMETRY] Starting builder vmware-iso > 2017/06/20 19:36:55 packer: 2017/06/20 19:36:55 reconnecting to TCP > connection for SSH > 2017/06/20 19:36:55 packer: 2017/06/20 19:36:55 handshaking with SSH > 2017/06/20 19:36:55 packer: 2017/06/20 19:36:55 handshake error: ssh: must > specify HostKeyCallback > 2017/06/20 19:36:55 [TELEMETRY] ending vmware-iso > 2017/06/20 19:36:55 [TELEMETRY] ERROR: Failed creating VMware driver: Unable > to initialize any driver for this platform. The errors > from each driver are shown below. Please fix at least one driver > to continue: > * ssh: must specify HostKeyCallback > 2017/06/20 19:36:55 ui error: Build 'vmware-iso' errored: Failed creating > VMware driver: Unable to initialize any driver for this platform. The errors > from each driver are shown below. Please fix at least one driver > to continue: > * ssh: must specify HostKeyCallback > > 2017/06/20 19:36:55 Builds completed. Waiting on interrupt barrier... > 2017/06/20 19:36:55 machine readable: error-count []string{"1"} > 2017/06/20 19:36:55 ui error: > ==> Some builds didn't complete successfully and had errors: > Build 'vmware-iso' errored: Failed creating VMware driver: Unable to > initialize any driver for this platform. The errors > 2017/06/20 19:36:55 machine readable: vmware-iso,error []string{"Failed > creating VMware driver: Unable to initialize any driver for this platform. > The errors\nfrom each driver are shown below. Please fix at least one > driver\nto continue:\n* ssh: must specify HostKeyCallback\n"} > 2017/06/20 19:36:55 ui error: --> vmware-iso: Failed creating VMware driver: > Unable to initialize any driver for this platform. The errors > from each driver are shown below. Please fix at least one driver > to continue: > * ssh: must specify HostKeyCallback > 2017/06/20 19:36:55 ui: > ==> Builds finished but no artifacts were created. > from each driver are shown below. Please fix at least one driver > to continue: > * ssh: must specify HostKeyCallback > > > ==> Some builds didn't complete successfully and had errors: > --> vmware-iso: Failed creating VMware driver: Unable to initialize any > driver for this platform. The errors > from each driver are shown below. Please fix at least one driver > to continue: > * ssh: must specify HostKeyCallback > > > ==> Builds finished but no artifacts were created. > > > > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/baf4f928-dca2-4d37-8340-c2d00a593da7%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/baf4f928-dca2-4d37-8340-c2d00a593da7%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/CAEpfdnwuABQPgppmv4yAvULnih8gDjnmAG5CbdrGT14Hacmdkw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
