Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1400045 - anaconda: Installation crashes when no network present
Summary: anaconda: Installation crashes when no network present
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 25
Hardware: aarch64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Vendula Poncova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARM64, F-ExcludeArch-aarch64
TreeView+ depends on / blocked
 
Reported: 2016-11-30 11:04 UTC by Robert Richter
Modified: 2017-08-06 17:27 UTC (History)
9 users (show)

Fixed In Version: anaconda-26.17-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-06 17:27:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Full log (46.18 KB, text/plain)
2016-11-30 11:16 UTC, Robert Richter
no flags Details

Description Robert Richter 2016-11-30 11:04:10 UTC
Description of problem:

The anaconda installer crashes with an exception if no network is present:

anaconda 25.20.8-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/pyanaconda/packaging/__init__.py", line 1156, in selectEnvironment
    raise NoSuchGroup(environmentid)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/tui/spokes/software.py", line 318, in _apply
    self.payload.selectEnvironment(self.environment)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/tui/spokes/software.py", line 90, in _initialize
    self._apply()
  File "/usr/lib64/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/threads.py", line 251, in run
    threading.Thread.run(self, *args, **kwargs)
pyanaconda.packaging.NoSuchGroup


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

anaconda 25.20.8-1, from the Fedora 25 aarch64 iso (Fedora-Server-netinst-aarch64-25-1.3.iso):

 https://dl.fedoraproject.org/pub/fedora-secondary/releases/25/Server/aarch64/iso/

How reproducible:

Steps to Reproduce:

1. Start installation in qemu with network disabled, e.g.:

 qemu-system-aarch64 -enable-kvm -smp 8 -m 16G -cpu host -nographic -pflash flash0.img -pflash flash1.img -M virt,gic_version=3 -cdrom Fedora-Server-netinst-aarch64-25-1.3.iso -net none -hda /dev/sdb

2. The exception occurs immediately after the install shows the first text mode menu.

Actual results:

Exception.

Expected results:

No exception.

Additional info:

I suspect

 4a42de7d00f7 tui: Add software group selection

the breaking commit, though not tested.

Enabling network makes the installer work.

Comment 1 Robert Richter 2016-11-30 11:16:53 UTC
Created attachment 1226257 [details]
Full log

One more detail from the log:

 Not asking for VNC because we don't have a network

Attaching full log.

Comment 2 Vendula Poncova 2017-01-03 09:04:29 UTC
Fixed in: https://github.com/rhinstaller/anaconda/pull/914

Comment 3 Peter Robinson 2017-08-06 17:27:48 UTC
Fixed


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