Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1084797

Summary: Install RHEL-7.0-20140403.1 guest on qemu-kvm virtual machine failed
Product: Red Hat Enterprise Linux 7 Reporter: Xu Tian <xutian>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Release Test Team <release-test-team-automation>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 7.1CC: coli, dshea, michen, scui, xhan, xutian
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-08 03:30:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ks.iso contain kickstart for installing guest os
none
screen with anaconda raised exception none

Description Xu Tian 2014-04-06 17:30:39 UTC
Description of problem:

Install RHEL-7.0-20140403.1 guest in qemu-kvm virtual machine failed with kickstart file, anaconda raise exception "ValueError: new values non-existend xfs filesystem is not vaild as a default fs type."

mkfs.xfs version 3.2.0-alpha2

anaconda version 19.31.75-1

kernel version: 3.10.0-118


Version-Release number of selected component (if applicable):




How reproducible:


Steps to Reproduce:
1. boot guest on RHEL-7.0-20140403.1 host and install RHEL-7.0-20140403.1 os in guest with below command line:

[root@ibm-x3650m3-08 qemu]# cat cmd.sh 
/root/staf-kvm-devel/autotest-devel/client/tests/virt/qemu/qemu \
    -name 'virt-tests-vm1'  \
    -sandbox off  \
    -M pc \
    -nodefaults  \
    -vga cirrus  \
    -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20140404-204957-zhsgU4AN,server,nowait \
    -mon chardev=qmp_id_qmpmonitor1,mode=control  \
    -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20140404-204957-zhsgU4AN,server,nowait \
    -device isa-serial,chardev=serial_id_serial0  \
    -chardev socket,id=seabioslog_id_20140404-204957-zhsgU4AN,path=/tmp/seabios-20140404-204957-zhsgU4AN,server,nowait \
    -device isa-debugcon,chardev=seabioslog_id_20140404-204957-zhsgU4AN,iobase=0x402 \
    -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=03 \
    -drive id=drive_image1,if=none,cache=unsafe,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/RHEL-Server-7.0-64.qcow2 \
    -device ide-hd,id=image1,drive=drive_image1,bus=ide.0,unit=0 \
    -device e1000,mac=9a:4a:4b:4c:4d:4e,id=idW7CeUW,netdev=idIwlbgq,bus=pci.0,addr=04  \
    -netdev tap,id=idIwlbgq  \
    -m 8192  \
    -smp 4,maxcpus=4,cores=2,threads=1,sockets=2  \
    -cpu 'Westmere',+kvm_pv_unhalt \
    -drive id=drive_unattended,if=none,snapshot=off,aio=native,media=cdrom,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/rhel70-64/ks.iso \
    -device ide-cd,id=unattended,drive=drive_unattended,bus=ide.0,unit=1 \
    -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1  \
    -kernel '/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/rhel70-64/vmlinuz'  \
    -append 'ksdevice=link ks=cdrom:/dev/sr0:/ks.cfg nicdelay=60 console=ttyS0,115200 console=tty0 root=live:http://download.englab.nay.redhat.com/pub/rhel/rel-eng/latest-RHEL-7/compose/Server/x86_64/os/LiveOS/squashfs.img'  \
    -initrd '/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/rhel70-64/initrd.img'  \
    -vnc :0  \
    -rtc base=utc,clock=host,driftfix=slew  \
    -boot order=cdn,once=d,menu=off  \
    -no-kvm-pit-reinjection \
    -no-shutdown \
    -enable-kvm \
    -monitor stdio

2. wait until anaconda stop with error


Actual results:
install panel dead and anaconda raised exception

Expected results:

guest install successful with setting in ks.cfg configured

Additional info:

host packages version:
qemu-kvm-1.5.3-60.el7.x86_64
seavgabios-bin-1.7.2.2-12.el7.x86_64
sgabios-bin-0.20110622svn-4.el7.noarch
biosdevname-0.5.0-10.el7.x86_64
seabios-bin-1.7.2.2-12.el7.x86_64
kernel-3.10.0-118.el7.x86_64

Comment 1 Xu Tian 2014-04-06 17:32:39 UTC
Created attachment 883332 [details]
ks.iso contain kickstart for installing guest os

Comment 2 Xu Tian 2014-04-06 17:34:15 UTC
Created attachment 883333 [details]
screen with anaconda raised exception

screenshot when guest install failed

Comment 5 Xu Tian 2014-04-06 17:59:59 UTC
If install media cdrom emulated with ISO file, everything go well.  But failed when install media is HTTP and NFS.

thanks,
Xu

Comment 6 David Shea 2014-04-07 13:38:50 UTC
Please post the log files from /tmp as inidividual, text/plain attachments

Comment 7 Brian Lane 2014-04-08 00:57:43 UTC
This is usually a side-effect of the kernel that is being booted not matching the drivers in the initrd. Make sure your kernel and initrd and stage2 all come from the same release.

Comment 8 Xu Tian 2014-04-08 03:30:06 UTC
sorry, my fault, used mismatch squashfs.img.

close as not a bug.

Thanks,
xu