AndreCox / AndreCox/PIBaker

Out of the box, Ansible Fails With Invalid Password

Ouverte
#3 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
help wanted
Langage dominant
Dockerfile
Étoiles
57
Forks
6
Métriques de merge des PR
Métriques de PR en attente

Description

This is running on Fedora Linux 38 (Workstation Edition). Ansible Docker container eventually shuts down. No working Raspberry Pi image is created.

> 2023-07-07 22:44:24 pi-emulator_1 | [INFO] No 'distro.qcow2' provided in volume, providing default one ...
> 2023-07-07 22:44:32 pi-emulator_1 | [INFO] No 'kernel8.img' provided in volume, providing default one ...
> 2023-07-07 22:44:32 pi-emulator_1 | [INFO] No 'pi3.dtb' provided in volume, providing default one ...
> 2023-07-07 22:44:32 pi-emulator_1 | [INFO] Starting the emulator ...
> 2023-07-07 22:44:28 ansible-playbook_1 |
> 2023-07-07 22:44:28 ansible-playbook_1 | PLAY [raspberries] *************************************************************
> 2023-07-07 22:44:28 ansible-playbook_1 |
> 2023-07-07 22:44:28 ansible-playbook_1 | TASK [Wait till RPI enters the running phase] **********************************
> 2023-07-07 22:44:29 ansible-playbook_1 | [WARNING]: Unhandled error in Python interpreter discovery for host
> 2023-07-07 22:44:29 ansible-playbook_1 | 172.16.238.10: Failed to connect to the host via ssh: ssh: connect to host
> 2023-07-07 22:44:29 ansible-playbook_1 | 172.16.238.10 port 2222: Connection refused
> 2023-07-07 22:44:43 ansible-playbook_1 | [WARNING]: Unhandled error in Python interpreter discovery for host
> 2023-07-07 22:44:43 ansible-playbook_1 | 172.16.238.10: Failed to connect to the host via ssh: Connection timed out
> 2023-07-07 22:44:43 ansible-playbook_1 | during banner exchange
> 2023-07-07 22:45:58 ansible-playbook_1 | [WARNING]: Unhandled error in Python interpreter discovery for host
> 2023-07-07 22:45:58 ansible-playbook_1 | 172.16.238.10: Failed to connect to the host via ssh:
> 2023-07-07 22:45:58 ansible-playbook_1 | ssh_exchange_identification: read: Connection reset by peer
> 2023-07-07 22:46:48 ansible-playbook_1 | [WARNING]: Unhandled error in Python interpreter discovery for host
> 2023-07-07 22:46:48 ansible-playbook_1 | 172.16.238.10: Invalid/incorrect password: Warning: Permanently added
> 2023-07-07 22:46:48 ansible-playbook_1 | '[172.16.238.10]:2222' (ECDSA) to the list of known hosts. Please note that
> 2023-07-07 22:46:48 ansible-playbook_1 | SSH may not work until a valid user has been set up. See
> 2023-07-07 22:46:48 ansible-playbook_1 | http://rptl.io/newuser for details. Permission denied, please try again.
> 2023-07-07 22:47:06 ansible-playbook_1 | [WARNING]: Unhandled error in Python interpreter discovery for host
> 2023-07-07 22:47:06 ansible-playbook_1 | 172.16.238.10: Invalid/incorrect password: Please note that SSH may not work
> 2023-07-07 22:47:06 ansible-playbook_1 | until a valid user has been set up. See http://rptl.io/newuser for details.
> 2023-07-07 22:47:06 ansible-playbook_1 | Permission denied, please try again.
> 2023-07-07 22:44:47 pi-emulator_1 |
> 2023-07-07 22:44:47 pi-emulator_1 | Welcome to Debian GNU/Linux 11 (bullseye)!
> 2023-07-07 22:44:47 pi-emulator_1 |
> 2023-07-07 22:44:55 pi-emulator_1 | [ OK ] Created slice system-modprobe.slice.
> 2023-07-07 22:44:55 pi-emulator_1 | [ OK ] Created slice system-serial\x2dgetty.slice.
> 2023-07-07 22:44:55 pi-emulator_1 | [ OK ] Created slice system-systemd\x2dfsck.slice.
> 2023-07-07 22:44:55 pi-emulator_1 | [ OK ] Created slice User and Session Slice.
> 2023-07-07 22:44:55 pi-emulator_1 | [ OK ] Started Dispatch Password …ts to Console Directory Watch.
> 2023-07-07 22:44:55 pi-emulator_1 | [ OK ] Started Forward Password R…uests to Wall Directory Watch.
> 2023-07-07 22:44:56 pi-emulator_1 | [ OK ] Set up automount Arbitrary…s File System Automount Point.
> 2023-07-07 22:44:56 pi-emulator_1 | [ OK ] Reached target Local Encrypted Volumes.
> 2023-07-07 22:44:56 pi-emulator_1 | [ OK ] Reached target Paths.
> 2023-07-07 22:44:56 pi-emulator_1 | [ OK ] Reached target Slices.
> 2023-07-07 22:44:56 pi-emulator_1 | [ OK ] Reached target Swap.
> 2023-07-07 22:44:56 pi-emulator_1 | [ OK ] Listening on Syslog Socket.
> 2023-07-07 22:44:56 pi-emulator_1 | [ OK ] Listening on fsck to fsckd communication Socket.
> 2023-07-07 22:44:56 pi-emulator_1 | [ OK ] Listening on initctl Compatibility Named Pipe.
> 2023-07-07 22:44:56 pi-emulator_1 | [ OK ] Listening on Journal Audit Socket.
> 2023-07-07 22:44:56 pi-emulator_1 | [ OK ] Listening on Journal Socket (/dev/log).
> 2023-07-07 22:44:56 pi-emulator_1 | [ OK ] Listening on Journal Socket.
> 2023-07-07 22:44:56 pi-emulator_1 | [ OK ] Listening on udev Control Socket.
> 2023-07-07 22:44:56 pi-emulator_1 | [ OK ] Listening on udev Kernel Socket.
> 2023-07-07 22:44:56 pi-emulator_1 | Mounting POSIX Message Queue File System...
> 2023-07-07 22:44:56 pi-emulator_1 | Mounting RPC Pipe File System...
> 2023-07-07 22:44:56 pi-emulator_1 | Mounting Kernel Debug File System...
> 2023-07-07 22:44:56 pi-emulator_1 | Mounting Kernel Trace File System...
> 2023-07-07 22:44:57 pi-emulator_1 | Starting Restore / save the current clock...
> 2023-07-07 22:44:57 pi-emulator_1 | Starting Set the console keyboard layout...
> 2023-07-07 22:44:57 pi-emulator_1 | Starting Create list of st…odes for the current kernel...
> 2023-07-07 22:44:57 pi-emulator_1 | Starting Load Kernel Module configfs...
> 2023-07-07 22:44:57 pi-emulator_1 | Starting Load Kernel Module drm...
> 2023-07-07 22:44:57 pi-emulator_1 | Starting Load Kernel Module fuse...
> 2023-07-07 22:44:58 pi-emulator_1 | Starting Journal Service...
> 2023-07-07 22:44:59 pi-emulator_1 | Starting Load Kernel Modules...
> 2023-07-07 22:44:59 pi-emulator_1 | Starting Remount Root and Kernel File Systems...
> 2023-07-07 22:44:59 pi-emulator_1 | Starting Wait Until Kernel Time Synchronized...
> 2023-07-07 22:44:59 pi-emulator_1 | Starting Coldplug All udev Devices...
> 2023-07-07 22:45:00 pi-emulator_1 | [ OK ] Mounted POSIX Message Queue File System.
> 2023-07-07 22:45:00 pi-emulator_1 | [ OK ] Mounted RPC Pipe File System.
> 2023-07-07 22:45:00 pi-emulator_1 | [ OK ] Mounted Kernel Debug File System.
> 2023-07-07 22:45:01 pi-emulator_1 | [ OK ] Mounted Kernel Trace File System.
> 2023-07-07 22:45:01 pi-emulator_1 | [ OK ] Finished Restore / save the current clock.
> 2023-07-07 22:45:01 pi-emulator_1 | [ OK ] Finished Create list of st… nodes for the current kernel.
> 2023-07-07 22:45:01 pi-emulator_1 | [ OK ] Finished Load Kernel Module configfs.
> 2023-07-07 22:45:02 pi-emulator_1 | [ OK ] Finished Load Kernel Module drm.
> 2023-07-07 22:45:02 pi-emulator_1 | [ OK ] Finished Load Kernel Module fuse.
> 2023-07-07 22:45:02 pi-emulator_1 | [ OK ] Finished Load Kernel Modules.
> 2023-07-07 22:45:02 pi-emulator_1 | Mounting FUSE Control File System...
> 2023-07-07 22:45:02 pi-emulator_1 | Mounting Kernel Configuration File System...
> 2023-07-07 22:45:02 pi-emulator_1 | Starting Apply Kernel Variables...
> 2023-07-07 22:45:03 pi-emulator_1 | [ OK ] Finished Remount Root and Kernel File Systems.
> 2023-07-07 22:45:03 pi-emulator_1 | Starting Load/Save Random Seed...
> 2023-07-07 22:45:03 pi-emulator_1 | Starting Create System Users...
> 2023-07-07 22:45:04 pi-emulator_1 | [ OK ] Mounted FUSE Control File System.
> 2023-07-07 22:45:04 pi-emulator_1 | [ OK ] Mounted Kernel Configuration File System.
> 2023-07-07 22:45:04 pi-emulator_1 | [ OK ] Finished Apply Kernel Variables.
> 2023-07-07 22:45:04 pi-emulator_1 | [ OK ] Finished Load/Save Random Seed.
> 2023-07-07 22:45:04 pi-emulator_1 | [ OK ] Started Journal Service.
> 2023-07-07 22:45:05 pi-emulator_1 | Starting Flush Journal to Persistent Storage...
> 2023-07-07 22:45:05 pi-emulator_1 | [ OK ] Finished Create System Users.
> 2023-07-07 22:45:05 pi-emulator_1 | Starting Create Static Device Nodes in /dev...
> 2023-07-07 22:45:05 pi-emulator_1 | [ OK ] Finished Set the console keyboard layout.
> 2023-07-07 22:45:06 pi-emulator_1 | [ OK ] Finished Create Static Device Nodes in /dev.
> 2023-07-07 22:45:06 pi-emulator_1 | [ OK ] Reached target Local File Systems (Pre).
> 2023-07-07 22:45:07 pi-emulator_1 | Starting Rule-based Manage…for Device Events and Files...
> 2023-07-07 22:45:08 pi-emulator_1 | [ OK ] Finished Flush Journal to Persistent Storage.
> 2023-07-07 22:45:10 pi-emulator_1 | [ OK ] Finished Coldplug All udev Devices.
> 2023-07-07 22:45:10 pi-emulator_1 | Starting Helper to synchronize boot up for ifupdown...
> 2023-07-07 22:45:10 pi-emulator_1 | [ OK ] Finished Helper to synchronize boot up for ifupdown.
> 2023-07-07 22:45:11 pi-emulator_1 | [ OK ] Started Rule-based Manager for Device Events and Files.
> [ OK ] Found device /dev/ttyAMA0.
> 2023-07-07 22:45:17 pi-emulator_1 | [ OK ] Found device /dev/mmcblk0p1.
> 2023-07-07 22:45:17 pi-emulator_1 | Starting File System Check on /dev/mmcblk0p1...
> 2023-07-07 22:45:18 pi-emulator_1 | [ OK ] Started File System Check Daemon to report status.
> 2023-07-07 22:45:19 pi-emulator_1 | [ OK ] Finished File System Check on /dev/mmcblk0p1.
> 2023-07-07 22:45:19 pi-emulator_1 | Mounting /boot...
> 2023-07-07 22:45:20 pi-emulator_1 | [ OK ] Mounted /boot.
> 2023-07-07 22:45:20 pi-emulator_1 | [ OK ] Reached target Local File Systems.
> 2023-07-07 22:45:20 pi-emulator_1 | Starting Set console font and keymap...
> 2023-07-07 22:45:20 pi-emulator_1 | Starting Raise network interfaces...
> 2023-07-07 22:45:20 pi-emulator_1 | Starting Preprocess NFS configuration...
> 2023-07-07 22:45:21 pi-emulator_1 | Starting Create Volatile Files and Directories...
> 2023-07-07 22:45:21 pi-emulator_1 | [ OK ] Finished Preprocess NFS configuration.
> 2023-07-07 22:45:21 pi-emulator_1 | [ OK ] Finished Set console font and keymap.
> 2023-07-07 22:45:21 pi-emulator_1 | [ OK ] Reached target NFS client services.
> 2023-07-07 22:45:21 pi-emulator_1 | [ OK ] Reached target Remote File Systems (Pre).
> 2023-07-07 22:45:21 pi-emulator_1 | [ OK ] Reached target Remote File Systems.
> 2023-07-07 22:45:24 pi-emulator_1 | [ OK ] Finished Create Volatile Files and Directories.
> 2023-07-07 22:45:24 pi-emulator_1 | Starting Network Time Synchronization...
> 2023-07-07 22:45:24 pi-emulator_1 | Starting Update UTMP about System Boot/Shutdown...
> 2023-07-07 22:45:25 pi-emulator_1 | [ OK ] Finished Update UTMP about System Boot/Shutdown.
> 2023-07-07 22:45:28 pi-emulator_1 | [ OK ] Started Network Time Synchronization.
> 2023-07-07 22:45:28 pi-emulator_1 | [ OK ] Reached target System Initialization.
> 2023-07-07 22:45:28 pi-emulator_1 | [ OK ] Started Daily Cleanup of Temporary Directories.
> 2023-07-07 22:45:28 pi-emulator_1 | [ OK ] Reached target System Time Set.
> 2023-07-07 22:45:28 pi-emulator_1 | [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
> 2023-07-07 22:45:28 pi-emulator_1 | [ OK ] Listening on D-Bus System Message Bus Socket.
> 2023-07-07 22:45:28 pi-emulator_1 | [ OK ] Listening on triggerhappy.socket.
> 2023-07-07 22:45:28 pi-emulator_1 | [ OK ] Reached target Sockets.
> 2023-07-07 22:45:28 pi-emulator_1 | [ OK ] Reached target Basic System.
> 2023-07-07 22:45:28 pi-emulator_1 | Starting Avahi mDNS/DNS-SD Stack...
> 2023-07-07 22:45:28 pi-emulator_1 | [ OK ] Started Regular background program processing daemon.
> 2023-07-07 22:45:29 pi-emulator_1 | [ OK ] Started D-Bus System Message Bus.
> 2023-07-07 22:45:30 pi-emulator_1 | Starting dphys-swapfile - …unt, and delete a swap file...
> 2023-07-07 22:45:30 pi-emulator_1 | Starting Remove Stale Onli…t4 Metadata Check Snapshots...
> 2023-07-07 22:45:30 pi-emulator_1 | Starting Configure Bluetooth Modems connected by UART...
> 2023-07-07 22:45:30 pi-emulator_1 | Starting Authorization Manager...
> 2023-07-07 22:45:31 pi-emulator_1 | Starting DHCP Client Daemon...
> 2023-07-07 22:45:31 pi-emulator_1 | Starting LSB: Switch to on…nless shift key is pressed)...
> 2023-07-07 22:45:32 pi-emulator_1 | Starting LSB: rng-tools (Debian variant)...
> 2023-07-07 22:45:33 pi-emulator_1 | Starting Check for Raspberry Pi EEPROM updates...
> 2023-07-07 22:45:34 pi-emulator_1 | Starting System Logging Service...
> 2023-07-07 22:45:35 pi-emulator_1 | Starting Turn on SSH if /boot/ssh is present...
> 2023-07-07 22:45:36 pi-emulator_1 | Starting User Login Management...
> 2023-07-07 22:45:37 pi-emulator_1 | Starting triggerhappy global hotkey daemon...
> 2023-07-07 22:45:37 pi-emulator_1 | Starting Disk Manager...
> 2023-07-07 22:45:38 pi-emulator_1 | Starting WPA supplicant...
> 2023-07-07 22:45:39 pi-emulator_1 | [ OK ] Started System Logging Service.
> 2023-07-07 22:45:39 pi-emulator_1 | [ OK ] Started triggerhappy global hotkey daemon.
> 2023-07-07 22:45:40 pi-emulator_1 | [ OK ] Finished Raise network interfaces.
> 2023-07-07 22:45:40 pi-emulator_1 | [ OK ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
> 2023-07-07 22:45:42 pi-emulator_1 | [FAILED] Failed to start Check for Raspberry Pi EEPROM updates.
> 2023-07-07 22:45:42 pi-emulator_1 | See 'systemctl status rpi-eeprom-update.service' for details.
> 2023-07-07 22:45:44 pi-emulator_1 |
> [ OK ] Started Authorization Manager.
> 2023-07-07 22:45:44 pi-emulator_1 | [ OK ] Started WPA supplicant.
> 2023-07-07 22:45:44 pi-emulator_1 | [ OK ] Started Avahi mDNS/DNS-SD Stack.
> 2023-07-07 22:45:44 pi-emulator_1 | [ OK ] Reached target Network.
> 2023-07-07 22:45:44 pi-emulator_1 | [ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
> 2023-07-07 22:45:44 pi-emulator_1 | Starting Modem Manager...
> 2023-07-07 22:45:45 pi-emulator_1 | Starting /etc/rc.local Compatibility...
> 2023-07-07 22:45:46 pi-emulator_1 | Starting Permit User Sessions...
> 2023-07-07 22:45:46 pi-emulator_1 | [ OK ] Finished dphys-swapfile - …mount, and delete a swap file.
> 2023-07-07 22:45:47 pi-emulator_1 | [ OK ] Started LSB: Switch to ond…(unless shift key is pressed).
> 2023-07-07 22:45:47 pi-emulator_1 | [ OK ] Started /etc/rc.local Compatibility.
> 2023-07-07 22:45:47 pi-emulator_1 | [ OK ] Started LSB: rng-tools (Debian variant).
> 2023-07-07 22:45:47 pi-emulator_1 | [ OK ] Started User Login Management.
> 2023-07-07 22:45:48 pi-emulator_1 | [ OK ] Finished Permit User Sessions.
> 2023-07-07 22:45:48 pi-emulator_1 | [ OK ] Started Serial Getty on ttyAMA0.
> 2023-07-07 22:45:48 pi-emulator_1 | [ OK ] Reached target Login Prompts.
> 2023-07-07 22:45:48 pi-emulator_1 | Starting User configuration dialog...
> 2023-07-07 22:45:56 pi-emulator_1 |
> 2023-07-07 22:45:56 pi-emulator_1 | Debian GNU/Linux 11 raspberrypi ttyAMA0
> 2023-07-07 22:45:56 pi-emulator_1 |
> 2023-07-07 22:45:56 pi-emulator_1 | raspberrypi login: root (automatic login)
> 2023-07-07 22:45:56 pi-emulator_1 |
> 2023-07-07 22:46:02 pi-emulator_1 | Linux raspberrypi 5.4.83-v8+ #1 SMP PREEMPT Mon May 8 22:21:12 UTC 2023 aarch64
> 2023-07-07 22:46:02 pi-emulator_1 |
> 2023-07-07 22:46:02 pi-emulator_1 | The programs included with the Debian GNU/Linux system are free software;
> 2023-07-07 22:46:02 pi-emulator_1 | the exact distribution terms for each program are described in the
> 2023-07-07 22:46:02 pi-emulator_1 | individual files in /usr/share/doc/*/copyright.
> 2023-07-07 22:46:02 pi-emulator_1 |
> 2023-07-07 22:46:03 pi-emulator_1 | Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
> 2023-07-07 22:46:03 pi-emulator_1 | permitted by applicable law.
> 2023-07-07 22:46:13 pi-emulator_1 | [ OK ] Finished Wait Until Kernel Time Synchronized.
> 2023-07-07 22:46:13 pi-emulator_1 | [FAILED] Failed to start Configure …ooth Modems connected by UART.
> 2023-07-07 22:46:13 pi-emulator_1 | See 'systemctl status hciuart.service' for details.
> 2023-07-07 22:46:13 pi-emulator_1 | [ OK ] Started DHCP Client Daemon.
> 2023-07-07 22:46:24 pi-emulator_1 | [ OK ] Finished Rotate log files.
> 2023-07-07 22:46:37 pi-emulator_1 | [ OK ] Created slice User Slice of UID 0.
> 2023-07-07 22:46:37 pi-emulator_1 | Starting OpenBSD Secure Shell server...
> 2023-07-07 22:46:37 pi-emulator_1 | Starting User Runtime Directory /run/user/0...
> 2023-07-07 22:46:38 pi-emulator_1 | [ OK ] Finished User Runtime Directory /run/user/0.
> 2023-07-07 22:46:38 pi-emulator_1 | Starting User Manager for UID 0...
> 2023-07-07 22:46:39 pi-emulator_1 | [ OK ] Finished Daily man-db regeneration.
> 2023-07-07 22:46:39 pi-emulator_1 | [ OK ] Started OpenBSD Secure Shell server.
> 2023-07-07 22:46:40 pi-emulator_1 | [ OK ] Finished Turn on SSH if /boot/ssh is present.
> 2023-07-07 22:46:45 pi-emulator_1 | [ OK ] Started User Manager for UID 0.
> 2023-07-07 22:46:45 pi-emulator_1 | [ OK ] Started Session 1 of user root.
> 2023-07-07 22:54:30 ansible-playbook_1 | fatal: [172.16.238.10]: FAILED! => {"changed": false, "elapsed": 601, "msg": "timed out waiting for ping module test success: Invalid/incorrect password: Please note that SSH may not work until a valid user has been set up.\n\nSee http://rptl.io/newuser for details.\nPermission denied, please try again."}
> 2023-07-07 22:54:30 ansible-playbook_1 |
> 2023-07-07 22:54:30 ansible-playbook_1 | PLAY RECAP *********************************************************************
> 2023-07-07 22:54:30 ansible-playbook_1 | 172.16.238.10 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
> 2023-07-07 22:54:30 ansible-playbook_1 |
> 1969-12-31 18:00:00 ansible-playbook_1 exited with code 2

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.