Cobbler and dhcp - mission critical needs
by Daniel Kertby
Hi all.
Im in the need to replace our Cobbler server(managing a local DHCP
server) with a mission critical solution. Anyone have any experience
in setting up cobbler in a HA solution?
Is there any commercial support to get? (AFAIK the answer is no)
We are using VMware products for virtualization and will probably use
their products/features to get a DHCP- and Cobber server up and
running in a HA environment.
Any thought/ideas are welcome.
Best Regards,
Daniel
11 years, 7 months
reposync 404 problems with fc17 Everything repo
by Alan Crosswell
I've set up a cobbler machine with the fc17 DVD distro. I also need a
handful of additional RPMs that are only in the Everything repo, not in the
DVD image. So I tried defining a repo with a list of RPMs to sync. I've
tried several flavors of the yum repo URL:
1.
http://download.fedoraproject.org/pub/fedora/linux/releases/17/Everything...
2. http://mirrors.kernel.org/fedora/releases/17/Everything/i386/os/
3. miscellaneous specific mirror server hosts (not ideal)
When I do a cobbler reposync, a variety of 404 errors occur, presumably
because the mirrors are out of sync with each other. It also looks like
since my cobbler is x86_64, downloading i386 RPMs is perhaps messing up or
maybe yumdownloader just grabs all architectures?
Can someone recommend the right way to do this other than manually running
yumdownloader myself and creating my own local repo and then reposyncing
that? I've been there and done that but was hoping to get to a more
automated way of keeping the add-ons up to date.
Here's a snippet:
[root@fc17vm aprsdigi]# cobbler reposync
task started: 2012-09-18_142342_reposync
task started (id=Reposync, time=Tue Sep 18 14:23:42 2012)
hello, reposync
run, reposync, run!
creating:
/var/www/cobbler/repo_mirror/fc17-addon-i386/.origin/fc17-addon-i386.repo
running: /usr/bin/yumdownloader --resolve --disablerepo=*
--enablerepo=fc17-addon-i386 -c
/var/www/cobbler/repo_mirror/fc17-addon-i386/.origin/fc17-addon-i386.repo
--destdir=/var/www/cobbler/repo_mirror/fc17-addon-i386 alsa-lib
alsa-lib-devel aprsd audiofile ax25-apps ax25-tools ax25-tools-docs
ax25-tools-x libax25 libax25-devel soundmodem soundmodem-devel yum-updatesd
received on stdout: --> Running transaction check
---> Package alsa-lib.i686 0:1.0.25-3.fc17 will be installed
--> Processing Dependency: librt.so.1(GLIBC_2.2) for package:
alsa-lib-1.0.25-3.fc17.i686
--> Processing Dependency: librt.so.1 for package:
alsa-lib-1.0.25-3.fc17.i686
--> Processing Dependency: libpthread.so.0(GLIBC_2.3.2) for package:
alsa-lib-1.0.25-3.fc17.i686
--> Processing Dependency: libpthread.so.0(GLIBC_2.1) for package:
alsa-lib-1.0.25-3.fc17.i686
--> Processing Dependency: libpthread.so.0(GLIBC_2.0) for package:
alsa-lib-1.0.25-3.fc17.i686
--> Processing Dependency: libpthread.so.0 for package:
alsa-lib-1.0.25-3.fc17.i686
--> Processing Dependency: libm.so.6(GLIBC_2.0) for package:
alsa-lib-1.0.25-3.fc17.i686
--> Processing Dependency: libm.so.6 for package:
alsa-lib-1.0.25-3.fc17.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3.1) for package:
alsa-lib-1.0.25-3.fc17.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package:
alsa-lib-1.0.25-3.fc17.i686
--> Processing Dependency: libgcc_s.so.1 for package:
alsa-lib-1.0.25-3.fc17.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.1) for package:
alsa-lib-1.0.25-3.fc17.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.0) for package:
alsa-lib-1.0.25-3.fc17.i686
--> Processing Dependency: libdl.so.2 for package:
alsa-lib-1.0.25-3.fc17.i686
--> Processing Dependency: libc.so.6(GLIBC_2.7) for package:
alsa-lib-1.0.25-3.fc17.i686
---> Package alsa-lib.x86_64 0:1.0.25-3.fc17 will be reinstalled
---> Package alsa-lib-devel.i686 0:1.0.25-3.fc17 will be installed
---> Package alsa-lib-devel.x86_64 0:1.0.25-3.fc17 will be installed
---> Package aprsd.x86_64 0:2.2.5-15.6.fc17.3 will be installed
---> Package audiofile.i686 1:0.2.7-3.fc17 will be installed
---> Package audiofile.x86_64 1:0.2.7-3.fc17 will be installed
---> Package ax25-apps.x86_64 0:0.0.6-9.fc17 will be installed
---> Package ax25-tools.x86_64 0:0.0.10-0.3.rc2.fc17 will be installed
---> Package ax25-tools-docs.x86_64 0:0.0.10-0.3.rc2.fc17 will be installed
---> Package ax25-tools-x.x86_64 0:0.0.10-0.3.rc2.fc17 will be installed
---> Package libax25.i686 0:0.0.12-0.3.rc2.fc17 will be installed
---> Package libax25.x86_64 0:0.0.12-0.3.rc2.fc17 will be reinstalled
---> Package libax25-devel.i686 0:0.0.12-0.3.rc2.fc17 will be installed
---> Package libax25-devel.x86_64 0:0.0.12-0.3.rc2.fc17 will be reinstalled
---> Package soundmodem.x86_64 0:0.15-4.fc17 will be installed
---> Package soundmodem-devel.i686 0:0.15-4.fc17 will be installed
---> Package soundmodem-devel.x86_64 0:0.15-4.fc17 will be installed
---> Package yum-updatesd.noarch 1:0.9-11.fc17 will be installed
--> Processing Dependency: gamin-python for package:
1:yum-updatesd-0.9-11.fc17.noarch
--> Running transaction check
---> Package gamin-python.x86_64 0:0.1.10-12.fc17 will be installed
---> Package glibc.i686 0:2.15-37.fc17 will be installed
--> Processing Dependency: glibc-common = 2.15-37.fc17 for package:
glibc-2.15-37.fc17.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package:
glibc-2.15-37.fc17.i686
--> Processing Dependency: libfreebl3.so for package:
glibc-2.15-37.fc17.i686
---> Package libgcc.i686 0:4.7.0-5.fc17 will be installed
--> Running transaction check
---> Package glibc.i686 0:2.15-37.fc17 will be installed
--> Processing Dependency: glibc-common = 2.15-37.fc17 for package:
glibc-2.15-37.fc17.i686
---> Package nss-softokn-freebl.i686 0:3.13.4-2.fc17 will be installed
--> Finished Dependency Resolution
http://download.fedoraproject.org/pub/fedora/linux/releases/17/Everything...:
[Errno 14] HTTP Error 404 - Not Found :
http://mirrors.servercentral.net/fedora/releases/17/Everything/i386/os/Pa...
Trying other mirror.
Could not download/verify pkg alsa-lib-1.0.25-3.fc17.x86_64: failure:
Packages/a/alsa-lib-1.0.25-3.fc17.x86_64.rpm from fc17-addon-i386: [Errno
256] No more mirrors to try.
http://download.fedoraproject.org/pub/fedora/linux/releases/17/Everything...:
[Errno 14] HTTP Error 404 - Not Found :
http://mirror.liberty.edu/pub/fedora/linux/releases/17/Everything/i386/os...
and so on.
/a
PS: 18 months ago I submitted an RFE for metalink support for installed
repos on the cobbled system:
https://fedorahosted.org/cobbler/ticket/652which is a related but not
quite the same request
11 years, 7 months
Passing koan options to KS
by Ronald J. Yacketta
Hello All!
Spent a couple hours this weekend looking for a way to pass koan options
(IE: --virt-name) to the underlying kickstart file. Right now after a
server is built via koan it is left with the standard localhost host
name, would be nice to parse --virt-name and use that to change the
servers host name.
Is this currently possible or should I post a feature request?
Regards,
Ron
11 years, 7 months
Cobbler not injecting file with --kickstart-templates
by Chris Doherty
Hello, all. I'm having a bit of a problem with Cobbler deploying Ubuntu
Precise (12.04.01, x86_64) Server.
Using the packages straight from the Precise repositories. Cobbler's
working just fine for the hands-off preseeded install, but I need to
configure Puppet slightly before first boot. (Note that Puppet
specifically has nothing to do with this, it's just the exemplar).
I'm trying to pass /etc/puppet/puppet/conf and /etc/default/puppet in
via cobbler so that puppet will pick them up when the system reboots.
Although I'm not receiving any errors, the files are not showing up on
the client.
Note I'm not using koan here post-install, I only want this to happen
once during the preseeded install.
Following the instructions at
https://github.com/cobbler/cobbler/wiki/Built%20in%20configuration%20man
agement, I set up the files I want to inject. Here's the profile
report:
Name : controller-node
TFTP Boot Files : {}
Comment :
DHCP Tag : default
Distribution : precise-x86_64
Enable PXE Menu? : 1
Fetchable Files : {}
Kernel Options : {'netcfg/choose_interface': 'eth0'}
Kernel Options (Post Install) : {}
Kickstart :
/var/lib/cobbler/kickstarts/controller.preseed
Kickstart Metadata : {}
Management Classes : []
Management Parameters : <<inherit>>
Name Servers : []
Name Servers Search Path : []
Owners : ['admin']
Parent Profile :
Proxy :
Red Hat Management Key : <<inherit>>
Red Hat Management Server : <<inherit>>
Repos : []
Server Override : <<inherit>>
Template Files : {'/etc/cobbler/puppet.conf.tpl':
'/etc/puppet/puppet.conf', '/etc/cobbler/puppet.default.tpl':
'/etc/default/puppet'}
Virt Auto Boot : 1
Virt Bridge : virbr0
Virt CPUs : 1
Virt Disk Driver Type : raw
Virt File Size(GB) : 5
Virt Path :
Virt RAM (MB) : 512
Virt Type : qemu
When the machine is finished booting after its cobbler-managed install,
the two files are not copied over the default packaged files.
Is this a file overwriting problem? Something Ubuntu specific? Is the
source location for the .tpl files incorrect? The files are not
themselves templates - they don't need to be - and contain no Cheetah
syntax I can determine.
--
Chris Doherty, B.Math
Software Engineer
Advanced Systems Engineering
FLEXComputing
chris.doherty(a)ca.flextronics.com
www.flextronics.com
Ph +1 289 288 1509
Fax +1 289 288 1549
Legal Disclaimer:
The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message!
11 years, 7 months
Different partitioning requirements for identical blades
by Bai Shen
I have a blade server that I'm building using cobbler to be a hadoop
cluster. Since the data nodes like seeing the individual drives, I'm going
to partition those differently than the other nodes.
Is there a recommended method to handling the parititions? Everything else
about the kickstart will be the same.
Thanks.
11 years, 7 months
issues upgrading from 1.6.6 to 2.2.3-2
by Mann, Owen
Hi all, just upgraded Cobbler on a RHEL5 box. On the previous 1.6.6 upgrade I went to 2.2.1 (latest at the time), but built a whole new box with RHEL6.
Anyways, I got a problem I've never seen before right out of the gate. I know I've got to work on all the wsgi and /etc/settings, etc. stuff, but the first hurdle seems to be getting cobbler to even run:
[root@rts-cobbler ~]# /etc/init.d/cobblerd start
Starting cobbler daemon: Traceback (most recent call last):
File "/usr/bin/cobblerd", line 19, in ?
import cobbler.cobblerd as app
File "/usr/lib/python2.4/site-packages/cobbler/cobblerd.py", line 34, in ?
import api as cobbler_api
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 29, in ?
import action_sync
File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line 45, in ?
import cobbler.module_loader as module_loader
ImportError: No module named module_loader
The files are there, but Cobbler doesn't appear to see them.
[root@rts-cobbler ~]# ls -l /usr/lib/python2.4/site-packages/cobbler/module_loader.py*
-rw-r--r-- 1 root root 3370 Jun 17 20:22 /usr/lib/python2.4/site-packages/cobbler/module_loader.py
-rw-r--r-- 1 root root 3632 Jun 17 20:58 /usr/lib/python2.4/site-packages/cobbler/module_loader.pyc
-rw-r--r-- 1 root root 3632 Jun 17 20:58 /usr/lib/python2.4/site-packages/cobbler/module_loader.pyo
I suck at Python. A colleague suggested installing Pylint, but I can't get that to work either.
Anybody got any ideas for me? Am I missing some deps or something? Got the RPM from EPEL5.
*******************************************************
This message (including any files transmitted with it) may contain confidential and/or proprietary information, is the property of Interactive Data Corporation and/or its subsidiaries, and is directed only to the addressee(s). If you are not the designated recipient or have reason to believe you received this message in error, please delete this message from your system and notify the sender immediately. An unintended recipient's disclosure, copying, distribution, or use of this message or any attachments is prohibited and may be unlawful.
*******************************************************
11 years, 7 months
Weird disk naming
by Bai Shen
I have a snippet to partition my disks. In the snippet I have to name my
disks sdb, sdc, sdd, and sde.
However, when I do a df or fdisk once the system is built, my disks have
all shifted by one letter. The partitions I defined as being on sdb are on
sda instead. sdc is on sdb, sdd is on sdc and finally sde is on sdd.
Is this expected behavior or am I doing something wrong?
Thanks.
11 years, 7 months
Override disk size via koan [--virt-disk]
by Ronald J. Yacketta
Have been asked on several occasions if one could override the default
vm disk size via koan command line. Usually I deflect the question but
lately I have been asked more frequently.
So can we get a --virt-disk option for koan?
Regards,
Ron
11 years, 7 months
Change download path for a repository added
by Ubay Dorta Guerra
Hello,
I have fedora 17 with cobbler 2.2.3 and i want to setup a mirror of
the Fedora "updates" tree. Is it possible to instruct cobbler to
download the packages to a different path?
I am trying to use "createrepo-flags" option to change the download_path:
[root@server1 ~]# cobbler repo add
--mirror=http://download.fedoraproject.org/pub/fedora/linux/updates/17/x86_64/
--name=f17-x86_64-updates
--createrepo-flags="--download_path=/mnt/deploy/media/fedora/updates/17/x86_64"
But when i run reposync the download_path is reverted to the default
location:
[root@server1 ~]# cobbler reposync
task started: 2012-09-10_122505_reposync
task started (id=Reposync, time=Mon Sep 10 12:25:05 2012)
hello, reposync
run, reposync, run!
creating:
/var/www/cobbler/repo_mirror/f17-x86_64-updates/.origin/f17-x86_64-updates.repo
running: /usr/bin/reposync -l -m -d
--config=/var/www/cobbler/repo_mirror/f17-x86_64-updates/.origin/f17-x86_64-updates.repo
--repoid=f17-x86_64-updates --download_path=/var/www/cobbler/repo_mirror
-a x86_64
Am i doing something wrong?
Thanks in advance.
11 years, 8 months