Skip to content

Instantly share code, notes, and snippets.

@ncdc
Created July 23, 2020 17:56
Show Gist options
  • Save ncdc/863c7b00abfa305574713e08f66bcd80 to your computer and use it in GitHub Desktop.
Save ncdc/863c7b00abfa305574713e08f66bcd80 to your computer and use it in GitHub Desktop.
Packer stuck trying to connect to Photon VM after reboot
vmware-iso: TASK [setup : Reboot after distro sync] ****************************************
2020/07/23 13:52:26 packer-provisioner-ansible plugin: SSH proxy: accepted connection
2020/07/23 13:52:26 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51529 to 127.0.0.1:51337 as goldsteina using none
2020/07/23 13:52:26 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51529 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:26 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51529 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:26 packer-provisioner-ansible plugin: rejecting auth-agent-req@openssh.com request
2020/07/23 13:52:26 packer-provisioner-ansible plugin: new env request: LANG=en_US.UTF-8
2020/07/23 13:52:26 packer-provisioner-ansible plugin: new env request: LC_TERMINAL=iTerm2
2020/07/23 13:52:26 packer-provisioner-ansible plugin: new env request: LC_TERMINAL_VERSION=3.3.12
2020/07/23 13:52:26 packer-provisioner-ansible plugin: new exec request: /bin/sh -c '( umask 77 && mkdir -p "` echo /tmp/.ansible/ `"&& mkdir /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078 && echo ansible-tmp-1595526746.7476978-30390-275822434200078="` echo /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078 `" ) && sleep 0'
2020/07/23 13:52:26 packer-builder-vmware-iso plugin: [DEBUG] Opening new ssh session
2020/07/23 13:52:26 packer-builder-vmware-iso plugin: [DEBUG] starting remote command: /bin/sh -c '( umask 77 && mkdir -p "` echo /tmp/.ansible/ `"&& mkdir /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078 && echo ansible-tmp-1595526746.7476978-30390-275822434200078="` echo /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078 `" ) && sleep 0'
2020/07/23 13:52:26 packer-builder-vmware-iso plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/07/23 13:52:26 [INFO] 120 bytes written for 'stdout'
2020/07/23 13:52:26 [INFO] 0 bytes written for 'stderr'
2020/07/23 13:52:26 [INFO] RPC client: Communicator ended with: 0
2020/07/23 13:52:26 [INFO] RPC endpoint: Communicator ended with: 0
2020/07/23 13:52:26 [INFO] 0 bytes written for 'stdin'
2020/07/23 13:52:26 packer-provisioner-ansible plugin: [INFO] 120 bytes written for 'stdout'
2020/07/23 13:52:26 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stderr'
2020/07/23 13:52:26 packer-provisioner-ansible plugin: [INFO] RPC client: Communicator ended with: 0
2020/07/23 13:52:26 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stdin'
2020/07/23 13:52:26 packer-provisioner-ansible plugin: SSH proxy: accepted connection
2020/07/23 13:52:26 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51530 to 127.0.0.1:51337 as goldsteina using none
2020/07/23 13:52:26 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51530 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:26 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51530 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:26 packer-provisioner-ansible plugin: new env request: LANG=en_US.UTF-8
2020/07/23 13:52:26 packer-provisioner-ansible plugin: new env request: LC_TERMINAL=iTerm2
2020/07/23 13:52:26 packer-provisioner-ansible plugin: new env request: LC_TERMINAL_VERSION=3.3.12
2020/07/23 13:52:26 packer-provisioner-ansible plugin: new exec request: scp -t /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078/AnsiballZ_setup.py
2020/07/23 13:52:26 packer-builder-vmware-iso plugin: [DEBUG] Opening new ssh session
2020/07/23 13:52:26 packer-builder-vmware-iso plugin: [DEBUG] Starting remote scp process: scp -vt /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078
2020/07/23 13:52:26 packer-builder-vmware-iso plugin: [DEBUG] Started SCP session, beginning transfers...
2020/07/23 13:52:26 packer-builder-vmware-iso plugin: [DEBUG] scp: Uploading AnsiballZ_setup.py: perms=C0600 size=264602
2020/07/23 13:52:26 packer-provisioner-ansible plugin: [INFO] 264602 bytes written for 'uploadData'
2020/07/23 13:52:26 [INFO] 264602 bytes written for 'uploadData'
2020/07/23 13:52:26 packer-builder-vmware-iso plugin: [DEBUG] SCP session complete, closing stdin pipe.
2020/07/23 13:52:26 packer-builder-vmware-iso plugin: [DEBUG] Waiting for SSH session to complete.
2020/07/23 13:52:26 packer-builder-vmware-iso plugin: [DEBUG] scp stderr (length 38): Sink: C0600 264602 AnsiballZ_setup.py
2020/07/23 13:52:26 packer-provisioner-ansible plugin: SSH proxy: accepted connection
2020/07/23 13:52:26 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51531 to 127.0.0.1:51337 as goldsteina using none
2020/07/23 13:52:26 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51531 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:26 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51531 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:26 packer-provisioner-ansible plugin: rejecting auth-agent-req@openssh.com request
2020/07/23 13:52:26 packer-provisioner-ansible plugin: new env request: LANG=en_US.UTF-8
2020/07/23 13:52:26 packer-provisioner-ansible plugin: new env request: LC_TERMINAL=iTerm2
2020/07/23 13:52:26 packer-provisioner-ansible plugin: new env request: LC_TERMINAL_VERSION=3.3.12
2020/07/23 13:52:26 packer-provisioner-ansible plugin: new exec request: /bin/sh -c 'chmod u+x /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078/ /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078/AnsiballZ_setup.py && sleep 0'
2020/07/23 13:52:26 packer-builder-vmware-iso plugin: [DEBUG] Opening new ssh session
2020/07/23 13:52:26 packer-builder-vmware-iso plugin: [DEBUG] starting remote command: /bin/sh -c 'chmod u+x /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078/ /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078/AnsiballZ_setup.py && sleep 0'
2020/07/23 13:52:26 packer-builder-vmware-iso plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/07/23 13:52:26 [INFO] 0 bytes written for 'stdout'
2020/07/23 13:52:26 [INFO] 0 bytes written for 'stderr'
2020/07/23 13:52:26 [INFO] RPC client: Communicator ended with: 0
2020/07/23 13:52:26 [INFO] RPC endpoint: Communicator ended with: 0
2020/07/23 13:52:26 [INFO] 0 bytes written for 'stdin'
2020/07/23 13:52:26 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stdout'
2020/07/23 13:52:26 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stderr'
2020/07/23 13:52:26 packer-provisioner-ansible plugin: [INFO] RPC client: Communicator ended with: 0
2020/07/23 13:52:26 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stdin'
2020/07/23 13:52:26 packer-provisioner-ansible plugin: SSH proxy: accepted connection
2020/07/23 13:52:26 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51532 to 127.0.0.1:51337 as goldsteina using none
2020/07/23 13:52:26 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51532 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:26 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51532 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:26 packer-provisioner-ansible plugin: rejecting auth-agent-req@openssh.com request
2020/07/23 13:52:26 packer-provisioner-ansible plugin: ansible provisioner pty-req request
2020/07/23 13:52:26 packer-provisioner-ansible plugin: new env request: LANG=en_US.UTF-8
2020/07/23 13:52:26 packer-provisioner-ansible plugin: new env request: LC_TERMINAL=iTerm2
2020/07/23 13:52:26 packer-provisioner-ansible plugin: new env request: LC_TERMINAL_VERSION=3.3.12
2020/07/23 13:52:26 packer-provisioner-ansible plugin: new exec request: /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-jzzehqbqgamklosqfccihzzcfrvzqdac ; HTTP_PROXY='"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"' HTTPS_PROXY='"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"' NO_PROXY='"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"' /usr/bin/python3.7 /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078/AnsiballZ_setup.py'"'"' && sleep 0'
2020/07/23 13:52:26 packer-builder-vmware-iso plugin: [DEBUG] Opening new ssh session
2020/07/23 13:52:26 packer-builder-vmware-iso plugin: [DEBUG] starting remote command: /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-jzzehqbqgamklosqfccihzzcfrvzqdac ; HTTP_PROXY='"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"' HTTPS_PROXY='"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"' NO_PROXY='"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"' /usr/bin/python3.7 /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078/AnsiballZ_setup.py'"'"' && sleep 0'
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/07/23 13:52:27 [INFO] 5824 bytes written for 'stdout'
2020/07/23 13:52:27 [INFO] 0 bytes written for 'stderr'
2020/07/23 13:52:27 [INFO] RPC client: Communicator ended with: 0
2020/07/23 13:52:27 [INFO] RPC endpoint: Communicator ended with: 0
2020/07/23 13:52:27 [INFO] 0 bytes written for 'stdin'
2020/07/23 13:52:27 packer-provisioner-ansible plugin: [INFO] 5824 bytes written for 'stdout'
2020/07/23 13:52:27 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stderr'
2020/07/23 13:52:27 packer-provisioner-ansible plugin: [INFO] RPC client: Communicator ended with: 0
2020/07/23 13:52:27 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stdin'
2020/07/23 13:52:27 packer-provisioner-ansible plugin: SSH proxy: accepted connection
2020/07/23 13:52:27 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51533 to 127.0.0.1:51337 as goldsteina using none
2020/07/23 13:52:27 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51533 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:27 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51533 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:27 packer-provisioner-ansible plugin: rejecting auth-agent-req@openssh.com request
2020/07/23 13:52:27 packer-provisioner-ansible plugin: ansible provisioner pty-req request
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new env request: LANG=en_US.UTF-8
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new env request: LC_TERMINAL=iTerm2
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new env request: LC_TERMINAL_VERSION=3.3.12
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new exec request: /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-ryofshkmihkcvesxqnlsrlechbwwqfvd ; cat /proc/sys/kernel/random/boot_id'"'"' && sleep 0'
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [DEBUG] Opening new ssh session
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [DEBUG] starting remote command: /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-ryofshkmihkcvesxqnlsrlechbwwqfvd ; cat /proc/sys/kernel/random/boot_id'"'"' && sleep 0'
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/07/23 13:52:27 [INFO] 85 bytes written for 'stdout'
2020/07/23 13:52:27 [INFO] 0 bytes written for 'stderr'
2020/07/23 13:52:27 [INFO] RPC client: Communicator ended with: 0
2020/07/23 13:52:27 [INFO] RPC endpoint: Communicator ended with: 0
2020/07/23 13:52:27 [INFO] 0 bytes written for 'stdin'
2020/07/23 13:52:27 packer-provisioner-ansible plugin: [INFO] 85 bytes written for 'stdout'
2020/07/23 13:52:27 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stderr'
2020/07/23 13:52:27 packer-provisioner-ansible plugin: [INFO] RPC client: Communicator ended with: 0
2020/07/23 13:52:27 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stdin'
2020/07/23 13:52:27 packer-provisioner-ansible plugin: SSH proxy: accepted connection
2020/07/23 13:52:27 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51534 to 127.0.0.1:51337 as goldsteina using none
2020/07/23 13:52:27 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51534 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:27 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51534 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new env request: LANG=en_US.UTF-8
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new env request: LC_TERMINAL=iTerm2
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new env request: LC_TERMINAL_VERSION=3.3.12
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new exec request: scp -t /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078/AnsiballZ_find.py
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [DEBUG] Opening new ssh session
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [DEBUG] Starting remote scp process: scp -vt /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078
2020/07/23 13:52:27 packer-provisioner-ansible plugin: [INFO] 118105 bytes written for 'uploadData'
2020/07/23 13:52:27 [INFO] 118105 bytes written for 'uploadData'
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [DEBUG] Started SCP session, beginning transfers...
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [DEBUG] scp: Uploading AnsiballZ_find.py: perms=C0600 size=118105
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [DEBUG] SCP session complete, closing stdin pipe.
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [DEBUG] Waiting for SSH session to complete.
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [DEBUG] scp stderr (length 37): Sink: C0600 118105 AnsiballZ_find.py
2020/07/23 13:52:27 packer-provisioner-ansible plugin: SSH proxy: accepted connection
2020/07/23 13:52:27 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51535 to 127.0.0.1:51337 as goldsteina using none
2020/07/23 13:52:27 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51535 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:27 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51535 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:27 packer-provisioner-ansible plugin: rejecting auth-agent-req@openssh.com request
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new env request: LANG=en_US.UTF-8
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new env request: LC_TERMINAL=iTerm2
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new env request: LC_TERMINAL_VERSION=3.3.12
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new exec request: /bin/sh -c 'chmod u+x /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078/ /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078/AnsiballZ_find.py && sleep 0'
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [DEBUG] Opening new ssh session
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [DEBUG] starting remote command: /bin/sh -c 'chmod u+x /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078/ /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078/AnsiballZ_find.py && sleep 0'
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/07/23 13:52:27 [INFO] 0 bytes written for 'stderr'
2020/07/23 13:52:27 [INFO] 0 bytes written for 'stdout'
2020/07/23 13:52:27 [INFO] RPC client: Communicator ended with: 0
2020/07/23 13:52:27 [INFO] RPC endpoint: Communicator ended with: 0
2020/07/23 13:52:27 [INFO] 0 bytes written for 'stdin'
2020/07/23 13:52:27 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stdout'
2020/07/23 13:52:27 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stderr'
2020/07/23 13:52:27 packer-provisioner-ansible plugin: [INFO] RPC client: Communicator ended with: 0
2020/07/23 13:52:27 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stdin'
2020/07/23 13:52:27 packer-provisioner-ansible plugin: SSH proxy: accepted connection
2020/07/23 13:52:27 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51536 to 127.0.0.1:51337 as goldsteina using none
2020/07/23 13:52:27 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51536 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:27 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51536 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:27 packer-provisioner-ansible plugin: rejecting auth-agent-req@openssh.com request
2020/07/23 13:52:27 packer-provisioner-ansible plugin: ansible provisioner pty-req request
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new env request: LANG=en_US.UTF-8
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new env request: LC_TERMINAL=iTerm2
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new env request: LC_TERMINAL_VERSION=3.3.12
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new exec request: /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-uqoulwhjrllmjwvupijefkyagscqxjvk ; HTTP_PROXY='"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"' HTTPS_PROXY='"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"' NO_PROXY='"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"' /usr/bin/python3.7 /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078/AnsiballZ_find.py'"'"' && sleep 0'
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [DEBUG] Opening new ssh session
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [DEBUG] starting remote command: /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-uqoulwhjrllmjwvupijefkyagscqxjvk ; HTTP_PROXY='"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"' HTTPS_PROXY='"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"' NO_PROXY='"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"' /usr/bin/python3.7 /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078/AnsiballZ_find.py'"'"' && sleep 0'
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/07/23 13:52:27 [INFO] 0 bytes written for 'stderr'
2020/07/23 13:52:27 [INFO] 1553 bytes written for 'stdout'
2020/07/23 13:52:27 [INFO] RPC client: Communicator ended with: 0
2020/07/23 13:52:27 [INFO] RPC endpoint: Communicator ended with: 0
2020/07/23 13:52:27 [INFO] 0 bytes written for 'stdin'
2020/07/23 13:52:27 packer-provisioner-ansible plugin: [INFO] 1553 bytes written for 'stdout'
2020/07/23 13:52:27 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stderr'
2020/07/23 13:52:27 packer-provisioner-ansible plugin: [INFO] RPC client: Communicator ended with: 0
2020/07/23 13:52:27 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stdin'
2020/07/23 13:52:27 packer-provisioner-ansible plugin: SSH proxy: accepted connection
2020/07/23 13:52:27 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51537 to 127.0.0.1:51337 as goldsteina using none
2020/07/23 13:52:27 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51537 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:27 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51537 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:27 packer-provisioner-ansible plugin: rejecting auth-agent-req@openssh.com request
2020/07/23 13:52:27 packer-provisioner-ansible plugin: ansible provisioner pty-req request
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new env request: LANG=en_US.UTF-8
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new env request: LC_TERMINAL=iTerm2
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new env request: LC_TERMINAL_VERSION=3.3.12
2020/07/23 13:52:27 packer-provisioner-ansible plugin: new exec request: /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-gcffkkngbqsuhdufupskddkxddpcyxaw ; /sbin/shutdown -r 0 "Reboot initiated by Ansible"'"'"' && sleep 0'
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [DEBUG] Opening new ssh session
2020/07/23 13:52:27 packer-builder-vmware-iso plugin: [DEBUG] starting remote command: /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-gcffkkngbqsuhdufupskddkxddpcyxaw ; /sbin/shutdown -r 0 "Reboot initiated by Ansible"'"'"' && sleep 0'
2020/07/23 13:52:28 packer-builder-vmware-iso plugin: [ERROR] Remote command exited without exit status or exit signal.
2020/07/23 13:52:28 packer-builder-vmware-iso plugin: [INFO] RPC endpoint: Communicator ended with: 2300218
2020/07/23 13:52:28 [INFO] 48 bytes written for 'stdout'
2020/07/23 13:52:28 [INFO] 0 bytes written for 'stderr'
2020/07/23 13:52:28 [INFO] RPC client: Communicator ended with: 2300218
2020/07/23 13:52:28 [INFO] RPC endpoint: Communicator ended with: 2300218
2020/07/23 13:52:28 [INFO] 0 bytes written for 'stdin'
2020/07/23 13:52:28 packer-provisioner-ansible plugin: [INFO] 48 bytes written for 'stdout'
2020/07/23 13:52:28 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stderr'
2020/07/23 13:52:28 packer-provisioner-ansible plugin: [INFO] RPC client: Communicator ended with: 2300218
2020/07/23 13:52:28 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stdin'
2020/07/23 13:52:28 packer-provisioner-ansible plugin: SSH proxy: accepted connection
2020/07/23 13:52:28 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51538 to 127.0.0.1:51337 as goldsteina using none
2020/07/23 13:52:28 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51538 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:28 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:51538 to 127.0.0.1:51337 as goldsteina using publickey
2020/07/23 13:52:28 packer-provisioner-ansible plugin: rejecting auth-agent-req@openssh.com request
2020/07/23 13:52:28 packer-provisioner-ansible plugin: new env request: LANG=en_US.UTF-8
2020/07/23 13:52:28 packer-provisioner-ansible plugin: new env request: LC_TERMINAL=iTerm2
2020/07/23 13:52:28 packer-provisioner-ansible plugin: new env request: LC_TERMINAL_VERSION=3.3.12
2020/07/23 13:52:28 packer-provisioner-ansible plugin: new exec request: /bin/sh -c 'rm -f -r /tmp/.ansible/ansible-tmp-1595526746.7476978-30390-275822434200078/ > /dev/null 2>&1 && sleep 0'
2020/07/23 13:52:28 packer-builder-vmware-iso plugin: [DEBUG] Opening new ssh session
2020/07/23 13:52:28 packer-builder-vmware-iso plugin: [ERROR] ssh session open error: 'EOF', attempting reconnect
2020/07/23 13:52:28 packer-builder-vmware-iso plugin: [DEBUG] reconnecting to TCP connection for SSH
2020/07/23 13:52:41 packer-builder-vmware-iso plugin: [ERROR] reconnection error: dial tcp 192.168.174.139:22: connect: connection refused
2020/07/23 13:52:41 [INFO] 0 bytes written for 'stdout'
2020/07/23 13:52:41 [INFO] 0 bytes written for 'stderr'
2020/07/23 13:52:41 [INFO] 0 bytes written for 'stdin'
2020/07/23 13:52:41 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stdout'
2020/07/23 13:52:41 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stderr'
==> vmware-iso: dial tcp 192.168.174.139:22: connect: connection refused
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment