We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
Anyone is getting this issue when deploying using QEMU on Fedora 37 and Fedora 38?
# ansible-playbook -i inventory/forem/setup.yml playbooks/providers/qemu.yml PLAY [Build Forem on QEMU] **************************************************************************************************************************** TASK [preflight : Fetch public WAN IPv4 address json] ************************************************************************************************* ok: [forem] TASK [preflight : Set local_wan_ip_address fact] ****************************************************************************************************** ok: [forem] TASK [preflight : Verify Ansible is >= 2.11.0] ******************************************************************************************************** ok: [forem] => changed=false msg: All assertions passed TASK [preflight : Get list of installed Python 3 packages] ******************************************************************************************** changed: [forem] TASK [preflight : Read requirements.txt] ************************************************************************************************************** ok: [forem] TASK [preflight : Generate list of missing pip prerequisites] ***************************************************************************************** ok: [forem] TASK [preflight : Generate list of missing python packages] ******************************************************************************************* ok: [forem] TASK [preflight : Verify that required Python 3 packages are installed] ******************************************************************************* ok: [forem] => changed=false msg: All assertions passed TASK [fcos : Get FCOS facts] ************************************************************************************************************************** included: /opt/services/forem/roles/fcos/tasks/facts.yml for forem TASK [fcos : Get FCOS releases] *********************************************************************************************************************** ok: [forem] TASK [fcos : Set FCOS file download facts] ************************************************************************************************************ ok: [forem] TASK [fcos : Download FCOS files] ********************************************************************************************************************* included: /opt/services/forem/roles/fcos/tasks/download.yml for forem TASK [fcos : Check for FCOS file download] ************************************************************************************************************ ok: [forem] TASK [fcos : Check if fcos_storage_location exists] *************************************************************************************************** skipping: [forem] TASK [fcos : Fail if fcos_storage_location does not exist] ******************************************************************************************** skipping: [forem] TASK [fcos : Create temporary FCOS download directory] ************************************************************************************************ skipping: [forem] TASK [fcos : Download FCOS files] ********************************************************************************************************************* skipping: [forem] => (item={'url': 'https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/37.20230401.3.0/x86_64/fedora-coreos-37.20230401.3.0-qemu.x86_64.qcow2.xz', 'filename': 'fedora-coreos-37.20230401.3.0-qemu.x86_64.qcow2.xz'}) skipping: [forem] => (item={'url': 'https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/37.20230401.3.0/x86_64/fedora-coreos-37.20230401.3.0-qemu.x86_64.qcow2.xz.sig', 'filename': 'fedora-coreos-37.20230401.3.0-qemu.x86_64.qcow2.xz.sig'}) skipping: [forem] => (item={'url': 'https://fedoraproject.org/fedora.gpg', 'filename': 'fedora.gpg'}) TASK [fcos : Get sha256 of FCOS download file] ******************************************************************************************************** skipping: [forem] TASK [fcos : Import Fedora GPG key] ******************************************************************************************************************* skipping: [forem] TASK [fcos : Verify FCOS file download via GPG] ******************************************************************************************************* skipping: [forem] TASK [fcos : Verify sha256sum of FCOS download] ******************************************************************************************************* skipping: [forem] TASK [fcos : Move FCOS file download to fcos_storage_location] **************************************************************************************** skipping: [forem] TASK [fcos : Extract FCOS image] ********************************************************************************************************************** included: /opt/services/forem/roles/fcos/tasks/extract.yml for forem TASK [fcos : Check for FCOS file download] ************************************************************************************************************ ok: [forem] TASK [fcos : Fail if /opt/services/forem/playbooks/providers/images/fedora-coreos-37.20230401.3.0-qemu.x86_64.qcow2.xz does not exist] **************** skipping: [forem] TASK [fcos : Stat FCOS extract file] ****************************************************************************************************************** ok: [forem] TASK [fcos : Stat FCOS compressed file] *************************************************************************************************************** ok: [forem] TASK [fcos : Print skip extraction warning when $HOME/.local/share/libvirt/images/fedora-coreos-37.20230401.3.0-qemu.x86_64.qcow2 exists] ************* ok: [forem] => msg: The extracted file $HOME/.local/share/libvirt/images/fedora-coreos-37.20230401.3.0-qemu.x86_64.qcow2.xz exists!! Skipping extraction! TASK [fcos : Check for unxz] ************************************************************************************************************************** skipping: [forem] TASK [fcos : Fail if unxz is not installed] *********************************************************************************************************** skipping: [forem] TASK [fcos : Extract FCOS file to $HOME/.local/share/libvirt/images with xz] ************************************************************************** skipping: [forem] TASK [Convert butane file to an Ignition file] ******************************************************************************************************** TASK [butane : Check for butane] ********************************************************************************************************************** changed: [forem] TASK [butane : Fail if butane is not installed] ******************************************************************************************************* skipping: [forem] TASK [butane : Create temporary butane file] ********************************************************************************************************** changed: [forem] TASK [butane : Copy Butane YAML into temporary file] ************************************************************************************************** changed: [forem] TASK [butane : Transpile Butane YAML into JSON] ******************************************************************************************************* changed: [forem] TASK [butane : Create temporary Butane Ignition JSON file] ******************************************************************************************** changed: [forem] TASK [butane : Copy Butane input JSON into temporary Butane Ignition file] **************************************************************************** changed: [forem] TASK [butane : Gzip ignition data] ******************************************************************************************************************** changed: [forem] TASK [butane : Register butane_ignition facts] ******************************************************************************************************** ok: [forem] TASK [butane : Create temporary boot Butane file] ***************************************************************************************************** changed: [forem] TASK [butane : Copy boot Butane YAML into boot Butane file] ******************************************************************************************* changed: [forem] TASK [butane : Transpile Butane into Ignition] ******************************************************************************************************** changed: [forem] TASK [butane : Create temporary boot Ignition file] *************************************************************************************************** changed: [forem] TASK [butane : Copy Butane boot JSON into temporary Butane Ignition file] ***************************************************************************** changed: [forem] TASK [butane : Gzip ignition data] ******************************************************************************************************************** changed: [forem] TASK [butane : Register butane_boot_ignition facts] *************************************************************************************************** ok: [forem] TASK [butane : ansible.builtin.file] ****************************************************************************************************************** skipping: [forem] => (item=/tmp/butane_input_jkaou0yh.bu) skipping: [forem] => (item=/tmp/butane_input_14_vqcjw.ign) TASK [Create QEMU Fedora CoreOS VM] ******************************************************************************************************************* fatal: [forem]: FAILED! => changed=true cmd: |- qemu-kvm -m 2048 -cpu host -snapshot -daemonize -drive if=virtio,file=$HOME/.local/share/libvirt/images/fedora-coreos-37.20230401.3.0-qemu.x86_64.qcow2 -fw_cfg name=opt/com.coreos/config,file=/tmp/butane_input_14_vqcjw.ign -nic user,model=virtio,hostfwd=tcp::2222-:22,hostfwd=tcp::9090-:9090 delta: '0:00:00.262092' end: '2023-04-25 10:12:59.793747' msg: non-zero return code rc: 1 start: '2023-04-25 10:12:59.531655' stderr: gtk initialization failed stderr_lines: <omitted> stdout: '' stdout_lines: <omitted> PLAY RECAP ******************************************************************************************************************************************** forem : ok=33 changed=14 unreachable=0 failed=1 skipped=15 rescued=0 ignored=0 [root@forem forem]#
Then, i also tried to run specific command, but getting this error.
[root@forem forem]# qemu-kvm -m 2048 -cpu host -snapshot -daemonize -drive if=virtio,file=$HOME/.local/share/libvirt/images/fedora-coreos-37.20230401.3.0-qemu.x86_64.qcow2 -fw_cfg name=opt/com.coreos/config,file=/tmp/butane_input_14_vqcjw.ign -nic user,model=virtio,hostfwd=tcp::2222-:22,hostfwd=tcp::9090-:9090 gtk initialization failed [root@forem forem]#
Thank you.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
Anyone is getting this issue when deploying using QEMU on Fedora 37 and Fedora 38?
Then, i also tried to run specific command, but getting this error.
Thank you.
The text was updated successfully, but these errors were encountered: