Bug 1495211 - dnf.exceptions.ConfigError: Repository anaconda has no mirror or baseurl set.
Summary: dnf.exceptions.ConfigError: Repository anaconda has no mirror or baseurl set.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 27
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jiri Konecny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:085dd9034220b119b850ef0fed6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-25 13:57 UTC by lnie
Modified: 2017-10-18 15:22 UTC (History)
12 users (show)

Fixed In Version: anaconda-27.20.3 anaconda-27.20.4-1.fc27
Clone Of:
Environment:
Last Closed: 2017-10-18 15:22:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (828.08 KB, text/plain)
2017-09-25 13:59 UTC, lnie
no flags Details
File: anaconda.log (32.02 KB, text/plain)
2017-09-25 13:59 UTC, lnie
no flags Details
File: dnf.librepo.log (13.71 KB, text/plain)
2017-09-25 13:59 UTC, lnie
no flags Details
File: environ (530 bytes, text/plain)
2017-09-25 13:59 UTC, lnie
no flags Details
File: hawkey.log (762 bytes, text/plain)
2017-09-25 13:59 UTC, lnie
no flags Details
File: lorax-packages.log (25.98 KB, text/plain)
2017-09-25 13:59 UTC, lnie
no flags Details
File: lsblk_output (1.51 KB, text/plain)
2017-09-25 13:59 UTC, lnie
no flags Details
File: lvm.log (125.98 KB, text/plain)
2017-09-25 14:00 UTC, lnie
no flags Details
File: nmcli_dev_list (1.21 KB, text/plain)
2017-09-25 14:00 UTC, lnie
no flags Details
File: os_info (529 bytes, text/plain)
2017-09-25 14:00 UTC, lnie
no flags Details
File: program.log (34.38 KB, text/plain)
2017-09-25 14:00 UTC, lnie
no flags Details
File: storage.log (132.59 KB, text/plain)
2017-09-25 14:00 UTC, lnie
no flags Details
File: syslog (225.91 KB, text/plain)
2017-09-25 14:01 UTC, lnie
no flags Details
File: ifcfg.log (2.99 KB, text/plain)
2017-09-25 14:01 UTC, lnie
no flags Details
File: packaging.log (14.37 KB, text/plain)
2017-09-25 14:01 UTC, lnie
no flags Details

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.


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