ubuntu as part of PXE
by G. Michael Carter
Currently I have Fedora, CentOS and Oracle Enterprise Linux installs
offered through PXE. I want to also offer ubuntu as part of that set.
I see lots of messages on google that it should be possible but no clear
way to do it. Can anyone give me instructions on how to get it in
there? I'm assuming "cobbler distro add --breed debian" But from
there I'm lost. Can't find vmlinuz or anything like that on the ubuntu cd.
Thanks,
Michael
15 years, 8 months
[ANNOUNCE] Cobbler 1.2.2
by Michael DeHaan
Cobbler 1.2.2 contains bugfixes from 1.2.1, and is a continuation of the
previous releases in support of the 1.2.0 stable branch. We will
continue to address bugfixes in 1.2.X until we get close to releasing 1.4
You can find source RPMs and tarballs here:
http://people.fedoraproject.org/~mdehaan/files/cobbler/
In addition, this has been submitted to the Fedora mirrors (F9, F8) and
EPEL (EL5, EL4) mirrors as usual.
The change list is very short. This fixes 3 relatively minor bugs: It
no longer loads the elilo location from the settings file, fixing users
who don't have that setting stored there (and who are also using DHCP
management). It now loads the "netboot_enabled" field in the WebUI
correctly. Finally, it adds "named_conf", which is a configuration
parameter to specify where BIND is located if using DNS management with
BIND, to the config file. Finally it also packages a few directories
that were previously not owned by cobbler.
You will also notice I've just made http://cobbler.et.redhat.com/ a
simple redirect to http://fedorahosted.org/cobbler. It's pretty clear
that's the center of cobbler documentation land now, and now this allows
anyone to fix the documentation anywhere it lives on the site.
--Michael
15 years, 8 months
Python Error Going to Default System
by Demetri Mouratis
Hi,
I'm running cobbler 1.02-1 on CentOS 4.
[root@lncbuild ~]# rpm -q cobbler
cobbler-1.0.2-1.el4
When I hit the url for my default kickstart, I get a python error.
This is causing all my kickstarts to fail.
I tried removing and re-adding the profile and system but no luck.
Thanks.
http://lncbuild.lnc.rnmd.net/cblr/svc/op/ks/system/default
Mod_python error: "PythonHandler services"
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line
299, in HandlerDispatch
result = object(req)
File "/var/www/cobbler/svc/services.py", line 82, in handler
content = func( **form )
File "/usr/lib/python2.3/site-packages/cobbler/services.py", line 70, in ks
data = self.remote.generate_kickstart(profile,system,REMOTE_ADDR,REMOTE_MAC)
File "/usr/lib/python2.3/xmlrpclib.py", line 1029, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.3/xmlrpclib.py", line 1316, in __request
verbose=self.__verbose
File "/usr/lib/python2.3/xmlrpclib.py", line 1080, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.3/xmlrpclib.py", line 1219, in _parse_response
return u.close()
File "/usr/lib/python2.3/xmlrpclib.py", line 742, in close
raise Fault(**self._stack[0])
Fault:
15 years, 8 months
[PATCH] Fix bug introduced in a6dd9a57 where variable 'rc' is referenced before assignment
by John Eckersberg
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This is against devel, it was causing me to be unable to log into the webui.
- --
John Eckersberg
Production Operations
Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkjAhCQACgkQdxt4pd4ztYscVACgkJVytd/16TKNuB1qahImqaIB
u5cAninidytJsalYhe9NRjQEzG6wjDTM
=U1hM
-----END PGP SIGNATURE-----
>From 1344b3133621f109411d067a541d8ea4b59812c4 Mon Sep 17 00:00:00 2001
From: John Eckersberg <jeckersb(a)redhat.com>
Date: Thu, 4 Sep 2008 20:52:15 -0400
Subject: [PATCH] Fix bug introduced in a6dd9a57 where variable 'rc' is referenced before assignment
---
cobbler/api.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cobbler/api.py b/cobbler/api.py
index 01658a6..817877a 100644
--- a/cobbler/api.py
+++ b/cobbler/api.py
@@ -487,16 +487,16 @@ class BootAPI:
"""
(Remote) access control.
"""
- self.log("authenticate",[user,rc])
rc = self.authn.authenticate(self,user,password)
+ self.log("authenticate",[user,rc])
return rc
def authorize(self,user,resource,arg1=None,arg2=None):
"""
(Remote) access control.
"""
- self.log("authorize",[user,resource,arg1,arg2,rc],debug=True)
rc = self.authz.authorize(self,user,resource,arg1,arg2,acl_engine=self.acl_engine)
+ self.log("authorize",[user,resource,arg1,arg2,rc],debug=True)
return rc
def build_iso(self,iso=None,profiles=None,systems=None,tempdir=None):
--
1.5.5.1
15 years, 8 months
[PATCH] (Multiple) Moved and Documented builtins
by Dan Guernsey
I am unable to test these at this time (I get an error from api.py when
it encounters:
import acls
What package/file does this come from?)
Meanwhile, here are two patches. The first moves the builtins into
cheetah_macros and provides documentation. The second adds
cheetah_macros to setup.py and MANIFEST.in (you'll want to check my work).
I'll be as prompt as possible to help resolve any errors that this
untested code may (will) introduce.
~
Dan
15 years, 8 months
custom menu_label
by Axel Thimm
Hi,
ist it possible to pass a custom, human eyes friendly menu_label to
pxeprofiles? Currently it just takes the profile name which is bound
to certain restrictions. E.g. I'd like to call a profile in the PXE
menu "Install Fedora 9 32 bits" or "Rescue system from Fedora
9/x86_64".
--
Axel.Thimm at ATrpms.net
15 years, 8 months
[PATCH] add named_conf to the default settings file
by John Eckersberg
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The named_conf setting has always existed for BIND DNS management but
never made it into the default settings file, so not surprisingly folks
are not aware of its existence.
- --
John Eckersberg
Production Operations
Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAki+sx0ACgkQdxt4pd4ztYvG+gCgjsaW7DZRme1xgHtSk4oIZk9z
+/IAnRJR8EU6kgZw+m19TWuksdlg3FyA
=3B76
-----END PGP SIGNATURE-----
>From 8f9f9d0dab1fc01c63d3ee2cb8741cb55b852e31 Mon Sep 17 00:00:00 2001
From: John Eckersberg <jeckersb(a)redhat.com>
Date: Wed, 3 Sep 2008 11:50:22 -0400
Subject: [PATCH] add named_conf to the default settings file
---
config/settings | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/config/settings b/config/settings
index 485a1fd..ae4e676 100644
--- a/config/settings
+++ b/config/settings
@@ -89,6 +89,10 @@ manage_dns: 0
manage_forward_zones: []
manage_reverse_zones: []
+# location where cobbler will write its named.conf when BIND dns management is
+# enabled
+named_conf: /etc/named.conf
+
# if using cobbler with manage_dhcp, put the IP address
# of the cobbler server here so that PXE booting guests can find it
# if you do not set this correctly, this will be manifested in TFTP open timeouts.
--
1.5.5.1
15 years, 8 months