Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1673187

Summary: Using nfs and have the same root, anaconda will fail to mount both bases and fail to install
Product: Red Hat Enterprise Linux 8 Reporter: Devon <dshumake>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: cww, jcastran, jkonecny, pkenyon
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-12 19:51: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:

Description Devon 2019-02-06 21:39:25 UTC
Description of problem:

Using nfs and have the same root, anaconda will fail to mount both bases and fail to install

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

RHEL 8 nightly build

How reproducible:

Consistently

Steps to Reproduce:
1. Use an inst.ks and inst.repo path with the same root path.

BOOT_IMAGE=vmlinuz initrd=initrd.img inst.repo=nfs:nfsvers=4:10.12.212.245:/var/www/html/rhel8 inst.ks=nfs:10.12.212.245:/var/www/html/rhel8/rhel8.cfg inst.sshd


2. Install will fail with the following errors:

[    6.759543] localhost dracut-initqueue[1021]: RTNETLINK answers: Network is unreachable
[    7.603132] localhost iscsid[1017]: can't open InitiatorName configuration file /etc/iscsi/initiatorname.iscsi
[    7.603363] localhost iscsid[1017]: Warning: InitiatorName file /etc/iscsi/initiatorname.iscsi does not exist or does not contain a properly formatted InitiatorName. If using software iscsi (iscsi_tcp or ib_iser) or partial offload (bnx2i or cxgbi iscsi), you may not be able to log into or
[    7.603384] localhost iscsid[1017]: can't open InitiatorAlias configuration file /etc/iscsi/initiatorname.iscsi
[    8.799541] slrhel08.tsi-ad.com dracut-initqueue[1021]: anaconda mounting NFS repo at nfs:nfsvers=4:172.23.7.42:/redhat/EL8beta_64bit/
[    8.815145] slrhel08.tsi-ad.com kernel: FS-Cache: Loaded
[    8.842768] slrhel08.tsi-ad.com kernel: FS-Cache: Netfs 'nfs' registered for caching
[    8.848850] slrhel08.tsi-ad.com kernel: Key type dns_resolver registered
[    8.880364] slrhel08.tsi-ad.com kernel: NFS: Registering the id_resolver key type
[    8.880681] slrhel08.tsi-ad.com kernel: Key type id_resolver registered
[    8.880971] slrhel08.tsi-ad.com kernel: Key type id_legacy registered
[    8.980433] slrhel08.tsi-ad.com rpc.idmapd[726]: nss_getpwnam: name 'root' does not map into domain 'localdomain'
[    8.980714] slrhel08.tsi-ad.com rpc.idmapd[726]: nss_name_to_gid: name 'root' does not map into domain 'localdomain'
[    9.023946] slrhel08.tsi-ad.com dracut-initqueue[1021]: anaconda: found /run/install/repo//images/install.img
[    9.468855] slrhel08.tsi-ad.com kernel: loop: module loaded
[   10.123600] slrhel08.tsi-ad.com dracut-initqueue[1021]: anaconda: kickstart locations are: nfs:nfsvers=4:172.23.7.42:/redhat/EL8beta_64bit/isolinux/slrhel08.ks
[   10.123904] slrhel08.tsi-ad.com dracut-initqueue[1021]: anaconda: fetching kickstart from nfs:nfsvers=4:172.23.7.42:/redhat/EL8beta_64bit/isolinux/slrhel08.ks
[   10.130816] slrhel08.tsi-ad.com dracut-initqueue[1021]: cp: cannot stat '/run/install/repo/isolinux/slrhel08.ks/slrhel08.ks': No such file or directory
[   10.131889] slrhel08.tsi-ad.com dracut-initqueue[1021]: Warning: anaconda: failed to fetch kickstart from nfs:nfsvers=4:172.23.7.42:/redhat/EL8beta_64bit/isolinux/slrhel08.ks

Actual results:

Fails to mount the inst.ks path as the inst.repo path is already mounted on the /run/install/repo/ path 

Expected results:

Anaconda would recognize the root path is already mounted and install correctly.