Bug 678413 - NFS ISO installs require the presence of .treeinfo
Summary: NFS ISO installs require the presence of .treeinfo
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 15
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedBlocker
Depends On:
Blocks: F15Blocker, F15FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2011-02-17 20:53 UTC by James Laska
Modified: 2013-09-02 06:53 UTC (History)
6 users (show)

Fixed In Version: anaconda-15.21-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-15 17:30:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
/tmp/anaconda.log (6.03 KB, text/plain)
2011-02-17 20:53 UTC, James Laska
no flags Details
anaconda-15.25.log (3.00 KB, application/octet-stream)
2011-03-30 10:45 UTC, He Rui
no flags Details

Description James Laska 2011-02-17 20:53:53 UTC
Created attachment 479400 [details]
/tmp/anaconda.log

Description of problem:

It seems that loader requires a .treeinfo when attempting to do an NFS ISO install.  I don't think HD ISO installs required the .treeinfo present in the directory containing the ISO.  I'm filing this report mainly to review/discuss the change.

If this is expected behavior, we can reassign this to the install-guide so the docs are updated appropriately, and update our test case procedures.

Version-Release number of selected component (if applicable):
 * anaconda-15.20-1

Steps to Reproduce:
1. Boot F-15-Alpha-TC2 with "askmethod"
2. select NFS install
3. Enter server + path to a directory containing *just* Fedora-15-Alpha-x86_64-DVD.iso

  
Actual results:

                     ┌─────────────┤ Error ├─────────────┐                      
                     │                                   │                      
                     │ The URL provided does not contain │                      
                     │ installation media.               │                      
                     │                                   │                      
                     │              ┌────┐               │                      
                     │              │ OK │               │                      
                     │              └────┘               │                      
                     │                                   │                      
                     │                                   │                      
                     └───────────────────────────────────┘                      


Expected results:

         ┌────────────────────────┤ Warning ├────────────────────────┐
         │                                                           │
         │ Warning!  This is pre-release software!                 ↑ │
         │                                                         ▮ │
         │ Thank you for downloading this pre-release of Fedora.   ▒ │
         │                                                         ▒ │
         │ This is not a final release and is not intended for use ▒ │
         │ on production systems.  The purpose of this release is  ▒ │
         │ to collect feedback from testers, and it is not         ▒ │
         │ suitable for day to day usage.                          ▒ │
         │                                                         ▒ │
         │ To report feedback, please visit:                       ▒ │
         │                                                         ▒ │
         │    https://bugzilla.redhat.com                          ↓ │
         │                                                           │
         │        ┌──────┐                ┌────────────────┐         │
         │        │ Exit │                │ Install Anyway │         │
         │        └──────┘                └────────────────┘         │
         │                                                           │
         │                                                           │
         └───────────────────────────────────────────────────────────┘

Additional info:

 * /tmp/anaconda.log indicated that it was looking for a .treeinfo file.  Adding this file on the NFS server, allowed the installer to proceed.

20:35:33,027 INFO loader: only have one network device: eth0
20:35:33,028 INFO loader: doing kickstart... setting it up
20:35:33,028 DEBUG loader: configuring device eth0
20:35:37,052 INFO loader: get_connection (2068): NetworkManager connected
20:35:37,080 INFO loader: url is nfs:dell-t5400.test.redhat.com:/var/lib/libvirt/images/x86_64/.treeinfo
20:35:37,080 DEBUG loader: parseNfsHostPathOpts url: |dell-t5400.test.redhat.com:/var/lib/libvirt/images/x86_64/.treeinfo|
20:35:37,080 DEBUG loader: parseNfsHostPathOpts host: |dell-t5400.test.redhat.com|
20:35:37,080 DEBUG loader: parseNfsHostPathOpts path: |/var/lib/libvirt/images/x86_64/.treeinfo|
20:35:37,080 DEBUG loader: parseNfsHostPathOpts opts: |(null)|
20:35:37,081 INFO loader: file location: nfs:dell-t5400.test.redhat.com:/var/lib/libvirt/images/x86_64/.treeinfo
20:35:37,220 ERR loader: failed to open /tmp/mnt/.treeinfo: No such file or directory
20:35:37,220 ERR loader: failed to copy file to /tmp/.treeinfo

Comment 1 Chris Lumens 2011-02-18 16:01:29 UTC
Compare promptForHardDrive with promptForNfs to see why this is happening.  promptForNfs simply needs to be adapted to understand the ISO method as well, though I'm not yet sure how to accomplish that.

Comment 2 He Rui 2011-02-22 08:37:46 UTC
Reproduced on anaconda 15.20.1 in f15 alpha rc1

Comment 3 He Rui 2011-02-22 08:52:11 UTC
Mark it as F15Blocker:

3. The installer must be able to use all supported local and remote package source options

https://fedoraproject.org/wiki/Fedora_15_Final_Release_Criteria

Comment 4 Chris Lumens 2011-02-22 15:03:57 UTC
Got a fix in for the beta, updated Fixed In Version: field appropriately.

Comment 5 He Rui 2011-03-30 10:45:01 UTC
Reproduced on anaconda 15.25 of F15-beta-tc1.

Comment 6 He Rui 2011-03-30 10:45:33 UTC
Created attachment 488735 [details]
anaconda-15.25.log

Comment 7 James Laska 2011-03-30 13:06:32 UTC
(In reply to comment #6)
> Created attachment 488735 [details]
> anaconda-15.25.log

I think the problem you are seeing now is actually a different issue. According to clumens, the installer will always check for the presence of .treeinfo file when doing an NFS install.  It does this to determine if you are attempting a traditional NFS install.  If no .treeinfo file is found, it will then attempt to perform an NFS ISO install.

The problem you are seeing now is being tracked as bug#691880 and should be fixed in anaconda-15.26-1.  I'll leave this in ON_QA until we can complete a full NFS ISO installation without requiring a .treeinfo file.

Comment 8 Chris Lumens 2011-03-30 15:00:18 UTC
James - yes, great explanation.

Comment 9 James Laska 2011-04-15 17:28:31 UTC
Confirmed fix using F-15-Beta-RC2 images

Comment 10 Adam Williamson 2011-04-15 17:30:13 UTC
Discussed at 2011/04/15 blocker review meeting. jlaska affirms that this is
already fixed, so closing. Blocker status is approved.




-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers


Note You need to log in before you can comment on or make changes to this bug.