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 1152860 - Kickstart can't automatically start installation
Summary: Kickstart can't automatically start installation
Keywords:
Status: CLOSED DUPLICATE of bug 1025346
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: anaconda
Version: 7.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-15 05:16 UTC by Chengyou Liu
Modified: 2015-01-09 04:25 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-12 20:43:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
anacoda.log (9.99 KB, text/plain)
2014-10-15 05:16 UTC, Chengyou Liu
no flags Details
screenshot when hit the issue (32.73 KB, image/jpeg)
2014-10-15 05:39 UTC, Chengyou Liu
no flags Details

Description Chengyou Liu 2014-10-15 05:16:58 UTC
Created attachment 947092 [details]
anacoda.log

Description of problem:
Kickstart can't automatically start installation

The process is alive but users must click "Begin Installation" manually to continue to install packages.

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


How reproducible:
3/10

Steps to Reproduce:
1. boot a vm with this:
/bin/qemu-kvm \
    -S  \
    -name 'virt-tests-vm1'  \
    -sandbox off  \
    -M pc  \
    -nodefaults  \
    -vga cirrus  \
    -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20141015-103056-s7mY8zA5,server,nowait \
    -mon chardev=qmp_id_qmpmonitor1,mode=control  \
    -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20141015-103056-s7mY8zA5,server,nowait \
    -device isa-serial,chardev=serial_id_serial0  \
    -chardev socket,id=seabioslog_id_20141015-103056-s7mY8zA5,path=/tmp/seabios-20141015-103056-s7mY8zA5,server,nowait \
    -device isa-debugcon,chardev=seabioslog_id_20141015-103056-s7mY8zA5,iobase=0x402 \
    -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=03 \
    -drive id=drive_image1,if=none,cache=none,snapshot=off,aio=native,file=/home/autotest-devel/client/tests/virt/shared/data/images/RHEL-Server-7.1-64-virtio.qcow2 \
    -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=1,bus=pci.0,addr=04 \
    -device virtio-net-pci,mac=9a:09:0a:0b:0c:0d,id=idAgaE8C,vectors=4,netdev=idzmJZe1,bus=pci.0,addr=05  \
    -netdev tap,id=idzmJZe1,vhost=on  \
    -m 16384  \
    -smp 16,cores=4,threads=2,sockets=2  \
    -cpu 'Westmere',+kvm_pv_unhalt \
    -drive id=drive_cd1,if=none,snapshot=off,aio=native,media=cdrom,file=/home/autotest-devel/client/tests/virt/shared/data/isos/linux/RHEL7.1-Server-x86_64.iso \
    -device ide-cd,id=cd1,drive=drive_cd1,bootindex=2,bus=ide.0,unit=0 \
    -drive id=drive_unattended,if=none,snapshot=off,aio=native,media=cdrom,file=/home/autotest-devel/client/tests/virt/shared/data/images/rhel71-64/ks.iso \
    -device ide-cd,id=unattended,drive=drive_unattended,bootindex=3,bus=ide.0,unit=1 \
    -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1  \
    -kernel '/home/autotest-devel/client/tests/virt/shared/data/images/rhel71-64/vmlinuz'  \
    -append 'ksdevice=link ks=cdrom:/dev/sr1:/ks.cfg nicdelay=60 console=ttyS0,115200 console=tty0'  \
    -initrd '/home/autotest-devel/client/tests/virt/shared/data/images/rhel71-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.
3.

Actual results:
Succeed to install the machine automatically

Expected results:
Not automatically to install packages

Additional info:
ks.cfg:
install
cdrom
graphical
poweroff
lang en_US.UTF-8
keyboard us
network --onboot yes --device eth0 --bootproto dhcp
rootpw redhat
firewall --enabled --ssh
selinux --enforcing
timezone --utc Asia/Shanghai
firstboot --disable
bootloader --location=mbr --append="console=tty0 console=ttyS0,115200"
zerombr
clearpart --all --initlabel
autopart
xconfig --startxonboot
services --enable rc-local

%packages --ignoremissing
@base
@core
@development
@additional-devel
@debugging-tools
@network-tools
@fonts
@x11
@gnome-desktop
lftp
gcc
gcc-c++
patch
make
git
nc
NetworkManager
ntpdate
redhat-lsb
numactl-libs
numactl
sg3_utils
hdparm
lsscsi
libaio-devel
perl-Time-HiRes
flex
prelink
-abrt
%end

%post
echo "OS install is completed" > /dev/ttyS0
echo "remove rhgb quiet by grubby" > /dev/ttyS0
grubby --remove-args="rhgb quiet" --update-kernel=$(grubby --default-kernel)
echo "dhclient" > /dev/ttyS0
dhclient
echo "get repo" > /dev/ttyS0
wget http://fileshare.englab.nay.redhat.com/pub/section2/repo/epel/rhel-autotest.repo -O /etc/yum.repos.d/rhel-autotest.repo
echo "yum makecache" > /dev/ttyS0
yum makecache
echo "yum install -y stress" > /dev/ttyS0
yum install -y stress
echo "chkconfig sshd on" > /dev/ttyS0
chkconfig sshd on
echo "iptables -F" > /dev/ttyS0
iptables -F
echo "echo 0 > selinux/enforce" > /dev/ttyS0
echo 0 > /selinux/enforce
echo "chkconfig NetworkManager on" > /dev/ttyS0
chkconfig NetworkManager on
echo "update ifcfg-*" > /dev/ttyS0
sed -i "/^HWADDR/d" /etc/sysconfig/network-scripts/ifcfg-*
echo "Disable lock cdrom udev rules" > /dev/ttyS0
sed -i "/--lock-media/s/^/#/" /usr/lib/udev/rules.d/60-cdrom_id.rules 2>/dev/null>&1
echo "ifconfig -a | tee /dev/ttyS0" >> /etc/rc.local
chmod +x /etc/rc.local
ln -sf /etc/rc.local /etc/rc.d/rc.local
echo 'Post set up finished' > /dev/ttyS0
echo Post set up finished > /dev/hvc0
%end

Comment 2 Chengyou Liu 2014-10-15 05:32:38 UTC
(In reply to Chengyou Liu from comment #0)

> Actual results:
> Succeed to install the machine automatically
> 
> Expected results:
> Not automatically to install packages

Sorry for the wrong description. Should be like this:
Actual results:
Not automatically to install packages

Expected results:
Succeed to install the machine automatically

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

Comment 4 Chengyou Liu 2014-10-15 05:39:28 UTC
Created attachment 947095 [details]
screenshot when hit the issue

Comment 5 David Shea 2014-10-15 15:53:49 UTC
Can you please attach the kickstart file that you are using, along with the other log files from the installer (storage.log, packaging.log, program.log)?

Comment 7 David Cantrell 2014-12-12 20:43:25 UTC

*** This bug has been marked as a duplicate of bug 1025346 ***


Note You need to log in before you can comment on or make changes to this bug.