I'm using cobbler 1.3.4 installed on a Fedora 9 system, where I had
built cobbler from the source rpm. When importing Fedora 10 I have
error messages, but I'm not sure if I need to worry about any of
them--I'm seeking advice on this.

Keep in mind that when I ran the import, I had run it before, but
never got everything working, and so I decided to start with a clean
slate. I deleted /var/www/cobbler and also ran "cobbler profile
remove" and "cobbler distro remove" (with appropriate names) to
obliterate all evidence of my previous import, which I verified by
running "cobbler report". Yet the import said "warning: skipping
import, as distro name already exists: Fedora-10-i386". It seems that
there was residue from the previous import. My import command looked
like this:

cobbler import --path /mnt --name Fedora-10 --arch x86

where /mnt had the Fedora 10 DVD mounted. I've attached the tail end
of the import command.

Tim
---------------- (adding distros)
- found content (breed=redhat) at 
/var/www/cobbler/ks_mirror/Fedora-10-i386/images/pxeboot
- creating new distro: Fedora-10-i386
- creating new profile: Fedora-10-i386
- creating new profile: rescue-Fedora-10-i386
- found content (breed=redhat) at 
/var/www/cobbler/ks_mirror/Fedora-10-i386/images/pxeboot
- warning: skipping import, as distro name already exists: Fedora-10-i386
---------------- (associating repos)
- traversing distro Fedora-10-i386
- found content (breed=redhat) at 
/var/www/cobbler/ks_mirror/Fedora-10-i386/images/pxeboot
- descent into /var/www/cobbler/ks_mirror/Fedora-10-i386
- processing repo at : /var/www/cobbler/ks_mirror/Fedora-10-i386
- need to process repo/comps: /var/www/cobbler/ks_mirror/Fedora-10-i386
- looking for /var/www/cobbler/ks_mirror/Fedora-10-i386/repodata/*comps*.xml
- error launching createrepo, ignoring...
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/cobbler/action_import.py", line 461, 
in process_comps_file
    config_file = open(fname, "w+")
IOError: [Errno 2] No such file or directory: 
'/var/www/cobbler/ks_mirror/config/Fedora-10-i386-0.repo'
---------------- (associating kickstarts)
- found content (breed=redhat) at 
/var/www/cobbler/ks_mirror/Fedora-10-i386/images/pxeboot
- symlink creation failed: /var/www/cobbler/ks_mirror/Fedora-10-i386, 
/var/www/cobbler/links/Fedora-10-i386
- found content (breed=redhat) at 
/var/www/cobbler/ks_mirror/Fedora-10-i386/images/pxeboot
- symlink creation failed: /var/www/cobbler/ks_mirror/Fedora-10-i386, 
/var/www/cobbler/links/Fedora-10-i386
---------------- (syncing)
Internet Systems Consortium DHCP Server 4.0.0
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not 
specified in the config file
Shutting down dhcpd:                                       [  OK  ]
Starting dhcpd:                                            [  OK  ]
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to