-
Notifications
You must be signed in to change notification settings - Fork 33
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
Amazon Ubuntu AMI: fail to handshake #155
Comments
@nywilken Hello Wilken! Can you please take a look at this; would appreciate any feedback. Following the suggestions this issue and in this issue, currently getting around the
to the build but now running into another issue where none of the packages needed are being found (for example, one is able to |
Got around issues reported by:
|
Hi @msuzoagu, Coming back to this, it looks like a similar issue as what's described in #69, where connection to the adapter/proxy for Ansible fails because of a SSH key mismatch. Regarding my message on your other issue (on the Amazon plugin), since the target machine has a public IP, you can probably still fix it by adding I'll continue looking into this problem from the angle described in #69. |
Closing as duplicate of hashicorp/packer#12416 |
Overview of the Issue
When attempting to build ami, provisioning step fails with error message
failed to handshake
even though ssh connection has been made.Running the same playbook but adding
ansible_env_vars = [ "ANSIBLE_STDOUT_CALLBACK=debug"]
arg surfaces afailed to transfer file
error during the play.Reproduction Steps
PACKER_LOG=1 packer build simple packer template
Plugin and Packer version
Packer v1.8.7
Packer-Plugin-Amazon v1.2.5
Simplified Packer Buildfile
Simplified Buildfile
Operating system and Environment details
Local Machine: macOS Ventura
Remote:
Log Fragments and crash.log files
The text was updated successfully, but these errors were encountered: