Bug 453256

Summary: Text based installation fails with missing repodata
Product: [Fedora] Fedora Reporter: A.J. Werkman <aj.werkman>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 10CC: poelstra
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-16 20:32:18 UTC Type: ---
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
The repo-error screen none

Description A.J. Werkman 2008-06-28 11:57:51 UTC
Description of problem:
A text based installation of rawhide anaconda 11.4.1.9 is not possible behind a
closed firewall.

Version-Release number of selected component (if applicable):
Anaconda 11.4.`.9

How reproducible:
Everytime

Steps to Reproduce:
1. In install rawhide from a http tree on a network that is behind a firewall.
2. The machine on which I install rawhide does not and may not have internet
connectivity due to security reasons.
3. I install from a http URL
4. The http server has a rawhide tree available
5. The installation process retrieves the installation images from the assigned URL.
6. Then errors out "Cannot retrieve repository metadata (repomd.xml) for
repository: rawhide"
7. I have the option "Exit installer", "Edit", "Retry". Retry just gives the
same error, Exit installer is not what I want and "Edit" responds with
"Repository editing is not available in text mode"
8. Ergo end of the installation process
  
Actual results:
Can not install any further

Expected results:
Be able to edit the repository or have anaconda use the repository given by the
URL by default

Additional info:
On the HTTP server lg I get an entry for the retrieval of the stage2.img at the
appropriate moment.

When I get the repository error my HTTP log gives no indication that anaconda is
trying to get repository info. From the graphical installation, where I can edit
the repository, I conclude that anaconda by default wants to get repo info from
the default url mirors.fedoraproject.org. This URL is not reachable behind my
firewall.

In my opinion it is more obvious to have anaconda use the repository by default,
where it gets its installation images.

Comment 1 A.J. Werkman 2008-06-28 12:07:11 UTC
Created attachment 310498 [details]
The repo-error screen

Comment 2 Chris Lumens 2008-06-30 13:33:07 UTC
Are you booting with the boot.iso or with via pxe?  What command line arguments
(if any) are you passing to anaconda?  If you boot via pxe or pass
stage2=/method=, it should be using whatever you pass as the repo.  Otherwise if
you are booting with the boot.iso, it will use the Fedora mirrorlist unless you
pass an argument telling it something else.

Comment 3 A.J. Werkman 2008-07-01 09:46:10 UTC
Neither of both. I boot the kernel/initrd images from an extra harddisk
partition using grub.

title Fedora rawhide
   root (hd1,0)
   kernel /boot/grub/vmlinuz.raw ro text
   initrd /boot/grub/initrd.raw

From your comment I conclude that anaconda should use the given local repo tree.
But it does not.

Comment 4 Chris Lumens 2008-07-15 19:51:21 UTC
This should be better in anaconda-11.4.1.15.  Give it a try and see.

Comment 5 Bug Zapper 2008-11-26 02:28:57 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping