RE: Re: buildiso with DNS
by Tailpied Stephane
Thank you Christian,
> Hi Stephane,
> On Wed, Nov 16, 2011 at 11:46:15AM +0100, Tailpied Stephane wrote:
> > I use buildiso to deploy with no pxe, and I want to specify a dns server in isolinux.cfg in generated.iso. Is it possible ?
> >
> > I had "Name Server" in my profile.
> > I had an IP/Gateway/Netmask in my system.
> > I used "cobbler buildiso -system=my_system" to generate the iso.
> > My isolinux.cfg looks like :
> > "kernel 3.krn
> > append initrd=3.img ks=<url> ksdevice=bootif lang= kssendmac text ip=<ip> netmask=<netmask> gateway=<gateway>"
> >
> > What to do to specify a DNS server ?
> This question is more PXE/distro specific than cobbler.
Yes, but it's cobbler which builds this iso and the isolinux.cfg. I thought that cobbler could build with a specific DNS like IP, netmask and gateway.
Effectively, after a buildiso, I can open the iso, add a dns into the isolinux.cfg (or replace all names by IP) and rebuild the iso, but it's a supplementary task :-(
> In case you are relating to RHEL or Centos these links will help you:
> http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Install...
> http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Install...
> cheers, Christian
Stéphane
L'integrite de ce message n'etant pas assuree sur internet, Natixis ne peut etre tenu responsable de son contenu. Toute utilisation ou diffusion non autorisee est interdite. Si
vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur. Ensemble, faisons un geste pour l'environnement : n'imprimons nos mails que si
necessaire.
The integrity of this message cannot be guaranteed on the Internet. Natixis can not therefore be considered responsible for the contents. Any unauthorized use or dissemination is
prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender. Let us mind the environment : let's print our mails only when
necessary
12 years, 5 months
buildiso with DNS
by Tailpied Stephane
Hi,
I use buildiso to deploy with no pxe, and I want to specify a dns server in isolinux.cfg in generated.iso. Is it possible ?
I had "Name Server" in my profile.
I had an IP/Gateway/Netmask in my system.
I used "cobbler buildiso -system=my_system" to generate the iso.
My isolinux.cfg looks like :
"kernel 3.krn
append initrd=3.img ks=<url> ksdevice=bootif lang= kssendmac text ip=<ip> netmask=<netmask> gateway=<gateway>"
What to do to specify a DNS server ?
Regards
L'integrite de ce message n'etant pas assuree sur internet, Natixis ne peut etre tenu responsable de son contenu. Toute utilisation ou diffusion non autorisee est interdite. Si
vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur. Ensemble, faisons un geste pour l'environnement : n'imprimons nos mails que si
necessaire.
The integrity of this message cannot be guaranteed on the Internet. Natixis can not therefore be considered responsible for the contents. Any unauthorized use or dissemination is
prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender. Let us mind the environment : let's print our mails only when
necessary
12 years, 5 months
installed cobbler 2.0.11 on CentOS6, but I only get 503s
by Rainer Duffner
Hi,
I have a working cobbler installation at work, but I've created a completely now one at home.
Unfortunately, it does not work.
I installed it by adding the EPEL repo and "yum install cobbler cobbler_web".
I removed the cobbler-user from /etc/cobbler/users.digest and added an "admin" user.
When I run "cobbler check", it just says that httpd does not seem to be running and proxying cobbler.
httpd is running, but I only get a "503" error-code in the access-log from running cobbler check
192.168.1.19 - - [16/Nov/2011:01:38:09 +0100] "POST /cobbler_api HTTP/1.0" 503 401 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
Is there a way to make it say what is actually wrong beyond a 503?
In the cobblers-log, I only get this:
Wed Nov 16 01:42:29 2011 - DEBUG | API handle initialized
Wed Nov 16 01:42:29 2011 - DEBUG | XMLRPC running on 25151
etc.
Incidentally, I can't login to the web-interface with the password I set.
[root@cobbler cobbler]# cat modules.conf |grep -v ^# |grep -v ^$
[authentication]
module = authn_configfile
[authorization]
module = authz_allowall
[dns]
module = manage_bind
[dhcp]
module = manage_isc
[root@cobbler cobbler]# cat users.conf |grep -v ^# |grep -v ^$
[admins]
admin = ""
cobbler = ""
It seems I get a "permission denied" upon trying to log into the web-interface:
[Wed Nov 16 02:08:08 2011] [error] python_init: Python path being used '/usr/lib64/python26.zip:/usr/lib64/python2.6/:/usr/lib64/python2.6/plat-linux2:/usr/lib64/python2.6/lib-tk:/usr/lib64/python2.6/lib-old:/usr/lib64/python2.6/lib-dynload'.
[Wed Nov 16 02:08:08 2011] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Nov 16 02:08:08 2011] [notice] mod_python: using mutex_directory /tmp
[Wed Nov 16 02:08:08 2011] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Wed Nov 16 02:08:08 2011] [warn] mod_wsgi: Runtime using Python/2.6.6.
[Wed Nov 16 02:08:08 2011] [notice] Apache/2.2.15 (Unix) DAV/2 mod_python/3.3.1 Python/2.6.6 mod_wsgi/3.2 configured -- resuming normal operations
[Wed Nov 16 02:08:35 2011] [error] (13)Permission denied: proxy: HTTP: attempt to connect to 127.0.0.1:25151 (localhost) failed
[Wed Nov 16 02:08:35 2011] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Nov 16 02:08:35 2011] [error] /usr/lib64/python2.6/site-packages/mod_python/importer.py:32: DeprecationWarning: the md5 module is deprecated; use hashlib instead
[Wed Nov 16 02:08:35 2011] [error] import md5
[root@cobbler cobbler]# netstat -an |grep 25151
tcp 0 0 127.0.0.1:25151 0.0.0.0:* LISTEN
Does anyone have any idea?
I updated to 2.2.1, but it doesn't help.
Rainer
12 years, 5 months
PXE Question
by Detlev Habicht
Hi all,
i am new here, working with an easy installation of cobbler up to now.
Normally i want to use the web gui.
Up to now all my systems were using the default pxe boot menu.
Now i want to manage all my systems via cobbler and "system add".
But how can i add a system so that this system uses the default pxe boot menu?
When i try using no profile, than the new system is not added.
The reason for wish is: i want to split my Linux PCs in two group. One group will have
a fixed installation and this works well with "system add". But the other
group have to use the pxe default menu.
Thanx for any help.
Detlev
--
Detlev | Institut fuer Mikroelektronische Systeme
Habicht | D-30167 Hannover +49 511 76219662 habicht(a)ims.uni-hannover.de
--------+-------- Handy +49 172 5415752 ---------------------------
12 years, 5 months
Static routes not getting configured properly....
by Gerhardus Geldenhuis
Hi
The man page says that static routes per interface should be in the format:
IP/mask:gateway and space separated for multiple entries.
So I have added:
{ip's are fictional}
20.17.1.20/255.255.255.255:20.17.96.253
20.17.17.1/255.255.255.255:20.17.96.253
10.17.4.20/255.255.255.255:20.17.96.253
but I get:
20.17.1.20/255.255.255.255 via 20.17.96.253
20.17.17.1/255.255.255.255 via 20.17.96.253
20.17.4.20/255.255.255.255 via 20.17.96.253
Setting up of the routes fail when networking starts up with the error:
an inet prefix is expected rather than 20.17.1.20/255.255.255.255 via
20.17.96.253
So firstly, have I read the man page wrong for cobbler? What should the
values be? and secondly
the /usr/share/doc/initscripts-8.45.30/sysconfig.txt documetation recommends
ADDRESSn=<network>
NETMASKn=<network/prefix mask>
GATEWAYn=<next-hop router/gateway IP address>
The "n" can be any integer number, but is expected to be monotonically
increasing and counting starts from 0. For example:
ADDRESS0=192.168.2.0
NETMASK0=255.255.255.0
GATEWAY0=192.168.1.1
Admittedly I am using an older version of cobbler:
cobbler-2.0.11-2.el5
cobbler-web-2.0.11-2.el5
and have not had the opportunity to test in a new environment yet with a
new cobbler instance. So is this fixed in newer versions or is the problem
I am seeing specific only to Red Hat/CentOS?
Regards
--
Gerhardus Geldenhuis
12 years, 5 months
Web to command line mapping
by Gerhardus Geldenhuis
Hi
I was thinking of writing a small wiki page that maps properties you see in
the web config to what you would use on the command line and in the API.
For example:
Web => api
Kickstart Metadata => ks_meta
Subnet Mask => subnet
sometimes they are obvious but not always. Thus such a mapping exist
already?, and I think it would make sense to maybe add the API values/keys
to the man page as well, any objections/thoughts/comments?
Regards
--
Gerhardus Geldenhuis
12 years, 5 months
Management interface?
by Gerhardus Geldenhuis
Hi
In the latest cobbler web interface 2.201 there is now an option to enable
an interface as a Management Interface... what does this do? The meaning is
a bit clear and the help text on the page not helping to clear up the
mystery usage. The man page also did not turn up anything. I did not read
through the whole cobbler man page but did a search and read through the
interface section. I would be happy to amend the web interface help text
and the man page unless it is already there and I being daft. Happy to be
informed either way.
Best Regards
--
Gerhardus Geldenhuis
12 years, 5 months
Weird Kickstart Problem In Search of a Clue
by Dan White
I have set up a cobbler server to kickstart/build HP ProLiant boxen of various flavors with RHEL5
I have a particularly stubborn DL380 G5 that refuses to be PXE-booted/net-installed
I suspect a FUBAR from the guy that manages the DNS/DHCP, but I need more evidence.
When it tries to PXE-boot, I get "PXE-E11: ARP Timeout" a few times and then, maybe, it will proceed.
But then, when it gets into anaconda, it hangs on a screen that says:
-----------------------
Error downloading kickstart file:
Unable to download the kickstart file. Please modify the
kickstart parameter below or press Cancel to proceed as an
iteractive installation.
http://<IP of cobbler server>/cblr/svc/op/ks/system/<system name from Cobbler>
------------------------
The URL is not the problem. I can type that URL into any other machine on the network and get the kickstart file.
On the suggestion of a co-worker, I booted the same G5 with a CentOS 6 LiveCD, configured its network interface and was able to bring up the kickstart file in a ForeFox browser.
I have loaded/booted several other machines from this samre server, so I am confident that the problem is not on the cobbler server. Being able to get to the KS file with the CentOS LiveCD says to me that the G5 is not the problem. I suspect the problem is somewhere between the two machines.
“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
12 years, 5 months
Effects of authn_passthru on XMLRPC interface?
by Mark Farver
If passthru authentication is used.. what should be passed into the
XMLRPC login call?
cobbler/modules.conf
[authentication]
module = authn_passthru
remote = xmlrpclib.Server("http://username:password@127.0.0.1/cobbler_api
token = remote.login()
Calling login without a username/password gives a number of parameters
error, calling it with any username and password (even a valid
configfile one) fails. It only seems to work if we go back to
authn_configfile.
Ideally I'd like to use Kerberos/passthru for the webui, and password
authentication on the XMLAPI.
Thanks
Mark Farver
12 years, 5 months