Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora/Linux Management Tools (http://www.linux-archive.org/fedora-linux-management-tools/)
-   -   does CENTOS5 import work in Cobbler ? (http://www.linux-archive.org/fedora-linux-management-tools/3857-does-centos5-import-work-cobbler.html)

Martin Minka 11-23-2007 10:04 PM

does CENTOS5 import work in Cobbler ?
 
Harry,
you are right that Anaconda is running only over HTTP, but it is not
limited to port 80. It is totally ok to run for example over port 81. I
did it successfully many times without Cobbler. The problem is that
Cobbler creates wrong kernel option syslog if you set "server" in file
settings to server with port. It would not even work if you put "server:
'x.x.x.x:80'. Cobbler is simply adding the syslog_port setting to the
kernel option. So it happens that the generated pxelinux.cfg contains:

syslog=x.x.x.x:81:25150
or
syslog=x.x.x.x:80:25150
if you set port number to "server" variable and it should alway generate
syslog=x.x.x.x:25150

Cobbler should replace the port number and not add a new one to it.
So I really believe that it is problem of Cobbler and not Anaconda.
Anaconda could improve the error message and add the syslog paramer to
output. I reported that also to Centos bug tracker:
http://bugs.centos.org/view.php?id=2463


Sincerely,
Martin

Harry Hoffman wrote:

Hi Martin,

Just read the bug report... You may actually want to file this against
anaconda and not cobbler.


I don't think anaconda will work with anything other than port 80
(standard http).


I say this because there was some recent discussion on the kickstart
list about trying to kickstart over SSL and that is not supported.


It would be nice to have though :-)

Cheers,
Harry

Martin Minka wrote:
Thank to tip from timverhoeven on IRC to look into pxelinux.cfg I
identify the root of my problem and submitted bug report
https://bugzilla.redhat.com/show_bug.cgi?id=397201.


Thank for your time,
Martin


Stephen John Smoogen wrote:

On Nov 23, 2007 10:47 AM, Martin Minka <martin.minka@gmail.com> wrote:


Harry,
files are attached.
Cobbler version is 0.602.

The error message looks strange for me and maybe it is not related to
cobbler.
I am not able now to try to install directly from CDROM, because I am
far away from that server, so I am not able to exclude cobbler as the
reason of this problem.



I have cobbler imported via mirror

cobbler repo add --name=centos-i386-3.9
--mirror=http://mirrors.kernel.org/centos/3.9/os/i386/
cobbler repo add --name=centos-i386-4.5
--mirror=http://mirrors.kernel.org/centos/4.5/os/i386/
cobbler repo add --name=centos-i386-5.0
--mirror=http://mirrors.kernel.org/centos/5.0/os/i386/
cobbler repo add --name=centos-i386-3.9-updates
--mirror=http://mirrors.kernel.org/centos/3.9/updates/i386/
cobbler repo add --name=centos-i386-4.5-updates
--mirror=http://mirrors.kernel.org/centos/4.5/updates/i386/
cobbler repo add --name=centos-i386-5.0-updates
--mirror=http://mirrors.kernel.org/centos/5.0/updates/i386/

Seems to have worked fine. I did do it previously from DVDs and CDroms.




_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Harry Hoffman 11-24-2007 02:58 AM

does CENTOS5 import work in Cobbler ?
 
Martin,

Aha! thanks for the heads up. I didn't realize that, it's good to know :-)

And you are right, it certainly does sound like it belongs in Cobbler
and not anaconda.


Cheers,
Harry

Martin Minka wrote:

Harry,
you are right that Anaconda is running only over HTTP, but it is not
limited to port 80. It is totally ok to run for example over port 81. I
did it successfully many times without Cobbler. The problem is that
Cobbler creates wrong kernel option syslog if you set "server" in file
settings to server with port. It would not even work if you put "server:
'x.x.x.x:80'. Cobbler is simply adding the syslog_port setting to the
kernel option. So it happens that the generated pxelinux.cfg contains:

