Bug 1495211

Summary: dnf.exceptions.ConfigError: Repository anaconda has no mirror or baseurl set.
Product: [Fedora] Fedora Reporter: lnie <lnie>
Component: anacondaAssignee: Jiri Konecny <jkonecny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: anaconda-maint-list, jkonecny, jonathan, kellin, lnie, mkolman, pjones, sbueno, vanmeeuwen+fedora, vpodzime, vponcova, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:085dd9034220b119b850ef0fed66fd4ceae6a7aa2e230a42200d3e6c0b9965f2;
Fixed In Version: anaconda-27.20.3 anaconda-27.20.4-1.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-18 15:22:37 UTC Type: ---
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
File: anaconda-tb
none
File: anaconda.log
none
File: dnf.librepo.log
none
File: environ
none
File: hawkey.log
none
File: lorax-packages.log
none
File: lsblk_output
none
File: lvm.log
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description lnie 2017-09-25 13:57:28 UTC
Description of problem:


Version-Release number of selected component:
anaconda-27.20.1-1

The following was filed automatically by anaconda:
anaconda 27.20.1-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.6/site-packages/dnf/repodict.py", line 42, in add
    raise ConfigError(msg)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/payload/dnfpayload.py", line 389, in _add_repo
    self._base.repos.add(repo)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/payload/dnfpayload.py", line 1036, in updateBaseRepo
    self._add_repo(base_ksrepo)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/payload/__init__.py", line 1615, in _runThread
    payload.updateBaseRepo(fallback=fallback, checkmount=checkmount)
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 252, in run
    threading.Thread.run(self)
dnf.exceptions.ConfigError: Repository anaconda has no mirror or baseurl set.

Additional info:
addons:         com_redhat_kdump, com_redhat_docker
cmdline:        /usr/libexec/system-python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-27 rd.live.check quiet inst.text
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.13.3-300.fc27.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        27

Comment 1 lnie 2017-09-25 13:59:37 UTC
Created attachment 1330570 [details]
File: anaconda-tb

Comment 2 lnie 2017-09-25 13:59:42 UTC
Created attachment 1330571 [details]
File: anaconda.log

Comment 3 lnie 2017-09-25 13:59:46 UTC
Created attachment 1330572 [details]
File: dnf.librepo.log

Comment 4 lnie 2017-09-25 13:59:48 UTC
Created attachment 1330573 [details]
File: environ

Comment 5 lnie 2017-09-25 13:59:50 UTC
Created attachment 1330574 [details]
File: hawkey.log

Comment 6 lnie 2017-09-25 13:59:56 UTC
Created attachment 1330575 [details]
File: lorax-packages.log

Comment 7 lnie 2017-09-25 13:59:58 UTC
Created attachment 1330576 [details]
File: lsblk_output

Comment 8 lnie 2017-09-25 14:00:18 UTC
Created attachment 1330577 [details]
File: lvm.log

Comment 9 lnie 2017-09-25 14:00:20 UTC
Created attachment 1330578 [details]
File: nmcli_dev_list

Comment 10 lnie 2017-09-25 14:00:22 UTC
Created attachment 1330579 [details]
File: os_info

Comment 11 lnie 2017-09-25 14:00:28 UTC
Created attachment 1330580 [details]
File: program.log

Comment 12 lnie 2017-09-25 14:00:46 UTC
Created attachment 1330581 [details]
File: storage.log

Comment 13 lnie 2017-09-25 14:01:21 UTC
Created attachment 1330582 [details]
File: syslog

Comment 14 lnie 2017-09-25 14:01:24 UTC
Created attachment 1330583 [details]
File: ifcfg.log

Comment 15 lnie 2017-09-25 14:01:27 UTC
Created attachment 1330584 [details]
File: packaging.log

Comment 16 Jiri Konecny 2017-09-26 08:21:29 UTC
Hi Nie,

Could you please provides us the reproducer for the issue?

Thanks

Comment 17 lnie 2017-09-26 08:53:45 UTC
Hi,

I mentioned it in #bz1494821.
The reproducer is:
In text mode installation,choose 3)network for installation source,then choose http/https,then type"c" which means continue. AFAIK,server-dvd.iso and workstation-netinst are affected.
I think anaconda should not crash when users change their mind and decide to set the installation source later by typing "c".

Comment 18 Jiri Konecny 2017-10-11 11:55:06 UTC
PR: https://github.com/rhinstaller/anaconda/pull/1214

Comment 19 Fedora Update System 2017-10-12 17:20:57 UTC
anaconda-27.20.4-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-fe6c2736ca

Comment 20 Fedora Update System 2017-10-13 23:23:00 UTC
anaconda-27.20.4-1.fc27, pykickstart-2.40-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-fe6c2736ca

Comment 21 Fedora Update System 2017-10-18 15:22:37 UTC
anaconda-27.20.4-1.fc27, pykickstart-2.40-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.