Skip to content

failed to boot fedora coreos on s390x: fw_cfg option doesn't work #1307

@skycastlelily

Description

@skycastlelily

Describe the bug
I try to boot fedora coreos on s390x host following this page[1]:
https://docs.fedoraproject.org/en-US/fedora-coreos/provisioning-libvirt/

[root@ibm-z-519 ~]# virt-install --connect="qemu:///system" --name="${VM_NAME}" --vcpus="${VCPUS}" --memory="${RAM_MB}"         --os-variant="fedora-coreos-$STREAM" --import --graphics=none         --disk="size=${DISK_GB},backing_store=${IMAGE}"         --network bridge=virbr0         --qemu-commandline="-fw_cfg name=opt/com.coreos/config,file=${IGNITION_CONFIG}"

Starting install...
Allocating 'fcos-test-01.qcow2'                                                                                                                                                                                        |    0 B  00:00:00 ... 
Removing disk 'fcos-test-01.qcow2'                                                                                                                                                                                     |    0 B  00:00:00     
ERROR    internal error: qemu unexpectedly closed the monitor: 2022-09-26T08:05:28.680356Z qemu-system-s390x: -fw_cfg name=opt/com.coreos/config,file=/root/test.ign: fw_cfg device not available
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start fcos-test-01
otherwise, please restart your installation.

Which means the qemu-system-s390x emulator doesn't support FW CFG, do we have other methods to pass Ignition file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions