AlmaLinux / cloud-images

Packer templates and other tools for building AlmaLinux images for various cloud platforms.
MIT License
147 stars 46 forks source link

Unable to set username and password using cloud-init #86

Closed RobertFloor closed 2 years ago

RobertFloor commented 2 years ago

Hi there

I was following the guide here https://wiki.almalinux.org/cloud/Generic-cloud-on-local.html#create-a-snapshot-from-the-image but was unable to set a username password or ssh key that let me log in. I tried several options but they did not work

It kept saying Login incorrect.

I followed this guide for centos: https://fabianlee.org/2020/03/14/kvm-testing-cloud-init-locally-using-kvm-for-a-centos-cloud-image/ or for RHEL (very similar to the Approach in the Alma Linux wiki) https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/configuring_and_managing_cloud-init_for_rhel_8/index

and it works for these distros. So my question is, has anybody successfully used the guide in the wiki guide to get a cloud-init image for alma Linux, and how had he or she set the password and user. ? What is the username-password combo for the wiki example?

Thanks for your help Kind regards, Robert

RobertFloor commented 2 years ago
❯ genisoimage -output seed.iso -volid cidata -joliet -rock user-data meta-data
I: -input-charset not specified, using utf-8 (detected in locale settings)
Total translation table size: 0
Total rockridge attributes bytes: 331
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
182 extents written (0 MB)
❯ VM_NAME="wiki-almalinux84"
DISK="wiki2-almalinux84-snapshot.qcow2"
SEED_ISO="seed.iso"

sudo virt-install \
--name "${VM_NAME}" \
--memory 2048 \
--vcpus 2 \
--import \
--os-variant almalinux8 \
--disk "${DISK}" \
--disk "${SEED_ISO}",device=cdrom \
--network network=default,model=virtio \
--graphics none \
--virt-type kvm
[sudo] wachtwoord voor robert:
Sorry, probeer het opnieuw.
[sudo] wachtwoord voor robert:

