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.
Created attachment 967025[details]
log
Description of problem:
Using anaconda boot option inst.stage2=http://<host>/<path>,anaconda should fetch the installer runtime image from http server and boot anaconda normally. But anaconda crash and throw an exception in this case.
Version-Release number of selected component (if applicable):
anaconda-19.31.79-1
How reproducible:
Steps to Reproduce:
1. setup a remote http rhel7 repository with the iso image on machine A whose ip is 10.1.40.75 like this:
# mkdir /var/www/html/install && mount -oloop rhel-server-7.0-x86_64-dvd.iso /var/www/html/install
2. restart httpd server.
#service httpd restart
3. booting from legacy bios cdrom to install rhel7 on machine B with the boot options like this:
vmlinuz initrd=initrd.img inst.stage2=http://10.1.40.75/install ip=10.1.40.74::10.1.40.254:255.255.255.0:test:enp1s0f0:none
4. boot
Actual results:
1. after step4, anaconda gui crash in several seconds, and throw an exception about ‘FSError:umount failed’.
Expected results:
1. after step 4, anaocnda gui boot normally, and repository setting is correct.
Additional info:
anaconda 19.31.79-1 exception report
Traceback (most recent call first):
File "/usr/lib/python2.7/site-packages/blivet/formats/fs.py", line 623, in unmount
raise FSError("umount failed")
File "/usr/lib64/python2.7/site-packages/pyanaconda/image.py", line 216, in opticalInsta
llMedia
dev.format.unmount()
File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 783,
in _setupInstallDevice
self.install_device = opticalInstallMedia(storage.devicetree)
File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 477,
in updateBaseRepo
url, mirrorlist, sslverify = self._setupInstallDevice(self.storage, checkmount)
File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 198,
in setup
self.updateBaseRepo(fallback=not flags.automatedInstall)
File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/__init__.py", line 710, in
payloadInitialize
payload.setup(storage)
File "/usr/lib64/python2.7/threading.py", line 764, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 211, in run
threading.Thread.run(self, *args, **kwargs)
FSError: umount failed
Local variables in innermost frame:
self: existing iso9660 filesystem
rc: 32