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 1172889

Summary: When inst.stage2 is configured with a http url, anaconda crash and throw an exception about ‘FSError:umount failed’
Product: Red Hat Enterprise Linux 7 Reporter: Jinli Li <jinli.li>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0CC: xi.zhang
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-13 16:57:41 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:
Description Flags
log none

Description Jinli Li 2014-12-11 02:37:58 UTC
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

Comment 2 David Shea 2014-12-11 14:36:40 UTC
*** Bug 1172965 has been marked as a duplicate of this bug. ***

Comment 3 David Shea 2014-12-13 16:57:41 UTC

*** This bug has been marked as a duplicate of bug 1040722 ***