Cannot try example json

37 views
Skip to first unread message

ksac...@gmail.com

unread,
Aug 26, 2018, 12:53:13 AM8/26/18
to Packer
I have tried to use example json from packer website. I am using CentOS minimal ISO though. I never get a SSH connection and things just timeout. Is this known, how do I get around it? I am simply not able to proceed with packer at all. I really want to use this tool for a product we are building.


2018/08/25 09:46:53 packer: 2018/08/25 09:46:53 [INFO] Attempting SSH connection...
2018/08/25 09:46:53 packer: 2018/08/25 09:46:53 [DEBUG] reconnecting to TCP connection for SSH
2018/08/25 09:46:53 packer: 2018/08/25 09:46:53 [DEBUG] handshaking with SSH
2018/08/25 09:46:53 packer: 2018/08/25 09:46:53 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2018/08/25 09:46:53 packer: 2018/08/25 09:46:53 [DEBUG] Detected authentication error. Increasing handshake attempts.
2018/08/25 09:47:00 packer: 2018/08/25 09:47:00 [INFO] Attempting SSH connection...
2018/08/25 09:47:00 packer: 2018/08/25 09:47:00 [DEBUG] reconnecting to TCP connection for SSH
2018/08/25 09:47:00 packer: 2018/08/25 09:47:00 [DEBUG] handshaking with SSH
2018/08/25 09:47:00 packer: 2018/08/25 09:47:00 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2018/08/25 09:47:00 packer: 2018/08/25 09:47:00 [DEBUG] Detected authentication error. Increasing handshake attempts.
2018/08/25 09:47:07 packer: 2018/08/25 09:47:07 [INFO] Attempting SSH connection...
2018/08/25 09:47:07 packer: 2018/08/25 09:47:07 [DEBUG] reconnecting to TCP connection for SSH
2018/08/25 09:47:07 packer: 2018/08/25 09:47:07 [DEBUG] handshaking with SSH
2018/08/25 09:47:07 packer: 2018/08/25 09:47:07 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2018/08/25 09:47:07 packer: 2018/08/25 09:47:07 [DEBUG] Detected authentication error. Increasing handshake attempts.
2018/08/25 09:47:14 packer: 2018/08/25 09:47:14 [INFO] Attempting SSH connection...
2018/08/25 09:47:14 packer: 2018/08/25 09:47:14 [DEBUG] reconnecting to TCP connection for SSH
2018/08/25 09:47:14 packer: 2018/08/25 09:47:14 [DEBUG] handshaking with SSH
2018/08/25 09:47:14 packer: 2018/08/25 09:47:14 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2018/08/25 09:47:14 packer: 2018/08/25 09:47:14 [DEBUG] Detected authentication error. Increasing handshake attempts.
2018/08/25 09:47:21 packer: 2018/08/25 09:47:21 [INFO] Attempting SSH connection...
2018/08/25 09:47:21 packer: 2018/08/25 09:47:21 [DEBUG] reconnecting to TCP connection for SSH
2018/08/25 09:47:21 packer: 2018/08/25 09:47:21 [DEBUG] handshaking with SSH
2018/08/25 09:47:21 packer: 2018/08/25 09:47:21 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2018/08/25 09:47:21 packer: 2018/08/25 09:47:21 [DEBUG] Detected authentication error. Increasing handshake attempts.
2018/08/25 09:47:28 packer: 2018/08/25 09:47:28 [INFO] Attempting SSH connection...
2018/08/25 09:47:28 packer: 2018/08/25 09:47:28 [DEBUG] reconnecting to TCP connection for SSH
2018/08/25 09:47:28 packer: 2018/08/25 09:47:28 [DEBUG] handshaking with SSH
2018/08/25 09:47:28 packer: 2018/08/25 09:47:28 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2018/08/25 09:47:28 packer: 2018/08/25 09:47:28 [DEBUG] Detected authentication error. Increasing handshake attempts.
2018/08/25 09:47:35 packer: 2018/08/25 09:47:35 [INFO] Attempting SSH connection...
2018/08/25 09:47:35 packer: 2018/08/25 09:47:35 [DEBUG] reconnecting to TCP connection for SSH
2018/08/25 09:47:35 packer: 2018/08/25 09:47:35 [DEBUG] handshaking with SSH
2018/08/25 09:47:35 packer: 2018/08/25 09:47:35 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2018/08/25 09:47:35 packer: 2018/08/25 09:47:35 [DEBUG] Detected authentication error. Increasing handshake attempts.
2018/08/25 09:47:42 packer: 2018/08/25 09:47:42 [INFO] Attempting SSH connection...
2018/08/25 09:47:42 packer: 2018/08/25 09:47:42 [DEBUG] reconnecting to TCP connection for SSH
2018/08/25 09:47:42 packer: 2018/08/25 09:47:42 [DEBUG] handshaking with SSH
2018/08/25 09:47:42 packer: 2018/08/25 09:47:42 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2018/08/25 09:47:42 packer: 2018/08/25 09:47:42 [DEBUG] Detected authentication error. Increasing handshake attempts.
2018/08/25 09:47:49 packer: 2018/08/25 09:47:49 [INFO] Attempting SSH connection...
2018/08/25 09:47:49 packer: 2018/08/25 09:47:49 [DEBUG] reconnecting to TCP connection for SSH
2018/08/25 09:47:49 packer: 2018/08/25 09:47:49 [DEBUG] handshaking with SSH
2018/08/25 09:47:49 packer: 2018/08/25 09:47:49 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2018/08/25 09:47:49 packer: 2018/08/25 09:47:49 [DEBUG] Detected authentication error. Increasing handshake attempts.
2018/08/25 09:47:56 packer: 2018/08/25 09:47:56 [INFO] Attempting SSH connection...
2018/08/25 09:47:56 packer: 2018/08/25 09:47:56 [DEBUG] reconnecting to TCP connection for SSH
2018/08/25 09:47:56 packer: 2018/08/25 09:47:56 [DEBUG] handshaking with SSH
2018/08/25 09:47:56 packer: 2018/08/25 09:47:56 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2018/08/25 09:47:56 packer: 2018/08/25 09:47:56 [DEBUG] Detected authentication error. Increasing handshake attempts.
2018/08/25 09:47:56 ui error: ==> qemu: Error waiting for SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
==> qemu: Error waiting for SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2018/08/25 09:47:56 ui error: ==> qemu: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
==> qemu: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2018/08/25 09:47:56 ui: ==> qemu: Step "StepConnect" failed
==> qemu: Step "StepConnect" failed
2018/08/25 09:47:56 ui: ask: ==> qemu: [c] Clean up and exit, [a] abort without cleanup, or [r] retry step (build may fail even if retry succeeds)?
==> qemu: [c] Clean up and exit, [a] abort without cleanup, or [r] retry step (build may fail even if retry succeeds)?

ksac...@gmail.com

unread,
Aug 26, 2018, 1:30:35 AM8/26/18
to Packer
I suspect this has to do something with my Ubuntu laptop. I am not sure what or maybe some qemu version on ubuntu?

Megan Marsh

unread,
Aug 27, 2018, 12:49:02 PM8/27/18
to packe...@googlegroups.com
Which example json are you using?

--
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 packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/6b3a055c-caf1-4967-b985-90910564ae84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages