-
-
Save invidian/a9dbab69d1541b83f728f6009e27f593 to your computer and use it in GitHub Desktop.
packer-plugin-ansible sftp-server error log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ PACKER_LOG=1 ANSIBLE_SSH_ARGS="-oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=+ssh-rsa" packer build docker-ubuntu.pkr.hcl | |
2022/05/30 18:32:23 [INFO] Packer version: 1.8.1 [go1.18.2 linux amd64] | |
2022/05/30 18:32:23 Old default config directory found: /home/invidian/.packer.d | |
2022/05/30 18:32:23 [TRACE] discovering plugins in /usr/bin | |
2022/05/30 18:32:23 Old default config directory found: /home/invidian/.packer.d | |
2022/05/30 18:32:23 [TRACE] discovering plugins in /home/invidian/.packer.d/plugins | |
2022/05/30 18:32:23 [DEBUG] Discovered plugin: goss = /home/invidian/.packer.d/plugins/packer-provisioner-goss | |
2022/05/30 18:32:23 using external provisioners [goss] | |
2022/05/30 18:32:23 [DEBUG] Discovered plugin: docker = /home/invidian/.packer.d/plugins/github.com/hashicorp/docker/packer-plugin-docker_v1.0.5_x5.0_linux_amd64 | |
2022/05/30 18:32:23 [INFO] found external [-packer-default-plugin-name-] builders from docker plugin | |
2022/05/30 18:32:23 [INFO] found external [import push save tag] post-processors from docker plugin | |
2022/05/30 18:32:23 [TRACE] discovering plugins in . | |
2022/05/30 18:32:23 [INFO] PACKER_CONFIG env var not set; checking the default config file path | |
2022/05/30 18:32:23 [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/invidian/.packerconfig | |
2022/05/30 18:32:23 [WARN] Config file doesn't exist: /home/invidian/.packerconfig | |
2022/05/30 18:32:23 Old default config directory found: /home/invidian/.packer.d | |
2022/05/30 18:32:23 [INFO] Setting cache directory: /home/invidian/.cache/packer | |
2022/05/30 18:32:23 Old default config directory found: /home/invidian/.packer.d | |
2022/05/30 18:32:23 [TRACE] listing potential installations for "github.com/hashicorp/docker" that match ">= 0.0.7". plugingetter.ListInstallationsOptions{FromFolders:[]string{"/usr/bin/packer", ".", "/home/invidian/.packer.d/plugins"}, BinaryInstallationOptions:plugingetter.BinaryInstallationOptions{APIVersionMajor:"5", APIVersionMinor:"0", OS:"linux", ARCH:"amd64", Ext:"", Checksummers:[]plugingetter.Checksummer{plugingetter.Checksummer{Type:"sha256", Hash:(*sha256.digest)(0xc000a8a000)}}}} | |
2022/05/30 18:32:23 [TRACE] Found the following "github.com/hashicorp/docker" installations: [{/home/invidian/.packer.d/plugins/github.com/hashicorp/docker/packer-plugin-docker_v1.0.5_x5.0_linux_amd64 v1.0.5}] | |
2022/05/30 18:32:23 [INFO] found external [-packer-default-plugin-name-] builders from docker plugin | |
2022/05/30 18:32:23 [INFO] found external [import push save tag] post-processors from docker plugin | |
2022/05/30 18:32:23 [TRACE] Starting external plugin /home/invidian/.packer.d/plugins/github.com/hashicorp/docker/packer-plugin-docker_v1.0.5_x5.0_linux_amd64 start builder -packer-default-plugin-name- | |
2022/05/30 18:32:23 Starting plugin: /home/invidian/.packer.d/plugins/github.com/hashicorp/docker/packer-plugin-docker_v1.0.5_x5.0_linux_amd64 []string{"/home/invidian/.packer.d/plugins/github.com/hashicorp/docker/packer-plugin-docker_v1.0.5_x5.0_linux_amd64", "start", "builder", "-packer-default-plugin-name-"} | |
2022/05/30 18:32:23 Waiting for RPC address for: /home/invidian/.packer.d/plugins/github.com/hashicorp/docker/packer-plugin-docker_v1.0.5_x5.0_linux_amd64 | |
2022/05/30 18:32:23 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:23 Plugin address: unix /tmp/packer-plugin1874347095 | |
2022/05/30 18:32:23 Received unix RPC address for /home/invidian/.packer.d/plugins/github.com/hashicorp/docker/packer-plugin-docker_v1.0.5_x5.0_linux_amd64: addr is /tmp/packer-plugin1874347095 | |
2022/05/30 18:32:23 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:23 Waiting for connection... | |
2022/05/30 18:32:23 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:23 Serving a plugin connection... | |
2022/05/30 18:32:23 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:23 [TRACE] starting builder -packer-default-plugin-name- | |
2022/05/30 18:32:23 [TRACE] Starting internal plugin packer-provisioner-ansible | |
2022/05/30 18:32:23 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-ansible"} | |
2022/05/30 18:32:23 Waiting for RPC address for: /usr/bin/packer | |
2022/05/30 18:32:23 packer-provisioner-ansible plugin: [INFO] Packer version: 1.8.1 [go1.18.2 linux amd64] | |
2022/05/30 18:32:23 packer-provisioner-ansible plugin: Old default config directory found: /home/invidian/.packer.d | |
2022/05/30 18:32:23 packer-provisioner-ansible plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path | |
2022/05/30 18:32:23 packer-provisioner-ansible plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/invidian/.packerconfig | |
2022/05/30 18:32:23 packer-provisioner-ansible plugin: [WARN] Config file doesn't exist: /home/invidian/.packerconfig | |
2022/05/30 18:32:23 packer-provisioner-ansible plugin: Old default config directory found: /home/invidian/.packer.d | |
2022/05/30 18:32:23 packer-provisioner-ansible plugin: [INFO] Setting cache directory: /home/invidian/.cache/packer | |
2022/05/30 18:32:23 packer-provisioner-ansible plugin: args: []string{"packer-provisioner-ansible"} | |
2022/05/30 18:32:23 packer-provisioner-ansible plugin: Old default config directory found: /home/invidian/.packer.d | |
2022/05/30 18:32:23 packer-provisioner-ansible plugin: Plugin address: unix /tmp/packer-plugin814481958 | |
2022/05/30 18:32:23 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin814481958 | |
2022/05/30 18:32:23 packer-provisioner-ansible plugin: Waiting for connection... | |
2022/05/30 18:32:23 packer-provisioner-ansible plugin: Serving a plugin connection... | |
2022/05/30 18:32:24 packer-provisioner-ansible plugin: ansible-playbook version: 2.11.5 | |
2022/05/30 18:32:24 Build debug mode: false | |
2022/05/30 18:32:24 Force build: false | |
2022/05/30 18:32:24 On error: | |
2022/05/30 18:32:24 Waiting on builds to complete... | |
2022/05/30 18:32:24 Starting build run: learn-packer.docker.ubuntu | |
2022/05/30 18:32:24 Running builder: | |
2022/05/30 18:32:24 [INFO] (telemetry) Starting builder docker.ubuntu | |
learn-packer.docker.ubuntu: output will be in this color. | |
2022/05/30 18:32:24 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:24 [DEBUG] Docker version: 20.0.0 | |
2022/05/30 18:32:24 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:24 [DEBUG] Container will be committed | |
==> learn-packer.docker.ubuntu: Creating a temporary directory for sharing data... | |
2022/05/30 18:32:24 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:24 Old default config directory found: /home/invidian/.packer.d | |
2022/05/30 18:32:24 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:24 Set Packer temp dir to /home/invidian/.packer.d/tmp3128605550 | |
==> learn-packer.docker.ubuntu: Pulling Docker image: ubuntu:xenial | |
2022/05/30 18:32:24 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:24 Executing: /usr/bin/docker [pull ubuntu:xenial] | |
learn-packer.docker.ubuntu: xenial: Pulling from library/ubuntu | |
learn-packer.docker.ubuntu: Digest: sha256:20858ebbc96215d6c3c574f781133ebffdc7c18d98af4f294cc4c04871a6fe61 | |
learn-packer.docker.ubuntu: Status: Image is up to date for ubuntu:xenial | |
learn-packer.docker.ubuntu: docker.io/library/ubuntu:xenial | |
==> learn-packer.docker.ubuntu: Starting docker container... | |
2022/05/30 18:32:26 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:26 Starting container with args: [run -v /home/invidian/.packer.d/tmp3128605550:/packer-files -d -i -t --entrypoint=/bin/sh -- ubuntu:xenial] | |
learn-packer.docker.ubuntu: Run command: docker run -v /home/invidian/.packer.d/tmp3128605550:/packer-files -d -i -t --entrypoint=/bin/sh -- ubuntu:xenial | |
2022/05/30 18:32:26 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:26 Waiting for container to finish starting | |
learn-packer.docker.ubuntu: Container ID: 2ac4dedff506ffdd500ca537b74ab2f0a59fe364f6e22436513c65cfbc98253e | |
==> learn-packer.docker.ubuntu: Using docker communicator to connect: 172.17.0.2 | |
2022/05/30 18:32:27 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:27 Running the provision hook | |
2022/05/30 18:32:27 [INFO] (telemetry) Starting provisioner ansible | |
2022/05/30 18:32:27 packer-provisioner-ansible plugin: ansible-playbook version: 2.11.5 | |
==> learn-packer.docker.ubuntu: Provisioning with Ansible... | |
learn-packer.docker.ubuntu: Setting up proxy adapter for Ansible.... | |
2022/05/30 18:32:27 packer-provisioner-ansible plugin: Creating inventory file for Ansible run... | |
2022/05/30 18:32:27 packer-provisioner-ansible plugin: SSH proxy: serving on 127.0.0.1:33831 | |
==> learn-packer.docker.ubuntu: Executing Ansible: ansible-playbook -e packer_build_name="ubuntu" -e packer_builder_type=docker -e ansible_ssh_private_key_file=/tmp/ansible-key58687069 -i /tmp/packer-provisioner-ansible953804597 /home/invidian/data/workspaces/packer-sftp-bug/playbook.yml | |
learn-packer.docker.ubuntu: | |
learn-packer.docker.ubuntu: PLAY [Provision Image] ********************************************************* | |
learn-packer.docker.ubuntu: | |
learn-packer.docker.ubuntu: TASK [Gathering Facts] ********************************************************* | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: SSH proxy: accepted connection | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:48986 to 127.0.0.1:33831 as invidian using none | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:48986 to 127.0.0.1:33831 as invidian using publickey | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:48986 to 127.0.0.1:33831 as invidian using publickey | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: rejecting auth-agent-req@openssh.com request | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: new exec request: /bin/sh -c 'echo ~invidian && sleep 0' | |
2022/05/30 18:32:28 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:28 Executing docker exec -i 2ac4dedff506ffdd500ca537b74ab2f0a59fe364f6e22436513c65cfbc98253e /bin/sh -c (/bin/sh -c 'echo ~invidian && sleep 0'): | |
2022/05/30 18:32:28 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:28 [INFO] RPC endpoint: Communicator ended with: 0 | |
2022/05/30 18:32:28 [INFO] 10 bytes written for 'stdout' | |
2022/05/30 18:32:28 [INFO] 0 bytes written for 'stderr' | |
2022/05/30 18:32:28 [INFO] RPC client: Communicator ended with: 0 | |
2022/05/30 18:32:28 [INFO] RPC endpoint: Communicator ended with: 0 | |
2022/05/30 18:32:28 [INFO] 0 bytes written for 'stdin' | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: [INFO] 10 bytes written for 'stdout' | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stderr' | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: [INFO] RPC client: Communicator ended with: 0 | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stdin' | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: SSH proxy: accepted connection | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:49002 to 127.0.0.1:33831 as invidian using none | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:49002 to 127.0.0.1:33831 as invidian using publickey | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:49002 to 127.0.0.1:33831 as invidian using publickey | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: rejecting auth-agent-req@openssh.com request | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: new exec request: /bin/sh -c '( umask 77 && mkdir -p "` echo ~invidian/.ansible/tmp `"&& mkdir "` echo ~invidian/.ansible/tmp/ansible-tmp-1653928348.7383454-1837692-105498983622500 `" && echo ansible-tmp-1653928348.7383454-1837692-105498983622500="` echo ~invidian/.ansible/tmp/ansible-tmp-1653928348.7383454-1837692-105498983622500 `" ) && sleep 0' | |
2022/05/30 18:32:28 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:28 Executing docker exec -i 2ac4dedff506ffdd500ca537b74ab2f0a59fe364f6e22436513c65cfbc98253e /bin/sh -c (/bin/sh -c '( umask 77 && mkdir -p "` echo ~invidian/.ansible/tmp `"&& mkdir "` echo ~invidian/.ansible/tmp/ansible-tmp-1653928348.7383454-1837692-105498983622500 `" && echo ansible-tmp-1653928348.7383454-1837692-105498983622500="` echo ~invidian/.ansible/tmp/ansible-tmp-1653928348.7383454-1837692-105498983622500 `" ) && sleep 0'): | |
2022/05/30 18:32:28 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:28 [INFO] RPC endpoint: Communicator ended with: 0 | |
2022/05/30 18:32:28 [INFO] 0 bytes written for 'stderr' | |
2022/05/30 18:32:28 [INFO] 133 bytes written for 'stdout' | |
2022/05/30 18:32:28 [INFO] RPC client: Communicator ended with: 0 | |
2022/05/30 18:32:28 [INFO] RPC endpoint: Communicator ended with: 0 | |
2022/05/30 18:32:28 [INFO] 0 bytes written for 'stdin' | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: [INFO] 133 bytes written for 'stdout' | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stderr' | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: [INFO] RPC client: Communicator ended with: 0 | |
2022/05/30 18:32:28 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stdin' | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: SSH proxy: accepted connection | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:49008 to 127.0.0.1:33831 as invidian using none | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:49008 to 127.0.0.1:33831 as invidian using publickey | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:49008 to 127.0.0.1:33831 as invidian using publickey | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: rejecting auth-agent-req@openssh.com request | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: new exec request: /bin/sh -c 'echo PLATFORM; uname; echo FOUND; command -v '"'"'/usr/bin/python'"'"'; command -v '"'"'python3.9'"'"'; command -v '"'"'python3.8'"'"'; command -v '"'"'python3.7'"'"'; command -v '"'"'python3.6'"'"'; command -v '"'"'python3.5'"'"'; command -v '"'"'python2.7'"'"'; command -v '"'"'python2.6'"'"'; command -v '"'"'/usr/libexec/platform-python'"'"'; command -v '"'"'/usr/bin/python3'"'"'; command -v '"'"'python'"'"'; echo ENDFOUND && sleep 0' | |
2022/05/30 18:32:29 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:29 Executing docker exec -i 2ac4dedff506ffdd500ca537b74ab2f0a59fe364f6e22436513c65cfbc98253e /bin/sh -c (/bin/sh -c 'echo PLATFORM; uname; echo FOUND; command -v '"'"'/usr/bin/python'"'"'; command -v '"'"'python3.9'"'"'; command -v '"'"'python3.8'"'"'; command -v '"'"'python3.7'"'"'; command -v '"'"'python3.6'"'"'; command -v '"'"'python3.5'"'"'; command -v '"'"'python2.7'"'"'; command -v '"'"'python2.6'"'"'; command -v '"'"'/usr/libexec/platform-python'"'"'; command -v '"'"'/usr/bin/python3'"'"'; command -v '"'"'python'"'"'; echo ENDFOUND && sleep 0'): | |
2022/05/30 18:32:29 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:29 [INFO] RPC endpoint: Communicator ended with: 0 | |
2022/05/30 18:32:29 [INFO] 30 bytes written for 'stdout' | |
2022/05/30 18:32:29 [INFO] 0 bytes written for 'stderr' | |
2022/05/30 18:32:29 [INFO] RPC client: Communicator ended with: 0 | |
2022/05/30 18:32:29 [INFO] RPC endpoint: Communicator ended with: 0 | |
2022/05/30 18:32:29 [INFO] 0 bytes written for 'stdin' | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: [INFO] 30 bytes written for 'stdout' | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stderr' | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: [INFO] RPC client: Communicator ended with: 0 | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stdin' | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: SSH proxy: accepted connection | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:49014 to 127.0.0.1:33831 as invidian using none | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:49014 to 127.0.0.1:33831 as invidian using publickey | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:49014 to 127.0.0.1:33831 as invidian using publickey | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: new subsystem request: sftp | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: starting sftp subsystem | |
2022/05/30 18:32:29 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:29 Executing docker exec -i 2ac4dedff506ffdd500ca537b74ab2f0a59fe364f6e22436513c65cfbc98253e /bin/sh -c (/usr/lib/sftp-server -e): | |
2022/05/30 18:32:29 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:29 [INFO] RPC endpoint: Communicator ended with: 127 | |
2022/05/30 18:32:29 [INFO] 0 bytes written for 'stdout' | |
2022/05/30 18:32:29 [INFO] 44 bytes written for 'stderr' | |
2022/05/30 18:32:29 [INFO] RPC client: Communicator ended with: 127 | |
2022/05/30 18:32:29 [INFO] RPC endpoint: Communicator ended with: 127 | |
2022/05/30 18:32:29 [INFO] 9 bytes written for 'stdin' | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stdout' | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: [INFO] 44 bytes written for 'stderr' | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: [INFO] RPC client: Communicator ended with: 127 | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: [INFO] 9 bytes written for 'stdin' | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: SSH proxy: accepted connection | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:49030 to 127.0.0.1:33831 as invidian using none | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:49030 to 127.0.0.1:33831 as invidian using publickey | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:49030 to 127.0.0.1:33831 as invidian using publickey | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: rejecting auth-agent-req@openssh.com request | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: new exec request: /bin/sh -c 'rm -f -r '"'"'~invidian/.ansible/tmp/ansible-tmp-1653928348.7383454-1837692-105498983622500/'"'"' > /dev/null 2>&1 && sleep 0' | |
2022/05/30 18:32:29 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:29 Executing docker exec -i 2ac4dedff506ffdd500ca537b74ab2f0a59fe364f6e22436513c65cfbc98253e /bin/sh -c (/bin/sh -c 'rm -f -r '"'"'~invidian/.ansible/tmp/ansible-tmp-1653928348.7383454-1837692-105498983622500/'"'"' > /dev/null 2>&1 && sleep 0'): | |
2022/05/30 18:32:29 packer-plugin-docker_v1.0.5_x5.0_linux_amd64 plugin: 2022/05/30 18:32:29 [INFO] RPC endpoint: Communicator ended with: 0 | |
2022/05/30 18:32:29 [INFO] 0 bytes written for 'stdout' | |
2022/05/30 18:32:29 [INFO] 0 bytes written for 'stderr' | |
2022/05/30 18:32:29 [INFO] RPC client: Communicator ended with: 0 | |
2022/05/30 18:32:29 [INFO] RPC endpoint: Communicator ended with: 0 | |
2022/05/30 18:32:29 [INFO] 0 bytes written for 'stdin' | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stdout' | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stderr' | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: [INFO] RPC client: Communicator ended with: 0 | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: [INFO] 0 bytes written for 'stdin' | |
learn-packer.docker.ubuntu: fatal: [default]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via scp: /bin/sh: 1: /usr/lib/sftp-server: not found\nscp: Connection closed\r\n", "unreachable": true} | |
learn-packer.docker.ubuntu: | |
learn-packer.docker.ubuntu: PLAY RECAP ********************************************************************* | |
learn-packer.docker.ubuntu: default : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0 | |
learn-packer.docker.ubuntu: | |
2022/05/30 18:32:29 packer-provisioner-ansible plugin: shutting down the SSH proxy | |
2022/05/30 18:32:29 [INFO] (telemetry) ending ansible | |
==> learn-packer.docker.ubuntu: Provisioning step had errors: Running the cleanup provisioner, if present... | |
==> learn-packer.docker.ubuntu: Killing the container: 2ac4dedff506ffdd500ca537b74ab2f0a59fe364f6e22436513c65cfbc98253e | |
2022/05/30 18:32:30 [INFO] (telemetry) ending docker.ubuntu | |
==> Wait completed after 5 seconds 690 milliseconds | |
2022/05/30 18:32:30 machine readable: error-count []string{"1"} | |
==> Some builds didn't complete successfully and had errors: | |
2022/05/30 18:32:30 machine readable: learn-packer.docker.ubuntu,error []string{"Error executing Ansible: Non-zero exit status: exit status 4"} | |
==> Builds finished but no artifacts were created. | |
2022/05/30 18:32:30 [INFO] (telemetry) Finalizing. | |
Build 'learn-packer.docker.ubuntu' errored after 5 seconds 690 milliseconds: Error executing Ansible: Non-zero exit status: exit status 4 | |
==> Wait completed after 5 seconds 690 milliseconds | |
==> Some builds didn't complete successfully and had errors: | |
--> learn-packer.docker.ubuntu: Error executing Ansible: Non-zero exit status: exit status 4 | |
==> Builds finished but no artifacts were created. | |
2022/05/30 18:32:30 waiting for all plugin processes to complete... | |
2022/05/30 18:32:30 /home/invidian/.packer.d/plugins/github.com/hashicorp/docker/packer-plugin-docker_v1.0.5_x5.0_linux_amd64: plugin process exited | |
2022/05/30 18:32:30 /usr/bin/packer: plugin process exited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment