Bug 1606922 - Anaconda after starting automated install and never completes
Summary: Anaconda after starting automated install and never completes
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 28
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-20 23:29 UTC by Loren M. Lang
Modified: 2018-11-30 15:37 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-11-30 11:21:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Kickstart (831 bytes, text/plain)
2018-07-20 23:29 UTC, Loren M. Lang
no flags Details
anaconda log (6.06 KB, text/plain)
2018-07-20 23:30 UTC, Loren M. Lang
no flags Details
storage log (19.55 KB, text/plain)
2018-07-20 23:30 UTC, Loren M. Lang
no flags Details
program log (8.20 KB, text/plain)
2018-07-20 23:30 UTC, Loren M. Lang
no flags Details
main log (916 bytes, text/plain)
2018-07-20 23:31 UTC, Loren M. Lang
no flags Details
console log (9.19 KB, text/plain)
2018-07-20 23:34 UTC, Loren M. Lang
no flags Details

Description Loren M. Lang 2018-07-20 23:29:16 UTC
Created attachment 1469618 [details]
Kickstart

Description of problem: On some occassions while installing Fedora 28 inside a KVM virtual machine, Anaconda will state that it's starting the automated install, but it just continues to produce dots on it's output and never continues past this point.

Version-Release number of selected component (if applicable):
First seen with Fedora 27, and continuing to plaque Fedora 28.

How reproducible:
Roughly about 1 in 10 VMs fail to install. Every VM is created with a basically identical environment.

Steps to Reproduce:
1. Set-up HTTP server to host mounted Fedora 28 ISO.
2. Set-up fully-automated Kickstart file to be hosted on server.
3. Start install of Fedora 28 with virt-install:

virt-install --os-variant=fedora25 \
    --graphics none \
    --console pty,target_type=virtio \
    --channel \
'unix,path=/var/lib/libvirt/qemu/f16x86_64.agent,mode=bind,target_type=virtio,name=org.qemu.guest_agent.0' \
    --cpu host \
    --network bridge=host_br0,model=virtio \
    --location http://server/fedora/Fedora-28-x86_64/ \
    --extra-args 'ks=http://server/deploy/fedora28.cfg console=hvc0' \
    --hostdev pci_0000_10_00_0 \
    --name ABCDE \
    --vcpus 8 \
    --memory 4096 \
    --disk size=20.0


Actual results:
Installer prints out "Starting automated install." and continues to prints dots forever.

Expected results:
Fedora 28 should be fully installed and rebooted into OS.

Additional info:
First seen with Fedora 27. There was no problem using a similar setup with Fedora 26. Kickstart and logs will be attached.

Comment 1 Loren M. Lang 2018-07-20 23:30:09 UTC
Created attachment 1469619 [details]
anaconda log

Comment 2 Loren M. Lang 2018-07-20 23:30:25 UTC
Created attachment 1469620 [details]
storage log

Comment 3 Loren M. Lang 2018-07-20 23:30:44 UTC
Created attachment 1469621 [details]
program log

Comment 4 Loren M. Lang 2018-07-20 23:31:02 UTC
Created attachment 1469622 [details]
main log

Comment 5 Loren M. Lang 2018-07-20 23:34:40 UTC
Created attachment 1469623 [details]
console log

Comment 7 Vendula Poncova 2018-07-23 10:59:12 UTC
Hi, you might try to switch to the graphical mode as a workaround.

Comment 8 Loren M. Lang 2018-08-22 16:27:08 UTC
That does not work for us. These are automated installs using kickstart inside a KVM environment. There is no VGA console nor user to interact with. We do about 40 installs every morning for running various test suites. This issue does not happen with a high percentage, but with as many installs as we do, we see it regularly.

Comment 9 Martin Kolman 2018-08-23 09:16:41 UTC
(In reply to Loren M. Lang from comment #8)
> That does not work for us. These are automated installs using kickstart
> inside a KVM environment. There is no VGA console nor user to interact with.
> We do about 40 installs every morning for running various test suites. This
> issue does not happen with a high percentage, but with as many installs as
> we do, we see it regularly.
The installation will still be fully automatic and non-interactive, just running with a graphical interface. As long as the GUI can start, it should work around the issue, even if no monitors are connected and no one is actually looking at the GUI.

Comment 10 Vendula Poncova 2018-08-28 11:48:56 UTC
Hi, could you try to run the installation with the following boot option?

inst.updates=https://vponcova.fedorapeople.org/f28_dots.img

Comment 11 John Villalovos 2018-11-26 22:22:19 UTC
(In reply to Vendula Poncova from comment #10)
> Hi, could you try to run the installation with the following boot option?
> 
> inst.updates=https://vponcova.fedorapeople.org/f28_dots.img

I've been trying this on a Fedora 29 install and so far seems to be resolving the issues I was seeing with the install getting stuck with repeating dots. Since I started using this I haven't seen a stuck install. Before that I was having stuck installs quite often.

I've done about 10 test runs so far. This is done on bare-metal systems under Beaker.

Comment 12 John Villalovos 2018-11-29 17:51:48 UTC
(In reply to John Villalovos from comment #11)
> I've done about 10 test runs so far. This is done on bare-metal systems
> under Beaker.


I've been using this for several days now and since I started using it I haven't seen a stuck install. Before I was seeing it about 50% of the time.

I would vote for getting the patch merged.

Comment 13 Vendula Poncova 2018-11-30 11:21:16 UTC
The patch is already part of Fedora 29: https://github.com/rhinstaller/anaconda/pull/1599

Comment 14 John Villalovos 2018-11-30 15:37:53 UTC
(In reply to Vendula Poncova from comment #13)
> The patch is already part of Fedora 29:
> https://github.com/rhinstaller/anaconda/pull/1599

Thanks. I discovered the 'install.img' file I was using in our network install did not have that patch for some reason.


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