Thanks Harry, Adapting to " cobbler import --path=rsync://ftp.belnet.be/centos/6/os/x86_64--name=centos6" gave a successful import. [root@geppetto isos]# cobbler list distros: centos6-x86_64
profiles: centos6-x86_64 systems: repos: images: mgmtclasses: packages: files: [root@geppetto isos]# 2013/9/9 Harry Hoffman <[email protected]> > In the first instance you are trying to import the updates and not the > distro. > > In the second case I don't know if the minimal distro is supported. > > This is the proper base for importing the latest (6.4): > http://mirror.centos.org/centos-6/6.4/os/ > > If you want just 64bit then choose x86_64 > > Cheers, > Harry > > > > On 09/09/2013 09:30 AM, Joost Ringoot wrote: > > Hello, > > > > I am trying to set up cobbler for deploying centos6 machines (later on > > maybe ubuntu) > > > > I have problems when I try to import a repository: > > > > This apparently copies the rpms, but then brutally fails: > > [root@geppetto cobbler]# cobbler import --path=rsync:// > > ftp.belnet.be/centos/6/updates/x86_64/Packages --name=centos-server-6.4 > > task started: 2013-09-09_143420_import > > task started (id=Media import, time=Mon Sep 9 14:34:20 2013) > > No signature matched in /var/www/cobbler/ks_mirror/centos-server-6.4 > > !!! TASK FAILED !!! > > [root@geppetto cobbler]# > > > > I retried after updating the signature file, (like described here, in > both > > ways, by copying the file and manually in python: > > https://github.com/cobbler/cobbler/issues/423) after restarting cobblerd > > still the same result. > > > > Then I tried importing an iso file, looks better, it found valid > signatures > > but ends even more cryptic: > > > > [root@geppetto tmp]# md5sum /data/isos/CentOS-6.4-x86_64-minimal.iso > > 4a5fa01c81cc300f4729136e28ebe600 > /data/isos/CentOS-6.4-x86_64-minimal.iso > > [root@geppetto tmp]# umount /data/isos/CentOS-6.4-x86_64-minimal.iso > > [root@geppetto tmp]# md5sum /data/isos/CentOS-6.4-x86_64-minimal.iso > > 4a5fa01c81cc300f4729136e28ebe600 > /data/isos/CentOS-6.4-x86_64-minimal.iso > > [root@geppetto tmp]# mount -o loop > > /data/isos/CentOS-6.4-x86_64-minimal.iso /mnt/CentOS-6.4-x86_64-minimal > > [root@geppetto tmp]# ls -al /mnt/CentOS-6.4-x86_64-minimal > > total 87 > > dr-xr-xr-x. 7 root root 4096 Mar 5 2013 . > > drwxr-xr-x. 3 root root 4096 Sep 9 14:51 .. > > -r--r--r--. 1 root root 14 Mar 5 2013 CentOS_BuildTag > > -r--r--r--. 1 root root 33 Mar 5 2013 .discinfo > > dr-xr-xr-x. 3 root root 2048 Mar 5 2013 EFI > > -r--r--r--. 1 root root 212 Mar 2 2013 EULA > > -r--r--r--. 1 root root 18009 Mar 2 2013 GPL > > dr-xr-xr-x. 2 root root 2048 Mar 5 2013 images > > dr-xr-xr-x. 2 root root 2048 Mar 5 2013 isolinux > > dr-xr-xr-x. 2 root root 36864 Mar 5 2013 Packages > > -r--r--r--. 1 root root 1354 Mar 2 2013 RELEASE-NOTES-en-US.html > > dr-xr-xr-x. 2 root root 4096 Mar 5 2013 repodata > > -r--r--r--. 1 root root 1706 Mar 2 2013 RPM-GPG-KEY-CentOS-6 > > -r--r--r--. 1 root root 1730 Mar 2 2013 RPM-GPG-KEY-CentOS-Debug-6 > > -r--r--r--. 1 root root 1730 Mar 2 2013 RPM-GPG-KEY-CentOS-Security-6 > > -r--r--r--. 1 root root 1734 Mar 2 2013 RPM-GPG-KEY-CentOS-Testing-6 > > -r--r--r--. 1 root root 3380 Mar 5 2013 TRANS.TBL > > -r--r--r--. 1 root root 276 Mar 5 2013 .treeinfo > > [root@geppetto tmp]# cobbler import > --path=/mnt/CentOS-6.4-x86_64-minimal > > --name=Centos-6.4-x86_64 > > task started: 2013-09-09_145520_import > > task started (id=Media import, time=Mon Sep 9 14:55:20 2013) > > Found a candidate signature: breed=redhat, version=rhel6 > > Found a matching signature: breed=redhat, version=rhel6 > > Adding distros from path /var/www/cobbler/ks_mirror/Centos-6.4-x86_64: > > No distros imported, bailing out > > !!! TASK FAILED !!! > > [root@geppetto tmp]# > > > > Is there something specific I should look for in the cobbler log? > > [root@geppetto cobbler]# tail -n 20 /var/log/cobbler/cobbler.log > > > repodata/ce2d698b9fb1413b668443e88835a0642cea8f387c7f25cc946f56dd93f109bb-c6-minimal-x86_64.xml.gz > > 1405 100% 6.38kB/s 0:00:00 (xfer#266, to-check=1/274) > > repodata/repomd.xml > > 3736 100% 16.89kB/s 0:00:00 (xfer#267, to-check=0/274) > > > > sent 358281326 bytes received 5112 bytes 55120990.46 bytes/sec > > total size is 358215622 speedup is 1.00 > > > > Mon Sep 9 14:52:31 2013 - DEBUG | received on stderr: > > Mon Sep 9 14:55:20 2013 - DEBUG | REMOTE CLI Authorized; user(?) > > Mon Sep 9 14:55:20 2013 - INFO | REMOTE start_task(Media import); > > event_id(2013-09-09_145520_import); user(?) > > Mon Sep 9 14:55:21 2013 - INFO | import_tree; > > ['/mnt/CentOS-6.4-x86_64-minimal', 'Centos-6.4-x86_64', None, None, None] > > Mon Sep 9 14:55:21 2013 - INFO | importing from a network location, > > running rsync to fetch the files first > > Mon Sep 9 14:55:21 2013 - INFO | running: rsync -a > > '/mnt/CentOS-6.4-x86_64-minimal/' > > /var/www/cobbler/ks_mirror/Centos-6.4-x86_64 --progress > > Mon Sep 9 14:55:21 2013 - INFO | received on stdout: sending incremental > > file list > > > > sent 10978 bytes received 18 bytes 21992.00 bytes/sec > > total size is 358215622 speedup is 32576.90 > > > > Mon Sep 9 14:55:21 2013 - DEBUG | received on stderr: > > [root@geppetto cobbler]# > > > > > > BTW: I would love to get it working wit selinux, but I want to get it > just > > working right now, so this is my current selinux status: > > [root@geppetto audit]# getenforce > > Permissive > > [root@geppetto audit]# > > > > > > Thanks, > > > > Joost > > > > > > > > _______________________________________________ > > cobbler mailing list > > [email protected] > > https://lists.fedorahosted.org/mailman/listinfo/cobbler > > > _______________________________________________ > cobbler mailing list > [email protected] > https://lists.fedorahosted.org/mailman/listinfo/cobbler >
_______________________________________________ cobbler mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/cobbler
