Re: Starting again with a new cobbler server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 10, 2008 at 8:59 AM, Michael DeHaan <mdehaan@xxxxxxxxxx> wrote:
> drew einhorn wrote:

> > The the breed ooption is new, since the last time I was paying attention.
> > How well does it work with a Ubuntu Gutsy or Hardy distro?
> >
> >
>
>  Should do fine.   Basically all --breed=debian does is change the kernel
> arguments so that what you feed to --kickstart is actually treated as a
> preseed.   Ubuntu should work just the same.   I believe if you leave it
> unmodified (no --breed parameter) the kernel arguments /might/ work with
> Ubuntu's mutated version of kickstart also,  though you'll need to be
> careful about what goes in the template.
>
>

Felt like the "cobbler import" should take the breed option, but it was rejected
so I tried, an import without it:

     sudo cobbler import --mirror=/mnt/iso1 --name=ubuntu-7.10-desktop-i386

Things started flying by on the screen.  So far so good then:

sent 728274605 bytes  received 13682 bytes  5757219.66 bytes/sec
total size is 728143597  speedup is 1.00
---------------- (adding distros)
- following symlink: /var/www/cobbler/ks_mirror/ubuntu-7.10-desktop-i386/ubuntu
- following symlink:
/var/www/cobbler/ks_mirror/ubuntu-7.10-desktop-i386/ubuntu/ubuntu
- following symlink:
/var/www/cobbler/ks_mirror/ubuntu-7.10-desktop-i386/ubuntu/ubuntu/ubuntu
- following symlink:
/var/www/cobbler/ks_mirror/ubuntu-7.10-desktop-i386/ubuntu/ubuntu/ubuntu/ubuntu
- following symlink:
/var/www/cobbler/ks_mirror/ubuntu-7.10-desktop-i386/ubuntu/ubuntu/ubuntu/ubuntu/ubuntu
- following symlink:
/var/www/cobbler/ks_mirror/ubuntu-7.10-desktop-i386/ubuntu/ubuntu/ubuntu/ubuntu/ubuntu/ubuntu
- following symlink:
/var/www/cobbler/ks_mirror/ubuntu-7.10-desktop-i386/ubuntu/ubuntu/ubuntu/ubuntu/ubuntu/ubuntu/ubuntu

... longer and longer symlinks follow.

Uh. Oh.  We are chasing our tail!!!!

Untill  we crash

- creating new distro:
ubuntu-7.10-desktop-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-casper-i386
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 54, in main
    return BootCLI().run(sys.argv)
  File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 43, 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 95, in run
    rsync_flags=self.options.rsync_flags
  File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 351, in
import_tree
    return importer.run()
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 126, in run
    os.path.walk(self.path, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 335, in distro_adder
    os.path.walk(fullname, self.distro_adder, {})
  File "/usr/lib/python2.4/posixpath.py", line 298, in walk
    walk(name, func, arg)
  File "/usr/lib/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 342, in distro_adder
    self.add_entry(dirname,kernel,initrd)
  File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line 488, in add_entry
    self.distros.add(distro,save=True)
  File "/usr/lib/python2.4/site-packages/cobbler/collection.py", line
200, in add
    self.lite_sync.add_single_distro(ref.name)
  File "/usr/lib/python2.4/site-packages/cobbler/action_litesync.py",
line 60, in add_single_distro
    self.sync.write_distro_file(distro)
  File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line
940, in write_distro_file
    fd = open(filename, "w+")
IOError: [Errno 36] File name too long:
'/var/www/cobbler/distros/ubuntu-7.10-desktop-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-ubuntu-casper-i386'
[drew@funGus ~]$




-- 
Drew Einhorn

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux