Re: MicroOS and Autoyast
On Sat, Mar 04, Matwey Kornilov wrote:
Hi,
I am trying to write Autoyast XML for deploying MicroOS to bare-metal hosts (not sure if it is recommended way, but currently I am going to use Autoyast to install the minimal system from DVD and salt-minion for all other configuration). Though previously I've succeed to do so with Leap, currently I am stuck a little and need help.
I am running the latest openSUSE-MicroOS-DVD-x86_64-Current.iso and the following Autoyast profile: https://paste.opensuse.org/pastes/70b56425fa63
Don't specify any partitions, let MicroOS installer do that for you. Or if you think you need to specify partitions, create the full, correct setup for transactional-update. https://github.com/thkukuk/demos/blob/master/packer/http/autoyast-microos.xm... should work, at least it did when I tested it the last time.
The issue is that the system is not able to make it first boot. It fails to mount /etc with the following message:
Which means your manual created partition layout is incompatible and does not fullfill the product requirements. Thorsten
[ 2.977659][ T472] overlayfs: upper fs is r/o, try multi-lower layers mount [FAILED] Failed to mount /sysroot/etc. [DEPEND] Dependency failed for Initrd File Systems. [ 3.043309][ T476] overlayfs: upper fs is r/o, try multi-lower layers mount [FAILED] Failed to mount /sysroot/etc. [DEPEND] Dependency failed for Initrd File Systems. Failed to start default.target: Transaction for initrd.target/start is destructive (emergency.service has 'start' job queued, but 'stop' is included in transaction). See system logs and 'systemctl status default.target' for details. health checker emergency mode root device: block:/dev/disk/by-uuid/a4ff2e7e-6f0d-4724-8371-eb9059fd386c my_root device: /dev/disk/by-uuid/a4ff2e7e-6f0d-4724-8371-eb9059fd386c my_root mounted successfully No successfull boot before
Generating "/run/initramfs/rdsosreport.txt"
Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot after mounting them and attach it to a bug report.
Give root password for maintenance (or press Control-D to continue): [ 10.058480][ T518] systemd[518]: /usr/lib/systemd/system-generators/selinux-autorelabel-generator failed with exit status 1. [ 10.504505][ T559] overlayfs: failed to resolve '/sysroot/var/lib/overlay/1/etc': -2 [ 10.622154][ T1] systemd[1]: Failed to mount /etc. [FAILED] Failed to mount /etc. [DEPEND] Dependency failed for Local File Systems. [DEPEND] Dependency failed for Rule…r for Device Events and Files. [ 10.703128][ T575] overlayfs: failed to resolve '/sysroot/var/lib/overlay/1/etc': -2
-- Thorsten Kukuk, Distinguished Engineer, Senior Architect, Future Technologies SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nuernberg, Germany Managing Director: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman (HRB 36809, AG Nürnberg)
participants (2)
-
Matwey Kornilov
-
Thorsten Kukuk