FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 04-10-2008, 01:18 AM
"drew einhorn"
 
Default Starting again with a new cobbler server

I am building a new cobbler server, going back to the beginning
and starting form scratch.

The links from the "Source RPM Build Instructions for RHEL5"
section of the download page are broken.

Not only that the first one:

Grab python-setuputils from here

links to a python-setuptools rpm, which is confusing,
when trying to work around the problem by looking for
the similar rpms in CentOS5 and 3rd Party repositories.

I am trying

I have:
python-setuptools noarch 0.6c7-1.el5 epel
python-cheetah .i386 2.0-0.1.rc8.el5.rf dag
yum-utils. noarch 1.0.4-3.el5.centos.2 base

So far it seems to be working

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?

This go around I am going to try Xen based VMs.
Need to read the documentation more carefully,

So far I have not spotted the section that tells me how
to setup the lvm storage for virt-file-size to allocate from.

--
Drew Einhorn

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 04-10-2008, 02:59 PM
Michael DeHaan
 
Default Starting again with a new cobbler server

drew einhorn wrote:

I am building a new cobbler server, going back to the beginning
and starting form scratch.

The links from the "Source RPM Build Instructions for RHEL5"
section of the download page are broken.



So they are. Thankfully these are in EPEL now so I can update the
links/instructions. Will do.


That's really all you have to do to install as well -- just configure
your system to use EPEL as a yum repo
and "yum install cobbler". There's not really a need to rebuild the
source RPMs unless you are doing development on them.




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.


This go around I am going to try Xen based VMs.
Need to read the documentation more carefully,

So far I have not spotted the section that tells me how
to setup the lvm storage for virt-file-size to allocate from.



"man lvm" (specifically pvcreate, vgcreate, but not lvcreate), followed
by "man koan" for --virt-path where you name the volume group to carve
out storage from.


--Michael





_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 04-10-2008, 03:03 PM
Michael DeHaan
 
Default Starting again with a new cobbler server

Michael DeHaan wrote:


That's really all you have to do to install as well -- just configure
your system to use EPEL as a yum repo


Sorry, reading comprehension error from my part earlier. Yes, so
you're trying to build the new versions before they are in EPEL. Gotcha.


Get the missing RPMs from EPEL, and I'll update the instructions on
that, then use rpmbuild as indicated and you should be good to go.


Thanks!

--Michael


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 04-10-2008, 07:13 PM
"drew einhorn"
 
Default Starting again with a new cobbler server

On Thu, Apr 10, 2008 at 8:59 AM, Michael DeHaan <mdehaan@redhat.com> 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@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 04-10-2008, 07:20 PM
Michael DeHaan
 
Default Starting again with a new cobbler server

drew einhorn wrote:

On Thu, Apr 10, 2008 at 8:59 AM, Michael DeHaan <mdehaan@redhat.com> 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



Expected. ATM cobbler import does not support non Red Hat based
distros. Support is not in plan -- at least not by me, anyway.
"cobbler distro add", however, does work thanks to patches already
submitted to add that support.


Should you be wanting to add other distro import capability, I welcome
patches -- something like action_foreign_import.py is probably a good
fit rather than trying to make the existing Red Hat-based import code
work elsewhere -- namely because it's already pretty complicated to
detect varying tree layouts and mirror sources and so forth.


--Michael



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 04-10-2008, 07:23 PM
Michael DeHaan
 
Default Starting again with a new cobbler server

drew einhorn wrote:

But maybe it's because I have not yet installed the newer rpms from EPEL.




See previous email. Ubuntu is not supported presently for "import"
commands.

See "cobbler distro add" and do things manually, and you should be ok.

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 04-10-2008, 07:24 PM
"drew einhorn"
 
Default Starting again with a new cobbler server

But maybe it's because I have not yet installed the newer rpms from EPEL.

On Thu, Apr 10, 2008 at 1:13 PM, drew einhorn <drew.einhorn@gmail.com> wrote:
> On Thu, Apr 10, 2008 at 8:59 AM, Michael DeHaan <mdehaan@redhat.com> 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
>



