Description of problem: ISO虚拟化安装时,界面卡住进不去虚拟机 设置 mode:graphical cn:zh_CN.UTF-8 part_scheme:plain fstype:ext4 packages:minimal-enviroment timezone:Asia/Shanghai Version-Release number of selected component (if applicable): How reproducible: 必现(两台机器试了3次,等了3个多小时,结果是一样) 卡住的位置: [ OK ] Started dbus-daemon.service - D-Bus System Message Bus. Starting dracut-shutdown.service - Restore /run/initramfs on shutdown... Starting plymouth-quit-wait.service - Hold until boot process finishes up... Starting plymouth-quit.service - Terminate Plymouth Boot Screen... Starting rsyslog.service - System Logging Service... Starting sshd-keygen@ecdsa.service - OpenSSH ecdsa Server Key Generation... Starting sshd-keygen@ed25519.service - OpenSSH ed25519 Server Key Generation... Starting sshd-keygen@rsa.service - OpenSSH rsa Server Key Generation... Starting systemd-logind.service - User Login Management... [ OK ] Finished dracut-shutdown.service - Restore /run/initramfs on shutdown. [ OK ] Finished anaconda-nm-config.service - Anaconda NetworkManager configuration. [ OK ] Finished anaconda-pre.service - pre-anaconda logging service. 机器2卡住的位置: [ OK ] Started dbus-daemon.service - D-Bus System Message Bus. Starting dracut-shutdown.service - Restore /run/initramfs on shutdown... Starting plymouth-quit-wait.service - Hold until boot process finishes up... Starting plymouth-quit.service - Terminate Plymouth Boot Screen... Starting rsyslog.service - System Logging Service... Starting sshd-keygen@ecdsa.service - OpenSSH ecdsa Server Key Generation... Starting sshd-keygen@ed25519.service - OpenSSH ed25519 Server Key Generation... Starting sshd-keygen@rsa.service - OpenSSH rsa Server Key Generation... Starting systemd-logind.service - User Login Management... Steps to Reproduce: 1.yum install libvirt qemu-img qemu-kvm virt-install -y systemctl start libvirtd 2.cd /mnt qemu-img create -f qcow2 my.qcow2 20G 3.设置ks.cfg文件 mode:graphical cn:zh_CN.UTF-8 part_scheme:plain fstype:ext4 packages:minimal-enviroment timezone:Asia/Shanghai 4. 启动 virt-install --name anolis23.4 --location=/mnt/AnolisOS-23.4-BETA-aarch64-dvd.iso \ --disk path=/mnt/my.qcow2,device=disk,bus=virtio --network network=default \ --osinfo detect=on,name=generic --graphics vnc,port=5900,listen=0.0.0.0 --vcpus 2 \ --memory 4096 --initrd-inject=/mnt/anolis-ks.cfg \ --extra-args="inst.ks=file:/anolis-ks.cfg console=tty0 console=ttyS0,115200n8" Actual results: 机器卡住 Expected results: 机器启动成功 验证记录: 机器A;kunpeng920 机器B:浪潮英政CS5260F 设置part_scheme:lvm ,虚拟机可以启动成功
以下这些配置验证下来,都是失败的。 fstype-ext4-lang-cn-mode-graphical-packages-minimal-part_scheme-thinp-timezone-shanghai-:InstallTest.test FAIL fstype-ext4-lang-cn-mode-graphical-packages-server-part_scheme-thinp-timezone-shanghai-:InstallTest.test FAIL fstype-ext4-lang-en-mode-graphical-packages-minimal-part_scheme-lvm-timezone-shanghai-:InstallTest.test FAIL fstype-xfs-lang-en-mode-graphical-packages-minimal-part_scheme-lvm-timezone-shanghai-:InstallTest.test FAIL fstype-xfs-lang-en-mode-graphical-packages-server-part_scheme-plain-timezone-shanghai-:InstallTest.test FAIL fstype-ext4-lang-en-mode-graphical-packages-server-part_scheme-thinp-timezone-shanghai-:InstallTest.test FAIL fstype-xfs-lang-en-mode-graphical-packages-minimal-part_scheme-thinp-timezone-shanghai-:InstallTest.test FAIL fstype-xfs-lang-en-mode-graphical-packages-server-part_scheme-thinp-timezone-shanghai-:InstallTest.test FAIL fstype-ext4-lang-cn-mode-text-packages-minimal-part_scheme-lvm-timezone-shanghai-:InstallTest.test FAIL fstype-xfs-lang-cn-mode-text-packages-server-part_scheme-lvm-timezone-shanghai-:InstallTest.test FAIL fstype-ext4-lang-cn-mode-text-packages-minimal-part_scheme-thinp-timezone-shanghai-:InstallTest.test FAIL fstype-ext4-lang-cn-mode-text-packages-server-part_scheme-thinp-timezone-shanghai-:InstallTest.test FAIL fstype-xfs-lang-en-mode-text-packages-minimal-part_scheme-lvm-timezone-shanghai-:InstallTest.test FAIL fstype-xfs-lang-en-mode-text-packages-server-part_scheme-lvm-timezone-shanghai-:InstallTest.test FAIL fstype-ext4-lang-en-mode-text-packages-minimal-part_scheme-thinp-timezone-shanghai-:InstallTest.test FAIL fstype-xfs-lang-en-mode-text-packages-minimal-part_scheme-thinp-timezone-shanghai-:InstallTest.test FAIL fstype-xfs-lang-en-mode-text-packages-server-part_scheme-thinp-timezone-shanghai-:InstallTest.test FAIL
Created attachment 1431 [details] plain-xfs配置安装成功1
Created attachment 1432 [details] plain-xfs配置安装成功2
Created attachment 1433 [details] thinp-xfs配置安装成功1
Created attachment 1434 [details] thinp-xfs配置安装成功2
(In reply to ldw02388494 from comment #0) > Description of problem: > ISO虚拟化安装时,界面卡住进不去虚拟机 > 设置 > mode:graphical > cn:zh_CN.UTF-8 > part_scheme:plain > fstype:ext4 > packages:minimal-enviroment > timezone:Asia/Shanghai > > Version-Release number of selected component (if applicable): > > How reproducible: > 必现(两台机器试了3次,等了3个多小时,结果是一样) > 卡住的位置: > [ OK ] Started dbus-daemon.service - D-Bus System Message Bus. > Starting dracut-shutdown.service - Restore /run/initramfs on > shutdown... > Starting plymouth-quit-wait.service - Hold until boot process > finishes up... > Starting plymouth-quit.service - Terminate Plymouth Boot Screen... > Starting rsyslog.service - System Logging Service... > Starting sshd-keygen@ecdsa.service - OpenSSH ecdsa Server Key > Generation... > Starting sshd-keygen@ed25519.service - OpenSSH ed25519 Server Key > Generation... > Starting sshd-keygen@rsa.service - OpenSSH rsa Server Key > Generation... > Starting systemd-logind.service - User Login Management... > [ OK ] Finished dracut-shutdown.service - Restore /run/initramfs on > shutdown. > [ OK ] Finished anaconda-nm-config.service - Anaconda NetworkManager > configuration. > [ OK ] Finished anaconda-pre.service - pre-anaconda logging service. > > 机器2卡住的位置: > [ OK ] Started dbus-daemon.service - D-Bus System Message Bus. > Starting dracut-shutdown.service - Restore /run/initramfs on > shutdown... > Starting plymouth-quit-wait.service - Hold until boot process > finishes up... > Starting plymouth-quit.service - Terminate Plymouth Boot Screen... > Starting rsyslog.service - System Logging Service... > Starting sshd-keygen@ecdsa.service - OpenSSH ecdsa Server Key > Generation... > Starting sshd-keygen@ed25519.service - OpenSSH ed25519 Server Key > Generation... > Starting sshd-keygen@rsa.service - OpenSSH rsa Server Key > Generation... > Starting systemd-logind.service - User Login Management... > > Steps to Reproduce: > 1.yum install libvirt qemu-img qemu-kvm virt-install -y > systemctl start libvirtd > 2.cd /mnt > qemu-img create -f qcow2 my.qcow2 20G > 3.设置ks.cfg文件 > mode:graphical > cn:zh_CN.UTF-8 > part_scheme:plain > fstype:ext4 > packages:minimal-enviroment > timezone:Asia/Shanghai > 4. 启动 > virt-install --name anolis23.4 > --location=/mnt/AnolisOS-23.4-BETA-aarch64-dvd.iso \ > --disk path=/mnt/my.qcow2,device=disk,bus=virtio --network network=default \ > --osinfo detect=on,name=generic --graphics vnc,port=5900,listen=0.0.0.0 > --vcpus 2 \ > --memory 4096 --initrd-inject=/mnt/anolis-ks.cfg \ > --extra-args="inst.ks=file:/anolis-ks.cfg console=tty0 > console=ttyS0,115200n8" > > Actual results: > 机器卡住 > > Expected results: > 机器启动成功 > > 验证记录: > 机器A;kunpeng920 机器B:浪潮英政CS5260F > > 设置part_scheme:lvm ,虚拟机可以启动成功 在同一台 kunpeng920 机器上,加载 kvm 驱动后测试, [root@anolis mnt]# lsmod |grep kvm kvm 679936 48 irqbypass 12288 265 kvm part_scheme:plain + xfs part_scheme:plain + ext4 part_scheme:thinp + xfs 的组合均可以安装成功
tone: https://tone.aliyun-inc.com/ws/6yddz4ne/test_result/681108