Hello everyone
I setup a repo and have choosen mirror locally false. If I execute cobbler 
reposync I got an error message "No such file or directory" because directory 
.origin is missing.

[root@cobbler ~]# cobbler repo report --name=rhel62-x86_64-updates
Name                           : rhel62-x86_64-updates
Arch                           : x86_64
Breed                          : yum
Comment                        : RHEL 6 Update 2
Createrepo Flags               : <<inherit>>
Environment Variables          : {}
Keep Updated                   : True
Mirror                         : 
http://cobbler/rhel/rhel6server-x86_64/RPMS.updates_62
Mirror locally                 : False
Owners                         : ['admin']
Priority                       : 99
RPM List                       : []
Yum Options                    : {}

[root@cobbler ~]# cobbler reposync
task started: 2012-05-21_130356_reposync
task started (id=Reposync, time=Mon May 21 13:03:56 2012)
hello, reposync
run, reposync, run!
running: /usr/bin/wget -q 
http://cobbler/rhel/rhel6server-x86_64/RPMS.updates_62/repodata/repomd.xml -O 
/var/www/cobbler/repo_mirror/rhel62-x86_64-updates/.origin/repomd.xml
received on stdout:
received on stderr: 
/var/www/cobbler/repo_mirror/rhel62-x86_64-updates/.origin/repomd.xml: No such 
file or directory

creating: /var/www/cobbler/repo_mirror/rhel62-x86_64-updates/config.repo
running: chown -R root:apache /var/www/cobbler/repo_mirror/rhel62-x86_64-updates
received on stdout:
received on stderr:
running: chmod -R 755 /var/www/cobbler/repo_mirror/rhel62-x86_64-updates
received on stdout:
received on stderr:
rhel63-x86_64-updates is set to not be updated
*** TASK COMPLETE ***

If I create .origin by hand some repo-files like repomd.xml will be created but 
I can't use the Repo during kickstart because it doesn't seem to be available.

[root@cobbler rhel62-x86_64-updates]# ls -laR 
/var/www/cobbler/repo_mirror/rhel62-x86_64-updates
/var/www/cobbler/repo_mirror/rhel62-x86_64-updates:
total 24
drwxr-xr-x 4 root apache 4096 May 21 13:10 .
drwxr-xr-x 4 root root   4096 May 11 11:21 ..
-rwxr-xr-x 1 root apache  146 May 21 13:10 config.repo
drwxr-xr-x 2 root apache 4096 May 21 13:10 .origin
drwxr-xr-x 2 root apache 4096 May 21 13:10 repodata

/var/www/cobbler/repo_mirror/rhel62-x86_64-updates/.origin:
total 12
drwxr-xr-x 2 root apache 4096 May 21 13:10 .
drwxr-xr-x 4 root apache 4096 May 21 13:10 ..
-rwxr-xr-x 1 root apache  951 May 11 11:26 repomd.xml

/var/www/cobbler/repo_mirror/rhel62-x86_64-updates/repodata:
total 8
drwxr-xr-x 2 root apache 4096 May 21 13:10 .
drwxr-xr-x 4 root apache 4096 May 21 13:10 ..
I have installed cobbler-2.2.2-1. Have you got any idea what I did wrong?

Thank you for your help.

Manuel


_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to