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 1463042

Summary: Failed to install guest with iso in https server
Product: Red Hat Enterprise Linux 7 Reporter: Suqin Huang <shuang>
Component: qemu-kvm-rhevAssignee: Paolo Bonzini <pbonzini>
Status: CLOSED NOTABUG QA Contact: Suqin Huang <shuang>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.4CC: aliang, chayang, coli, juzhang, knoel, michen, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-30 01:47:52 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:

Description Suqin Huang 2017-06-20 01:41:23 UTC
Description of problem:
"curl: Operation timed out after 5012 milliseconds with 224000 out of 266240 bytes received" error and image hang when install with iso in https server

Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.9.0-10.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. cmd:


/usr/libexec/qemu-kvm \
    -S  \
    -name 'avocado-vt-vm1'  \
    -sandbox off  \
    -machine pc  \
    -nodefaults  \
    -vga cirrus  \
    -chardev socket,id=qmp_id_qmpmonitor1,path=/var/tmp/avocado__f8Mny/monitor-qmpmonitor1-20170619-014634-NuDvcQNw,server,nowait \
    -mon chardev=qmp_id_qmpmonitor1,mode=control  \
    -chardev socket,id=qmp_id_catch_monitor,path=/var/tmp/avocado__f8Mny/monitor-catch_monitor-20170619-014634-NuDvcQNw,server,nowait \
    -mon chardev=qmp_id_catch_monitor,mode=control \
    -device pvpanic,ioport=0x505,id=idzbZML4  \
    -chardev socket,id=serial_id_serial0,path=/var/tmp/avocado__f8Mny/serial-serial0-20170619-014634-NuDvcQNw,server,nowait \
    -device isa-serial,chardev=serial_id_serial0  \
    -chardev socket,id=seabioslog_id_20170619-014634-NuDvcQNw,path=/var/tmp/avocado__f8Mny/seabios-20170619-014634-NuDvcQNw,server,nowait \
    -device isa-debugcon,chardev=seabioslog_id_20170619-014634-NuDvcQNw,iobase=0x402 \
    -device ich9-usb-ehci1,id=usb1,addr=0x1d.7,multifunction=on,bus=pci.0 \
    -device ich9-usb-uhci1,id=usb1.0,multifunction=on,masterbus=usb1.0,addr=0x1d.0,firstport=0,bus=pci.0 \
    -device ich9-usb-uhci2,id=usb1.1,multifunction=on,masterbus=usb1.0,addr=0x1d.2,firstport=2,bus=pci.0 \
    -device ich9-usb-uhci3,id=usb1.2,multifunction=on,masterbus=usb1.0,addr=0x1d.4,firstport=4,bus=pci.0 \
    -drive id=drive_image1,if=none,snapshot=off,aio=native,cache=none,format=qcow2,file=/home/kvm_autotest_root/images/rhel74-64-virtio.qcow2 \
    -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=1,bus=pci.0,addr=0x3 \
    -device virtio-net-pci,mac=9a:79:7a:7b:7c:7d,id=idlLbsRF,vectors=4,netdev=idkXQdeV,bus=pci.0,addr=0x4  \
    -netdev tap,id=idkXQdeV,vhost=on,script=/etc/qemu-ifup \
    -m 4096  \
    -smp 8,cores=4,threads=1,sockets=2  \
    -cpu 'SandyBridge',+kvm_pv_unhalt \
    -drive id=drive_cd1,if=none,snapshot=off,aio=native,cache=none,media=cdrom,file.sslverify=off,file.driver=https,file.url=https://10.66.10.53/test/RHEL-7.4-20170608.3-Server-x86_64-dvd1.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,cache=none,media=cdrom,file=/home/kvm_autotest_root/images/rhel74-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/kvm_autotest_root/images/rhel74-64/vmlinuz'  \
    -append 'ksdevice=link inst.repo=cdrom:/dev/sr0 inst.ks=cdrom:/dev/sr1:/ks.cfg nicdelay=60 console=ttyS0,115200 console=tty0 biosdevname=0 net.ifnames=0'  \
    -initrd '/home/kvm_autotest_root/images/rhel74-64/initrd.img'  \
    -vnc :0  \
    -rtc base=utc,clock=host,driftfix=slew  \
    -boot order=cdn,once=d,menu=off,strict=off  \
    -no-shutdown \
    -enable-kvm \
    -monitor stdio


2.
3.

Actual results:
(qemu) qemu-kvm: curl: Operation timed out after 5012 milliseconds with 224000 out of 266240 bytes received 

hang at "Starting Login Service... "

Expected results:


Additional info:


1). 
# top -p `pidof qemu-kvm`

top - 04:30:45 up 3 days,  8:08,  4 users,  load average: 0.59, 0.54, 0.44
Tasks:   1 total,   0 running,   1 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  3.3 sy,  0.0 ni, 96.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem : 32739028 total, 17600112 free,  1207836 used, 13931080 buff/cache
KiB Swap: 16515068 total, 16515068 free,        0 used. 30935628 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                              
35888 root      20   0 5551172 996644  14900 S   0.0  3.0   1:17.53 qemu-kvm   

2) kvm_stat

kvm statistics - summary

 Event                                        Total Current
 kvm_fpu                                       1764     130
 kvm_exit                                      2055     120
 kvm_entry                                     2055     120
 kvm_pio                                        560	 46
 kvm_userspace_exit                             560	 46
 kvm_msr                                        622	 39
 kvm_emulate_insn                               432	 36
 kvm_ple_window                                 376	 22
 kvm_eoi                                        383	 20
 kvm_inj_virq                                   383	 20
 kvm_apic_accept_irq                            383	 20
 kvm_pv_eoi                                     380	 20
 kvm_vcpu_wakeup                                323	 18
 kvm_pic_set_irq                                160	 13
 kvm_set_irq                                    160	 13
 kvm_ioapic_set_irq                             160	 13
 kvm_wait_lapic_expire                          218	 10
 kvm_msi_set_irq                                105	  6
 kvm_page_fault                                 328	  5
 kvm_apic                                        59	  2
 kvm_apic_ipi                                    28	  1
 kvm_halt_poll_ns                                18	  1
 kvm_cpuid                                       12	  0

3). output of serial

[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Migrate local SELinux policy changes from the old store structure to the new structure.
[  OK  ] Started Rebuild Journal Catalog.
         Starting Update is Completed...
[  OK  ] Started Update is Completed.
[  OK  ] Started Import network configuration from initramfs.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on Open-iSCSI iscsid Socket.
[  OK  ] Listening on Open-iSCSI iscsiuio Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Terminate Plymouth Boot Screen...
         Starting pre-anaconda logging service...
[  OK  ] Started Anaconda NetworkManager configuration.
         Starting Anaconda NetworkManager configuration...
         Starting Login Service...

Comment 2 Suqin Huang 2017-06-20 01:42:19 UTC
I can reproduce with qemu-kvm-rhev-2.6.0-28.el7_3.2.x86_64

Comment 3 Ademar Reis 2017-06-20 12:35:56 UTC
Maybe has the same root cause as bug 1449879

Comment 5 Suqin Huang 2017-06-26 05:12:45 UTC
I will check if the proxy setting cause this issue

Comment 6 Suqin Huang 2017-06-30 01:47:52 UTC
works when I remove proxy, close as notabug