Bug 719439 - vmware image factory build is pulling boot iso from http://gromit.redhat.com
Summary: vmware image factory build is pulling boot iso from http://gromit.redhat.com
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: oz
Version: 0.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
Assignee: Mike Orazi
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-06 20:30 UTC by wes hayutin
Modified: 2011-12-08 14:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-07 14:05:16 UTC


Attachments (Terms of Use)

Description wes hayutin 2011-07-06 20:30:29 UTC
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>

Comment 1 Chris Lalancette 2011-07-07 14:05:16 UTC
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).

Comment 2 wes hayutin 2011-07-07 14:17:09 UTC
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 :)

Comment 3 wes hayutin 2011-07-11 00:32:55 UTC
removing from tracker

Comment 4 wes hayutin 2011-12-08 14:02:11 UTC
perm close


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