Installatie wordt gestart...
Connected to domain wiki-almalinux84
Escape character is ^]
[    0.000000] Linux version 4.18.0-348.2.1.el8_5.x86_64 (mockbuild@koji.corp.cloudlinux.com) (gcc version 8.5.0 20210514 (Red Hat 8.5.0-3) (GCC)) #1 SMP Mon Nov 15 09:17:08 EST 2021
[    0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-4.18.0-348.2.1.el8_5.x86_64 root=UUID=fe3a1123-51c6-4a49-a499-857cc079d6a9 ro console=ttyS0,115200n8 console=tty0 no_timer_check net.ifnames=0
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007ffdbfff] usable
[    0.000000] BIOS-e820: [mem 0x000000007ffdc000-0x000000007fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.8 present.
[    0.000000] DMI: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-1ubuntu1.1 04/01/2014
[    0.000000] Hypervisor detected: KVM
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: cpu 0, msr 5e201001, primary cpu clock
[    0.000000] kvm-clock: using sched offset of 2437489317 cycles
[    0.000000] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.000000] tsc: Detected 2303.998 MHz processor
[    0.000000] last_pfn = 0x7ffdc max_arch_pfn = 0x400000000
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT
[    0.000000] found SMP MP-table at [mem 0x000f5c80-0x000f5c8f]
[    0.000000] Using GB pages for direct mapping
[    0.000000] RAMDISK: [mem 0x31da8000-0x34ecbfff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F5A80 000014 (v00 BOCHS )
[    0.000000] ACPI: RSDT 0x000000007FFE20D2 000030 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACP 0x000000007FFE1F22 0000F4 (v03 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 0x000000007FFE0040 001EE2 (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACS 0x000000007FFE0000 000040
[    0.000000] ACPI: APIC 0x000000007FFE2016 000080 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
[    0.000000] ACPI: MCFG 0x000000007FFE2096 00003C (v01 BOCHS  BXPCMCFG 00000001 BXPC 00000001)
[    0.000000] ACPI: Reserving FACP table memory at [mem 0x7ffe1f22-0x7ffe2015]
[    0.000000] ACPI: Reserving DSDT table memory at [mem 0x7ffe0040-0x7ffe1f21]
[    0.000000] ACPI: Reserving FACS table memory at [mem 0x7ffe0000-0x7ffe003f]
[    0.000000] ACPI: Reserving APIC table memory at [mem 0x7ffe2016-0x7ffe2095]
[    0.000000] ACPI: Reserving MCFG table memory at [mem 0x7ffe2096-0x7ffe20d1]
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000007ffdbfff]
[    0.000000] NODE_DATA(0) allocated [mem 0x7ffb1000-0x7ffdbfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x000000007ffdbfff]
[    0.000000]   Normal   empty
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x000000007ffdbfff]
[    0.000000] Zeroed struct page in unavailable ranges: 134 pages
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000007ffdbfff]
[    0.000000] ACPI: PM-Timer IO Port: 0x608
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.000000] [mem 0xc0000000-0xfed1bfff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on KVM
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:2 nr_cpu_ids:2 nr_node_ids:1
[    0.000000] percpu: Embedded 54 pages/cpu s184320 r8192 d28672 u1048576
[    0.000000] kvm-guest: stealtime: cpu 0, msr 7dc2c080
[    0.000000] kvm-guest: PV spinlocks disabled, no host support
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 515804
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-4.18.0-348.2.1.el8_5.x86_64 root=UUID=fe3a1123-51c6-4a49-a499-857cc079d6a9 ro console=ttyS0,115200n8 console=tty0 no_timer_check net.ifnames=0
[    0.000000] Specific versions of hardware are certified with Red Hat Enterprise Linux 8. Please see the list of hardware certified with Red Hat Enterprise Linux 8 at https://catalog.redhat.com.
[    0.000000] Memory: 261120K/2096616K available (12293K kernel code, 2261K rwdata, 7872K rodata, 2492K init, 13944K bss, 129500K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Kernel/User page tables isolation: enabled
[    0.000000] ftrace: allocating 39491 entries in 155 pages
[    0.000000] ftrace: allocated 155 pages with 5 groups
[    0.001000] rcu: Hierarchical RCU implementation.
[    0.001000] rcu:     RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=2.
[    0.001000]  Rude variant of Tasks RCU enabled.
[    0.001000]  Tracing variant of Tasks RCU enabled.
[    0.001000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.001000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.001000] NR_IRQS: 524544, nr_irqs: 440, preallocated irqs: 16
[    0.001000] random: crng done (trusting CPU's manufacturer)
[    0.001000] Console: colour *CGA 80x25
[    0.001000] printk: console [tty0] enabled
[    0.001000] printk: console [ttyS0] enabled
[    0.001000] ACPI: Core revision 20210105
[    0.001000] APIC: Switch to symmetric I/O mode setup
[    0.001000] x2apic enabled
[    0.001000] Switched APIC routing to physical x2apic.
[    0.001000] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x2135f5e6f15, max_idle_ns: 440795231538 ns
[    0.001000] Calibrating delay loop (skipped) preset value.. 4607.99 BogoMIPS (lpj=2303998)
[    0.001000] pid_max: default: 32768 minimum: 301
[    0.001000] LSM: Security Framework initializing
[    0.001000] Yama: becoming mindful.
[    0.001000] SELinux:  Initializing.
[    0.001000] LSM support for eBPF active
[    0.001000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, vmalloc)
[    0.001000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, vmalloc)
[    0.001000] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, vmalloc)
[    0.001000] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, vmalloc)
[    0.001000] x86/cpu: User Mode Instruction Prevention (UMIP) activated
[    0.001000] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.001000] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.001000] FEATURE SPEC_CTRL Present
[    0.001000] FEATURE IBPB_SUPPORT Present
[    0.001000] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.001000] Spectre V2 : Using retpoline on Skylake-generation processors may not fully mitigate the vulnerability.
[    0.001000] Spectre V2 : Add the "spectre_v2=ibrs" kernel boot flag to enable IBRS on Skylake systems that need full mitigation.
[    0.001000] Spectre V2 : Mitigation: Full generic retpoline
[    0.001000] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.001000] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.001000] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.001000] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[    0.001000] SRBDS: Unknown: Dependent on hypervisor status
[    0.001000] MDS: Mitigation: Clear CPU buffers
[    0.001000] Freeing SMP alternatives memory: 32K
[    0.001000] smpboot: CPU0: Intel Core Processor (Skylake, IBRS) (family: 0x6, model: 0x5e, stepping: 0x3)
[    0.001112] Performance Events: unsupported p6 CPU model 94 no PMU driver, software events only.
[    0.002029] rcu: Hierarchical SRCU implementation.
[    0.003102] NMI watchdog: Perf NMI watchdog permanently disabled
[    0.004014] smp: Bringing up secondary CPUs ...
[    0.004751] x86: Booting SMP configuration:
[    0.005004] .... node  #0, CPUs:      #1
[    0.001000] kvm-clock: cpu 1, msr 5e201041, secondary cpu clock
[    0.001000] smpboot: CPU 1 Converting physical 0 to logical die 1
[    0.008029] kvm-guest: stealtime: cpu 1, msr 7dd2c080
[    0.009010] smp: Brought up 1 node, 2 CPUs
[    0.009585] smpboot: Max logical packages: 2
[    0.010005] smpboot: Total of 2 processors activated (9215.99 BogoMIPS)
[    0.013785] node 0 deferred pages initialised in 3ms
[    0.015103] devtmpfs: initialized
[    0.016045] x86/mm: Memory block size: 128MB
[    0.017070] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.018014] futex hash table entries: 512 (order: 3, 32768 bytes, vmalloc)
[    0.019067] pinctrl core: initialized pinctrl subsystem
[    0.020133] NET: Registered protocol family 16
[    0.020965] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.021008] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.022007] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.023021] audit: initializing netlink subsys (disabled)
[    0.023954] audit: type=2000 audit(1652335843.709:1): state=initialized audit_enabled=0 res=1
[    0.025006] cpuidle: using governor menu
[    0.026046] ACPI: bus type PCI registered
[    0.026729] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.027117] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xb0000000-0xbfffffff] (base 0xb0000000)
[    0.028006] PCI: MMCONFIG at [mem 0xb0000000-0xbfffffff] reserved in E820
[    0.029015] PCI: Using configuration type 1 for base access
[    0.030865] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.031010] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.032053] cryptd: max_cpu_qlen set to 1000
[    0.033049] ACPI: Added _OSI(Module Device)
[    0.033758] ACPI: Added _OSI(Processor Device)
[    0.034012] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.034808] ACPI: Added _OSI(Processor Aggregator Device)
[    0.035005] ACPI: Added _OSI(Linux-Dell-Video)
[    0.035764] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.036005] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.037597] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.039121] ACPI: Interpreter enabled
[    0.039767] ACPI: (supports S0 S5)
[    0.040005] ACPI: Using IOAPIC for interrupt routing
[    0.040872] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.041075] ACPI: Enabled 1 GPEs in block 00 to 3F
[    0.043160] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.044008] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI EDR HPX-Type3]
[    0.045055] acpi PNP0A08:00: _OSC: platform does not support [LTR DPC]
[    0.046048] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug SHPCHotplug PME AER PCIeCapability]
[    0.047086] PCI host bridge to bus 0000:00
[    0.047785] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.048005] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.049005] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.050005] pci_bus 0000:00: root bus resource [mem 0x80000000-0xafffffff window]
[    0.051005] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]
[    0.052005] pci_bus 0000:00: root bus resource [mem 0x100000000-0x8ffffffff window]
[    0.053005] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.053976] pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000
[    0.054444] pci 0000:00:01.0: [1b36:000c] type 01 class 0x060400
[    0.056635] pci 0000:00:01.0: reg 0x10: [mem 0xfdc00000-0xfdc00fff]
[    0.060369] pci 0000:00:01.1: [1b36:000c] type 01 class 0x060400
[    0.062005] pci 0000:00:01.1: reg 0x10: [mem 0xfdc01000-0xfdc01fff]
[    0.065996] pci 0000:00:01.2: [1b36:000c] type 01 class 0x060400
[    0.067667] pci 0000:00:01.2: reg 0x10: [mem 0xfdc02000-0xfdc02fff]
[    0.070518] pci 0000:00:01.3: [1b36:000c] type 01 class 0x060400
[    0.072005] pci 0000:00:01.3: reg 0x10: [mem 0xfdc03000-0xfdc03fff]
[    0.076627] pci 0000:00:01.4: [1b36:000c] type 01 class 0x060400
[    0.078006] pci 0000:00:01.4: reg 0x10: [mem 0xfdc04000-0xfdc04fff]
[    0.081521] pci 0000:00:01.5: [1b36:000c] type 01 class 0x060400
[    0.083442] pci 0000:00:01.5: reg 0x10: [mem 0xfdc05000-0xfdc05fff]
[    0.086535] pci 0000:00:01.6: [1b36:000c] type 01 class 0x060400
[    0.088007] pci 0000:00:01.6: reg 0x10: [mem 0xfdc06000-0xfdc06fff]
[    0.091791] pci 0000:00:1f.0: [8086:2918] type 00 class 0x060100
[    0.092421] pci 0000:00:1f.0: quirk: [io  0x0600-0x067f] claimed by ICH6 ACPI/GPIO/TCO
[    0.093235] pci 0000:00:1f.2: [8086:2922] type 00 class 0x010601
[    0.097415] pci 0000:00:1f.2: reg 0x20: [io  0xc040-0xc05f]
[    0.098760] pci 0000:00:1f.2: reg 0x24: [mem 0xfdc07000-0xfdc07fff]
[    0.100102] pci 0000:00:1f.3: [8086:2930] type 00 class 0x0c0500
[    0.102982] pci 0000:00:1f.3: reg 0x20: [io  0x0700-0x073f]
[    0.104276] pci 0000:01:00.0: [1af4:1041] type 00 class 0x020000
[    0.106662] pci 0000:01:00.0: reg 0x14: [mem 0xfda80000-0xfda80fff]
[    0.109006] pci 0000:01:00.0: reg 0x20: [mem 0xfea00000-0xfea03fff 64bit pref]
[    0.110739] pci 0000:01:00.0: reg 0x30: [mem 0xfda00000-0xfda7ffff pref]
[    0.111832] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.112038] pci 0000:00:01.0:   bridge window [mem 0xfda00000-0xfdbfffff]
[    0.113041] pci 0000:00:01.0:   bridge window [mem 0xfea00000-0xfebfffff 64bit pref]
[    0.114751] pci 0000:02:00.0: [1b36:000d] type 00 class 0x0c0330
[    0.115458] pci 0000:02:00.0: reg 0x10: [mem 0xfd800000-0xfd803fff 64bit]
[    0.118284] pci 0000:00:01.1: PCI bridge to [bus 02]
[    0.119037] pci 0000:00:01.1:   bridge window [mem 0xfd800000-0xfd9fffff]
[    0.120039] pci 0000:00:01.1:   bridge window [mem 0xfe800000-0xfe9fffff 64bit pref]
[    0.122545] pci 0000:03:00.0: [1af4:1043] type 00 class 0x078000
[    0.124378] pci 0000:03:00.0: reg 0x14: [mem 0xfd600000-0xfd600fff]
[    0.127005] pci 0000:03:00.0: reg 0x20: [mem 0xfe600000-0xfe603fff 64bit pref]
[    0.129575] pci 0000:00:01.2: PCI bridge to [bus 03]
[    0.130044] pci 0000:00:01.2:   bridge window [mem 0xfd600000-0xfd7fffff]
[    0.131041] pci 0000:00:01.2:   bridge window [mem 0xfe600000-0xfe7fffff 64bit pref]
[    0.132801] pci 0000:04:00.0: [1af4:1042] type 00 class 0x010000
[    0.134381] pci 0000:04:00.0: reg 0x14: [mem 0xfd400000-0xfd400fff]
[    0.137005] pci 0000:04:00.0: reg 0x20: [mem 0xfe400000-0xfe403fff 64bit pref]
[    0.139625] pci 0000:00:01.3: PCI bridge to [bus 04]
[    0.140041] pci 0000:00:01.3:   bridge window [mem 0xfd400000-0xfd5fffff]
[    0.141045] pci 0000:00:01.3:   bridge window [mem 0xfe400000-0xfe5fffff 64bit pref]
[    0.142744] pci 0000:05:00.0: [1af4:1045] type 00 class 0x00ff00
[    0.145005] pci 0000:05:00.0: reg 0x20: [mem 0xfe200000-0xfe203fff 64bit pref]
[    0.147257] pci 0000:00:01.4: PCI bridge to [bus 05]
[    0.148041] pci 0000:00:01.4:   bridge window [mem 0xfd200000-0xfd3fffff]
[    0.149041] pci 0000:00:01.4:   bridge window [mem 0xfe200000-0xfe3fffff 64bit pref]
[    0.150749] pci 0000:06:00.0: [1af4:1044] type 00 class 0x00ff00
[    0.153006] pci 0000:06:00.0: reg 0x20: [mem 0xfe000000-0xfe003fff 64bit pref]
[    0.155230] pci 0000:00:01.5: PCI bridge to [bus 06]
[    0.156042] pci 0000:00:01.5:   bridge window [mem 0xfd000000-0xfd1fffff]
[    0.157040] pci 0000:00:01.5:   bridge window [mem 0xfe000000-0xfe1fffff 64bit pref]
[    0.158624] pci 0000:00:01.6: PCI bridge to [bus 07]
[    0.159037] pci 0000:00:01.6:   bridge window [mem 0xfce00000-0xfcffffff]
[    0.160041] pci 0000:00:01.6:   bridge window [mem 0xfde00000-0xfdffffff 64bit pref]
[    0.164964] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    0.165080] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    0.166076] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    0.167076] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    0.168075] ACPI: PCI Interrupt Link [LNKE] (IRQs 5 *10 11)
[    0.169072] ACPI: PCI Interrupt Link [LNKF] (IRQs 5 *10 11)
[    0.170071] ACPI: PCI Interrupt Link [LNKG] (IRQs 5 10 *11)
[    0.171071] ACPI: PCI Interrupt Link [LNKH] (IRQs 5 10 *11)
[    0.172042] ACPI: PCI Interrupt Link [GSIA] (IRQs *16)
[    0.172925] ACPI: PCI Interrupt Link [GSIB] (IRQs *17)
[    0.173014] ACPI: PCI Interrupt Link [GSIC] (IRQs *18)
[    0.173886] ACPI: PCI Interrupt Link [GSID] (IRQs *19)
[    0.174014] ACPI: PCI Interrupt Link [GSIE] (IRQs *20)
[    0.174893] ACPI: PCI Interrupt Link [GSIF] (IRQs *21)
[    0.175014] ACPI: PCI Interrupt Link [GSIG] (IRQs *22)
[    0.175889] ACPI: PCI Interrupt Link [GSIH] (IRQs *23)
[    0.176214] iommu: Default domain type: Passthrough
[    0.177036] vgaarb: loaded
[    0.177572] SCSI subsystem initialized
[    0.178028] ACPI: bus type USB registered
[    0.178730] usbcore: registered new interface driver usbfs
[    0.179015] usbcore: registered new interface driver hub
[    0.179922] usbcore: registered new device driver usb
[    0.180029] pps_core: LinuxPPS API ver. 1 registered
[    0.180888] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.181007] PTP clock support registered
[    0.181730] EDAC MC: Ver: 3.0.0
[    0.182325] PCI: Using ACPI for IRQ routing
[    0.234050] NetLabel: Initializing
[    0.234893] NetLabel:  domain hash size = 128
[    0.235004] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.235967] NetLabel:  unlabeled traffic allowed by default
[    0.236819] clocksource: Switched to clocksource kvm-clock
[    0.248163] VFS: Disk quotas dquot_6.6.0
[    0.249123] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.250380] pnp: PnP ACPI init
[    0.251263] pnp: PnP ACPI: found 4 devices
[    0.258120] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.259719] pci 0000:00:01.0: bridge window [io  0x1000-0x0fff] to [bus 01] add_size 1000
[    0.261134] pci 0000:00:01.1: bridge window [io  0x1000-0x0fff] to [bus 02] add_size 1000
[    0.262496] pci 0000:00:01.2: bridge window [io  0x1000-0x0fff] to [bus 03] add_size 1000
[    0.264010] pci 0000:00:01.3: bridge window [io  0x1000-0x0fff] to [bus 04] add_size 1000
[    0.265516] pci 0000:00:01.4: bridge window [io  0x1000-0x0fff] to [bus 05] add_size 1000
[    0.267112] pci 0000:00:01.5: bridge window [io  0x1000-0x0fff] to [bus 06] add_size 1000
[    0.268464] pci 0000:00:01.6: bridge window [io  0x1000-0x0fff] to [bus 07] add_size 1000
[    0.269829] pci 0000:00:01.0: BAR 13: assigned [io  0x1000-0x1fff]
[    0.270965] pci 0000:00:01.1: BAR 13: assigned [io  0x2000-0x2fff]
[    0.272195] pci 0000:00:01.2: BAR 13: assigned [io  0x3000-0x3fff]
[    0.273242] pci 0000:00:01.3: BAR 13: assigned [io  0x4000-0x4fff]
[    0.274445] pci 0000:00:01.4: BAR 13: assigned [io  0x5000-0x5fff]
[    0.275616] pci 0000:00:01.5: BAR 13: assigned [io  0x6000-0x6fff]
[    0.276658] pci 0000:00:01.6: BAR 13: assigned [io  0x7000-0x7fff]
[    0.277699] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.278557] pci 0000:00:01.0:   bridge window [io  0x1000-0x1fff]
[    0.280751] pci 0000:00:01.0:   bridge window [mem 0xfda00000-0xfdbfffff]
[    0.282625] pci 0000:00:01.0:   bridge window [mem 0xfea00000-0xfebfffff 64bit pref]
[    0.285324] pci 0000:00:01.1: PCI bridge to [bus 02]
[    0.286183] pci 0000:00:01.1:   bridge window [io  0x2000-0x2fff]
[    0.288279] pci 0000:00:01.1:   bridge window [mem 0xfd800000-0xfd9fffff]
[    0.290125] pci 0000:00:01.1:   bridge window [mem 0xfe800000-0xfe9fffff 64bit pref]
[    0.292801] pci 0000:00:01.2: PCI bridge to [bus 03]
[    0.293666] pci 0000:00:01.2:   bridge window [io  0x3000-0x3fff]
[    0.295388] pci 0000:00:01.2:   bridge window [mem 0xfd600000-0xfd7fffff]
[    0.297156] pci 0000:00:01.2:   bridge window [mem 0xfe600000-0xfe7fffff 64bit pref]
[    0.299830] pci 0000:00:01.3: PCI bridge to [bus 04]
[    0.301422] pci 0000:00:01.3:   bridge window [io  0x4000-0x4fff]
[    0.303172] pci 0000:00:01.3:   bridge window [mem 0xfd400000-0xfd5fffff]
[    0.304748] pci 0000:00:01.3:   bridge window [mem 0xfe400000-0xfe5fffff 64bit pref]
[    0.306929] pci 0000:00:01.4: PCI bridge to [bus 05]
[    0.307791] pci 0000:00:01.4:   bridge window [io  0x5000-0x5fff]
[    0.309486] pci 0000:00:01.4:   bridge window [mem 0xfd200000-0xfd3fffff]
[    0.311182] pci 0000:00:01.4:   bridge window [mem 0xfe200000-0xfe3fffff 64bit pref]
[    0.314271] pci 0000:00:01.5: PCI bridge to [bus 06]
[    0.315147] pci 0000:00:01.5:   bridge window [io  0x6000-0x6fff]
[    0.316824] pci 0000:00:01.5:   bridge window [mem 0xfd000000-0xfd1fffff]
[    0.318406] pci 0000:00:01.5:   bridge window [mem 0xfe000000-0xfe1fffff 64bit pref]
[    0.320655] pci 0000:00:01.6: PCI bridge to [bus 07]
[    0.321517] pci 0000:00:01.6:   bridge window [io  0x7000-0x7fff]
[    0.324011] pci 0000:00:01.6:   bridge window [mem 0xfce00000-0xfcffffff]
[    0.325590] pci 0000:00:01.6:   bridge window [mem 0xfde00000-0xfdffffff 64bit pref]
[    0.327788] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.328832] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.329877] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.331033] pci_bus 0000:00: resource 7 [mem 0x80000000-0xafffffff window]
[    0.332176] pci_bus 0000:00: resource 8 [mem 0xc0000000-0xfebfffff window]
[    0.333932] pci_bus 0000:00: resource 9 [mem 0x100000000-0x8ffffffff window]
[    0.334965] pci_bus 0000:01: resource 0 [io  0x1000-0x1fff]
[    0.335654] pci_bus 0000:01: resource 1 [mem 0xfda00000-0xfdbfffff]
[    0.336419] pci_bus 0000:01: resource 2 [mem 0xfea00000-0xfebfffff 64bit pref]
[    0.337288] pci_bus 0000:02: resource 0 [io  0x2000-0x2fff]
[    0.337967] pci_bus 0000:02: resource 1 [mem 0xfd800000-0xfd9fffff]
[    0.338739] pci_bus 0000:02: resource 2 [mem 0xfe800000-0xfe9fffff 64bit pref]
[    0.339610] pci_bus 0000:03: resource 0 [io  0x3000-0x3fff]
[    0.340296] pci_bus 0000:03: resource 1 [mem 0xfd600000-0xfd7fffff]
[    0.341057] pci_bus 0000:03: resource 2 [mem 0xfe600000-0xfe7fffff 64bit pref]
[    0.341915] pci_bus 0000:04: resource 0 [io  0x4000-0x4fff]
[    0.342605] pci_bus 0000:04: resource 1 [mem 0xfd400000-0xfd5fffff]
[    0.343372] pci_bus 0000:04: resource 2 [mem 0xfe400000-0xfe5fffff 64bit pref]
[    0.344242] pci_bus 0000:05: resource 0 [io  0x5000-0x5fff]
[    0.344918] pci_bus 0000:05: resource 1 [mem 0xfd200000-0xfd3fffff]
[    0.345682] pci_bus 0000:05: resource 2 [mem 0xfe200000-0xfe3fffff 64bit pref]
[    0.346554] pci_bus 0000:06: resource 0 [io  0x6000-0x6fff]
[    0.347247] pci_bus 0000:06: resource 1 [mem 0xfd000000-0xfd1fffff]
[    0.348013] pci_bus 0000:06: resource 2 [mem 0xfe000000-0xfe1fffff 64bit pref]
[    0.348877] pci_bus 0000:07: resource 0 [io  0x7000-0x7fff]
[    0.349566] pci_bus 0000:07: resource 1 [mem 0xfce00000-0xfcffffff]
[    0.350336] pci_bus 0000:07: resource 2 [mem 0xfde00000-0xfdffffff 64bit pref]
[    0.351265] NET: Registered protocol family 2
[    0.352333] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, vmalloc)
[    0.353400] TCP established hash table entries: 16384 (order: 5, 131072 bytes, vmalloc)
[    0.354381] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, vmalloc)
[    0.355302] TCP: Hash tables configured (established 16384 bind 16384)
[    0.356152] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, vmalloc)
[    0.357074] UDP hash table entries: 1024 (order: 3, 32768 bytes, vmalloc)
[    0.357898] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, vmalloc)
[    0.358827] NET: Registered protocol family 1
[    0.359388] NET: Registered protocol family 44
[    0.360242] PCI Interrupt Link [GSIF] enabled at IRQ 21
[    0.362080] PCI: CLS 0 bytes, default 64
[    0.362632] Unpacking initramfs...
[    0.710443] Freeing initrd memory: 50320K
[    0.711294] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2135f5e6f15, max_idle_ns: 440795231538 ns
[    0.730032] Initialise system trusted keyrings
[    0.730767] Key type blacklist registered
[    0.731333] workingset: timestamp_bits=36 max_order=19 bucket_order=0
[    0.733667] zbud: loaded
[    0.734332] pstore: using deflate compression
[    0.735185] Platform Keyring initialized
[    0.813560] NET: Registered protocol family 38
[    0.814287] Key type asymmetric registered
[    0.814851] Asymmetric key parser 'x509' registered
[    0.815475] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.816409] io scheduler mq-deadline registered
[    0.816981] io scheduler kyber registered
[    0.817535] io scheduler bfq registered
[    0.818159] atomic64_test: passed for x86-64 platform with CX8 and with SSE
[    0.820800] pcieport 0000:00:01.0: Signaling with IRQ 24
[    0.821624] pcieport 0000:00:01.0: enabled with IRQ 24
[    0.822318] pcieport 0000:00:01.0: Slot #0 AttnBtn+ PwrCtrl+ MRL- AttnInd+ PwrInd+ HotPlug+ Surprise+ Interlock+ NoCompl- IbPresDis- LLActRep+
[    0.824862] pcieport 0000:00:01.1: Signaling with IRQ 25
[    0.825694] pcieport 0000:00:01.1: enabled with IRQ 25
[    0.826388] pcieport 0000:00:01.1: Slot #0 AttnBtn+ PwrCtrl+ MRL- AttnInd+ PwrInd+ HotPlug+ Surprise+ Interlock+ NoCompl- IbPresDis- LLActRep+
[    0.829842] pcieport 0000:00:01.2: Signaling with IRQ 26
[    0.830683] pcieport 0000:00:01.2: enabled with IRQ 26
[    0.831374] pcieport 0000:00:01.2: Slot #0 AttnBtn+ PwrCtrl+ MRL- AttnInd+ PwrInd+ HotPlug+ Surprise+ Interlock+ NoCompl- IbPresDis- LLActRep+
[    0.834792] pcieport 0000:00:01.3: Signaling with IRQ 27
[    0.835685] pcieport 0000:00:01.3: enabled with IRQ 27
[    0.836385] pcieport 0000:00:01.3: Slot #0 AttnBtn+ PwrCtrl+ MRL- AttnInd+ PwrInd+ HotPlug+ Surprise+ Interlock+ NoCompl- IbPresDis- LLActRep+
[    0.839815] pcieport 0000:00:01.4: Signaling with IRQ 28
[    0.841590] pcieport 0000:00:01.4: enabled with IRQ 28
[    0.842533] pcieport 0000:00:01.4: Slot #0 AttnBtn+ PwrCtrl+ MRL- AttnInd+ PwrInd+ HotPlug+ Surprise+ Interlock+ NoCompl- IbPresDis- LLActRep+
[    0.846249] pcieport 0000:00:01.5: Signaling with IRQ 29
[    0.847363] pcieport 0000:00:01.5: enabled with IRQ 29
[    0.848316] pcieport 0000:00:01.5: Slot #0 AttnBtn+ PwrCtrl+ MRL- AttnInd+ PwrInd+ HotPlug+ Surprise+ Interlock+ NoCompl- IbPresDis- LLActRep+
[    0.852008] pcieport 0000:00:01.6: Signaling with IRQ 30
[    0.853076] pcieport 0000:00:01.6: enabled with IRQ 30
[    0.854021] pcieport 0000:00:01.6: Slot #0 AttnBtn+ PwrCtrl+ MRL- AttnInd+ PwrInd+ HotPlug+ Surprise+ Interlock+ NoCompl- IbPresDis- LLActRep+
[    0.855841] pcieport 0000:00:01.6: Slot(0-6): Link Up
[    0.856253] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    0.857786] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    0.859091] ACPI: Power Button [PWRF]
[    0.865416] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.889138] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    0.890435] Non-volatile memory driver v1.3
[    0.891469] rdac: device handler registered
[    0.892062] hp_sw: device handler registered
[    0.892642] emc: device handler registered
[    0.893196] alua: device handler registered
[    0.893793] libphy: Fixed MDIO Bus: probed
[    0.894376] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.895199] ehci-pci: EHCI PCI platform driver
[    0.895763] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.896527] ohci-pci: OHCI PCI platform driver
[    0.897095] uhci_hcd: USB Universal Host Controller Interface driver
[    0.898320] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    0.899036] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 1
[    0.900181] xhci_hcd 0000:02:00.0: hcc params 0x00087001 hci version 0x100 quirks 0x0000000000000010
[    0.901810] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.18
[    0.902975] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.904022] usb usb1: Product: xHCI Host Controller
[    0.904727] usb usb1: Manufacturer: Linux 4.18.0-348.2.1.el8_5.x86_64 xhci-hcd
[    0.905747] usb usb1: SerialNumber: 0000:02:00.0
[    0.906491] hub 1-0:1.0: USB hub found
[    0.907136] hub 1-0:1.0: 15 ports detected
[    0.908253] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    0.909036] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
[    0.910097] xhci_hcd 0000:02:00.0: Host supports USB 3.0 SuperSpeed
[    0.911038] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.912535] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.18
[    0.913716] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.914724] usb usb2: Product: xHCI Host Controller
[    0.915454] usb usb2: Manufacturer: Linux 4.18.0-348.2.1.el8_5.x86_64 xhci-hcd
[    0.916493] usb usb2: SerialNumber: 0000:02:00.0
[    0.917270] hub 2-0:1.0: USB hub found
[    0.917912] hub 2-0:1.0: 15 ports detected
[    0.919055] usbcore: registered new interface driver usbserial_generic
[    0.919956] usbserial: USB Serial support registered for generic
[    0.920841] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    0.922655] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.923651] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.924462] mousedev: PS/2 mouse device common for all mice
[    0.925445] rtc_cmos 00:00: RTC can wake from S4
[    0.926442] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[    0.928285] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input4
[    0.929728] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input3
[    0.930962] rtc_cmos 00:00: registered as rtc0
[    0.931617] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram
[    0.932603] intel_pstate: CPU model not supported
[    0.933630] hid: raw HID events driver (C) Jiri Kosina
[    0.934397] usbcore: registered new interface driver usbhid
[    0.935199] usbhid: USB HID core driver
[    0.935784] drop_monitor: Initializing network drop monitor service
[    0.936704] Initializing XFRM netlink socket
[    0.937467] NET: Registered protocol family 10
[    0.938279] Segment Routing with IPv6
[    0.938822] NET: Registered protocol family 17
[    0.939519] mpls_gso: MPLS GSO support
[    0.940237] AVX2 version of gcm_enc/dec engaged.
[    0.940855] AES CTR mode by8 optimization enabled
[    0.972143] sched_clock: Marking stable (972130251, 0)->(1291846887, -319716636)
[    0.973801] registered taskstats version 1
[    0.974432] Loading compiled-in X.509 certificates
[    1.000774] Loaded X.509 cert 'AlmaLinux kernel signing key: 082cc95c2775300d41cc865f79605e3a64eff31f'
[    1.002631] Loaded X.509 cert 'AlmaLinux Driver update signing key: 7b863e0240ed208ab6b81b8a6f2860c0f4e8c7d6'
[    1.004029] Loaded X.509 cert 'AlmaLinux kpatch signing key: 69a6d9eed3f620d5c2e13a1d211c46510a5ad9f5'
[    1.005354] zswap: loaded using pool lzo/zbud
[    1.006051] page_owner is disabled
[    1.012221] Key type big_key registered
[    1.015754] Key type encrypted registered
[    1.016346] ima: No TPM chip found, activating TPM-bypass!
[    1.017198] ima: Allocated hash algorithm: sha256
[    1.018124] ima: No architecture policies found
[    1.018857] evm: Initialising EVM extended attributes:
[    1.019596] evm: security.selinux
[    1.020082] evm: security.ima
[    1.020527] evm: security.capability
[    1.021046] evm: HMAC attrs: 0x1
[    1.021790] rtc_cmos 00:00: setting system clock to 2022-05-12 06:10:44 UTC (1652335844)
[    1.023657] Freeing unused decrypted memory: 2036K
[    1.025074] Freeing unused kernel memory: 2492K
[    1.028008] Write protecting the kernel read-only data: 22528k
[    1.029802] Freeing unused kernel memory: 2012K
[    1.030520] Freeing unused kernel memory: 320K
[    1.039441] systemd[1]: systemd 239 (239-51.el8) running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=legacy)
[    1.042565] systemd[1]: Detected virtualization kvm.
[    1.043322] systemd[1]: Detected architecture x86-64.
[    1.044067] systemd[1]: Running in initial RAM disk.
[    1.052040] systemd[1]: No hostname configured.
[    1.052965] systemd[1]: Set hostname to <localhost>.
[    1.053853] systemd[1]: Initializing machine ID from KVM UUID.
[    1.096641] systemd[1]: Reached target Local File Systems.
[    1.098165] systemd[1]: Reached target Timers.
[    1.099386] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    1.217420] device-mapper: uevent: version 1.0.3
[    1.218347] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[    1.256067] RPC: Registered named UNIX socket transport module.
[    1.257038] RPC: Registered udp transport module.
[    1.257743] RPC: Registered tcp transport module.
[    1.258461] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.448017] virtio_blk virtio2: [vda] 41943040 512-byte logical blocks (21.5 GB/20.0 GiB)
[    1.449262] vda: detected capacity change from 0 to 21474836480
[    1.471383] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    1.472564] GPT:20971519 != 41943039
[    1.473185] GPT:Alternate GPT header not at the end of the disk.
[    1.474054] GPT:20971519 != 41943039
[    1.474674] GPT: Use GNU Parted to correct GPT errors.
[    1.475514]  vda: vda1 vda2
[    1.530747] PCI Interrupt Link [GSIA] enabled at IRQ 16
[    1.532568] ahci 0000:00:1f.2: AHCI 0001.0000 32 slots 6 ports 1.5 Gbps 0x3f impl SATA mode
[    1.533777] ahci 0000:00:1f.2: flags: 64bit ncq only
[    1.542305] scsi host0: ahci
[    1.543440] scsi host1: ahci
[    1.544309] scsi host2: ahci
[    1.549115] scsi host3: ahci
[    1.553233] scsi host4: ahci
[    1.554258] scsi host5: ahci
[    1.554785] ata1: SATA max UDMA/133 abar m4096@0xfdc07000 port 0xfdc07100 irq 41
[    1.555869] ata2: SATA max UDMA/133 abar m4096@0xfdc07000 port 0xfdc07180 irq 41
[    1.556957] ata3: SATA max UDMA/133 abar m4096@0xfdc07000 port 0xfdc07200 irq 41
[    1.558019] ata4: SATA max UDMA/133 abar m4096@0xfdc07000 port 0xfdc07280 irq 41
[    1.559137] ata5: SATA max UDMA/133 abar m4096@0xfdc07000 port 0xfdc07300 irq 41
[    1.560227] ata6: SATA max UDMA/133 abar m4096@0xfdc07000 port 0xfdc07380 irq 41
[    1.873351] ata4: SATA link down (SStatus 0 SControl 300)
[    1.876074] ata3: SATA link down (SStatus 0 SControl 300)
[    1.878588] ata2: SATA link down (SStatus 0 SControl 300)
[    1.881183] ata6: SATA link down (SStatus 0 SControl 300)
[    1.883625] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    1.886299] ata1.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[    1.888178] ata1.00: applying bridge limits
[    1.890067] ata5: SATA link down (SStatus 0 SControl 300)
[    1.892430] ata1.00: configured for UDMA/100
[    1.894420] scsi 0:0:0:0: CD-ROM            QEMU     QEMU DVD-ROM     2.5+ PQ: 0 ANSI: 5
[    1.915162] scsi 0:0:0:0: Attached scsi generic sg0 type 5
[    1.925447] sr 0:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[    1.927145] cdrom: Uniform CD-ROM driver Revision: 3.20
[    2.092055] pcieport 0000:00:01.6: Slot(0-6): No device found
[    2.128623] SGI XFS with ACLs, security attributes, quota, no debug enabled
[    2.131850] XFS (vda2): Mounting V5 Filesystem
[    2.206750] XFS (vda2): Ending clean mount
[    2.454213] printk: systemd: 25 output lines suppressed due to ratelimiting
[    2.549942] audit: type=1404 audit(1652335846.027:2): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295 enabled=1 old-enabled=1 lsm=selinux res=1
[    2.637314] SELinux:  policy capability network_peer_controls=1
[    2.638127] SELinux:  policy capability open_perms=1
[    2.638756] SELinux:  policy capability extended_socket_class=1
[    2.639494] SELinux:  policy capability always_check_network=0
[    2.640218] SELinux:  policy capability cgroup_seclabel=1
[    2.640887] SELinux:  policy capability nnp_nosuid_transition=1
[    2.657575] audit: type=1403 audit(1652335846.135:3): auid=4294967295 ses=4294967295 lsm=selinux res=1
[    2.659461] systemd[1]: Successfully loaded SELinux policy in 110.474ms.
[    2.699505] systemd[1]: Relabelled /dev, /run and /sys/fs/cgroup in 15.674ms.
[    2.703366] systemd[1]: systemd 239 (239-51.el8) running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=legacy)
[    2.706339] systemd[1]: Detected virtualization kvm.
[    2.706978] systemd[1]: Detected architecture x86-64.
[    2.710202] systemd[1]: Set hostname to <localhost.localdomain>.
[    2.712070] systemd[1]: Initializing machine ID from KVM UUID.
[    2.712870] systemd[1]: Installed transient /etc/machine-id file.
[    2.939391] systemd[1]: systemd-journald.service: Succeeded.
[    2.941064] systemd[1]: initrd-switch-root.service: Succeeded.
[    2.942026] systemd[1]: Stopped Switch Root.
[    2.943245] systemd[1]: systemd-journald.service: Service has no hold-off time (RestartSec=0), scheduling restart.
[    3.588593] lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized
[    3.629975] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt
[    3.644394] input: PC Speaker as /devices/platform/pcspkr/input/input5
[    3.770917] iTCO_vendor_support: vendor-support=0
[    3.788871] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[    3.799145] iTCO_wdt: Found a ICH9 TCO device (Version=2, TCOBASE=0x0660)
[    3.802650] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    3.962395] intel_pmc_core intel_pmc_core.0:  initialized
[    4.920726] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

AlmaLinux 8.5 (Arctic Sphynx)
Kernel 4.18.0-348.2.1.el8_5.x86_64 on an x86_64

Activate the web console with: systemctl enable --now cockpit.socket

localhost login: cloud-user
Password:
Login incorrect

localhost login:
Domain creation completed.
RobertFloor commented 2 years ago

I was able to ssh into the VM and get the logs from cloud-init. However not as the user provided in user-data

ig.cc_bootcmd' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_bootcmd.py'>) with frequency always
2022-05-12 06:59:18,627 - handlers.py[DEBUG]: start: init-network/config-bootcmd: running config-bootcmd with frequency always
2022-05-12 06:59:18,627 - helpers.py[DEBUG]: Running config-bootcmd using lock (<cloudinit.helpers.DummyLock object at 0x7f4c7a263c50>)
2022-05-12 06:59:18,627 - cc_bootcmd.py[DEBUG]: Skipping module named bootcmd, no 'bootcmd' key in configuration
2022-05-12 06:59:18,627 - handlers.py[DEBUG]: finish: init-network/config-bootcmd: SUCCESS: config-bootcmd ran successfully
2022-05-12 06:59:18,627 - stages.py[DEBUG]: Running module write-files (<module 'cloudinit.config.cc_write_files' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_write_files.py'>) with frequency once-per-instance
2022-05-12 06:59:18,627 - handlers.py[DEBUG]: start: init-network/config-write-files: running config-write-files with frequency once-per-instance
2022-05-12 06:59:18,627 - helpers.py[DEBUG]: config-write-files already ran (freq=once-per-instance)
2022-05-12 06:59:18,627 - handlers.py[DEBUG]: finish: init-network/config-write-files: SUCCESS: config-write-files previously ran
2022-05-12 06:59:18,627 - stages.py[DEBUG]: Running module growpart (<module 'cloudinit.config.cc_growpart' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_growpart.py'>) with frequency always
2022-05-12 06:59:18,627 - handlers.py[DEBUG]: start: init-network/config-growpart: running config-growpart with frequency always
2022-05-12 06:59:18,627 - helpers.py[DEBUG]: Running config-growpart using lock (<cloudinit.helpers.DummyLock object at 0x7f4c7a2db6a0>)
2022-05-12 06:59:18,627 - cc_growpart.py[DEBUG]: No 'growpart' entry in cfg.  Using default: {'mode': 'auto', 'devices': ['/'], 'ignore_growroot_disabled': False}
2022-05-12 06:59:18,627 - subp.py[DEBUG]: Running command ['growpart', '--help'] with allowed return codes [0] (shell=False, capture=True)
2022-05-12 06:59:18,634 - util.py[DEBUG]: Reading from /proc/1013/mountinfo (quiet=False)
2022-05-12 06:59:18,635 - util.py[DEBUG]: Read 3190 bytes from /proc/1013/mountinfo
2022-05-12 06:59:18,635 - util.py[DEBUG]: Reading from /sys/class/block/vda2/partition (quiet=False)
2022-05-12 06:59:18,635 - util.py[DEBUG]: Read 2 bytes from /sys/class/block/vda2/partition
2022-05-12 06:59:18,635 - util.py[DEBUG]: Reading from /sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/dev (quiet=False)
2022-05-12 06:59:18,635 - util.py[DEBUG]: Read 6 bytes from /sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/dev
2022-05-12 06:59:18,635 - subp.py[DEBUG]: Running command ['growpart', '--dry-run', '/dev/vda', '2'] with allowed return codes [0] (shell=False, capture=True)
2022-05-12 06:59:18,677 - util.py[DEBUG]: resize_devices took 0.043 seconds
2022-05-12 06:59:18,677 - cc_growpart.py[DEBUG]: '/' NOCHANGE: no change necessary (/dev/vda, 2)
2022-05-12 06:59:18,678 - handlers.py[DEBUG]: finish: init-network/config-growpart: SUCCESS: config-growpart ran successfully
2022-05-12 06:59:18,678 - stages.py[DEBUG]: Running module resizefs (<module 'cloudinit.config.cc_resizefs' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_resizefs.py'>) with frequency always
2022-05-12 06:59:18,678 - handlers.py[DEBUG]: start: init-network/config-resizefs: running config-resizefs with frequency always
2022-05-12 06:59:18,678 - helpers.py[DEBUG]: Running config-resizefs using lock (<cloudinit.helpers.DummyLock object at 0x7f4c7a2db9e8>)
2022-05-12 06:59:18,688 - util.py[DEBUG]: Reading from /proc/1013/mountinfo (quiet=False)
2022-05-12 06:59:18,688 - util.py[DEBUG]: Read 3190 bytes from /proc/1013/mountinfo
2022-05-12 06:59:18,688 - cc_resizefs.py[DEBUG]: resize_info: dev=/dev/vda2 mnt_point=/ path=/
2022-05-12 06:59:18,688 - cc_resizefs.py[DEBUG]: Resizing / (xfs) using xfs_growfs /
2022-05-12 06:59:18,688 - subp.py[DEBUG]: Running command ('xfs_growfs', '/') with allowed return codes [0] (shell=False, capture=True)
2022-05-12 06:59:18,695 - util.py[DEBUG]: Resizing took 0.006 seconds
2022-05-12 06:59:18,695 - cc_resizefs.py[DEBUG]: Resized root filesystem (type=xfs, val=True)
2022-05-12 06:59:18,695 - handlers.py[DEBUG]: finish: init-network/config-resizefs: SUCCESS: config-resizefs ran successfully
2022-05-12 06:59:18,695 - stages.py[DEBUG]: Running module set_hostname (<module 'cloudinit.config.cc_set_hostname' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_set_hostname.py'>) with frequency once-per-instance
2022-05-12 06:59:18,695 - handlers.py[DEBUG]: start: init-network/config-set_hostname: running config-set_hostname with frequency once-per-instance
2022-05-12 06:59:18,696 - helpers.py[DEBUG]: config-set_hostname already ran (freq=once-per-instance)
2022-05-12 06:59:18,696 - handlers.py[DEBUG]: finish: init-network/config-set_hostname: SUCCESS: config-set_hostname previously ran
2022-05-12 06:59:18,696 - stages.py[DEBUG]: Running module update_hostname (<module 'cloudinit.config.cc_update_hostname' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_update_hostname.py'>) with frequency always
2022-05-12 06:59:18,696 - handlers.py[DEBUG]: start: init-network/config-update_hostname: running config-update_hostname with frequency always
2022-05-12 06:59:18,696 - helpers.py[DEBUG]: Running config-update_hostname using lock (<cloudinit.helpers.DummyLock object at 0x7f4c76d22550>)
2022-05-12 06:59:18,696 - util.py[DEBUG]: Reading from /etc/hosts (quiet=False)
2022-05-12 06:59:18,696 - util.py[DEBUG]: Read 158 bytes from /etc/hosts
2022-05-12 06:59:18,696 - util.py[DEBUG]: Reading from /etc/hosts (quiet=False)
2022-05-12 06:59:18,696 - util.py[DEBUG]: Read 158 bytes from /etc/hosts
2022-05-12 06:59:18,696 - cc_update_hostname.py[DEBUG]: Updating hostname to localhost (localhost)
2022-05-12 06:59:18,696 - util.py[DEBUG]: Reading from /var/lib/cloud/data/previous-hostname (quiet=False)
2022-05-12 06:59:18,697 - util.py[DEBUG]: Read 9 bytes from /var/lib/cloud/data/previous-hostname
2022-05-12 06:59:18,697 - subp.py[DEBUG]: Running command ['hostname'] with allowed return codes [0] (shell=False, capture=True)
2022-05-12 06:59:18,700 - __init__.py[INFO]: /var/lib/cloud/data/previous-hostname differs from /etc/hostname, assuming user maintained hostname.
2022-05-12 06:59:18,701 - handlers.py[DEBUG]: finish: init-network/config-update_hostname: SUCCESS: config-update_hostname ran successfully
2022-05-12 06:59:18,701 - stages.py[DEBUG]: Running module update_etc_hosts (<module 'cloudinit.config.cc_update_etc_hosts' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_update_etc_hosts.py'>) with frequency always
2022-05-12 06:59:18,701 - handlers.py[DEBUG]: start: init-network/config-update_etc_hosts: running config-update_etc_hosts with frequency always
2022-05-12 06:59:18,701 - helpers.py[DEBUG]: Running config-update_etc_hosts using lock (<cloudinit.helpers.DummyLock object at 0x7f4c76d225c0>)
2022-05-12 06:59:18,701 - cc_update_etc_hosts.py[DEBUG]: Configuration option 'manage_etc_hosts' is not set, not managing /etc/hosts in module update_etc_hosts
2022-05-12 06:59:18,701 - handlers.py[DEBUG]: finish: init-network/config-update_etc_hosts: SUCCESS: config-update_etc_hosts ran successfully
2022-05-12 06:59:18,701 - stages.py[DEBUG]: Running module rsyslog (<module 'cloudinit.config.cc_rsyslog' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_rsyslog.py'>) with frequency once-per-instance
2022-05-12 06:59:18,701 - handlers.py[DEBUG]: start: init-network/config-rsyslog: running config-rsyslog with frequency once-per-instance
2022-05-12 06:59:18,701 - helpers.py[DEBUG]: config-rsyslog already ran (freq=once-per-instance)
2022-05-12 06:59:18,701 - handlers.py[DEBUG]: finish: init-network/config-rsyslog: SUCCESS: config-rsyslog previously ran
2022-05-12 06:59:18,701 - stages.py[DEBUG]: Running module users-groups (<module 'cloudinit.config.cc_users_groups' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_users_groups.py'>) with frequency once-per-instance
2022-05-12 06:59:18,702 - handlers.py[DEBUG]: start: init-network/config-users-groups: running config-users-groups with frequency once-per-instance
2022-05-12 06:59:18,702 - helpers.py[DEBUG]: config-users-groups already ran (freq=once-per-instance)
2022-05-12 06:59:18,702 - handlers.py[DEBUG]: finish: init-network/config-users-groups: SUCCESS: config-users-groups previously ran
2022-05-12 06:59:18,702 - stages.py[DEBUG]: Running module ssh (<module 'cloudinit.config.cc_ssh' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_ssh.py'>) with frequency once-per-instance
2022-05-12 06:59:18,702 - handlers.py[DEBUG]: start: init-network/config-ssh: running config-ssh with frequency once-per-instance
2022-05-12 06:59:18,702 - helpers.py[DEBUG]: config-ssh already ran (freq=once-per-instance)
2022-05-12 06:59:18,702 - handlers.py[DEBUG]: finish: init-network/config-ssh: SUCCESS: config-ssh previously ran
2022-05-12 06:59:18,702 - main.py[DEBUG]: Ran 12 modules with 0 failures
2022-05-12 06:59:18,703 - atomic_helper.py[DEBUG]: Atomically writing to file /var/lib/cloud/data/status.json (via temporary file /var/lib/cloud/data/tmpi_t3ia9w) - w: [644] 546 bytes/chars
2022-05-12 06:59:18,703 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2022-05-12 06:59:18,703 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2022-05-12 06:59:18,703 - util.py[DEBUG]: cloud-init mode 'init' took 0.229 seconds (0.23)
2022-05-12 06:59:18,703 - handlers.py[DEBUG]: finish: init-network: SUCCESS: searching for network datasources
2022-05-12 06:59:19,059 - util.py[DEBUG]: Cloud-init v. 21.1-7.el8.alma running 'modules:config' at Thu, 12 May 2022 06:59:19 +0000. Up 8.80 seconds.
2022-05-12 06:59:19,074 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.rhel.Distro'>
2022-05-12 06:59:19,074 - stages.py[DEBUG]: Running module mounts (<module 'cloudinit.config.cc_mounts' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_mounts.py'>) with frequency once-per-instance
2022-05-12 06:59:19,075 - handlers.py[DEBUG]: start: modules-config/config-mounts: running config-mounts with frequency once-per-instance
2022-05-12 06:59:19,075 - helpers.py[DEBUG]: config-mounts already ran (freq=once-per-instance)
2022-05-12 06:59:19,075 - handlers.py[DEBUG]: finish: modules-config/config-mounts: SUCCESS: config-mounts previously ran
2022-05-12 06:59:19,075 - stages.py[DEBUG]: Running module locale (<module 'cloudinit.config.cc_locale' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_locale.py'>) with frequency once-per-instance
2022-05-12 06:59:19,075 - handlers.py[DEBUG]: start: modules-config/config-locale: running config-locale with frequency once-per-instance
2022-05-12 06:59:19,075 - helpers.py[DEBUG]: config-locale already ran (freq=once-per-instance)
2022-05-12 06:59:19,075 - handlers.py[DEBUG]: finish: modules-config/config-locale: SUCCESS: config-locale previously ran
2022-05-12 06:59:19,075 - stages.py[DEBUG]: Running module set-passwords (<module 'cloudinit.config.cc_set_passwords' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_set_passwords.py'>) with frequency once-per-instance
2022-05-12 06:59:19,075 - handlers.py[DEBUG]: start: modules-config/config-set-passwords: running config-set-passwords with frequency once-per-instance
2022-05-12 06:59:19,075 - helpers.py[DEBUG]: config-set-passwords already ran (freq=once-per-instance)
2022-05-12 06:59:19,075 - handlers.py[DEBUG]: finish: modules-config/config-set-passwords: SUCCESS: config-set-passwords previously ran
2022-05-12 06:59:19,075 - stages.py[DEBUG]: Running module rh_subscription (<module 'cloudinit.config.cc_rh_subscription' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_rh_subscription.py'>) with frequency once-per-instance
2022-05-12 06:59:19,076 - handlers.py[DEBUG]: start: modules-config/config-rh_subscription: running config-rh_subscription with frequency once-per-instance
2022-05-12 06:59:19,076 - helpers.py[DEBUG]: config-rh_subscription already ran (freq=once-per-instance)
2022-05-12 06:59:19,076 - handlers.py[DEBUG]: finish: modules-config/config-rh_subscription: SUCCESS: config-rh_subscription previously ran
2022-05-12 06:59:19,076 - stages.py[DEBUG]: Running module yum-add-repo (<module 'cloudinit.config.cc_yum_add_repo' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_yum_add_repo.py'>) with frequency once-per-instance
2022-05-12 06:59:19,076 - handlers.py[DEBUG]: start: modules-config/config-yum-add-repo: running config-yum-add-repo with frequency once-per-instance
2022-05-12 06:59:19,076 - helpers.py[DEBUG]: config-yum-add-repo already ran (freq=once-per-instance)
2022-05-12 06:59:19,076 - handlers.py[DEBUG]: finish: modules-config/config-yum-add-repo: SUCCESS: config-yum-add-repo previously ran
2022-05-12 06:59:19,076 - stages.py[DEBUG]: Running module package-update-upgrade-install (<module 'cloudinit.config.cc_package_update_upgrade_install' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_package_update_upgrade_install.py'>) with frequency once-per-instance
2022-05-12 06:59:19,076 - handlers.py[DEBUG]: start: modules-config/config-package-update-upgrade-install: running config-package-update-upgrade-install with frequency once-per-instance
2022-05-12 06:59:19,076 - helpers.py[DEBUG]: config-package-update-upgrade-install already ran (freq=once-per-instance)
2022-05-12 06:59:19,076 - handlers.py[DEBUG]: finish: modules-config/config-package-update-upgrade-install: SUCCESS: config-package-update-upgrade-install previously ran
2022-05-12 06:59:19,076 - stages.py[DEBUG]: Running module timezone (<module 'cloudinit.config.cc_timezone' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_timezone.py'>) with frequency once-per-instance
2022-05-12 06:59:19,076 - handlers.py[DEBUG]: start: modules-config/config-timezone: running config-timezone with frequency once-per-instance
2022-05-12 06:59:19,076 - helpers.py[DEBUG]: config-timezone already ran (freq=once-per-instance)
2022-05-12 06:59:19,076 - handlers.py[DEBUG]: finish: modules-config/config-timezone: SUCCESS: config-timezone previously ran
2022-05-12 06:59:19,076 - stages.py[DEBUG]: Running module puppet (<module 'cloudinit.config.cc_puppet' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_puppet.py'>) with frequency once-per-instance
2022-05-12 06:59:19,077 - handlers.py[DEBUG]: start: modules-config/config-puppet: running config-puppet with frequency once-per-instance
2022-05-12 06:59:19,077 - helpers.py[DEBUG]: config-puppet already ran (freq=once-per-instance)
2022-05-12 06:59:19,077 - handlers.py[DEBUG]: finish: modules-config/config-puppet: SUCCESS: config-puppet previously ran
2022-05-12 06:59:19,077 - stages.py[DEBUG]: Running module chef (<module 'cloudinit.config.cc_chef' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_chef.py'>) with frequency always
2022-05-12 06:59:19,077 - handlers.py[DEBUG]: start: modules-config/config-chef: running config-chef with frequency always
2022-05-12 06:59:19,077 - helpers.py[DEBUG]: Running config-chef using lock (<cloudinit.helpers.DummyLock object at 0x7f18d57a4f28>)
2022-05-12 06:59:19,077 - cc_chef.py[DEBUG]: Skipping module named chef, no 'chef' key in configuration
2022-05-12 06:59:19,077 - handlers.py[DEBUG]: finish: modules-config/config-chef: SUCCESS: config-chef ran successfully
2022-05-12 06:59:19,077 - stages.py[DEBUG]: Running module salt-minion (<module 'cloudinit.config.cc_salt_minion' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_salt_minion.py'>) with frequency once-per-instance
2022-05-12 06:59:19,077 - handlers.py[DEBUG]: start: modules-config/config-salt-minion: running config-salt-minion with frequency once-per-instance
2022-05-12 06:59:19,077 - helpers.py[DEBUG]: config-salt-minion already ran (freq=once-per-instance)
2022-05-12 06:59:19,077 - handlers.py[DEBUG]: finish: modules-config/config-salt-minion: SUCCESS: config-salt-minion previously ran
2022-05-12 06:59:19,077 - stages.py[DEBUG]: Running module mcollective (<module 'cloudinit.config.cc_mcollective' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_mcollective.py'>) with frequency once-per-instance
2022-05-12 06:59:19,077 - handlers.py[DEBUG]: start: modules-config/config-mcollective: running config-mcollective with frequency once-per-instance
2022-05-12 06:59:19,077 - helpers.py[DEBUG]: config-mcollective already ran (freq=once-per-instance)
2022-05-12 06:59:19,077 - handlers.py[DEBUG]: finish: modules-config/config-mcollective: SUCCESS: config-mcollective previously ran
2022-05-12 06:59:19,077 - stages.py[DEBUG]: Running module disable-ec2-metadata (<module 'cloudinit.config.cc_disable_ec2_metadata' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_disable_ec2_metadata.py'>) with frequency always
2022-05-12 06:59:19,078 - handlers.py[DEBUG]: start: modules-config/config-disable-ec2-metadata: running config-disable-ec2-metadata with frequency always
2022-05-12 06:59:19,078 - helpers.py[DEBUG]: Running config-disable-ec2-metadata using lock (<cloudinit.helpers.DummyLock object at 0x7f18d57ad5c0>)
2022-05-12 06:59:19,078 - cc_disable_ec2_metadata.py[DEBUG]: Skipping module named disable-ec2-metadata, disabling the ec2 route not enabled
2022-05-12 06:59:19,078 - handlers.py[DEBUG]: finish: modules-config/config-disable-ec2-metadata: SUCCESS: config-disable-ec2-metadata ran successfully
2022-05-12 06:59:19,078 - stages.py[DEBUG]: Running module runcmd (<module 'cloudinit.config.cc_runcmd' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_runcmd.py'>) with frequency once-per-instance
2022-05-12 06:59:19,078 - handlers.py[DEBUG]: start: modules-config/config-runcmd: running config-runcmd with frequency once-per-instance
2022-05-12 06:59:19,078 - helpers.py[DEBUG]: config-runcmd already ran (freq=once-per-instance)
2022-05-12 06:59:19,078 - handlers.py[DEBUG]: finish: modules-config/config-runcmd: SUCCESS: config-runcmd previously ran
2022-05-12 06:59:19,078 - main.py[DEBUG]: Ran 13 modules with 0 failures
2022-05-12 06:59:19,078 - atomic_helper.py[DEBUG]: Atomically writing to file /var/lib/cloud/data/status.json (via temporary file /var/lib/cloud/data/tmpnp1ilr4k) - w: [644] 574 bytes/chars
2022-05-12 06:59:19,078 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2022-05-12 06:59:19,079 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2022-05-12 06:59:19,079 - util.py[DEBUG]: cloud-init mode 'modules' took 0.074 seconds (0.07)
2022-05-12 06:59:19,079 - handlers.py[DEBUG]: finish: modules-config: SUCCESS: running modules for config
2022-05-12 06:59:19,387 - util.py[DEBUG]: Cloud-init v. 21.1-7.el8.alma running 'modules:final' at Thu, 12 May 2022 06:59:19 +0000. Up 9.13 seconds.
2022-05-12 06:59:19,397 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.rhel.Distro'>
2022-05-12 06:59:19,398 - stages.py[DEBUG]: Running module rightscale_userdata (<module 'cloudinit.config.cc_rightscale_userdata' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_rightscale_userdata.py'>) with frequency once-per-instance
2022-05-12 06:59:19,398 - handlers.py[DEBUG]: start: modules-final/config-rightscale_userdata: running config-rightscale_userdata with frequency once-per-instance
2022-05-12 06:59:19,398 - helpers.py[DEBUG]: config-rightscale_userdata already ran (freq=once-per-instance)
2022-05-12 06:59:19,398 - handlers.py[DEBUG]: finish: modules-final/config-rightscale_userdata: SUCCESS: config-rightscale_userdata previously ran
2022-05-12 06:59:19,398 - stages.py[DEBUG]: Running module scripts-per-once (<module 'cloudinit.config.cc_scripts_per_once' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_scripts_per_once.py'>) with frequency once
2022-05-12 06:59:19,398 - handlers.py[DEBUG]: start: modules-final/config-scripts-per-once: running config-scripts-per-once with frequency once
2022-05-12 06:59:19,398 - helpers.py[DEBUG]: config-scripts-per-once already ran (freq=once)
2022-05-12 06:59:19,399 - handlers.py[DEBUG]: finish: modules-final/config-scripts-per-once: SUCCESS: config-scripts-per-once previously ran
2022-05-12 06:59:19,399 - stages.py[DEBUG]: Running module scripts-per-boot (<module 'cloudinit.config.cc_scripts_per_boot' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_scripts_per_boot.py'>) with frequency always
2022-05-12 06:59:19,399 - handlers.py[DEBUG]: start: modules-final/config-scripts-per-boot: running config-scripts-per-boot with frequency always
2022-05-12 06:59:19,399 - helpers.py[DEBUG]: Running config-scripts-per-boot using lock (<cloudinit.helpers.DummyLock object at 0x7fb4d67382b0>)
2022-05-12 06:59:19,399 - handlers.py[DEBUG]: finish: modules-final/config-scripts-per-boot: SUCCESS: config-scripts-per-boot ran successfully
2022-05-12 06:59:19,399 - stages.py[DEBUG]: Running module scripts-per-instance (<module 'cloudinit.config.cc_scripts_per_instance' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_scripts_per_instance.py'>) with frequency once-per-instance
2022-05-12 06:59:19,399 - handlers.py[DEBUG]: start: modules-final/config-scripts-per-instance: running config-scripts-per-instance with frequency once-per-instance
2022-05-12 06:59:19,399 - helpers.py[DEBUG]: config-scripts-per-instance already ran (freq=once-per-instance)
2022-05-12 06:59:19,399 - handlers.py[DEBUG]: finish: modules-final/config-scripts-per-instance: SUCCESS: config-scripts-per-instance previously ran
2022-05-12 06:59:19,399 - stages.py[DEBUG]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_scripts_user.py'>) with frequency once-per-instance
2022-05-12 06:59:19,399 - handlers.py[DEBUG]: start: modules-final/config-scripts-user: running config-scripts-user with frequency once-per-instance
2022-05-12 06:59:19,399 - helpers.py[DEBUG]: config-scripts-user already ran (freq=once-per-instance)
2022-05-12 06:59:19,399 - handlers.py[DEBUG]: finish: modules-final/config-scripts-user: SUCCESS: config-scripts-user previously ran
2022-05-12 06:59:19,399 - stages.py[DEBUG]: Running module ssh-authkey-fingerprints (<module 'cloudinit.config.cc_ssh_authkey_fingerprints' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_ssh_authkey_fingerprints.py'>) with frequency once-per-instance
2022-05-12 06:59:19,400 - handlers.py[DEBUG]: start: modules-final/config-ssh-authkey-fingerprints: running config-ssh-authkey-fingerprints with frequency once-per-instance
2022-05-12 06:59:19,400 - helpers.py[DEBUG]: config-ssh-authkey-fingerprints already ran (freq=once-per-instance)
2022-05-12 06:59:19,400 - handlers.py[DEBUG]: finish: modules-final/config-ssh-authkey-fingerprints: SUCCESS: config-ssh-authkey-fingerprints previously ran
2022-05-12 06:59:19,400 - stages.py[DEBUG]: Running module keys-to-console (<module 'cloudinit.config.cc_keys_to_console' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_keys_to_console.py'>) with frequency once-per-instance
2022-05-12 06:59:19,400 - handlers.py[DEBUG]: start: modules-final/config-keys-to-console: running config-keys-to-console with frequency once-per-instance
2022-05-12 06:59:19,400 - helpers.py[DEBUG]: config-keys-to-console already ran (freq=once-per-instance)
2022-05-12 06:59:19,400 - handlers.py[DEBUG]: finish: modules-final/config-keys-to-console: SUCCESS: config-keys-to-console previously ran
2022-05-12 06:59:19,400 - stages.py[DEBUG]: Running module phone-home (<module 'cloudinit.config.cc_phone_home' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_phone_home.py'>) with frequency once-per-instance
2022-05-12 06:59:19,400 - handlers.py[DEBUG]: start: modules-final/config-phone-home: running config-phone-home with frequency once-per-instance
2022-05-12 06:59:19,400 - helpers.py[DEBUG]: config-phone-home already ran (freq=once-per-instance)
2022-05-12 06:59:19,400 - handlers.py[DEBUG]: finish: modules-final/config-phone-home: SUCCESS: config-phone-home previously ran
2022-05-12 06:59:19,400 - stages.py[DEBUG]: Running module final-message (<module 'cloudinit.config.cc_final_message' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_final_message.py'>) with frequency always
2022-05-12 06:59:19,400 - handlers.py[DEBUG]: start: modules-final/config-final-message: running config-final-message with frequency always
2022-05-12 06:59:19,400 - helpers.py[DEBUG]: Running config-final-message using lock (<cloudinit.helpers.DummyLock object at 0x7fb4d673b7b8>)
2022-05-12 06:59:19,400 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2022-05-12 06:59:19,400 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2022-05-12 06:59:19,403 - util.py[DEBUG]: Cloud-init v. 21.1-7.el8.alma finished at Thu, 12 May 2022 06:59:19 +0000. Datasource DataSourceNoCloud [seed=/dev/sr0][dsmode=net].  Up 9.18 seconds
2022-05-12 06:59:19,403 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/boot-finished - wb: [644] 60 bytes
2022-05-12 06:59:19,405 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/instances/nocloud/boot-finished (recursive=False)
2022-05-12 06:59:19,406 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/instances/nocloud/boot-finished (recursive=False)
2022-05-12 06:59:19,406 - handlers.py[DEBUG]: finish: modules-final/config-final-message: SUCCESS: config-final-message ran successfully
2022-05-12 06:59:19,406 - stages.py[DEBUG]: Running module power-state-change (<module 'cloudinit.config.cc_power_state_change' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_power_state_change.py'>) with frequency once-per-instance
2022-05-12 06:59:19,407 - handlers.py[DEBUG]: start: modules-final/config-power-state-change: running config-power-state-change with frequency once-per-instance
2022-05-12 06:59:19,407 - helpers.py[DEBUG]: config-power-state-change already ran (freq=once-per-instance)
2022-05-12 06:59:19,407 - handlers.py[DEBUG]: finish: modules-final/config-power-state-change: SUCCESS: config-power-state-change previously ran
2022-05-12 06:59:19,407 - main.py[DEBUG]: Ran 10 modules with 0 failures
2022-05-12 06:59:19,407 - atomic_helper.py[DEBUG]: Atomically writing to file /var/lib/cloud/data/status.json (via temporary file /var/lib/cloud/data/tmp51nwzf0c) - w: [644] 601 bytes/chars
2022-05-12 06:59:19,407 - atomic_helper.py[DEBUG]: Atomically writing to file /var/lib/cloud/data/result.json (via temporary file /var/lib/cloud/data/tmpuknl3e3a) - w: [644] 96 bytes/chars
2022-05-12 06:59:19,407 - util.py[DEBUG]: Creating symbolic link from '/run/cloud-init/result.json' => '../../var/lib/cloud/data/result.json'
2022-05-12 06:59:19,407 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2022-05-12 06:59:19,407 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2022-05-12 06:59:19,408 - util.py[DEBUG]: cloud-init mode 'modules' took 0.072 seconds (0.07)
2022-05-12 06:59:19,408 - handlers.py[DEBUG]: finish: modules-final: SUCCESS: running modules for final
RobertFloor commented 2 years ago

So I was able to login using the username almalinux , show it is always almalinux even if you define another user

LKHN commented 2 years ago

Hey Robert!

I hope you had fun :)

Our default cloud user is the almalinux for Generic Cloud Images as mentioned here

we will set a password for the default almalinux user.

You can change the name of the default user(1), set a password for it(2) without expiration(3), enable ssh password authentication(4) and inject ssh public key(5) with this user data example:

#cloud-config

user: robert # 1
password: robertssupersecretpassword # 2
chpasswd:
  expire: false # 3
ssh_pwauth: True # 4
ssh_authorized_keys: # 5
  - ssh-ed25519 AAAAB3NzaC1yc2EAAAABIwAAAGEA3FSyQwBI6Z+nCSjUU... user1@example.com
  - ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA3I7VUf2l5gSn5uavROsc5HRDpZ... user2@example.com
RobertFloor commented 2 years ago

Thanks for the help! your settings with a fresh image solved it. One of the problems was that virt-manager changes the qcow2 snapshot after each run. So if you run cloud-init again with different settings it still keeps the settings of the first run. This confused me.

The libvirt-qemu user has modified the snapshot:

ls -alh

-rw-r--r-- 1 libvirt-qemu kvm 87M mei 14 21:00 wiki2-almalinux84-snapshot.qcow2

LKHN commented 2 years ago

They're not problems. They are how the virt-(manager|install) and Cloud-Init work. It changes the snapshoot file because when you boot the VM some files and directories will be created. They're not exist on the backing file, this snapshot contains these differences. On each boot, the Cloud-init determines whether it's the first boot or not and some modules run only on the first boot. You can run the cloud-init clean --log --reboot to reboot the machine and cloud-init will run as the first boot after the reboot.