[et-mgmt-tools] Cobbler install/kickstart question

Maute, Kevin P CTR AFRL/VAOO Kevin.Maute at WPAFB.AF.MIL
Thu Aug 30 12:46:13 UTC 2007


As requested:

 Script started on Thu 30 Aug 2007 08:35:37 AM EDT
]0;root at coalescence2:/var/www/cobbler/kickstarts_sys/00:E0:81:31:7C:D4
[root at coalescence2 00:E0:81:31:7C:D4]# cobbler repo add
--name=epel5testing
--mirror=http://download.fedora.redhat.com/pub/epel/testing/5/x86_ 
64/
]0;root at coalescence2:/var/www/cobbler/kickstarts_sys/00:E0:81:31:7C:D4
[root at coalescence2 00:E0:81:31:7C:D4]# cobbler reposync
- rsync -av  --delete --delete-excluded
--exclude-from=/etc/cobbler/rsync.exclude
/home/repos/RHEL5/os/x86_64/Cluster/
/var/www/cobbler/repo_mirror/rhel5clustering
building file list ... done
deleting config.repo
./

sent 1420 bytes  received 26 bytes  2892.00 bytes/sec
total size is 73819934  speedup is 51051.13
- walking: /var/www/cobbler/repo_mirror/rhel5clustering
- creating: /var/www/cobbler/repo_mirror/rhel5clustering/config.repo
- rsync -av  --delete --delete-excluded
--exclude-from=/etc/cobbler/rsync.exclude /home/repos/EPEL5/x86_64/
/var/www/cobbler/repo_mirror/epel5
building file list ... done
deleting config.repo
./

sent 62467 bytes  received 26 bytes  41662.00 bytes/sec
total size is 965800920  speedup is 15454.55
- walking: /var/www/cobbler/repo_mirror/epel5
- creating: /var/www/cobbler/repo_mirror/epel5/config.repo
- creating: /var/www/cobbler/repo_mirror/.origin/epel5testing.repo
- /usr/bin/reposync
--config=/var/www/cobbler/repo_mirror/.origin/epel5testing.repo
--repoid=epel5testing --download_path=/var/www/cobbler/repo_mirror
Traceback (most recent call last):
  File "/usr/bin/reposync", line 196, in ?
    main()
  File "/usr/bin/reposync", line 140, in main
    my.doRepoSetup()
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 299, in
doRepoSetup
    repo.setup(self.conf.cache)
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 505, in
setup
    raise Errors.RepoError, ('Cannot open/read repomd.xml file for
repository: %s' % self)
yum.Errors.RepoError: Cannot open/read repomd.xml file for repository:
epel5testing
cobbler reposync failed
]0;root at coalescence2:/var/www/cobbler/kickstarts_sys/00:E0:81:31:7C:D4
[root at coalescence2 00:E0:81:31:7C:D4]# exit

Script done on Thu 30 Aug 2007 08:39:12 AM EDT

> -----Original Message-----
> From: et-mgmt-tools-bounces at redhat.com 
> [mailto:et-mgmt-tools-bounces at redhat.com] On Behalf Of Michael DeHaan
> Sent: Wednesday, August 29, 2007 4:08 PM
> To: Fedora/Linux Management Tools
> Subject: Re: [et-mgmt-tools] Cobbler install/kickstart question
> 
> Michael DeHaan wrote:
> > Michael DeHaan wrote:
> >> Maute, Kevin P CTR AFRL/VAOO wrote:
> >>> Success!!! One issue though, epel5*testing, it appeared 
> to download
> >>> everything fine from the fedora repo but seemed to choke with a
> >>> traceback when it was populating the local repo. Not knowing the
> >>> internals or python, I can't give any more input. I 
> backed out that
> >>> repo and am golden.
> >>>
> >>> Thanks,
> >>> Kevin 
> >>
> >> Good deal.
> >>
> >> If you can email me the traceback (cobbler output) and the 
> command(s) 
> >> that caused it that would be helpful.
> >>
> >> --Michael
> >
> > I just ran the following for EPEL testing and it worked for 
> me (using 
> > 0.6.1):
> >
> >
> 
> Grr, thunderbird :)
> 
> What I meant to say was ...
> 
> I just ran the following for EPEL testing and it worked for me (using 
> 0.6.1):
> 
> [root at mdehaan cobbler]# cobbler repo add --name=epel5i386 
> --mirror=http://linux.nssl.noaa.gov/epel/testing/5Server/i386
> [root at mdehaan cobbler]# cobbler repo sync
> 
> You then of course would do:
> 
> cobbler profile edit --name=nameofprofile --repos="epel5i386 
> otherrepo1 
> otherrepo2" etc.
> 
> You would not have to repeat the repos that Cobbler pulled in 
> from the 
> import but would want to mirror your package updates.
> 
> 
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
> 




More information about the et-mgmt-tools mailing list