| Summary: | OSError: [Errno 20] Not a directory: '/mnt/isodir/Fedora-15-i386-DVD.iso' | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | nullakilla | ||||||||
| Component: | anaconda | Assignee: | Brian Lane <bcl> | ||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 15 | CC: | adam.hough, anaconda-maint-list, jdisnard, jonathan, vanmeeuwen+fedora | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | i386 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | anaconda_trace_hash:92eefcaf41ea3e12eb91d0ba3b7c10791fb2b3a1962acfb0927113c85d4e26d9 | ||||||||||
| Fixed In Version: | anaconda-16.12-1 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2011-06-27 16:26:53 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Attachments: |
|
||||||||||
Created attachment 500999 [details]
Attached traceback automatically from anaconda.
Created attachment 501558 [details]
Attached traceback automatically from anaconda.
Created attachment 501559 [details]
Attached traceback automatically from anaconda.
I have a similar issue, possibly related. My PXE syslinux menu: LABEL 5 MENU LABEL ^Fedora 15 - x86_64 nfs-iso (interactive) IPAPPEND 2 KERNEL FC/15/x86_64/vmlinuz APPEND initrd=FC/15/x86_64/initrd.img ramdisk_size=5939 text repo=nfsiso:192.168.1.234:/mnt/DroboFS/Shares/build/ISO/FC/Fedora-15-x86_64-DVD.iso ksdevice=bootif ipv6=auto mtu=9000 lang=en_US.UTF-8 ~~~~ I get an error: "Could't Mount ISO Source" An Error occurred mounting the source device 192.168.1.234/mnt/DroboFS/Shares/build/ISO/Fedora-5-x86_64-DVD.iso. This may happen if your ISO images are located on an advanced storage device like LVM or RAID, or if there was a problem mounting a partition. Click exit to abort the installation. ~~~~ When I press ALT+F3 I see another error msg: INFO anaconda: moving (1) to step reposetup ERR anaconda: couldn't mount ISO source directory: (32, 'mount.nfs: mount point /mnt/isodir is not a directory') ~~~~ When I press ALT+F2 I see a root prompt: I'm able to see that the dir exists by typing: [anaconda root@localhost /]# ls -ld /mnt/isodir drwxr--xr-x. 2 root root - Jun 23 22:20 /mnt/isodir When I manually attempt to NFS mount the remote ISODIR to the local /mnt/isodir [anaconda root@localhost /]# mount -o nolock 192.168.1.234:/mnt/DroboFS/Shares/build/ISO/FC/ /mnt/isodir The command succeeds [anaconda root@localhost /]# echo $? 0 I can see the ISO file. [anaconda root@localhost /]# ls -lh /mnt/isodir/Fedora-15-x86_64-DVD.iso -rrwxrwxrwx. 1 root root 3.4G Jun 21 23:40 /mnt/isodir/Fedora-15-x86_64-DVD.iso ~~~~ When I switch into /tmp and read the /tmp/anaconda.log, here is what I see: DEBUG anaconda: reposetup is a direct step DEBUG anaconda: isys.py:mount()- going to mount 192.168.1.234:/mnt/DroboFS/Shares/build/ISO/FC/Fedora-15-x86_64-DVD.iso on /mnt/isodir as nfs with options defaults ERR anaconda: couldn't mount ISO source directory: (32, 'mount.nfs: mountpoint /mnt/isodir is not a directory') ~~~~ This seems to imply to me that specifying the DVD.iso too much information, or perhaps anaconda should be separating the dirname and basename, especially if the path ends in .iso. Anyhow, I digress... to test this implication, I then altered my syslinux PXE boot menu to remove the DVD.iso. Fully expecting an error because no DVD.iso was specified. I got to the Same spot where the error had previously occured, time went, and went.... expecting an error any moment now. Note, I'm on the ALT+F3 screen tailling the logs.... nothing ever came for abotu a minute, AND THEN CAME: INFO anaconda: Preparing to install packages WTF! It worked?!?! So here is the deal, I have a bunch of ISO images in the location I specify, so it made sense to explicitly append the FC15 dvd iso. When I flip over into ALT+F2 to examine the /tmp/anaconda.log, I see stuff about trying to download some iso files, check it out: INFO loader transferring nfsiso:192.168.1.234:/mnt/DroboFS/Shares/build/ISO/FC//images/updates.img and INFO loader transferring nfsiso:192.168.1.234:/mnt/DroboFS/Shares/build/ISO/FC//images/product.img Both ERR. Now the funny part is that I was attempting to install Fedora 15, but this NFSISO location contained man ISO, including my previous Fedora 14 iso. You see where I'm going with this? When I rebooted the login showed me Fedora release 14 (Laughlin) I guess there is some magic to pick up the first iso, usling lexical scope rules? I would have liked to have picked from a dialog menu which files to install from, but that is a feature request. The bottom line: TL;DR: is it works if we omit the file name. |
The following was filed automatically by anaconda: anaconda 15.31 exception report Traceback (most recent call first): File "/usr/lib/python2.7/site-packages/pyanaconda/image.py", line 34, in findFirstIsoImage files = os.listdir(path) File "/usr/lib/python2.7/site-packages/pyanaconda/image.py", line 156, in mountImage image = findFirstIsoImage(isodir, messageWindow) File "/usr/lib/python2.7/site-packages/pyanaconda/yuminstall.py", line 431, in _mountInstallImage mountImage(self.isodir, self.tree, self.anaconda.intf.messageWindow) File "/usr/lib/python2.7/site-packages/pyanaconda/yuminstall.py", line 455, in configBaseURL self._mountInstallImage() File "/usr/lib/python2.7/site-packages/pyanaconda/yuminstall.py", line 356, in setup self.configBaseURL() File "/usr/lib/python2.7/site-packages/pyanaconda/yuminstall.py", line 1231, in doBackendSetup self.ayum.setup() File "/usr/lib/python2.7/site-packages/pyanaconda/backend.py", line 192, in doBackendSetup if anaconda.backend.doBackendSetup(anaconda) == DISPATCH_BACK: File "/usr/lib/python2.7/site-packages/pyanaconda/dispatch.py", line 211, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib/python2.7/site-packages/pyanaconda/dispatch.py", line 130, in gotoNext self.moveStep() File "/usr/lib/python2.7/site-packages/pyanaconda/gui.py", line 1257, in nextClicked self.anaconda.dispatch.gotoNext() OSError: [Errno 20] Not a directory: '/mnt/isodir/Fedora-15-i386-DVD.iso'