VM creation fails at "Waiting for SSH to become available..." stage #647
Replies: 4 comments
-
|
I'm also stuck with this exact same behavior. |
Beta Was this translation helpful? Give feedback.
-
|
@lfc550 I'm also having this issue, what did you change to make it work ? thank you ! |
Beta Was this translation helpful? Give feedback.
-
|
In my case, changing the network solved it. |
Beta Was this translation helpful? Give feedback.
-
Hi I am stuck at the same issue as well, Where did you change the network? We specify that in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When filing a bug please include the following headings, if possible.
Overview of the Issue
I am trying to build a base Ubuntu image and it fails using Packer at the Waiting for SSH to become available... stage. Most notably, at this point, pings succeed very intermittently and SSH does not work. However, this is not the case if I deploy machines manually using similar declarations.
I also noticed that if I accessed the machine through vCenter, it was at the OS install "select language" page even though Packer was still stuck on SSH.
This leads me to believe it is in fact an issue with not being able to connect to the device properly
Reproduction Steps
I adapted what is provided in this repo and stripped it down for testing. Below is what I ended up with.
Packer config below:
user-data config below:
Packer Version
1.8.6
Plugin Version and Builders
HashiCorp Packer Plugin for VMware vSphere
1.1.1
Please select the builder.
vsphere-isovsphere-cloneVMware vSphere Version
Please provide the VMware vSphere version.
Guest Operating System
Ubuntu 22.04 LTS
Beta Was this translation helpful? Give feedback.
All reactions