I am trying to use and NFS mounted location rather than importing the
tree into /var/lib/cobbler. I ran this command, which succeeded. Set up
a system and a profile. When I run koan on the system I get the error
shown at the bottom trying to download the initrd.img file. I am new to
cobbler and I assume that I am missing a step but cannot identify what
it is. Any help would be appreciated.
Thanks,
Ed
sudo cobbler import --path=/buildtrees/RHEL-5.5-client-i386
--name=gb-rhel-5.5-i386
--available-as=nfs://rfns1:/vol/flexsrc/buildtrees/RHEL-5.5-client-i386
sudo cobbler system report gb-ws-i386
Name : gb-ws-i386
Comment :
Gateway :
Hostname :
Image :
Kernel Options : {}
Kernel Options (Post Install) : {}
Kickstart : <<inherit>>
Kickstart Metadata : {'use-part': 'no', 'save-keys':
'no'}
Management Classes : []
Name Servers : []
Name Servers Search Path : []
Netboot Enabled : True
Owners : ['admin']
Power Management Address :
Power ID :
Power Password :
Power Management Type : ipmitool
Power Username :
Profile : gb-rhel-5.5-i386
Red Hat Management Key : <<inherit>>
Red Hat Management Server : <<inherit>>
Server Override : <<inherit>>
Template Files : {}
Virt Auto Boot : 0
Virt CPUs : <<inherit>>
Virt File Size(GB) : <<inherit>>
Virt Path : <<inherit>>
Virt RAM (MB) : <<inherit>>
Virt Type : xenpv
sudo cobbler profile report --name=gb-rhel-5.5-i386
Name : gb-rhel-5.5-i386
Comment :
DHCP Tag : default
Distribution : gb-rhel-5.5-i386
Enable PXE Menu? : True
Kernel Options : {}
Kernel Options (Post Install) : {}
Kickstart : /var/lib/cobbler/kickstarts/workstation
Kickstart Metadata : {}
Management Classes : []
Name Servers : []
Name Servers Search Path : []
Owners : ['admin']
Parent Profile :
Red Hat Management Key : <<inherit>>
Red Hat Management Server : <<inherit>>
Repos : []
Server Override : <<inherit>>
Template Files : {}
Virt Auto Boot : 1
Virt Bridge : xenbr0
Virt CPUs : 1
Virt File Size(GB) : 5
Virt Path :
Virt RAM (MB) : 512
Virt Type : qemu
sudo koan --server=gbnis03 --system=gb-ws-i386 --replace-self
- looking for Cobbler at
http://gbnis03/cobbler_api
- reading URL:
http://gbnis03/cblr/svc/op/ks/system/gb-ws-i386
install_tree: nfs://rfns1:/vol/flexsrc/buildtrees/RHEL-5.5-client-i386/
downloading initrd initrd.img to /boot/initrd.img
url=http://gbnis03/cobbler/images/gb-rhel-5.5-i386/initrd.img
- reading URL:
http://gbnis03/cobbler/images/gb-rhel-5.5-i386/initrd.img
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/koan/utils.py", line 130, in
urlread
fd = urllib2.urlopen(url)
File "/usr/lib/python2.3/urllib2.py", line 129, in urlopen
return _opener.open(url, data)
File "/usr/lib/python2.3/urllib2.py", line 326, in open
'_open', req)
File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
result = func(*args)
File "/usr/lib/python2.3/urllib2.py", line 901, in http_open
return self.do_open(httplib.HTTP, req)
File "/usr/lib/python2.3/urllib2.py", line 895, in do_open
return self.parent.error('http', req, fp, code, msg, hdrs)
File "/usr/lib/python2.3/urllib2.py", line 352, in error
return self._call_chain(*args)
File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
result = func(*args)
File "/usr/lib/python2.3/urllib2.py", line 412, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/koan/app.py", line 1027, in
get_distro_files
utils.urlgrab(initrd,initrd_save)
File "/usr/lib/python2.3/site-packages/koan/utils.py", line 161, in
urlgrab
data = urlread(url)
File "/usr/lib/python2.3/site-packages/koan/utils.py", line 143, in
urlread
raise InfoException, "Couldn't download: %s" % url
InfoException: "Couldn't download:
http://gbnis03/cobbler/images/gb-rhel-5.5-i386/initrd.img"
error downloading files
Ed Deloye
UNIX Systems Administrator
RF Micro Devices
7628 Thorndike Road
Greensboro, NC 27409
Ed.Deloye(a)rfmd.com <mailto:Ed.Deloye@rfmd.com>