syslog=x.x.x.x:81:25150
or
syslog=x.x.x.x:80:25150
if you set port number to "server" variable and it should alway generate
syslog=x.x.x.x:25150

Cobbler should replace the port number and not add a new one to it.
So I really believe that it is problem of Cobbler and not Anaconda.
Anaconda could improve the error message and add the syslog paramer to
output. I reported that also to Centos bug tracker:
http://bugs.centos.org/view.php?id=2463


Sincerely,
Martin

Harry Hoffman wrote:

Hi Martin,

Just read the bug report... You may actually want to file this against
anaconda and not cobbler.


I don't think anaconda will work with anything other than port 80
(standard http).


I say this because there was some recent discussion on the kickstart
list about trying to kickstart over SSL and that is not supported.


It would be nice to have though :-)

Cheers,
Harry

Martin Minka wrote:
Thank to tip from timverhoeven on IRC to look into pxelinux.cfg I
identify the root of my problem and submitted bug report
https://bugzilla.redhat.com/show_bug.cgi?id=397201.


Thank for your time,
Martin


Stephen John Smoogen wrote:

On Nov 23, 2007 10:47 AM, Martin Minka <martin.minka@gmail.com> wrote:


Harry,
files are attached.
Cobbler version is 0.602.

The error message looks strange for me and maybe it is not related to
cobbler.
I am not able now to try to install directly from CDROM, because I am
far away from that server, so I am not able to exclude cobbler as the
reason of this problem.



I have cobbler imported via mirror

cobbler repo add --name=centos-i386-3.9
--mirror=http://mirrors.kernel.org/centos/3.9/os/i386/
cobbler repo add --name=centos-i386-4.5
--mirror=http://mirrors.kernel.org/centos/4.5/os/i386/
cobbler repo add --name=centos-i386-5.0
--mirror=http://mirrors.kernel.org/centos/5.0/os/i386/
cobbler repo add --name=centos-i386-3.9-updates
--mirror=http://mirrors.kernel.org/centos/3.9/updates/i386/
cobbler repo add --name=centos-i386-4.5-updates
--mirror=http://mirrors.kernel.org/centos/4.5/updates/i386/
cobbler repo add --name=centos-i386-5.0-updates
--mirror=http://mirrors.kernel.org/centos/5.0/updates/i386/

Seems to have worked fine. I did do it previously from DVDs and CDroms.




_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Michael DeHaan 11-26-2007 03:02 PM

does CENTOS5 import work in Cobbler ?
 
Martin Minka wrote:

I imported CENTOS5 64bit DVD into Cobbler.
cobbler import --mirror=/media/centos5 --name=C5_64

When I am installing it installer stops on error
http://xmltvproducer.sourceforge.net/anaconda.png.


I would like to prove with somebody who installed CENTOS5 over cobbler
that it works for him and that the problem is not cobbler and its
import function.


Martin

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


Hi Martin,

I do imports and installs /quite/ often, as do many of the people who
hang out in #cobbler on irc.freenode.net ... it most definitely works :)


Perhaps you'd like to stop by and maybe we can help debug your problem?

Looks like Anaconda is getting fed something it doesn't like in your
kickstart file and/or kernel arguments, but it's hard to be sure with
just the information you provided.


Kickstart can be a little tricky but with a bit more information about
your kickstart file and the profile settings you used, it will probably
be very easy to figure out.


Thanks!

--Michael

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Michael DeHaan 11-26-2007 03:06 PM

does CENTOS5 import work in Cobbler ?
 
Harry Hoffman wrote:

Martin,

Aha! thanks for the heads up. I didn't realize that, it's good to know
:-)


And you are right, it certainly does sound like it belongs in Cobbler
and not anaconda.


Hmm, I see what you're doing now.

The field you edited is not a field for port numbers. It's either a
hostname or an IP.

Cobbler itself adds other ports to the end of that address.

So, it sounds like this is actually an RFE for supporting a http port
parameter :)


--Michael

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


All times are GMT. The time now is 10:30 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.