Hide Forgot
Description of problem: why would we pull the boot iso from a hardcoded url. We should pull the iso from the repository listed in the template xml. 011-07-06 16:22:07,132 DEBUG oz.Guest.FedoraGuest pid(30644) Message: ISO content path: /var/lib/oz/isocontent/tmpl1-url 2011-07-06 16:22:07,981 DEBUG oz.Guest.FedoraGuest pid(30644) Message: Original URL http://download.fedoraproject.org/pub/fedora/linux/releases/14/Fedora/x86_64/os/ resolved to http://download.fedora.devel.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/ 2011-07-06 16:22:07,982 DEBUG imagefactory.builders.BaseBuilder.FedoraBuilder pid(30644) Message: build_upload() called on FedoraBuilder... 2011-07-06 16:22:07,982 DEBUG imagefactory.builders.BaseBuilder.FedoraBuilder pid(30644) Message: Building for target vmware with warehouse config http://localhost:9090/ 2011-07-06 16:22:07,982 DEBUG imagefactory.BuildJob.BuildAdaptor pid(30644) Message: Raising event with agent handler (<ImageFactoryAgent(Thread-1, initial)>), changed status from NEW to BUILDING 2011-07-06 16:22:07,983 INFO oz.Guest.FedoraGuest pid(30644) Message: Cleaning up guest named tmpl1 2011-07-06 16:22:07,990 INFO oz.Guest.FedoraGuest pid(30644) Message: Generating install media 2011-07-06 16:22:07,991 INFO oz.Guest.FedoraGuest pid(30644) Message: Fetching the original media ***************************************************** 2011-07-06 16:22:10,733 INFO oz.Guest.FedoraGuest pid(30644) Message: Fetching the original install media from ftp://gromit.redhat.com//pub/fedora/linux/releases/14/Fedora/x86_64/os//images/boot.iso 2011-07-06 16:22:12,654 DEBUG oz.Guest.FedoraGuest pid(30644) Message: 0kB of 225280kB ***************************************************** 2011-07-06 16:23:08,610 DEBUG oz.Guest.FedoraGuest pid(30644) Message: 10241kB of 225280kB 2011-07-06 16:24:07,022 DEBUG oz.Guest.FedoraGues template xml <template> <name>tmpl1</name> <description>foo</description> <os> <name>Fedora</name> <arch>x86_64</arch> <version>14</version> <install type="url"> <url>http://download.fedoraproject.org/pub/fedora/linux/releases/14/Fedora/x86_64/os/</url> </install> </os> <repositories> <repository name="custom"> <url>http://repos.fedorapeople.org/repos/aeolus/demo/webapp/</url> <signed>false</signed> </repository> </repositories> </template>
I don't think this is hard-coded. If you are inside the RedHat network, then the private mirror kicks in. That is: download.fedoraproject.org -> download.fedora.devel.redhat.com = gromit.redhat.com (confirmed with nslookup).
lol.. nice.. [whayutin@minidoe ~]$ nslookup download.fedoraproject.org Server: 10.11.255.156 Address: 10.11.255.156#53 Non-authoritative answer: download.fedoraproject.org canonical name = wildcard.fedoraproject.org. Name: wildcard.fedoraproject.org Address: 152.19.134.146 Name: wildcard.fedoraproject.org Address: 209.132.181.16 Name: wildcard.fedoraproject.org Address: 66.35.62.166 Name: wildcard.fedoraproject.org Address: 140.211.169.197 [whayutin@minidoe ~]$ nslookup gromit.redhat.com Server: 10.11.255.156 Address: 10.11.255.156#53 Name: gromit.redhat.com Address: 172.16.52.205 [whayutin@minidoe ~]$ nslookup download.fedora.devel.redhat.com Server: 10.11.255.156 Address: 10.11.255.156#53 download.fedora.devel.redhat.com canonical name = gromit.redhat.com. Name: gromit.redhat.com Address: 172.16.52.205 indeed.. not a bug :)
removing from tracker
perm close