--
Drew Einhorn

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 04-10-2008, 07:56 PM
"drew einhorn"
 
Default Starting again with a new cobbler server

On Thu, Apr 10, 2008 at 8:59 AM, Michael DeHaan <mdehaan@redhat.com> wrote:
> drew einhorn wrote:
>
> > I am building a new cobbler server, going back to the beginning
> > and starting form scratch.
> >
> > The links from the "Source RPM Build Instructions for RHEL5"
> > section of the download page are broken.
> >
> >
>
> So they are. Thankfully these are in EPEL now so I can update the
> links/instructions. Will do.
>
> That's really all you have to do to install as well -- just configure your
> system to use EPEL as a yum repo
> and "yum install cobbler". There's not really a need to rebuild the
> source RPMs unless you are doing development on them.
>

yum-utils is not found in CentOS5 EPEL, unless I am looking in the wrong place.

We do have:

yum-utils. noarch 1.0.4-3.el5.centos.2 base

in the CentOS 5.1 base distro.



And there is no python-setuputils in EPEL, there is:

python-setuptools 0.6c7 1.el5 src 261 KiB Fri Sep 14 16:21:06 2007

Both of the above are working for me, so far.



The cheetah from EPEL

python-cheetah 2.0.1 1.el5 src 214 KiB Tue Jan 22 15:13:20 2008

does appear to be newer than the one I earlier snagged from the dag repo

python-cheetah .i386 2.0-0.1.rc8.el5.rf dag


This is the first time I have used anything from the EPEL repo.
I have been leery of the EPEL repo, since there was a time, not long ago,
when their packagers were blatantly refusing to cooperate with other
repos on compatibility issues. I hope times have changed.

--
Drew Einhorn

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 04-10-2008, 07:58 PM
Michael DeHaan
 
Default Starting again with a new cobbler server

drew einhorn wrote:

On Thu, Apr 10, 2008 at 8:59 AM, Michael DeHaan <mdehaan@redhat.com> wrote:


drew einhorn wrote:



I am building a new cobbler server, going back to the beginning
and starting form scratch.

The links from the "Source RPM Build Instructions for RHEL5"
section of the download page are broken.




So they are. Thankfully these are in EPEL now so I can update the
links/instructions. Will do.

That's really all you have to do to install as well -- just configure your
system to use EPEL as a yum repo
and "yum install cobbler". There's not really a need to rebuild the
source RPMs unless you are doing development on them.




yum-utils is not found in CentOS5 EPEL, unless I am looking in the wrong place.

We do have:

yum-utils. noarch 1.0.4-3.el5.centos.2 base

in the CentOS 5.1 base distro.



There is no CentOS 5 EPEL, there is only EPEL, which works for all
derivative distributions equally.

The instructions on the website do say "RHEL 5 rebuild" instructions



I have been leery of the EPEL repo, since there was a time, not long ago,
when their packagers were blatantly refusing to cooperate with other
repos on compatibility issues. I hope times have changed.




I don't see a basis for that at all.


EPEL's goal is providing a common repo for packages usable by all
yum consumers. It's a fantastic service as it allows any Fedora hosted
project to also offer up RPMs

to Enterprise Linux using the same repositories.

yum-utils is in the testing repos, so perhaps you were looking in stable
-- either way, it's not needed

if you are running CentOS as that was in the base repo.

--Michael



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 04-10-2008, 08:23 PM
"drew einhorn"
 
Default Starting again with a new cobbler server

> There is no CentOS 5 EPEL, there is only EPEL, which works for all
> derivative distributions equally.
> The instructions on the website do say "RHEL 5 rebuild" instructions
>
>

Probably it's because I was looking in EPEL stable, instead of testing.

The link from the cobbler page takes you to here:

http://fedoraproject.org/wiki/EPEL

which has separate links for:

RHEL4 (CentOS4), and
RHEL5 (CentOS5)

If we are supposed to get them from a different testing release, it's not clear
how to get there from the link you provide.

--
Drew Einhorn

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

Thread Tools




All times are GMT. The time now is 04:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org