<ProtocolError for localhost:25151/cobbler_api: 404 Not Found>
by John Paget Bourke
Hi,
When I run
koan --list=profiles -s localhost
I get the following error
root@Config cobbler]# koan --list=profiles -s localhost
- looking for Cobbler at http://localhost:25151/cobbler_api
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/koan/utils.py", line 542, in
__try_connect
xmlrpc_server.ping()
File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib64/python2.6/xmlrpclib.py", line 1243, in request
headers
ProtocolError: <ProtocolError for localhost:25151/cobbler_api: 404 Not
Found>
If I try to see if the server is running and listening, the server is ok
[root@Config cobbler]# netstat -an | grep 25151
tcp 0 0 127.0.0.1:25151 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:25151 127.0.0.1:57483
TIME_WAIT
But returns nothing .
[root@Config cobbler]# curl http://localhost:25151/cobbler_api
curl: (52) Empty reply from server
I am using the web GUI and it works ok, no problems.
When I try to use koan or curl and check the logs
[root@Config cobbler]# curl http://localhost:25151/cobbler_api
curl: (52) Empty reply from server
[root@Config cobbler]# date
Sun Oct 30 05:30:55 UTC 2011
[root@Config cobbler]# ls -l
total 1792
drwxr-xr-x. 2 root root 4096 Oct 6 02:24 anamon
-rw-r--r--. 1 root root 1806499 Oct 30 04:50 cobbler.log
-rw-r--r-- 1 root root 73 Oct 29 00:24 install.log
drwxr-xr-x. 2 root root 4096 Oct 6 02:24 kicklog
drwxr-xr-x. 2 root root 4096 Oct 6 02:24 syslog
drwxr-xr-x. 2 root root 4096 Oct 30 04:40 tasks
[root@Config cobbler]# cd /etc/httpd/logs/
[root@Config logs]# ls -l
total 3172
-rw-r--r-- 1 root root 10904 Oct 30 04:45 access_log
-rw-r--r--. 1 root root 789779 Oct 30 02:43 access_log-20111030
-rw-r--r-- 1 root root 32638 Oct 30 05:20 error_log
-rw-r--r--. 1 root root 2403267 Oct 30 03:06 error_log-20111030
The logs do not seem to be affected.
The versions I am running are
[root@Config cobbler]# rpm -qa | grep cobbler
cobbler-2.2.1-1.el6.noarch
cobbler-web-2.2.1-1.el6.noarch
[root@Config cobbler]# rpm -qa | grep koan
koan-2.2.1-1.el6.noarch
In the modules.conf I have
[authentication]
#module = authn_denyall
module = authn_configfile
[authorization]
module = authz_allowall
So I am a bit lost. Any thoughts ?
Thanks
John
10 years, 1 month
Restoring an inherited value for a child profile?
by Zack Perry
I have a profile that is created using the command:
cobbler profile add --name=... --parent=...
The child profile's 'Template Files' attribute originally inherited
from its parent. For testing, I changed it using
cobbler profile edit --name=...
Once I was done, I thought that the defaults in the parent profile
were sufficient, so I wanted to restore the <<inherit>> value. But,
neither cobbler profile edit --help nor man cobbler offer any hints
how to do so. I tried the cobbler web UI as a last resort, no dice
either.
Yeah, I can cobbler profile remove --name=... to delete the modified
child profile and then recreate it. It's not that hard, but
conceptually it's uneconomical :-(
So the Q: is it possible to restore an inherited value for a profile
attribute? If so, what is the correct work flow?
Regards,
--Zack
10 years, 7 months
Re: [cobbler] cobbler 2.4.0 and problems booting Ubuntu 12.10 desktop 64bit
by Zack Perry
Hi James and Andrew,
Thanks for your two's follow-up. Looks like it's probably a good idea to file a bug report upstream to Ubuntu to Debian's Installation Team? Personally, I think what Ubuntu has done qualifies as a "bug".
> I played around with the 12.10 images today. I've been able to
> get past the error that you were hitting by using the netboot
> kernel and ramdisk. The desktop DVD also requires that you pull
> down the debian-intaller directory as well.
>
> The installation still fails as it goes to install the system.
> It ends up looking for a "live image" and since it's a netboot
> it can't find any. This only happens when netbooting and using
> a mirror that is simply a rsync of
> the DVD.
Yes. I got that one too!
> If you point the installation to a full mirror such as
> http://mirrors.kernel.org/ubuntu the installation goes through
> without issue. It looks like Ubuntu has changed the way that they
> are installing the system no matter whether you are using a server
> or desktop DVD.
>
> I'm stumped on whether or not there is any way to continue using
> the Ubuntu CDs for starting mirrors with cobbler.
>
>> That's interesting, it would be nice if they would be considerate
>>and push a DVD image instead that would work as expected.
>
> Yeah I totally agree. It did find a set of DVDs but they only
> contain the sources for the release which won't help us.
>
> Regards,
> Andrew
Gentlemen, please give me a few days. I still have a couple of ideas
to try out before we give up on Ubuntu 12.10 and later completely. I
have a couple of other ideas to try out. Will report back to the list.
Regards and have a great weekend,
-- Zack
10 years, 10 months
stand alone iso to usb
by Jason Graham
I have been going through some old mailing list emails trying to find an
answer to this. I need to take the output buildiso standalone and put it on
a USB. Has anyone successfully done this recently? I tried feeding the iso
into unetbootin to create the usb. That resulted in 'no operating system
found' when attempting to boot from it. I am in the middle of trying it
with livecd-iso-to-disk. Any other ideas?
Thanks!
11 years, 1 month
Integrating Cobbler with Eucalyptus
by Kyo Lee
Hi Cobbler folks,
At Eucalyptus, for running the development and test environment for
engineers, we have been using a custom-built self-provisioning system, via
PXEBOOT, to provision the machines around in our datacenter.
However, recently we have picked up Cobbler to handle the bare metal
provision tasks of the internal dev/test system. Then, came up with the
idea that we should integrate Cobbler into Eucalyptus to handle the bare
metal provisioning-related operations, thus giving a birth to "Metaleuca."
Metaleuca is a bare-metal provision management system that interacts with
open-source software Cobbler via EC2-like CLIs.
For those who are interested in more details of Metaleuca, feel free to
check out the blog below:
http://kyolee.com/2013/01/30/introducing-metaleuca/
The code of Metaleuca can be seen at:
https://github.com/eucalyptus/metaleuca
Metaleuca is still at its experimental/prototype stage, but your comments
and suggestions will be extremely valuable in setting the right direction
on this integration approach.
Thank you all!
Kyo
---
Kyo Lee
Software Designer at Eucalyptus.
Twitter: @kyolee
11 years, 1 month
next-server by interface
by Greg Chavez
I'm wondering if ths feature was ever added, where one could indicate a
different next-server for a particular system interface to override the
cobbler/settings default.
I can easily cheetah my way around it in dhcpd.template, but I wanted to
know if there had been any developments regarding this. It was discussed
on this list a while back.
Thanks.
--
\*..+.-
--Greg Chavez
+//..;};
11 years, 2 months
Re: [cobbler] kernel/nic problems?
by Michael Dur
I'm testing with two dell models, the T1500 and 990. They seem to use a
broadcom and e1000e driver respectively. I've unpacked the initrd, moved those
modules in and repacked. I'll let you know how I make out, thanks for your
help.
-Michael
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 24 Jan 2013 09:37:46 -0500
> From: Michael <durm(a)seas.upenn.edu>
> To: cobbler(a)lists.fedorahosted.org
> Subject: [cobbler] kernel/nic problems?
> Message-ID: <20130124143746.GA1643(a)seas.upenn.edu>
> Content-Type: text/plain; charset=us-ascii
>
>
> I have a cobbler server running openSUSE 12.1 that will deploy openSUSE 12.1.
> Currently systems get dhcp then pxe boot via tftp and fail to find the install repo.
> At that point I can manually specify where the repo is (http://192.168.100.1/cblr/links/openSUSE121-x86_64)
> and I'm told that there is no interface, and that the kernel may not support my nic.
>
> Has anyone been through something like this?
>
> --
> Michael
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 24 Jan 2013 09:45:37 -0500
> From: Michael <durm(a)seas.upenn.edu>
> To: cobbler(a)lists.fedorahosted.org
> Subject: Re: [cobbler] kernel/nic problems?
> Message-ID: <20130124144537.GB1643(a)seas.upenn.edu>
> Content-Type: text/plain; charset=us-ascii
>
>
> A little more info:
> I can connect a machine that is already booted to a working OS, get dhcp and see what appears to be the
> contents of the install DVD that cobbler imported when I open http://192.168.100.1/cblr/links/openSUSE121-x86_64 in a
> browser.
>
> On 01/24, Michael wrote:
> > Date: Thu, 24 Jan 2013 09:37:46 -0500
> > From: Michael <durm(a)seas.upenn.edu>
> > To: cobbler(a)lists.fedorahosted.org
> > Subject: kernel/nic problems?
> >
> >
> > I have a cobbler server running openSUSE 12.1 that will deploy openSUSE 12.1.
> > Currently systems get dhcp then pxe boot via tftp and fail to find the install repo.
> > At that point I can manually specify where the repo is (http://192.168.100.1/cblr/links/openSUSE121-x86_64)
> > and I'm told that there is no interface, and that the kernel may not support my nic.
> >
> > Has anyone been through something like this?
> >
> > --
> > Michael
>
> --
> Michael
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 24 Jan 2013 15:02:59 +0000
> From: Will McDonald <wmcdonald(a)gmail.com>
> To: cobbler mailing list <cobbler(a)lists.fedorahosted.org>
> Subject: Re: [cobbler] kernel/nic problems?
> Message-ID:
> <CAKtKohS+_G6N+Wd8_OscaDtnaQ2uK92KBo5n+N7BqfOwhhPiBA(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> It sounds like the initrd doesn't have a corresponding module for your NIC.
> What sort of machine/NIC?
>
> I've seen this with ESX hosts in the past. If you create a VM with a VMXNET
> adapter, it'll do the initial PXE boot to pull down its bootloader, which
> then doesn't have a kernel module for the VMXNET out-of-the-box (because
> that'd normally come with VMWare Tools).
>
> What's the output of 'lsmod' on the running system? And if you dig into the
> initrd for the distribution, does it contain an equivalent module?
>
> Will.
>
>
> On 24 January 2013 14:45, Michael <durm(a)seas.upenn.edu> wrote:
>
> >
> > A little more info:
> > I can connect a machine that is already booted to a working OS, get dhcp
> > and see what appears to be the
> > contents of the install DVD that cobbler imported when I open
> > http://192.168.100.1/cblr/links/openSUSE121-x86_64 in a
> > browser.
> >
> > On 01/24, Michael wrote:
> > > Date: Thu, 24 Jan 2013 09:37:46 -0500
> > > From: Michael <durm(a)seas.upenn.edu>
> > > To: cobbler(a)lists.fedorahosted.org
> > > Subject: kernel/nic problems?
> > >
> > >
> > > I have a cobbler server running openSUSE 12.1 that will deploy openSUSE
> > 12.1.
> > > Currently systems get dhcp then pxe boot via tftp and fail to find the
> > install repo.
> > > At that point I can manually specify where the repo is (
> > http://192.168.100.1/cblr/links/openSUSE121-x86_64)
> > > and I'm told that there is no interface, and that the kernel may not
> > support my nic.
> > >
> > > Has anyone been through something like this?
> > >
> > > --
> > > Michael
> >
> > --
> > Michael
> > _______________________________________________
> > cobbler mailing list
> > cobbler(a)lists.fedorahosted.org
> > https://lists.fedorahosted.org/mailman/listinfo/cobbler
> >
>
11 years, 2 months
Installing new OS against new Packages
by Sam Sen
I have a cronjob that downloads the latest packages from Oracle's repository once a week. This local repository is not handled by Cobbler but one could essentially run "yum update" against it. How can I set up Cobbler to install new machines and pull down these latest packages instead of the DVD tree? One option is to install against the DVD tree and then run yum update, but I'd rather kill two birds with one stone.
--
Sam Sen
Sr Systems Administrator
215.913.4797
Aria Systems, Inc.
600 Reed Road, Suite 302
Broomall, PA 19008
www.ariasystems.com<http://www.ariasystems.com/>
11 years, 2 months
kernel/nic problems?
by Michael Dur
I have a cobbler server running openSUSE 12.1 that will deploy openSUSE 12.1.
Currently systems get dhcp then pxe boot via tftp and fail to find the install repo.
At that point I can manually specify where the repo is (http://192.168.100.1/cblr/links/openSUSE121-x86_64)
and I'm told that there is no interface, and that the kernel may not support my nic.
Has anyone been through something like this?
--
Michael
11 years, 2 months
Something probing my servers for cobbler_api
by Robert Rothenberg
I've found the following request in the web logs for a server that doesn't
have Cobbler installed:
> 93.231.100.23 - - [10/Jan/2013:00:05:14 +0000] "POST /cobbler_api HTTP/1.1" 404 288 "-" "-"
Is there a possible exploit in Cobbler that script kiddies are probing now?
11 years, 2 months