All, attempting to add EPEL by repo adding + reposync(ing) does not appear to work:
*Add the repository* sudo cobbler repo add --name=epel6-x86_64 --breed=yum --mirror= http://dl.fedoraproject.org/pub/epel/6/x86_64 *Attempting to reposync:* sudo cobbler reposync task started: 2012-04-04_221206_reposync task started (id=Reposync, time=Wed Apr 4 22:12:06 2012) hello, reposync run, reposync, run! creating: /var/www/cobbler/repo_mirror/epel6-x86_64/.origin/epel6-x86_64.repo running: /usr/bin/reposync -l -m -d --config=/var/www/cobbler/repo_mirror/epel6-x86_64/.origin/epel6-x86_64.repo --repoid=epel6-x86_64 --download_path=/var/www/cobbler/repo_mirror -a x86_64 received on stdout: received on stderr: error: cannot open Packages database in /var/lib/rpm Traceback (most recent call last): File "/usr/bin/reposync", line 348, in <module> main() File "/usr/bin/reposync", line 148, in main my.doConfigSetup(fn=opts.config, init_plugins=opts.plugins) File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 244, in doConfigSetup return self.conf File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 887, in <lambda> conf = property(fget=lambda self: self._getConfig(), File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 295, in _getConfig startupconf = config.readStartupConfig(fn, root) File "/usr/lib/python2.6/site-packages/yum/config.py", line 878, in readStartupConfig startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg) File "/usr/lib/python2.6/site-packages/yum/config.py", line 1023, in _getsysver raise Errors.YumBaseError("Error: " + str(e)) yum.Errors.YumBaseError: Error: rpmdb open failed Exception occured: <class 'cobbler.cexceptions.CX'> Exception value: 'cobbler reposync failed' Exception Info: File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 123, in die raise CX(msg) Exception occured: <class 'cobbler.cexceptions.CX'> Exception value: 'cobbler reposync failed' Exception Info: File "/usr/lib/python2.6/site-packages/cobbler/action_reposync.py", line 119, in run self.sync(repo) File "/usr/lib/python2.6/site-packages/cobbler/action_reposync.py", line 150, in sync return self.yum_sync(repo) File "/usr/lib/python2.6/site-packages/cobbler/action_reposync.py", line 383, in yum_sync utils.die(self.logger,"cobbler reposync failed") File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 131, in die raise CX(msg) reposync failed, tries left: 0 Exception occured: <class 'cobbler.cexceptions.CX'> Exception value: 'reposync failed, retry limit reached, aborting' Exception Info: File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 123, in die raise CX(msg) Exception occured: <class 'cobbler.cexceptions.CX'> Exception value: 'reposync failed, retry limit reached, aborting' Exception Info: File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 95, in run rc = self._run(self) File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 244, in runner name=None, nofail=nofail, logger=self.logger) File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 637, in reposync return reposync.run(name) File "/usr/lib/python2.6/site-packages/cobbler/action_reposync.py", line 128, in run utils.die(self.logger,"reposync failed, retry limit reached, aborting") File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 131, in die raise CX(msg) !!! TASK FAILED !!! Now, it appears that the EPEL repo does not have a repodata folder whatsoever ... so it makes sense that the following won't work. I'm unclear what the next steps would be to add EPEL..* Any help would be much appreciated! * Thanks :-)
_______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
