Bug 1669711
| Summary: | kickstart install: additional nfs repos are not accepted | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Frantisek Hanzlik <franta> | ||||||||
| Component: | dnf | Assignee: | Jaroslav Rohel <jrohel> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 30 | CC: | anaconda-maint-list, imc, jkonecny, jmracek, jonathan, jrohel, kellin, mblaha, mhatina, packaging-team-maint, pkratoch, rpm-software-management, vanmeeuwen+fedora, vmukhame, vponcova, wwoods | ||||||||
| Target Milestone: | --- | Keywords: | Triaged | ||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | dnf-4.2.15-3.fc30 | Doc Type: | If docs needed, set a value | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2020-05-04 06:10:13 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: | |||||||||||
| Attachments: |
|
||||||||||
Created attachment 1523691 [details]
/tmp/packaging.log
Created attachment 1523692 [details]
/tmp/storage.log
Some small clarification:
- is considered only last additional repo in kickstart list
- under /tmp/dnf.cache/ are files, which have (besides main repo) sames sizes:
cd $krach2/tmp/dnf.cache
# find . -maxdepth 1 -type f -printf '%i %M %u %g %8s %P\n'|sort -k 6,6 -k 5,5n
60960246 -rw-r--r-- root root 50450067 anaconda-filenames.solvx
60960255 -rw-r--r-- root root 21920274 anaconda.solv
60960254 -rw-r--r-- root root 91206 moje-filenames.solvx
60960263 -rw-r--r-- root root 56740 moje.solv
60960253 -rw-r--r-- root root 91206 mplanetccrma-filenames.solvx
60960262 -rw-r--r-- root root 56740 mplanetccrma.solv
60960247 -rw-r--r-- root root 91206 mupdates-filenames.solvx
60960256 -rw-r--r-- root root 56740 mupdates.solv
60960248 -rw-r--r-- root root 91206 rff-filenames.solvx
60960257 -rw-r--r-- root root 56740 rff.solv
60960249 -rw-r--r-- root root 91206 rfft-filenames.solvx
60960258 -rw-r--r-- root root 56740 rfft.solv
60960251 -rw-r--r-- root root 91206 rffu-filenames.solvx
60960260 -rw-r--r-- root root 56740 rffu.solv
60960250 -rw-r--r-- root root 91206 rfnf-filenames.solvx
60960259 -rw-r--r-- root root 56740 rfnf.solv
60960252 -rw-r--r-- root root 91206 rfnfu-filenames.solvx
60960261 -rw-r--r-- root root 56740 rfnfu.solv
- same sizes have also files under ${REPONAME}-XX/repodata/ :
# find . -mindepth 2 -type f -printf '%i %M %u %g %8s %P\n'|sort -k 6,6 -k 5,5n
60960222 -rw-r--r-- root root 269044 anaconda-2acb3ab326322b93/repodata/5149be74cc5c699a5b84a3acc6372fe456a3f3557926c243ffa026f4e50139d4-comps-Everything.x86_64.xml.xz
60960221 -rw-r--r-- root root 48998256 anaconda-2acb3ab326322b93/repodata/55059fb25f8577d2a18d0883247b604dade9f3f68b5b54593ec1809acc57e5fc-filelists.xml.gz
60960220 -rw-r--r-- root root 16191653 anaconda-2acb3ab326322b93/repodata/912f062d93e096c75901055ffca02a0c3961b33b8e1dd65319d97d493d3e49d5-primary.xml.gz
60960224 -rw-r--r-- root root 1888600 anaconda-2acb3ab326322b93/repodata/gen/groups.xml
60960223 -rw-r--r-- root root 3921 anaconda-2acb3ab326322b93/repodata/repomd.xml
60960245 -rw-r--r-- root root 95611 moje-cda33fe07e843308/repodata/5a88d4bf0e16819c3c4de82a3dbce598d78f7f17dbad86ea2d7a0440cc1163b7-filelists.xml.gz
60960244 -rw-r--r-- root root 36831 moje-cda33fe07e843308/repodata/b55a4c55dc162c55fa611b99776074aa85862980272c8e8446c1e72829665b45-primary.xml.gz
60960243 -rw-r--r-- root root 3090 moje-cda33fe07e843308/repodata/repomd.xml
60960242 -rw-r--r-- root root 95611 mplanetccrma-cda33fe07e843308/repodata/5a88d4bf0e16819c3c4de82a3dbce598d78f7f17dbad86ea2d7a0440cc1163b7-filelists.xml.gz
60960241 -rw-r--r-- root root 36831 mplanetccrma-cda33fe07e843308/repodata/b55a4c55dc162c55fa611b99776074aa85862980272c8e8446c1e72829665b45-primary.xml.gz
60960240 -rw-r--r-- root root 3090 mplanetccrma-cda33fe07e843308/repodata/repomd.xml
60960227 -rw-r--r-- root root 95611 mupdates-cda33fe07e843308/repodata/5a88d4bf0e16819c3c4de82a3dbce598d78f7f17dbad86ea2d7a0440cc1163b7-filelists.xml.gz
60960226 -rw-r--r-- root root 36831 mupdates-cda33fe07e843308/repodata/b55a4c55dc162c55fa611b99776074aa85862980272c8e8446c1e72829665b45-primary.xml.gz
60960225 -rw-r--r-- root root 3090 mupdates-cda33fe07e843308/repodata/repomd.xml
60960265 -rw-r--r-- root root 95611 rff-cda33fe07e843308/repodata/5a88d4bf0e16819c3c4de82a3dbce598d78f7f17dbad86ea2d7a0440cc1163b7-filelists.xml.gz
60960264 -rw-r--r-- root root 36831 rff-cda33fe07e843308/repodata/b55a4c55dc162c55fa611b99776074aa85862980272c8e8446c1e72829665b45-primary.xml.gz
60960266 -rw-r--r-- root root 3090 rff-cda33fe07e843308/repodata/repomd.xml
60960230 -rw-r--r-- root root 95611 rfft-cda33fe07e843308/repodata/5a88d4bf0e16819c3c4de82a3dbce598d78f7f17dbad86ea2d7a0440cc1163b7-filelists.xml.gz
60960229 -rw-r--r-- root root 36831 rfft-cda33fe07e843308/repodata/b55a4c55dc162c55fa611b99776074aa85862980272c8e8446c1e72829665b45-primary.xml.gz
60960228 -rw-r--r-- root root 3090 rfft-cda33fe07e843308/repodata/repomd.xml
60960236 -rw-r--r-- root root 95611 rffu-cda33fe07e843308/repodata/5a88d4bf0e16819c3c4de82a3dbce598d78f7f17dbad86ea2d7a0440cc1163b7-filelists.xml.gz
60960235 -rw-r--r-- root root 36831 rffu-cda33fe07e843308/repodata/b55a4c55dc162c55fa611b99776074aa85862980272c8e8446c1e72829665b45-primary.xml.gz
60960234 -rw-r--r-- root root 3090 rffu-cda33fe07e843308/repodata/repomd.xml
60960233 -rw-r--r-- root root 95611 rfnf-cda33fe07e843308/repodata/5a88d4bf0e16819c3c4de82a3dbce598d78f7f17dbad86ea2d7a0440cc1163b7-filelists.xml.gz
60960232 -rw-r--r-- root root 36831 rfnf-cda33fe07e843308/repodata/b55a4c55dc162c55fa611b99776074aa85862980272c8e8446c1e72829665b45-primary.xml.gz
60960231 -rw-r--r-- root root 3090 rfnf-cda33fe07e843308/repodata/repomd.xml
60960239 -rw-r--r-- root root 95611 rfnfu-cda33fe07e843308/repodata/5a88d4bf0e16819c3c4de82a3dbce598d78f7f17dbad86ea2d7a0440cc1163b7-filelists.xml.gz
60960238 -rw-r--r-- root root 36831 rfnfu-cda33fe07e843308/repodata/b55a4c55dc162c55fa611b99776074aa85862980272c8e8446c1e72829665b45-primary.xml.gz
60960237 -rw-r--r-- root root 3090 rfnfu-cda33fe07e843308/repodata/repomd.xml
and their content corresponds with last mentioned additional repo
HTH, Franta
Could you please re-test this on new Rawhide Fedora? I fixed another NFS issue which could be related to this. I tried it now on Fedora 30, and bug still exist. Fedora version raised. This appears to be a difference between the dnf in Fedora 28 (dnf-2.7.5)
and that in Fedora 30 (dnf-4.2.7). Anaconda chooses the mountpoint
like this:
mountpoint = "%s/%s.nfs" % (constants.MOUNT_DIR, repo.name)
[dnfpayload.py:355]
where repo = dnf.repo.Repo(ksrepo.name, self._base.conf)
But dnf.repo.Repo apparently does not set the name attribute in Fedora 30
whereas it did in Fedora 28. Dunno if this is a bug in the dnf package,
but you could easily work around this by using ksrepo.name instead of
repo.name. Or if the name is important later, set repo.name explicitly
to ksrepo.name.
Thanks Ian for the investigation work. Dan could you please tell me if DNF should fix that or if that should be fixed on our side? It seems to be a bug in dnf/libdnf according to comment#6. I'm moving this bug to dnf component for further investigation. I prepared fix. PR https://github.com/rpm-software-management/dnf/pull/1494 Fixed in upstream. PR https://github.com/rpm-software-management/dnf/pull/1494 PR https://github.com/rpm-software-management/dnf/pull/1501 FEDORA-2019-7cafbe66ba has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7cafbe66ba FEDORA-2019-94393775ec has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-94393775ec dnf-4.2.15-1.fc30, dnf-plugins-core-4.0.11-1.fc30, dnf-plugins-extras-4.0.8-1.fc30, libdnf-0.37.2-2.fc30, librepo-1.11.0-1.fc30, microdnf-3.0.2-1.fc30 has been pushed to the Fedora 30 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-2019-7cafbe66ba Please how I can test this bugfix as easily as possible? In #13 mentioned instructions for testing updates are IMO in case of bugs in installer inadequate. I still can install Fedora 30 (and I will probably be some more time, as I need i386/i686 distros), there is not problem - but should I build own new netinst image with fixed installer? How is this the easiest to do? dnf-4.2.15-1.fc31, dnf-plugins-core-4.0.11-1.fc31, dnf-plugins-extras-4.0.8-1.fc31, libdnf-0.37.2-2.fc31, librepo-1.11.0-1.fc31, microdnf-3.0.2-1.fc31 has been pushed to the Fedora 31 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-2019-94393775ec FEDORA-2019-7cafbe66ba has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7cafbe66ba FEDORA-2019-94393775ec has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-94393775ec dnf-4.2.15-3.fc30, dnf-plugins-core-4.0.11-1.fc30, dnf-plugins-extras-4.0.8-1.fc30, libdnf-0.37.2-2.fc30, librepo-1.11.0-1.fc30, microdnf-3.0.2-1.fc30 has been pushed to the Fedora 30 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-2019-7cafbe66ba dnf-4.2.15-2.fc31, dnf-plugins-core-4.0.11-1.fc31, dnf-plugins-extras-4.0.8-1.fc31, libdnf-0.37.2-2.fc31, librepo-1.11.0-1.fc31, microdnf-3.0.2-1.fc31 has been pushed to the Fedora 31 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-2019-94393775ec dnf-4.2.15-2.fc31, dnf-plugins-core-4.0.11-1.fc31, dnf-plugins-extras-4.0.8-1.fc31, libdnf-0.37.2-2.fc31, librepo-1.11.0-1.fc31, microdnf-3.0.2-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report. dnf-4.2.15-3.fc30, dnf-plugins-core-4.0.11-1.fc30, dnf-plugins-extras-4.0.8-1.fc30, libdnf-0.37.2-2.fc30, librepo-1.11.0-1.fc30, microdnf-3.0.2-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. This message is a reminder that Fedora 30 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '30'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 30 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. |
Created attachment 1523690 [details] /tmp/anaconda.log Description of problem: I did F29/x86_64 kickstart install with source spec similar as: nfs --server=192.168.1.254 --dir=/29/Everything/i386/os repo --name="mupdates" --baseurl=nfs://1.1.1.2:/29/updates/i386 repo --name="rff" --baseurl=nfs://1.1.1.2:/29/rpmfusion-free/i386/os repo --name="rfnf" --baseurl=nfs://1.1.1.2:/29/rpmfusion-nonfree/i386/os repo --name="rffu" --baseurl=nfs://1.1.1.2:/29/rpmfusion-free-updates/i386/os repo --name="rfnfu" --baseurl=nfs://1.1.1.2:/29/rpmfusion-nonfree-updates/i386 repo --name="mplanetccrma" --baseurl=nfs://1.1.1.2:/29/planetccrma/i386 repo --name="moje" --baseurl=nfs://1.1.1.2:/29/moje/i386 --cost=1000 (same spec as with a lot of Fedora distros before). It seems, as all stated repos are accepted, but all but last stated repo (here "moje" repo) are ignored. Version-Release number of selected component (if applicable): INF main: /sbin/anaconda 29.24.7-1.fc29 Additional info: From log it seems as anaconda tries mount all repos into one mount point '/run/install/.nfs': anaconda.log: ... 06:56:13,375 DBG ui.gui.hubs: setting StorageSpoke status to: Probing storage... 06:56:13,413 INF payload: mounting 192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/rpmfusion-free/x86_64/os:None on /run/install/.nfs 06:56:13,423 DBG payload: /run/install/.nfs already has something mounted on it 06:56:13,660 INF payload: mounting 192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/rpmfusion-nonfree/x86_64/os:None on /run/install/.nfs 06:56:13,670 DBG payload: /run/install/.nfs already has something mounted on it 06:56:13,778 INF payload: mounting 192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/rpmfusion-free-updates/x86_64/os:None on /run/install/.nfs 06:56:13,781 DBG payload: /run/install/.nfs already has something mounted on it 06:56:13,836 INF lifecycle: Module initialized: CustomPartitioningSpoke 06:56:13,837 INF threading: Thread Done: AnaCustomStorageInit (140286552020736) 06:56:13,875 INF payload: mounting 192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/rpmfusion-nonfree-updates/x86_64:None on /run/install/.nfs 06:56:13,878 DBG payload: /run/install/.nfs already has something mounted on it 06:56:13,962 INF payload: mounting 192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/planetccrma/x86_64:None on /run/install/.nfs 06:56:13,965 DBG payload: /run/install/.nfs already has something mounted on it 06:56:14,047 INF payload: mounting 192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/moje/x86_64:None on /run/install/.nfs 06:56:14,049 DBG payload: /run/install/.nfs already has something mounted on it 06:56:28,242 DBG payload: Updating payload thread state: 5 ... packaging.log: ... 06:56:10,053 DBG packaging: releasever from file:///run/install/source is 29 06:56:10,054 INF packaging: added repo: 'anaconda' - file:///run/install/source 06:56:10,073 DBG dnf: repo: downloading from remote: anaconda 06:56:13,337 INF packaging: enabled repo: '' - ['file:///run/install/source'] and got repomd 06:56:13,338 DBG packaging: repo mupdates: mirrorlist None, baseurl nfs://192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/updates/x86_64, metalink False 06:56:13,410 INF packaging: added repo: 'mupdates' - file:///run/install/.nfs 06:56:13,411 DBG packaging: repo rff: mirrorlist None, baseurl nfs://192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/rpmfusion-free/x86_64/os, metalink False 06:56:13,658 INF packaging: added repo: 'rff' - file:///run/install/.nfs 06:56:13,658 DBG packaging: repo rfnf: mirrorlist None, baseurl nfs://192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/rpmfusion-nonfree/x86_64/os, metalink False 06:56:13,776 INF packaging: added repo: 'rfnf' - file:///run/install/.nfs 06:56:13,776 DBG packaging: repo rffu: mirrorlist None, baseurl nfs://192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/rpmfusion-free-updates/x86_64/os, metalink False 06:56:13,873 INF packaging: added repo: 'rffu' - file:///run/install/.nfs 06:56:13,874 DBG packaging: repo rfnfu: mirrorlist None, baseurl nfs://192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/rpmfusion-nonfree-updates/x86_64, metalink False 06:56:13,960 INF packaging: added repo: 'rfnfu' - file:///run/install/.nfs 06:56:13,960 DBG packaging: repo mplanetccrma: mirrorlist None, baseurl nfs://192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/planetccrma/x86_64, metalink False 06:56:14,044 INF packaging: added repo: 'mplanetccrma' - file:///run/install/.nfs 06:56:14,045 DBG packaging: repo moje: mirrorlist None, baseurl nfs://192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/moje/x86_64, metalink False 06:56:14,140 INF packaging: added repo: 'moje' - file:///run/install/.nfs 06:56:14,142 DBG dnf: repo: downloading from remote: mupdates 06:56:16,178 INF packaging: enabled repo: '' - ['file:///run/install/.nfs'] and got repomd 06:56:16,179 DBG dnf: repo: downloading from remote: rff ... program.log: ... 06:56:09,530 INF program: Running... mount -t nfs -o nolock 192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/Everything/x86_64/os /run/install/source 06:56:09,939 DBG program: Return code: 0 06:56:09,940 INF program: Running... modprobe vfat 06:56:09,985 DBG program: Return code: 0 06:56:11,169 INF program: Running... modprobe btrfs 06:56:11,427 DBG program: Return code: 0 06:56:13,341 INF program: Running... mount -t nfs -o nolock 192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/updates/x86_64 /run/install/.nfs 06:56:13,409 DBG program: Return code: 0 06:56:13,413 INF program: Running... modprobe xfs 06:56:13,573 DBG program: Return code: 0 06:56:13,574 INF program: Running... umount /run/install/.nfs 06:56:13,605 DBG program: Return code: 0 06:56:13,605 INF program: Running... mount -t nfs -o nolock 192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/rpmfusion-free/x86_64/os /run/install/.nfs 06:56:13,656 DBG program: Return code: 0 06:56:13,671 INF program: Running... umount /run/install/.nfs 06:56:13,706 DBG program: Return code: 0 06:56:13,708 INF program: Running... mount -t nfs -o nolock 192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/rpmfusion-nonfree/x86_64/os /run/install/.nfs 06:56:13,752 INF program: Running [27] mdadm --version ... 06:56:13,775 DBG program: Return code: 0 06:56:13,781 INF program: Running... umount /run/install/.nfs 06:56:13,815 INF program: stdout[27]: 06:56:13,816 INF program: stderr[27]: mdadm - v4.1-rc2 - 2018-08-02 06:56:13,816 INF program: ...done [27] (exit code: 0) 06:56:13,820 DBG program: Return code: 0 06:56:13,821 INF program: Running... mount -t nfs -o nolock 192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/rpmfusion-free-updates/x86_64/os /run/install/.nfs 06:56:13,872 DBG program: Return code: 0 06:56:13,878 INF program: Running... umount /run/install/.nfs 06:56:13,909 DBG program: Return code: 0 06:56:13,910 INF program: Running... mount -t nfs -o nolock 192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/rpmfusion-nonfree-updates/x86_64 /run/install/.nfs 06:56:13,958 DBG program: Return code: 0 06:56:13,965 INF program: Running... umount /run/install/.nfs 06:56:13,994 DBG program: Return code: 0 06:56:13,995 INF program: Running... mount -t nfs -o nolock 192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/planetccrma/x86_64 /run/install/.nfs 06:56:14,043 DBG program: Return code: 0 06:56:14,049 INF program: Running... umount /run/install/.nfs 06:56:14,078 DBG program: Return code: 0 06:56:14,079 INF program: Running... mount -t nfs -o nolock 192.168.1.254:/mnt/data/SW/dist/RH/fedora/29/moje/x86_64 /run/install/.nfs 06:56:14,138 DBG program: Return code: 0 ...