bonding options - what is required?
by Tom Brown
In the gui in 1.6 there is a bonding box that reads
Bonding options
If bonding is "master", specify the bonding options here.
In this case the interface is the master so what do we mean by bonding
options ?
If i were manually doing this i would offer things like
options bond0 mode=1 primary=eth0 arp_interval=60 arp_ip_target=$GATEWAY
Are we meaning the same type of thing?
thanks
15 years, 1 month
Branches
by Michael DeHaan
Hi folks,
Thanks for all the great patches lately.
If you send an email with a patch that is already on a remote branch
(fedorapeople or github, etc), please let me know which branch it is on
so I know which branch to merge.
Also, if you have a fix for master (1.6.0) also merge it to your devel
branch, it saves a "git cherry-pick" on my end and makes sure we don't
miss anything accidentally.
Thanks!
--Michael
15 years, 1 month
Fully automatic installation for Debian Lenny
by Matthias Albert
Hello @all,
what a great day :-). First, thanks a lot for creating "cobbler". It
is really cool.
Today I got a 100% fully automatic installation for "Debian Lenny"
started/running :-). 5 days ago, I tested it with CentoS 5.2 and it
worked like a charm. So today, my goal was to do the same with Debian -
> and it works really well.
Because I had some trouble at the beginning, I thought it is a great
idea to tell others what I did to get this setup running.
---snip---
Hardware/Distri Deployer:
- Virtualbox Image
- Fedora 10 i386
- with cobbler 1.4.3
Test Environment:
- Virtualbox Images using PXE boot (internal Virtualbox network)
# required steps on the cobbler Host
Get Debian
- Debian-Lenny-CD1.iso from debian.org
(e.g. http://cdimage.debian.org/debian-cd/5.0.0/i386/iso-cd/debian-500-i386-CD-...)
- mini.iso from debian.org
(e.g. http://ftp.debian.org/debian/dists/lenny/main/installer-i386/current/imag...)
# Creating directories and mounting the iso images
mkdir -p /mnt/debian-lenny
mkdir -p /mnt/debian-lenny-mini
mount -o loop /path/debian-lenny-cd5.iso /mnt/debian-lenny
mount -o loop /path/debian-mini.iso /mnt/debian-lenny-mini
# Importing both debian images to cobbler
cobbler import --name="debian-5.0" --mirror=/mnt/debian-lenny --
rsync-flags="--quiet"
cobbler import --name="debian-5.0-mini" --mirror=/mnt/debian-lenny-
mini --rsync-flags="--quiet"
# Unmounting iso images
umount /mnt/debian-lenny
umount /mnt/debian-lenny-mini
# Create new initrd.gz file
# With the default initrd.gz from the netboot image (mini.iso) I had
some troubles with
# the hard disc detection (missing ide_generic; ide_disc; libata
module and so on)
mkdir -p /tmp/lenny_initrd
mkdir -p /tmp/mini_initrd
cd /tmp/lenny_initrd
zcat /var/www/cobbler/ks_mirror/debian-5.0/install.386/initrd.gz |
cpio -iv
cd /tmp/mini_initrd
zcat /var/www/cobbler/ks_mirror/debian-5.0-mini/initrd.gz | cpio -iv
cp -a /tmp/lenny_initrd/lib/modules/2.6.26-1-486/kernel/drivers/ata
lib/modules/2.6.26-1-486/kernel/drivers
cp -a /tmp/lenny_initrd/lib/modules/2.6.26-1-486/kernel/drivers/ide/
* lib/modules/2.6.26-1-486/kernel/drivers/ide/
# package new initrd.gz file
find . | cpio --quiet -H newc --create | gzip > /tmp/initrd.gz
cd /var/www/cobbler/ks_mirror/debian-5.0-mini/
mv initrd.gz initrd.gz.orig
mv /tmp/initrd.gz .
# Edit new created debian image and replace/set new kernel/initrd
# and other relevant informations
cobbler distro edit --name="debian-5.0" --kernel="/var/www/cobbler/
ks_mirror/debian-5.0-mini/linux" --initrd=/var/www/cobbler/ks_mirror/
debian-5.0-mini/initrd.gz --kopts="lang=de_DE local=de_DE
interface=auto hostname=auto domain=auto priority=critical console-
keymaps=at/keymap=de"
# Create a preseeding file for debian lenny (a german version can be
downloaded here)
# http://www.ma-c.de/cobbler/lenny.seed
cp lenny.seed to /var/lib/cobbler/kickstarts/
# Edit debian profile and specify preseeding file
cobbler profile edit --name="debian-5.0-i386" --kickstart="/var/lib/
cobbler/kickstarts/lenny.seed"
# sync cobbler
cobbler sync
# Start your client systems with booting from PXE and enjoy a fully
automatic installation with Debian Lenny (powered by cobbler -> of
course :-) )
# Feedback is very welcome.
---snap---
Best wishes from Germany,
Matthias
15 years, 2 months
cobbler replicate: error copying distros
by Chris O'Regan
Hello,
I am preparing to upgrade my cobbler servers (both the OS and cobbler
version). I have installed the latest version from EPEL-testing on a
test system:
rpm -qa cobbler
cobbler-1.4.3-4.el5
The systems I am upgrading are running an old version (1.2.8).
When I run "cobbler replicate" from the test system, I get some python
messages printed to the screen along with "Failed to copy distro ...".
Please refer to the sample output below my signature.
What is odd is that "cobbler list" and "cobbler distro report" seem to
suggest that the replication was successful. If I run "cobbler
replicate" a second time, it runs through cleanly, all distros copied,
no python messages.
Thanks,
Chris
----- Copying Distros
Importing remote distro sl5-i386.
warning: kernel option length exceeds 255
'NoneType' object has no attribute 'name'
File "/usr/lib/python2.4/site-packages/cobbler/action_replicate.py",
line 109, in replicate_data
self.api.add_distro(new_distro)
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 352, in
add_distro
return
self._config.distros().add(ref,save=True,check_for_duplicate_names=check_for_duplicate_names)
File "/usr/lib/python2.4/site-packages/cobbler/collection.py", line
274, in add
self.lite_sync.add_single_distro(ref.name)
File "/usr/lib/python2.4/site-packages/cobbler/action_litesync.py",
line 76, in add_single_distro
self.sync.pxegen.make_pxe_menu()
File "/usr/lib/python2.4/site-packages/cobbler/pxegen.py", line 250,
in make_pxe_menu
self.make_actual_pxe_menu()
File "/usr/lib/python2.4/site-packages/cobbler/pxegen.py", line 310,
in make_actual_pxe_menu
if distro.name.find("-xen") != -1:
Failed to copy distro sl5-i386
Importing remote distro sl5-x86_64.
warning: kernel option length exceeds 255
Copied distro sl5-x86_64.
15 years, 2 months
Is anyone using "pre" triggers?
by Michael DeHaan
Pre-triggers (as compared to post triggers) were intended to reject
additions to cobbler's "DB" if the input wasn't any good.
I would speculate no one is using them and this would simply some things
if they went away.
Just curious. If we did this it would be done in 1.8
--Michael
15 years, 2 months
Dual static interface problem in pre_install_network_config
by Gennadiy Nerubayev
Hi all,
As I've mentioned in a previous email, the gateway setting in the
aforementioned case is applied to both interfaces in
pre_install_network_config. This apparently causes a kickstart error for the
second interface that is generated in /tmp/pre_install_network_config,
prompting for a reconfiguration during anaconda. Unfortunately I can't view
the full logs, as the dual static config is for Xen only, and I can only see
the first console (is there a way?). More so, I'm in a situation where all
the files are obtained via the private (eth1) interface, which means the
gateway setting needs to be applied to it, and not eth0. The kickstart file
itself is obtained with no problems, as the dom0 has appropriate routes.
Thoughts/suggestions?
Thanks,
-Gennadiy
15 years, 2 months
Ubuntu deployment w/ Cobbler
by Jasper Capel
Hi all,
Just a FYI: I'm working on Ubuntu deployments at the moment, and I
started a wiki page for this purpose:
https://fedorahosted.org/cobbler/wiki/Ubuntu
I'll be documenting a method to deploy Ubuntu hands-off (so no human
intervention), and hope to at least come up with a list of things that
need to be extended in Cobbler to have better support for this distribution.
-Jasper
15 years, 2 months
multi-volume imports
by Stefan Hermes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
how can I import distributions containing more than one DVD?
Though i understand that multivolume CD-Distributions are not
supported, multi-DVD-distributions should be supported?
Problematic example in question is SLES10sp2...
Regards,
-Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAknCiNkACgkQ5WhAoklHLAOLXwCgpmBg4Plf6m7J1gEdkPR0BAT5
SywAnRc3vI8Jr4xRgEsA8ks8yS6E0OW8
=eDws
-----END PGP SIGNATURE-----
15 years, 2 months
Cobbler for GSOC reminder
by Michael DeHaan
Fedora has been accepted as an org for Google Summer of Code so I am
definitely looking to see some proposals for working on Cobbler for GSOC
this year.
Provided the proposals are good and we get a sufficient number of slots,
I'll be mentoring a stundent.
If you have college student admins for instance that use Cobbler for
your university (or would like to), I think this would be an excellent
fit.
They should be prepared to bring some of their ideas to the table as the
most well thought out proposals will win. Look at the RFEs listed in
Cobbler's Trac
for starters and think about other things you would like to see that are
part of the same problem space that Cobbler currently deals with.
For those applying: If you'd like to bounce ideas off of me in advance,
you are welcome to do so. (If you are interested in other topics,
those are good as well,
you are encouraged to apply, though I will not be mentoring those other
topics/ideas)
Details:
http://iquaid.org/2009/03/18/students-start-your-engines-fedora-and-jboss...
--Michael
15 years, 2 months