Created
January 17, 2022 23:53
-
-
Save jacklund/1bab55ba5d4d68a7c9285baadfa96866 to your computer and use it in GitHub Desktop.
Packer 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
2022/01/17 17:38:40 [INFO] Packer version: 1.7.8 [go1.17.2 linux amd64] [38/5280] | |
2022/01/17 17:38:40 [TRACE] discovering plugins in /usr/bin | |
2022/01/17 17:38:40 [TRACE] discovering plugins in /root/.config/packer/plugins | |
2022/01/17 17:38:40 [TRACE] discovering plugins in . | |
2022/01/17 17:38:40 [DEBUG] Discovered plugin: arm = /home/jack/git/rpi-k8s/build/packer-builder-arm | |
2022/01/17 17:38:40 [INFO] using external builders: [arm] | |
2022/01/17 17:38:40 [INFO] PACKER_CONFIG env var not set; checking the default config file path | |
2022/01/17 17:38:40 [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig | |
2022/01/17 17:38:40 [WARN] Config file doesn't exist: /root/.packerconfig | |
2022/01/17 17:38:40 [INFO] Setting cache directory: /root/.cache/packer | |
2022/01/17 17:38:40 [TRACE] Starting external plugin /home/jack/git/rpi-k8s/build/packer-builder-arm | |
2022/01/17 17:38:40 Starting plugin: /home/jack/git/rpi-k8s/build/packer-builder-arm []string{"/home/jack/git/rpi-k8s/build/packer-builder-arm"} | |
2022/01/17 17:38:40 Waiting for RPC address for: /home/jack/git/rpi-k8s/build/packer-builder-arm | |
2022/01/17 17:38:40 Received unix RPC address for /home/jack/git/rpi-k8s/build/packer-builder-arm: addr is /tmp/packer-plugin571781226 | |
2022/01/17 17:38:40 packer-builder-arm plugin: 2022/01/17 17:38:40 Plugin address: unix /tmp/packer-plugin571781226 | |
2022/01/17 17:38:40 packer-builder-arm plugin: 2022/01/17 17:38:40 Waiting for connection... | |
2022/01/17 17:38:40 packer-builder-arm plugin: 2022/01/17 17:38:40 Serving a plugin connection... | |
2022/01/17 17:38:41 [TRACE] Starting internal plugin packer-provisioner-ansible | |
2022/01/17 17:38:41 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-ansible"} | |
2022/01/17 17:38:41 Waiting for RPC address for: /usr/bin/packer | |
2022/01/17 17:38:41 packer-provisioner-ansible plugin: [INFO] Packer version: 1.7.8 [go1.17.2 linux amd64] | |
2022/01/17 17:38:41 packer-provisioner-ansible plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path | |
2022/01/17 17:38:41 packer-provisioner-ansible plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig | |
2022/01/17 17:38:41 packer-provisioner-ansible plugin: [WARN] Config file doesn't exist: /root/.packerconfig | |
2022/01/17 17:38:41 packer-provisioner-ansible plugin: [INFO] Setting cache directory: /root/.cache/packer | |
2022/01/17 17:38:41 packer-provisioner-ansible plugin: args: []string{"packer-provisioner-ansible"} | |
2022/01/17 17:38:41 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin3362701635 | |
2022/01/17 17:38:41 packer-provisioner-ansible plugin: Plugin address: unix /tmp/packer-plugin3362701635 | |
2022/01/17 17:38:41 packer-provisioner-ansible plugin: Waiting for connection... | |
2022/01/17 17:38:41 packer-provisioner-ansible plugin: Serving a plugin connection... | |
2022/01/17 17:38:41 packer-provisioner-ansible plugin: ansible-playbook version: 2.9.6 | |
2022/01/17 17:38:41 ui: arm.raspberry_pi_k8s: output will be in this color. | |
2022/01/17 17:38:41 ui: | |
2022/01/17 17:38:41 Build debug mode: false | |
2022/01/17 17:38:41 Force build: false | |
2022/01/17 17:38:41 On error: | |
2022/01/17 17:38:41 Waiting on builds to complete... | |
2022/01/17 17:38:41 Starting build run: arm.raspberry_pi_k8s | |
2022/01/17 17:38:41 Running builder: | |
2022/01/17 17:38:41 [INFO] (telemetry) Starting builder arm.raspberry_pi_k8s | |
2022/01/17 17:38:41 ui: ==> arm.raspberry_pi_k8s: Retrieving rootfs_archive | |
2022/01/17 17:38:41 ui: ==> arm.raspberry_pi_k8s: Trying http://cdimage.ubuntu.com/releases/21.10/release/ubuntu-21.10-preinstalled-server-arm64+raspi.img.xz?archive=false | |
2022/01/17 17:38:41 packer-builder-arm plugin: 2022/01/17 17:38:41 Acquiring lock for: http://cdimage.ubuntu.com/releases/21.10/release/ubuntu-21.10-preinstalled-server-arm64+raspi.img.xz?archive=false&checksum=file%3Ahttp%3A%2F%2Fcdimage.ubuntu.com%2Freleases%2F21.10%2Frelease%2FSHA256SUMS (/root/.cache/packer/bbee12797e722eefa1c49dccf9532620e2e92be6.xz.lock) | |
2022/01/17 17:38:41 ui: ==> arm.raspberry_pi_k8s: Trying http://cdimage.ubuntu.com/releases/21.10/release/ubuntu-21.10-preinstalled-server-arm64+raspi.img.xz?archive=false&checksum=file%3Ahttp%3A%2F%2Fcdimage.ubuntu.com%2Freleases%2F21.10%2Frelease%2FSHA256SUMS | |
2022/01/17 17:38:45 ui: ==> arm.raspberry_pi_k8s: http://cdimage.ubuntu.com/releases/21.10/release/ubuntu-21.10-preinstalled-server-arm64+raspi.img.xz?archive=false&checksum=file%3Ahttp%3A%2F%2Fcdimage.ubuntu.com%2Freleases%2F21.10%2Frelease%2FSHA256SUMS => /root/.cache/packer/bbee12797e722eefa1c49dccf9532620e2e92be6.xz | |
2022/01/17 17:38:45 packer-builder-arm plugin: 2022/01/17 17:38:45 Leaving retrieve loop for rootfs_archive | |
2022/01/17 17:38:45 ui: arm.raspberry_pi_k8s: unpacking /root/.cache/packer/bbee12797e722eefa1c49dccf9532620e2e92be6.xz to ubuntu-21.10.img | |
2022/01/17 17:38:45 ui: arm.raspberry_pi_k8s: unpacking with custom command: [xz --decompress /tmp/image072201371/bbee12797e722eefa1c49dccf9532620e2e92be6.xz] | |
2022/01/17 17:39:41 ui: arm.raspberry_pi_k8s: searching for empty loop device (to map ubuntu-21.10.img) | |
2022/01/17 17:39:41 ui: arm.raspberry_pi_k8s: mapping image ubuntu-21.10.img to /dev/loop58 | |
2022/01/17 17:39:41 ui: arm.raspberry_pi_k8s: mounting /dev/loop58p2 to /tmp/060591934 | |
2022/01/17 17:39:41 ui: arm.raspberry_pi_k8s: mounting /dev/loop58p1 to /tmp/060591934/boot/firmware | |
2022/01/17 17:39:41 ui: arm.raspberry_pi_k8s: running extra setup | |
2022/01/17 17:39:41 ui: arm.raspberry_pi_k8s: mounting /dev with: [mount --bind /dev /tmp/060591934/dev] | |
2022/01/17 17:39:41 ui: arm.raspberry_pi_k8s: mounting /devpts with: [mount -t devpts /devpts /tmp/060591934/dev/pts] | |
2022/01/17 17:39:41 ui: arm.raspberry_pi_k8s: mounting proc with: [mount -t proc proc /tmp/060591934/proc] | |
2022/01/17 17:39:41 ui: arm.raspberry_pi_k8s: mounting binfmt_misc with: [mount -t binfmt_misc binfmt_misc /tmp/060591934/proc/sys/fs/binfmt_misc] | |
2022/01/17 17:39:41 ui: arm.raspberry_pi_k8s: mounting sysfs with: [mount -t sysfs sysfs /tmp/060591934/sys] | |
2022/01/17 17:39:41 ui: arm.raspberry_pi_k8s: binfmt setup found at: /proc/sys/fs/binfmt_misc/qemu-aarch64 | |
2022/01/17 17:39:41 ui: arm.raspberry_pi_k8s: copying qemu binary from /usr/bin/qemu-aarch64-static to: /tmp/060591934/usr/bin/qemu-aarch64-static | |
2022/01/17 17:39:41 packer-builder-arm plugin: 2022/01/17 17:39:41 Unable to load communicator config from state to populate provisionHookData | |
2022/01/17 17:39:41 ui: arm.raspberry_pi_k8s: running the provision hook | |
2022/01/17 17:39:41 [INFO] (telemetry) Starting provisioner ansible | |
2022/01/17 17:39:41 packer-provisioner-ansible plugin: ansible-playbook version: 2.9.6 | |
2022/01/17 17:39:41 ui: ==> arm.raspberry_pi_k8s: Provisioning with Ansible... | |
2022/01/17 17:39:41 ui: arm.raspberry_pi_k8s: Setting up proxy adapter for Ansible.... | |
2022/01/17 17:39:41 packer-provisioner-ansible plugin: Creating inventory file for Ansible run... | |
2022/01/17 17:39:41 packer-provisioner-ansible plugin: SSH proxy: serving on 127.0.0.1:34669 | |
2022/01/17 17:39:41 ui: ==> arm.raspberry_pi_k8s: Executing Ansible: ansible-playbook -e packer_build_name="raspberry_pi_k8s" -e packer_builder_type=arm -vvvv -e ansible_ssh_private_key_file=/tmp/ansible-key544648103 -i /tmp/packer-provisioner-ansible1418661889 /home/jack/git/rpi-k8s/build/ansible/playbook.yml | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: ansible-playbook 2.9.6 | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: config file = /etc/ansible/ansible.cfg | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: ansible python module location = /usr/lib/python3/dist-packages/ansible | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: executable location = /usr/bin/ansible-playbook | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: python version = 3.8.10 (default, Nov 26 2021, 20:14:08) [GCC 9.3.0] | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: Using /etc/ansible/ansible.cfg as config file | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: setting up inventory plugins | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: host_list declined parsing /tmp/packer-provisioner-ansible1418661889 as it did not pass its verify_file() method | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: script declined parsing /tmp/packer-provisioner-ansible1418661889 as it did not pass its verify_file() method | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: auto declined parsing /tmp/packer-provisioner-ansible1418661889 as it did not pass its verify_file() method | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: Parsed /tmp/packer-provisioner-ansible1418661889 inventory source with ini plugin | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: Loading callback plugin default of type stdout, v2.0 from /usr/lib/python3/dist-packages/ansible/plugins/callback/default.py | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: PLAYBOOK: playbook.yml ********************************************************* | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: Positional arguments: /home/jack/git/rpi-k8s/build/ansible/playbook.yml | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: verbosity: 4 | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: connection: smart | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: timeout: 10 | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: become_method: sudo | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: tags: ('all',) | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: inventory: ('/tmp/packer-provisioner-ansible1418661889',) | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: extra_vars: ('packer_build_name="raspberry_pi_k8s"', 'packer_builder_type=arm', 'ansible_ssh_private_key_file=/tmp/ansible-key544648103') | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: forks: 5 | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: 1 plays in /home/jack/git/rpi-k8s/build/ansible/playbook.yml | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: Read vars_file 'vars.yml' | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: Read vars_file 'vars.yml' | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: Read vars_file 'vars.yml' | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: PLAY [Provision image] ********************************************************* | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: META: ran handlers | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: Read vars_file 'vars.yml' | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: TASK [Debug] ******************************************************************* | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: task path: /home/jack/git/rpi-k8s/build/ansible/playbook.yml:11 | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: ok: [default] => { | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: "msg": "Testing 1 2 3" | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: } | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: Read vars_file 'vars.yml' | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: TASK [Create user group] ******************************************************* | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: task path: /home/jack/git/rpi-k8s/build/ansible/playbook.yml:19 | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root | |
2022/01/17 17:39:42 ui: arm.raspberry_pi_k8s: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=34669 -o 'IdentityFile="/tmp/ansible-key544648103"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/root/.ansible/ | |
cp/960d7e7de6 127.0.0.1 '/bin/sh -c '"'"'echo ~root && sleep 0'"'"'' | |
2022/01/17 17:39:42 packer-provisioner-ansible plugin: SSH proxy: accepted connection | |
2022/01/17 17:39:42 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:36666 to 127.0.0.1:34669 as root using none | |
2022/01/17 17:39:42 packer-provisioner-ansible plugin: authentication attempt from 127.0.0.1:36666 to 127.0.0.1:34669 as root using publickey | |
2022/01/17 17:39:42 packer-provisioner-ansible plugin: new env request: LANG=en_US.UTF-8 | |
2022/01/17 17:39:42 packer-provisioner-ansible plugin: new exec request: /bin/sh -c 'echo ~root && sleep 0' | |
2022/01/17 17:39:42 packer-builder-arm plugin: 2022/01/17 17:39:42 Executing: /bin/sh []string{"/bin/sh", "-c", "PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin chroot /tmp/060591934 /bin/sh -c \"/bin/sh -c 'echo ~root && sleep 0'\""} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment