Adrian Revill wrote:
Im not sure if ive missed a step, but i am setting up a new install of
cobbler 1.0.1-2 on rhel5.2
I have run
# cobbler repo add --name rhel-x86_64-server-5
--mirror=rhn://rhel-x86_64-server-5
and it seems to have setup /var/lib/cobbler/repo ok
I then run
#cobbler reposync
Thanks for the heads up.
Can you please file a Trac item here?
https://fedorahosted.org/cobbler
If you don't have a Fedora account it can be easily acquired from:
https://admin.fedoraproject.org/accounts
--Michael
and i get an error
- creating:
/var/www/cobbler/repo_mirror/.origin/rhel-x86_64-server-5.repo
- creating: /var/www/cobbler/repo_mirror/rhel-x86_64-server-5/config.repo
exceptions.IOError
[Errno 2] No such file or directory:
'/var/www/cobbler/repo_mirror/rhel-x86_64-server-5/config.repo'
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 65,
in main
return BootCLI().run(sys.argv)
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 44,
in run
return self.loader.run(args)
File "/usr/lib/python2.4/site-packages/cobbler/commands.py", line
69, in run
return fn.run()
File "/usr/lib/python2.4/site-packages/cobbler/modules/cli_misc.py",
line 227, in run
return self.api.reposync(self.options.only)
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 349, in
reposync
return reposync.run(name)
File "/usr/lib/python2.4/site-packages/cobbler/action_reposync.py",
line 78, in run
self.do_reposync(repo)
File "/usr/lib/python2.4/site-packages/cobbler/action_reposync.py",
line 198,
in do_reposync
self.create_local_file(repo, dest_path)
File "/usr/lib/python2.4/site-packages/cobbler/action_reposync.py",
line 248,
in create_local_file
config_file = open(fname, "w+")
If i create the directory
/var/www/cobbler/repo_mirror/rhel-x86_64-server-5 then it cures the error
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools