Reputation: 131
I did try to search but couldn't find my specific problem, so if there's one I missed, please let me know.
I don't think this is a Nomad problem, but it's what I'm using. Here's my Nomad config:
job "linux-runner" {
datacenters = ["main"]
group "linux-runner" {
network {
port "ssh" {
static = 22
host_network = "build-linux"
}
dns {
servers = ["172.16.10.3"]
}
}
service {
provider = "nomad"
name = "linux-runner-ssh"
port = "ssh"
}
task "debian" {
driver = "qemu"
artifact {
source = "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2"
#source = "https://cloud-images.ubuntu.com/oracular/current/oracular-server-cloudimg-amd64.img"
}
config {
#image_path = "local/oracular-server-cloudimg-amd64.img"
image_path = "local/debian-12-generic-amd64.qcow2"
accelerator = "kvm"
args = [
"-device", "e1000,netdev=user.0",
"-netdev", "user,id=user.0,hostfwd=tcp:${NOMAD_IP_ssh}:22-:22",
#"-drive", "file=fat:rw:./local,format=raw,media=disk",
"-smbios", "type=1,serial=ds=nocloud;s=http://172.16.10.57:8001/"
]
}
resources {
cpu = 1024
memory = 4096
}
}
}
}
Debian does reach out to grab the meta-data
, user-data
, and vendor-data
configs:
me@prod:~/cloud-config$ python3 -m http.server 8001
Serving HTTP on 0.0.0.0 port 8001 (http://0.0.0.0:8001/) ...
172.16.10.2 - - [29/Jan/2025 21:01:35] "GET /meta-data HTTP/1.1" 200 -
172.16.10.2 - - [29/Jan/2025 21:01:35] "GET /user-data HTTP/1.1" 200 -
172.16.10.2 - - [29/Jan/2025 21:01:35] "GET /vendor-data HTTP/1.1" 200 -
Here's my meta-data
, user-data
, and vendor-data
files:
meta-data:
local-hostname: linux-runner
user-data:
#cloud-config
hostname: linux-runner
manage_etc_hosts: false
ssh_pwauth: false
disable_root: true
users:
- name: debian
hashed_passwd: $6$password here
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
lock-passwd: false
ssh_authorized_keys:
- ssh-rsa pubkey here
runcmd:
- sudo dpkg-reconfigure openssh-server
- sudo ls -al /home > /tmp/asdf.txt
- sudo ls -al /home > /local/asdf.txt
vendor-data:
When I comment out the line "-smbios", "type=1,serial=ds=nocloud;s=http://172.16.10.57:8001/"
, Debian actually boots up but of course my key isn't in place so I can't log in:
[ 6.067434] e1000: ens3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 6.068479] IPv6: ADDRCONF(NETDEV_CHANGE): ens3: link becomes ready
[ OK ] Finished systemd-networkd-…Wait for Network to be Configured.
Starting cloud-init.servic… job (metadata service crawler)...
[ 7.659294] cloud-init[414]: Cloud-init v. 22.4.2 running 'init' at Wed, 29 Jan 2025 05:44:32 +0000. Up 7.64 seconds.
[ 7.664037] cloud-init[414]: ci-info: ++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++
[ 7.664891] cloud-init[414]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+
[ 7.665774] cloud-init[414]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
[ 7.666626] cloud-init[414]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+
[ 7.667472] cloud-init[414]: ci-info: | ens3 | True | 10.0.2.15 | 255.255.255.0 | global | 52:54:00:12:34:56 |
[ 7.669207] cloud-init[414]: ci-info: | ens3 | True | fe80::5054:ff:fe12:3456/64 | . | link | 52:54:00:12:34:56 |
[ 7.670998] cloud-init[414]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
[ 7.671968] cloud-init[414]: ci-info: | lo | True | ::1/128 | . | host | . |
[ 7.672863] cloud-init[414]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+
[ 7.673711] cloud-init[414]: ci-info: ++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++
[ 7.674396] cloud-init[414]: ci-info: +-------+-------------+----------+-----------------+-----------+-------+
[ 7.675083] cloud-init[414]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
[ 7.675750] cloud-init[414]: ci-info: +-------+-------------+----------+-----------------+-----------+-------+
[ 7.676491] cloud-init[414]: ci-info: | 0 | 0.0.0.0 | 10.0.2.2 | 0.0.0.0 | ens3 | UG |
[ 7.677175] cloud-init[414]: ci-info: | 1 | 10.0.2.0 | 0.0.0.0 | 255.255.255.0 | ens3 | U |
[ 7.677894] cloud-init[414]: ci-info: | 2 | 10.0.2.2 | 0.0.0.0 | 255.255.255.255 | ens3 | UH |
[ 7.678597] cloud-init[414]: ci-info: | 3 | 10.0.2.3 | 0.0.0.0 | 255.255.255.255 | ens3 | UH |
[ 7.679321] cloud-init[414]: ci-info: +-------+-------------+----------+-----------------+-----------+-------+
[ 7.680043] cloud-init[414]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
[ 7.680656] cloud-init[414]: ci-info: +-------+-------------+---------+-----------+-------+
[ 7.681259] cloud-init[414]: ci-info: | Route | Destination | Gateway | Interface | Flags |
[ 7.681882] cloud-init[414]: ci-info: +-------+-------------+---------+-----------+-------+
[ 7.682478] cloud-init[414]: ci-info: | 0 | fe80::/64 | :: | ens3 | U |
[ 7.683074] cloud-init[414]: ci-info: | 2 | local | :: | ens3 | U |
[ 7.683688] cloud-init[414]: ci-info: | 3 | multicast | :: | ens3 | U |
[ 7.684307] cloud-init[414]: ci-info: +-------+-------------+---------+-----------+-------+
[ 7.791177] I/O error, dev fd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 7.793000] floppy: error 10 while reading block 0
[ 8.019581] I/O error, dev fd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 8.022244] floppy: error 10 while reading block 0
[ 8.263159] I/O error, dev fd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 8.265882] floppy: error 10 while reading block 0
[ 8.495216] I/O error, dev fd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 8.498001] floppy: error 10 while reading block 0
[ 8.743570] I/O error, dev fd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 8.746355] floppy: error 10 while reading block 0
[ 18.873608] cloud-init[414]: 2025-01-29 05:44:43,957 - util.py[WARNING]: Getting data from <class 'cloudinit.sources.DataSourceNoCloud.DataSourceNoCloudNet'> failed
[ OK ] Stopped systemd-networkd-w…Wait for Network to be Configured.
Stopping systemd-networkd-…it for Network to be Configured...
Stopping systemd-networkd.…ice - Network Configuration...
[ OK ] Stopped systemd-networkd.service - Network Configuration.
Starting systemd-networkd.…ice - Network Configuration...
[ OK ] Started systemd-networkd.service - Network Configuration.
Starting systemd-networkd-…it for Network to be Configured...
[ 19.388196] cloud-init[414]: 2025-01-29 05:44:44,471 - activators.py[WARNING]: Running ['netplan', 'apply'] resulted in stderr output:
[ 19.389215] cloud-init[414]: ** (generate:438): WARNING **: 05:44:44.158: Permissions for /etc/netplan/50-cloud-init.yaml are too open. Netplan configuration should NOT be accessible by others.
[ 19.392041] cloud-init[414]: Cannot call openvswitch: ovsdb-server.service is not running.
[ 19.396053] cloud-init[414]: ** (process:436): WARNING **: 05:44:44.348: Permissions for /etc/netplan/50-cloud-init.yaml are too open. Netplan configuration should NOT be accessible by others.
[ 19.397329] cloud-init[414]: ** (process:436): WARNING **: 05:44:44.397: Permissions for /etc/netplan/50-cloud-init.yaml are too open. Netplan configuration should NOT be accessible by others.
[ 19.398543] cloud-init[414]: ** (process:436): WARNING **: 05:44:44.397: Permissions for /etc/netplan/50-cloud-init.yaml are too open. Netplan configuration should NOT be accessible by others.
[ 19.403256] cloud-init[414]: Failed to connect system bus: No such file or directory
[ 19.403956] cloud-init[414]: Falling back to a hard restart of systemd-networkd.service
[ 20.415306] cloud-init[414]: Generating public/private rsa key pair.
[ 20.415833] cloud-init[414]: Your identification has been saved in /etc/ssh/ssh_host_rsa_key
[ 20.416533] cloud-init[414]: Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub
[ 20.417174] cloud-init[414]: The key fingerprint is:
[ 20.420094] cloud-init[414]: SHA256:TOoKHB6l4c1quDMaKlDe+CunAW3DU3KBdEAHKJm9O+c root@localhost
[ 20.420772] cloud-init[414]: The key's randomart image is:
[ 20.421215] cloud-init[414]: +---[RSA 3072]----+
[ 20.421590] cloud-init[414]: | B=++ |
[ 20.421966] cloud-init[414]: |= oo . |
[ 20.422347] cloud-init[414]: |. o.+ . |
[ 20.424051] cloud-init[414]: | +oX + |
[ 20.424471] cloud-init[414]: |.o@+o . S |
[ 20.424868] cloud-init[414]: |.*=*o. |
[ 20.428047] cloud-init[414]: |+ B= . |
[ 20.428497] cloud-init[414]: |=+.oE. |
[ 20.428915] cloud-init[414]: |*o.+o. |
[ 20.429321] cloud-init[414]: +----[SHA256]-----+
[ 20.429701] cloud-init[414]: Generating public/private dsa key pair.
[ 20.430218] cloud-init[414]: Your identification has been saved in /etc/ssh/ssh_host_dsa_key
[ 20.432043] cloud-init[414]: Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub
[ 20.432725] cloud-init[414]: The key fingerprint is:
[ 20.436080] cloud-init[414]: SHA256:qR+wl24OUB+7VKtiTTB19HR64o7DRN5b9sYrayHQjaA root@localhost
[ 20.436787] cloud-init[414]: The key's randomart image is:
[ 20.437230] cloud-init[414]: +---[DSA 1024]----+
[ 20.437612] cloud-init[414]: | ..o . . |
[ 20.438006] cloud-init[414]: | . o o o |
[ 20.438389] cloud-init[414]: | + o = * . |
[ 20.438764] cloud-init[414]: | . E O * + |
[ 20.440042] cloud-init[414]: | . . S = o o |
[ 20.440451] cloud-init[414]: | . B * + = o |
[ 20.444055] cloud-init[414]: | * B + + . +|
[ 20.444511] cloud-init[414]: | . *.. . o ..|
[ 20.444896] cloud-init[414]: | o+ ..o. |
[ 20.445277] cloud-init[414]: +----[SHA256]-----+
[ 20.445659] cloud-init[414]: Generating public/private ecdsa key pair.
[ 20.446171] cloud-init[414]: Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key
[ 20.446830] cloud-init[414]: Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub
[ 20.452098] cloud-init[414]: The key fingerprint is:
[ 20.452572] cloud-init[414]: SHA256:x7L++S0wiVGkYssheGIviYrs7n6ju4R7cK4MowdgC8s root@localhost
[ 20.453243] cloud-init[414]: The key's randomart image is:
[ 20.453680] cloud-init[414]: +---[ECDSA 256]---+
[ 20.454061] cloud-init[414]: | .. |
[ 20.454442] cloud-init[414]: | . .. |
[ 20.454823] cloud-init[414]: | + o + .. |
[ 20.455208] cloud-init[414]: |o+ = + +.. |
[ 20.455589] cloud-init[414]: |*.+ . o Soo. |
[ 20.455971] cloud-init[414]: |OE.. .++ |
[ 20.460117] cloud-init[414]: |*B . o |
[ 20.460521] cloud-init[414]: |*o+o . ... |
[ 20.460919] cloud-init[414]: |B&= . ..o.... |
[ 20.461302] cloud-init[414]: +----[SHA256]-----+
[ 20.461678] cloud-init[414]: Generating public/private ed25519 key pair.
[ 20.462201] cloud-init[414]: Your identification has been saved in /etc/ssh/ssh_host_ed25519_key
[ 20.462866] cloud-init[414]: Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub
[ 20.464041] cloud-init[414]: The key fingerprint is:
[ 20.466812] cloud-init[414]: SHA256:chpDfYk93IWUx8u+s3GBYPL4kwyWWZ9ByMXA0jRkyM4 root@localhost
[ 20.467506] cloud-init[414]: The key's randomart image is:
[ 20.467949] cloud-init[414]: +--[ED25519 256]--+
[ 20.468354] cloud-init[414]: | . BB**. |
[ 20.468745] cloud-init[414]: | . B.B=oo |
[ OK ] Finished cloud-init.servic…it job (metadata service crawler).
[ OK ] Reached target cloud-confi…t - Cloud-config availability.
[ OK ] Reached target sysinit.target - System Initialization.
[ OK ] Started apt-daily.timer - Daily apt download activities.
[ OK ] Started apt-daily-upgrade.… apt upgrade and clean activities.
[ 20.472826] cloud-init[414]: | . =.B+.+ . |
[ 20.473190] cloud-init[414]: | . EO.o * |
[ OK ] Started dpkg-db-backup.tim… Daily dpkg database backup timer.
[ 20.474221] cloud-init[414]: | + S* . = . |
[ 20.474572] cloud-init[414]: | *. + . . .|
[ OK ] Started e2scrub_all.timer…etadata Check for All Filesystems.
[ 20.475640] cloud-init[414]: | . = ...|
[ 20.476097] cloud-init[414]: | . oo |
[ OK ] Started fstrim.timer - Discard unused blocks once a week.
[ 20.477201] cloud-init[414]: | .o |
[ 20.477583] cloud-init[414]: +----[SHA256]-----+
[ OK ] Started man-db.timer - Daily man-db regeneration.
[ OK ] Started systemd-tmpfiles-c… Cleanup of Temporary Directories.
[ OK ] Reached target timers.target - Timer Units.
[ OK ] Listening on cloud-init-ho… - cloud-init hotplug hook socket.
[ OK ] Listening on dbus.socket OK ] Listening on uuidd.socket…m - UUID daemon activation socket.
[ OK ] Reached target sockets.target - Socket Units.
[ OK ] Reached target basic.target - Basic System.
Starting dbus.service - D-Bus System Message Bus...
Starting e2scrub_reap.serv…e ext4 Metadata Check Snapshots...
Starting ssh.service - OpenBSD Secure Shell server...
Starting systemd-logind.se…ice - User Login Management...
Starting systemd-user-sess…vice - Permit User Sessions...
[ OK ] Finished systemd-user-sess…ervice - Permit User Sessions.
[ OK ] Started [email protected] - Getty on tty1.
[ OK ] Started serial-getty@ttyS0…rvice - Serial Getty on ttyS0.
[ OK ] Reached target getty.target - Login Prompts.
[ OK ] Started dbus.service - D-Bus System Message Bus.
[ OK ] Started systemd-logind.service - User Login Management.
[ OK ] Started unattended-upgrade…0m - Unattended Upgrades Shutdown.
[ OK ] Started ssh.service - OpenBSD Secure Shell server.
[ OK ] Finished e2scrub_reap.serv…ine ext4 Metadata Check Snapshots.
[ OK ] Reached target multi-user.target - Multi-User System.
[ OK ] Reached target graphical.target - Graphical Interface.
Starting systemd-update-ut… Record Runlevel Change in UTMP...
[ OK ] Finished systemd-update-ut… - Record Runlevel Change in UTMP.
[ OK ] Finished systemd-networkd-…Wait for Network to be Configured.
[ OK ] Reached target network-online.target - Network is Online.
Starting cloud-config.serv…tings specified in cloud-config...
[ 21.772871] cloud-init[544]: Cloud-init v. 22.4.2 running 'modules:config' at Wed, 29 Jan 2025 05:44:46 +0000. Up 21.75 seconds.
[ OK ] Finished cloud-config.serv…ettings specified in cloud-config.
Starting cloud-final.servi…xecute cloud user/final scripts...
[ 22.131567] cloud-init[570]: Cloud-init v. 22.4.2 running 'modules:final' at Wed, 29 Jan 2025 05:44:47 +0000. Up 22.11 seconds.
ci-info: no authorized SSH keys fingerprints found for user debian.
<14>Jan 29 05:44:47 cloud-init: #############################################################
<14>Jan 29 05:44:47 cloud-init: -----BEGIN SSH HOST KEY FINGERPRINTS-----
<14>Jan 29 05:44:47 cloud-init: 1024 SHA256:qR+wl24OUB+7VKtiTTB19HR64o7DRN5b9sYrayHQjaA root@localhost (DSA)
<14>Jan 29 05:44:47 cloud-init: 256 SHA256:x7L++S0wiVGkYssheGIviYrs7n6ju4R7cK4MowdgC8s root@localhost (ECDSA)
<14>Jan 29 05:44:47 cloud-init: 256 SHA256:chpDfYk93IWUx8u+s3GBYPL4kwyWWZ9ByMXA0jRkyM4 root@localhost (ED25519)
<14>Jan 29 05:44:47 cloud-init: 3072 SHA256:TOoKHB6l4c1quDMaKlDe+CunAW3DU3KBdEAHKJm9O+c root@localhost (RSA)
<14>Jan 29 05:44:47 cloud-init: -----END SSH HOST KEY FINGERPRINTS-----
<14>Jan 29 05:44:47 cloud-init: #############################################################
-----BEGIN SSH HOST KEY KEYS-----
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNMdB0Q3+xbaSzFtkEq0VRdkRT/+BaNiHcolB7HKimepjckRi0iYwpZjFKiwW8IVNq5dfQXXsq97CnYTwn7rPAU= root@localhost
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFPFs8AiaO0O3gFxJ+BrSliOQiOEjwUxPPZY5UTiVB/A root@localhost
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCkwzPFj9wZTrCF5/ntERGEjY8EaEm1Azcg1bwT5Hsj//1ziaWoZKxXgvOHRRL0lNxUpG7+V3+NmDHAN+E2jIojLuUi3BSfnkdxD6R7HrnzyULdvPMymmVzw9Jmfhzl27s6xCV83RI+vRO/OsQNHwOHnHuRdRirr+AXn1yoH/MBsB0rxTLnMxB9Iha7HVWIwEJQG7LkBKt9uaDIHDNQLXLopAnCHGoFa8wnBt8fKgEGynJZVRfkzXVCByxjRtJ16BiKgcH3wNaHRhGZG/NC4tn4LQl2Sp1PYStAkjUTY58yhFouYlpNO0FuVOy2hy7dKQJj2jfEdQXiqY7dBwzAVz0oPaHAs5LS8OpSGDtA72MMbTYwcNrMbv18RB2FciLYcXAWvAf4Jpnm0ga3gnkRCwg1AzFIRSEkNoUgueGTQ5MwkujVhMnBEe4JP4x45bwapIaLiQuL6GyokuWiFlq5u4LoUEsnccLBdawGZZaaVx00lI++wubDkRtJshv3O48D5u0= root@localhost
-----END SSH HOST KEY KEYS-----
[ 22.198460] cloud-init[570]: Cloud-init v. 22.4.2 finished at Wed, 29 Jan 2025 05:44:47 +0000. Datasource DataSourceNone. Up 22.19 seconds
[ 22.199610] cloud-init[570]: 2025-01-29 05:44:47,283 - cc_final_message.py[WARNING]: Used fallback datasource
[ OK ] Finished cloud-final.servi… Execute cloud user/final scripts.
[ OK ] Reached target cloud-init.target - Cloud-init target.
Debian GNU/Linux 12 localhost ttyS0
localhost login:
When I leave that line in, Debian reaches out to grab the cloud-init files, but errors out and SSH fails to start so I can't log in:
[ 6.024100] platform regulatory.0: firmware: failed to load regulatory.db (-2)
[ 6.024820] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[ 6.026123] platform regulatory.0: firmware: failed to load regulatory.db (-2)
[ 6.026860] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 6.027870] cfg80211: failed to load regulatory.db
[ OK ] Started systemd-networkd.service - Network Configuration.
[ OK ] Reached target network.target - Network.
Starting systemd-networkd-…it for Network to be Configured...
[ 6.133525] e1000: ens3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 6.135566] IPv6: ADDRCONF(NETDEV_CHANGE): ens3: link becomes ready
[ OK ] Finished systemd-networkd-…Wait for Network to be Configured.
Starting cloud-init.servic… job (metadata service crawler)...
[ 7.571956] cloud-init[420]: Cloud-init v. 22.4.2 running 'init' at Wed, 29 Jan 2025 05:49:43 +0000. Up 7.56 seconds.
[ 7.577578] cloud-init[420]: ci-info: ++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++
[ 7.578443] cloud-init[420]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+
[ 7.579285] cloud-init[420]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
[ 7.580159] cloud-init[420]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+
[ 7.580987] cloud-init[420]: ci-info: | ens3 | True | 10.0.2.15 | 255.255.255.0 | global | 52:54:00:12:34:56 |
[ 7.581817] cloud-init[420]: ci-info: | ens3 | True | fe80::5054:ff:fe12:3456/64 | . | link | 52:54:00:12:34:56 |
[ 7.583578] cloud-init[420]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
[ 7.584593] cloud-init[420]: ci-info: | lo | True | ::1/128 | . | host | . |
[ 7.585422] cloud-init[420]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+
[ 7.586255] cloud-init[420]: ci-info: ++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++
[ 7.586979] cloud-init[420]: ci-info: +-------+-------------+----------+-----------------+-----------+-------+
[ 7.587728] cloud-init[420]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
[ 7.588483] cloud-init[420]: ci-info: +-------+-------------+----------+-----------------+-----------+-------+
[ 7.589213] cloud-init[420]: ci-info: | 0 | 0.0.0.0 | 10.0.2.2 | 0.0.0.0 | ens3 | UG |
[ 7.589941] cloud-init[420]: ci-info: | 1 | 10.0.2.0 | 0.0.0.0 | 255.255.255.0 | ens3 | U |
[ 7.590663] cloud-init[420]: ci-info: | 2 | 10.0.2.2 | 0.0.0.0 | 255.255.255.255 | ens3 | UH |
[ 7.591386] cloud-init[420]: ci-info: | 3 | 10.0.2.3 | 0.0.0.0 | 255.255.255.255 | ens3 | UH |
[ 7.592143] cloud-init[420]: ci-info: +-------+-------------+----------+-----------------+-----------+-------+
[ 7.592875] cloud-init[420]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
[ 7.593476] cloud-init[420]: ci-info: +-------+-------------+---------+-----------+-------+
[ 7.594082] cloud-init[420]: ci-info: | Route | Destination | Gateway | Interface | Flags |
[ 7.594685] cloud-init[420]: ci-info: +-------+-------------+---------+-----------+-------+
[ 7.595295] cloud-init[420]: ci-info: | 0 | fe80::/64 | :: | ens3 | U |
[ 7.595901] cloud-init[420]: ci-info: | 2 | local | :: | ens3 | U |
[ 7.596522] cloud-init[420]: ci-info: | 3 | multicast | :: | ens3 | U |
[ 7.597148] cloud-init[420]: ci-info: +-------+-------------+---------+-----------+-------+
[ 7.709501] I/O error, dev fd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 7.710530] floppy: error 10 while reading block 0
[ 7.937027] I/O error, dev fd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 7.938525] floppy: error 10 while reading block 0
[ 8.165054] I/O error, dev fd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 8.167667] floppy: error 10 while reading block 0
[ 8.409116] I/O error, dev fd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 8.411779] floppy: error 10 while reading block 0
[ 8.657831] I/O error, dev fd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[ 8.660553] floppy: error 10 while reading block 0
[ OK ] Finished cloud-init.servic…it job (metadata service crawler).
[ OK ] Reached target cloud-confi…t - Cloud-config availability.
[ OK ] Reached target network-online.target - Network is Online.
[ OK ] Reached target sysinit.target - System Initialization.
[ OK ] Started apt-daily.timer - Daily apt download activities.
[ OK ] Started apt-daily-upgrade.… apt upgrade and clean activities.
[ OK ] Started dpkg-db-backup.tim… Daily dpkg database backup timer.
[ OK ] Started e2scrub_all.timer…etadata Check for All Filesystems.
[ OK ] Started fstrim.timer - Discard unused blocks once a week.
[ OK ] Started man-db.timer - Daily man-db regeneration.
[ OK ] Started systemd-tmpfiles-c… Cleanup of Temporary Directories.
[ OK ] Reached target timers.target - Timer Units.
[ OK ] Listening on cloud-init-ho… - cloud-init hotplug hook socket.
[ OK ] Listening on dbus.socket OK ] Listening on uuidd.socket…m - UUID daemon activation socket.
[ OK ] Reached target sockets.target - Socket Units.
[ OK ] Reached target basic.target - Basic System.
Starting cloud-config.serv…tings specified in cloud-config...
Starting dbus.service - D-Bus System Message Bus...
Starting e2scrub_reap.serv…e ext4 Metadata Check Snapshots...
Starting ssh.service - OpenBSD Secure Shell server...
Starting systemd-logind.se…ice - User Login Management...
Starting systemd-user-sess…vice - Permit User Sessions...
[ OK ] Finished systemd-user-sess…ervice - Permit User Sessions.
[ OK ] Started [email protected] - Getty on tty1.
[ OK ] Started serial-getty@ttyS0…rvice - Serial Getty on ttyS0.
[ OK ] Reached target getty.target - Login Prompts.
[ OK ] Started dbus.service - D-Bus System Message Bus.
[FAILED] Failed to start ssh.servic…[0m - OpenBSD Secure Shell server.
See 'systemctl status ssh.service' for details.
[ OK ] Started systemd-logind.service - User Login Management.
[ OK ] Started unattended-upgrade…0m - Unattended Upgrades Shutdown.
[ 9.030829] cloud-init[442]: Cloud-init v. 22.4.2 running 'modules:config' at Wed, 29 Jan 2025 05:49:45 +0000. Up 9.01 seconds.
[ OK ] Stopped ssh.service - OpenBSD Secure Shell server.
Starting ssh.service - OpenBSD Secure Shell server...
[FAILED] Failed to start ssh.servic…[0m - OpenBSD Secure Shell server.
See 'systemctl status ssh.service' for details.
[ OK ] Finished e2scrub_reap.serv…ine ext4 Metadata Check Snapshots.
[ OK ] Reached target multi-user.target - Multi-User System.
[ OK ] Reached target graphical.target - Graphical Interface.
Starting systemd-update-ut… Record Runlevel Change in UTMP...
[ OK ] Finished systemd-update-ut… - Record Runlevel Change in UTMP.
[ OK ] Stopped ssh.service - OpenBSD Secure Shell server.
Starting ssh.service - OpenBSD Secure Shell server...
[ OK ] Finished cloud-config.serv…ettings specified in cloud-config.
Starting cloud-final.servi…xecute cloud user/final scripts...
[FAILED] Failed to start ssh.servic…[0m - OpenBSD Secure Shell server.
See 'systemctl status ssh.service' for details.
[ 9.417936] cloud-init[474]: Cloud-init v. 22.4.2 running 'modules:final' at Wed, 29 Jan 2025 05:49:45 +0000. Up 9.40 seconds.
[ 9.448048] cloud-init[474]: 2025-01-29 05:49:45,498 - util.py[WARNING]: Running module ssh-authkey-fingerprints (<module 'cloudinit.config.cc_ssh_authkey_fingerprints' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_ssh_authkey_fingerprints.py'>) failed
[ 9.457856] cloud-init[474]: Cloud-init v. 22.4.2 finished at Wed, 29 Jan 2025 05:49:45 +0000. Datasource DataSourceNone. Up 9.45 seconds
[ 9.458900] cloud-init[474]: 2025-01-29 05:49:45,509 - util.py[WARNING]: Failed to write boot finished file /var/lib/cloud/instance/boot-finished
[ 9.462317] cloud-init[474]: 2025-01-29 05:49:45,512 - cc_final_message.py[WARNING]: Used fallback datasource
[ OK ] Stopped ssh.service - OpenBSD Secure Shell server.
Starting ssh.service - OpenBSD Secure Shell server...
[FAILED] Failed to start cloud-fina… Execute cloud user/final scripts.
See 'systemctl status cloud-final.service' for details.
[ OK ] Reached target cloud-init.target - Cloud-init target.
[FAILED] Failed to start ssh.servic…[0m - OpenBSD Secure Shell server.
See 'systemctl status ssh.service' for details.
Debian GNU/Linux 12 localhost ttyS0
localhost login:
I've tried variations of user-data
that I've found on Google, but nothing seems to make cloud-init happy.
Upvotes: 0
Views: 9