Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build OVF with vmware-iso. The VM cannot reach the builder over HTTP #11060

Closed
dmilov opened this issue May 31, 2021 · 2 comments
Closed

Build OVF with vmware-iso. The VM cannot reach the builder over HTTP #11060

dmilov opened this issue May 31, 2021 · 2 comments

Comments

@dmilov
Copy link

dmilov commented May 31, 2021

Overview of the Issue

Using vmware-iso I'm building an OVF on an ESXi server.
The build hangs on Waiting for SSH to become available....
The VM Console displays an error Failed to establish a new connection to the builder machine.

If I run curl to the builder machine from the VM Console the command is successful, so there is access to the machine.

Reproduction Steps

  1. Photon-builder points to a configured ESXi server
  2. Builder type is vmware-iso
 "builders": [
    {
      "type": "vmware-iso",
      "vm_name": "{{ user `vm_name` }}",
      "vnc_over_websocket": true,
      "insecure_connection": true,
  1. I have kickstarter file which the VM should get from the builder machine over http
  2. Builder machine starts the HTTP server on a port and the file is accessible over the network
  3. The VM that should get the file fails to get it with Failed to establish a new connection error and the build hangs

Packer version

From packer version 1.7.2

Simplified Packer Buildfile

packer-photon-json

Operating system and Environment details

Ubuntu 20 x64

Log Fragments and crash.log files

packer-log

VM Console during the build with manual curl command to the runner

PackerVmwareISO

@ghost
Copy link

ghost commented May 31, 2021

This issue has been automatically migrated to hashicorp/packer-plugin-vmware#24 because it looks like an issue with that plugin. If you believe this is not an issue with the plugin, please reply to hashicorp/packer-plugin-vmware#24.

@github-actions
Copy link

github-actions bot commented Jul 1, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 1, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants