Hi,
Just an update on Oracle Linux. Updated Maas to version 3.5.1 as mentioned here:
But still had errors when deploying OL: Oracle Linux 8 and 9 not being deployed
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp9qq11pq9/target', 'bash', '-c', 'cloud-init --version || (echo "cloud-init not detected, MAAS will not be able to configure this machine properly" && exit 1)'] with allowed return codes [0] (capture=False)
/usr/bin/cloud-init 23.4-7.0.1.el9_4.5
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.032
Running command ['mount', '--make-private', '/tmp/tmp9qq11pq9/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp9qq11pq9/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp9qq11pq9/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp9qq11pq9/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp9qq11pq9/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp9qq11pq9/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp9qq11pq9/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp9qq11pq9/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp9qq11pq9/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp9qq11pq9/target/dev'] with allowed return codes [0] (capture=False)
finish: cmd-install/stage-late/98-validate-custom-image-has-cloud-init/cmd-in-target: SUCCESS: curtin command in-target
start: cmd-install/stage-late/99-validate-custom-image-has-netplan/cmd-in-target: curtin command in-target
Running command ['mount', '--bind', '/dev', '/tmp/tmp9qq11pq9/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp9qq11pq9/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp9qq11pq9/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp9qq11pq9/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp9qq11pq9/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--help'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp9qq11pq9/target', 'bash', '-c', 'netplan info || (echo "netplan not detected, MAAS will not be able to configure this machine properly" && exit 1)'] with allowed return codes [0] (capture=False)
bash: line 1: netplan: command not found
netplan not detected, MAAS will not be able to configure this machine properly
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.035
Running command ['mount', '--make-private', '/tmp/tmp9qq11pq9/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp9qq11pq9/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp9qq11pq9/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp9qq11pq9/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp9qq11pq9/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp9qq11pq9/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp9qq11pq9/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp9qq11pq9/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp9qq11pq9/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp9qq11pq9/target/dev'] with allowed return codes [0] (capture=False)
finish: cmd-install/stage-late/99-validate-custom-image-has-netplan/cmd-in-target: FAIL: curtin command in-target
curtin: Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'in-target', '--', 'bash', '-c', 'netplan info || (echo "netplan not detected, MAAS will not be able to configure this machine properly" && exit 1)']
Exit code: 1
Reason: -
Stdout: start: cmd-install/stage-late/99-validate-custom-image-has-netplan/cmd-in-target: curtin command in-target
Running command ['mount', '--bind', '/dev', '/tmp/tmp9qq11pq9/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp9qq11pq9/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp9qq11pq9/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp9qq11pq9/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp9qq11pq9/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--help'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp9qq11pq9/target', 'bash', '-c', 'netplan info || (echo "netplan not detected, MAAS will not be able to configure this machine properly" && exit 1)'] with allowed return codes [0] (capture=False)
bash: line 1: netplan: command not found
netplan not detected, MAAS will not be able to configure this machine properly
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.035
Running command ['mount', '--make-private', '/tmp/tmp9qq11pq9/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp9qq11pq9/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp9qq11pq9/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp9qq11pq9/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp9qq11pq9/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp9qq11pq9/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp9qq11pq9/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp9qq11pq9/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp9qq11pq9/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp9qq11pq9/target/dev'] with allowed return codes [0] (capture=False)
finish: cmd-install/stage-late/99-validate-custom-image-has-netplan/cmd-in-target: FAIL: curtin command in-target
It seems to be complaining about netplan and cloudinit not being installed.
BR