[cobbler] Re: Variable extrapolation

2016-12-20 Thread alastair
Hi

You might want to log an issue on cobblerd on github? You are more likely to 
get a response there.

--
Alastair Munro

-Original Message-
From: "Hymowitz, Eric B. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC]" 
<eric.b.hymow...@nasa.gov>
To: cobbler mailing list <cobbler@lists.fedorahosted.org>
Sent: Tue, 20 Dec 2016 12:54
Subject: [cobbler] Re: Variable extrapolation

Thanks for the response.

Unfortunately, I can’t use #raw in this particular instance.  I shortened the 
code to demonstrate the problem, but I use the same construct in another couple 
of places, and I need to have variables expanded in general.  I just want to 
specify that this particular string has dollar-signs but is **not** a variable. 
 I thought single-quoting would do that, but apparently I was wrong.

Also, thank you for the link.  The link I had (http://www.cheetahtemplate.org/) 
is apparently way out of date.

I eventually found a work-around:

#set $crypted_password = '$1$abcdef$abcdefghabcdefghabcdef'
rootpw --iscrypted $crypted_password

but I’m still confused as to why the behavior is different.

--EbH

From: alast...@alastair-munro.com [mailto:alast...@alastair-munro.com]
Sent: Monday 19 December 2016 14:06
To: cobbler@lists.fedorahosted.org
Subject: [cobbler] Re: Variable extrapolation

Hi

https://pythonhosted.org/Cheetah/

Try

#raw
#end raw

around your password line with $ in it.

--
Alastair Munro

-Original Message-
From: "Hymowitz, Eric B. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC]" 
<eric.b.hymow...@nasa.gov<mailto:eric.b.hymow...@nasa.gov>>
To: "cobbler@lists.fedorahosted.org<mailto:cobbler@lists.fedorahosted.org>" 
<cobbler@lists.fedorahosted.org<mailto:cobbler@lists.fedorahosted.org>>
Sent: Mon, 19 Dec 2016 16:24
Subject: [cobbler] Variable extrapolation
Greetings.

I have two cobbler systems running 2.6.5 and 2.6.11, and both are exhibiting 
this same behavior.  I don’t know if it’s something I’m doing wrong, or just 
something I don’t understand.

My default kickstart calls a snippet called “set_password”.  The default 
“set_password” snippet, located in /var/lib/cobbler/snippets/set_password , 
includes this line:

rootpw --iscrypted '$1$abcdef$abcdefghabcdefghabcdef'

That works fine.  So far so good.

But when I take this same **exact** file and copy it to 
/var/lib/cobbler/snippets/per_profile/set_password/support , then the snippet 
fails.  It is trying to expand the non-existent variables $abcdef and 
$abcdefghabcdefghabcdef  .  I can verify this by changing the two dollar signs 
($1 doesn’t seem to be affected) and the snippet loads properly.

So I guess my question is two-fold

Which is the correct behavior, in a single-quoted string that contains dollar 
signs?  Extrapolate the variable or don’t?

Why is this behavior changing between a default snippet and a per-profile (also 
for a per-system) snippet?

Thanks.

Eric B. Hymowitz
Systems Administrator
Solar Dynamics Observatory (SDO)
eric.b.hymow...@nasa.gov<mailto:eric.b.hymow...@nasa.gov>
301-286-6352

___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org


[cobbler] Re: Variable extrapolation

2016-12-19 Thread alastair
Hi

https://pythonhosted.org/Cheetah/

Try 

#raw
#end raw

around your password line with $ in it.

--
Alastair Munro

-Original Message-
From: "Hymowitz, Eric B. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC]" 
<eric.b.hymow...@nasa.gov>
To: "cobbler@lists.fedorahosted.org" <cobbler@lists.fedorahosted.org>
Sent: Mon, 19 Dec 2016 16:24
Subject: [cobbler] Variable extrapolation

Greetings.

I have two cobbler systems running 2.6.5 and 2.6.11, and both are exhibiting 
this same behavior.  I don't know if it's something I'm doing wrong, or just 
something I don't understand.

My default kickstart calls a snippet called "set_password".  The default 
"set_password" snippet, located in /var/lib/cobbler/snippets/set_password , 
includes this line:

rootpw --iscrypted '$1$abcdef$abcdefghabcdefghabcdef'

That works fine.  So far so good.

But when I take this same **exact** file and copy it to 
/var/lib/cobbler/snippets/per_profile/set_password/support , then the snippet 
fails.  It is trying to expand the non-existent variables $abcdef and 
$abcdefghabcdefghabcdef  .  I can verify this by changing the two dollar signs 
($1 doesn't seem to be affected) and the snippet loads properly.

So I guess my question is two-fold

Which is the correct behavior, in a single-quoted string that contains dollar 
signs?  Extrapolate the variable or don't?

Why is this behavior changing between a default snippet and a per-profile (also 
for a per-system) snippet?

Thanks.

Eric B. Hymowitz
Systems Administrator
Solar Dynamics Observatory (SDO)
eric.b.hymow...@nasa.gov<mailto:eric.b.hymow...@nasa.gov>
301-286-6352

___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org


[cobbler] Re: After install issue.

2016-12-19 Thread alastair
Hi

Tried google? Something like this: https://bugs.centos.org/view.php?id=7177

--
Alastair Munro

-Original Message-
From: Chris Johnson <rchristopherjohn...@gmail.com>
To: cobbler mailing list <cobbler@lists.fedorahosted.org>, "R. Christopher 
Johnson" <rchristopherjohn...@gmail.com>
Sent: Sun, 18 Dec 2016 20:01
Subject: [cobbler] After install issue.

Hi.

Strictly speaking this isn't a cobbler problem.  But I thought somebody 
might know a way to get around it in kickstart.

I'm installing CentOS 7.3.1611.  That works.  But when the system just 
installed boots up, it is asking a question about licensing on screen.  
I have to answer it on screen before it continues and apparently 
finishes up some kind of configuration.  It didn't used to ask about 
this.  Its' a pain when you just have nine nodes.  But if you have ten 
or twenty thousand like some bigger number crunching systems have this 
becomes impossible.  Is there any way to configure either the answers  
or to turn this off and do whatever extra configuration is needed?  Does 
anyone know what that extra remainder configuration is?

Thanks.

Chris J.
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org


[cobbler] Re: post install network snippet for ubuntu

2016-12-14 Thread alastair

Hi

I vaguely remember this issue. See this:


https://lists.fedorahosted.org/pipermail/cobbler/2014-May/009388.html

Also this:

d-i preseed/late_command string rm -f 
/usr/lib/finish-install.d/55netcfg-copy-config \

/usr/lib/finish-install.d/50config-target-network; \
wget -O- 
http://$http_server/cblr/svc/op/script/$what/$name/?script=preseed_late_default 
| \

chroot /target /bin/sh -s

So cobbler sets interfaces correctly, but then they get overwritten 
again.


This might be relevant if using static IPs when initially booting:

https://github.com/cobbler/cobbler/issues/1320#issuecomment-62875655

Alastair Munro

On 14/12/2016 16:11, m.ponje...@sky.com wrote:

Hi guys

I am trying to understand how to use post install network snippet for
ubuntu 14.04, but can't get it
I kickstart ubuntu box initially using DHCP, but network configuration
stays as initial DHCP config even after install.
I expected that post install network config is going to change it to
static network config as I configured it bellow.
Can someone please shed light how to configure it?
Regards
Ponja

COB]# cobbler system report --name=ubuntu02
Name   : ubuntu02
TFTP Boot Files: {}
Comment:
Enable gPXE?   : False
Fetchable Files: {}
Gateway: 192.168.1.1
Hostname   : ubuntu02
Image  :
IPv6 Autoconfiguration : False
IPv6 Default Device:
Kernel Options : {'netcfg/no_default_route': 'true',
'netcfg/choose_interface': 'eth0'}
Kernel Options (Post Install)  : {'priority': 'critical locale=en_US'}
Kickstart  :
/var/lib/cobbler/kickstarts/ubuntu-14.04_standard.seed
Kickstart Metadata : {}
LDAP Enabled   : False
LDAP Management Type   : authconfig
Management Classes : []
Management Parameters  : <>
Monit Enabled  : False
Name Servers   : ['8.8.8.8']
Name Servers Search Path   : []
Netboot Enabled: True
Owners : ['admin']
Power Management Address   :
Power Management ID:
Power Management Password  :
Power Management Type  : ipmitool
Power Management Username  :
Profile: ubuntu-14.04.2-server-x86_64
Internal proxy : <>
Red Hat Management Key : <>
Red Hat Management Server  : <>
Repos Enabled  : False
Server Override: <>
Status : production
Template Files : {}
Virt Auto Boot : 0
Virt CPUs  : <>
Virt Disk Driver Type  : <>
Virt File Size(GB) : <>
Virt Path  : <>
Virt PXE Boot  : 0
Virt RAM (MB)  : <>
Virt Type  : xenpv
Interface =: eth0
Bonding Opts   :
Bridge Opts:
CNAMES : []
InfiniBand Connected Mode  : False
DHCP Tag   :
DNS Name   :
Per-Interface Gateway  : 192.168.1.1
Master Interface   :
Interface Type :
IP Address : 192.168.1.30
IPv6 Address   :
IPv6 Default Gateway   :
IPv6 MTU   :
IPv6 Prefix:
IPv6 Secondaries   : []
IPv6 Static Routes : []
MAC Address: 00:50:56:35:E7:FE
Management Interface   : False
MTU:
Subnet Mask: 255.255.255.0
Static : True
Static Routes  : []
Virt Bridge: xenbr0
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org

___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org


[cobbler] Re: teamd support in cobbler

2016-10-19 Thread alastair
Hi

Why dont you head over to cobbler@github and open an issue? Since systemd on 
ubuntu 16.04 appears identical to that on el7, network manager is also very 
similar and you have the choice of configuring networking the old debian way or 
via network manager. What i am trying to say is the network manager method may 
be more prevalent in the future and the cobbler devs might already have a plan 
for this for future releases.

--
Alastair Munro

-Original Message-
From: William Muriithi <william.murii...@gmail.com>
To: cobbler mailing list <cobbler@lists.fedorahosted.org>
Sent: Wed, 19 Oct 2016 22:15
Subject: [cobbler] Re: teamd support in cobbler

Johan

Matt responded to you a while ago with a solution.  Essentially, he
suggested you add some post install configurations on your kickstart
configuration.  I still think its may take more than that as you will
want to use "cobbler system" which extend the basic kickstart
configurations.

If I was in your shoes though, I wouldn't do this on cobbler.  It fit
better on ansible, so I would just set a role for teaming.  If you are
using ansible or puppet, consider looking for a solution from that
angle

Regards
William

On 19 October 2016 at 12:40,  <johanwint...@gmail.com> wrote:
> Sorry for my late reaction and thank you all for all your reaction.
>
> my second question in now answered.
>
> My first question was will there be teamd support in cobbler.
>
> What i mean is will there be teamd bonding config option in cobbler web in 
> the next release.
> (bonding in rhel7 is deprecated )
> ___
> cobbler mailing list -- cobbler@lists.fedorahosted.org
> To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org


[cobbler] Re: teamd support in cobbler

2016-10-15 Thread alastair
:) good answer.

If Matt needs higher throughput has he considered a fibre card? Or if its disk 
IO san might be better over nas? Just a thought.

Personally i would just bond it and wait until someone complains about 
performance. Can always manually reconfigure it afterwards. :)

--
Alastair Munro

-Original Message-
From: bishop <bis...@platypus.bc.ca>
Cc: cobbler mailing list <cobbler@lists.fedorahosted.org>
Sent: Sat, 15 Oct 2016 2:08
Subject: [cobbler] Re: teamd support in cobbler

More user-space frailty so we can add more layers?

I'm not sure linux is keeping back at Usable, T.B.H.  ;-)

Either way, it seems the creation and config of a shiny new config file
to do most of what we already can do as well as LACP, is something we
can accomplish in %post.

2c.
 - ..


alast...@alastair-munro.com wrote:
> Ok fair enough.
> 
> I am not sure cobbler is keeping up with linux tbh. For example those
> kernel options need to be used with ubuntu 16.04 . Maybe there
> is a future roadmap for cobbler? Or maybe the future is cloud where you
> dont need to do os installs?
> 
> --
> Alastair Munro
> 
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org


[cobbler] Re: teamd support in cobbler

2016-10-14 Thread alastair
Ok fair enough.

I am not sure cobbler is keeping up with linux tbh. For example those kernel 
options need to be used with ubuntu 16.04. Maybe there is a future roadmap for 
cobbler? Or maybe the future is cloud where you dont need to do os installs?

--
Alastair Munro

-Original Message-
From: Matt Luettgen <mattluett...@gmail.com>
To: alast...@alastair-munro.com
Cc: cobbler mailing list <cobbler@lists.fedorahosted.org>
Sent: Fri, 14 Oct 2016 18:14
Subject: Re: [cobbler] Re: teamd support in cobbler

teamd has better speeds, options, etc...

http://rhelblog.redhat.com/2014/06/23/team-driver

On Oct 14, 2016 12:00 PM, <alast...@alastair-munro.com> wrote:

> Meant to add, this just sounds like bonding mode 5? Is there are reason
> why you don't want to use this? Cobbler supports bonding.
>
> A quick google finds this (saves me trying to explain it):
>
> http://www.unixarena.com/2013/06/how-to-configure-bondingteaming-on.html
>
> I tend to force the old device naming on el7 (like eth0), as its a bit
> more predictable for cobbler. Use these as kernel options.
>
> net.ifnames=0 biosdevname=0
>
>
> On 2016-10-14 17:50, alast...@alastair-munro.com wrote:
>
>> Network Manager is managing networking via a service.Originally it was
>> designed for GUI logins where you would login as a user as part of the
>> login, network manager would be run to setup the network (typically
>> using dhcp). Now it seems Network Manager is much more expanded.
>> Refering to the link below, section 1.9 refers back to the static
>> network config, which cobbler implements: 1.9. NETWORK CONFIGURATION
>> USING SYSCONFIG FILES.
>>
>> Note this section:
>>
>> 1.3. INTRODUCTION TO NETWORKMANAGER
>>
>> In Red Hat Enterprise Linux 7, the default networking service is
>> provided by NetworkManager, which is a dynamic network control and
>> configuration daemon that attempts to keep network devices and
>> connections up and active when they are available. The traditional
>> ifcfg type configuration files are still supported. See Section 1.8,
>> “NetworkManager and the Network Scripts” for more information.
>>
>> So I think cobbler uses the older/static way of configuring
>> networking, using the /etc/sysconfig/network-scripts config dir.
>>
>> I am not sure what is planned for future versions of cobbler?
>>
>> I suspect you may need to include post kickstart snippet for using
>> network manager, or figure how to do the teaming using the older
>> method?
>>
>> Alastair
>>
>> On 2016-10-14 16:01, Matt Luettgen wrote:
>>
>>> https://access.redhat.com/documentation/en-US/Red_Hat_Enterp
>>> rise_Linux/7/html/Networking_Guide/sec-Configure_a_Network_
>>> Team_Using-the_Command_Line.html
>>>
>>> On Oct 14, 2016 9:39 AM, "Orion Poplawski" <or...@cora.nwra.com>
>>> wrote:
>>>
>>> On 10/14/2016 01:31 AM, johanwint...@gmail.com wrote:
>>>>
>>>> Will there be teamd support in cobbler? or how can i deploy rhel7
>>>>> machines with teamd config on cobbler.
>>>>>
>>>>
>>>> I know nothing about teamd.  What needs to get configured on a
>>>> target machine?
>>>>
>>>> --
>>>> Orion Poplawski
>>>> Technical Manager 303-415-9701 x222 [1]
>>>> NWRA/CoRA DivisionFAX: 303-415-9702 [2]
>>>> 3380 Mitchell Lane  or...@cora.nwra.com
>>>> Boulder, CO 80301  http://www.cora.nwra.com
>>>> ___
>>>> cobbler mailing list -- cobbler@lists.fedorahosted.org
>>>> To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org
>>>>
>>>
>>>
>>> Links:
>>> --
>>> [1] tel:303-415-9701%20x222
>>> [2] tel:303-415-9702
>>> ___
>>> cobbler mailing list -- cobbler@lists.fedorahosted.org
>>> To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org
>>>
>> ___
>> cobbler mailing list -- cobbler@lists.fedorahosted.org
>> To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org
>>
>
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org


[cobbler] Re: teamd support in cobbler

2016-10-14 Thread alastair
Meant to add, this just sounds like bonding mode 5? Is there are reason 
why you don't want to use this? Cobbler supports bonding.


A quick google finds this (saves me trying to explain it):

http://www.unixarena.com/2013/06/how-to-configure-bondingteaming-on.html

I tend to force the old device naming on el7 (like eth0), as its a bit 
more predictable for cobbler. Use these as kernel options.


net.ifnames=0 biosdevname=0


On 2016-10-14 17:50, alast...@alastair-munro.com wrote:

Network Manager is managing networking via a service.Originally it was
designed for GUI logins where you would login as a user as part of the
login, network manager would be run to setup the network (typically
using dhcp). Now it seems Network Manager is much more expanded.
Refering to the link below, section 1.9 refers back to the static
network config, which cobbler implements: 1.9. NETWORK CONFIGURATION
USING SYSCONFIG FILES.

Note this section:

1.3. INTRODUCTION TO NETWORKMANAGER

In Red Hat Enterprise Linux 7, the default networking service is
provided by NetworkManager, which is a dynamic network control and
configuration daemon that attempts to keep network devices and
connections up and active when they are available. The traditional
ifcfg type configuration files are still supported. See Section 1.8,
“NetworkManager and the Network Scripts” for more information.

So I think cobbler uses the older/static way of configuring
networking, using the /etc/sysconfig/network-scripts config dir.

I am not sure what is planned for future versions of cobbler?

I suspect you may need to include post kickstart snippet for using
network manager, or figure how to do the teaming using the older
method?

Alastair

On 2016-10-14 16:01, Matt Luettgen wrote:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec-Configure_a_Network_Team_Using-the_Command_Line.html

On Oct 14, 2016 9:39 AM, "Orion Poplawski" <or...@cora.nwra.com>
wrote:


On 10/14/2016 01:31 AM, johanwint...@gmail.com wrote:


Will there be teamd support in cobbler? or how can i deploy rhel7
machines with teamd config on cobbler.


I know nothing about teamd.  What needs to get configured on a
target machine?

--
Orion Poplawski
Technical Manager 303-415-9701 x222 [1]
NWRA/CoRA DivisionFAX: 303-415-9702 [2]
3380 Mitchell Lane  or...@cora.nwra.com
Boulder, CO 80301  http://www.cora.nwra.com
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org



Links:
--
[1] tel:303-415-9701%20x222
[2] tel:303-415-9702
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org

___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org

___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org


[cobbler] Re: teamd support in cobbler

2016-10-14 Thread alastair
Network Manager is managing networking via a service.Originally it was 
designed for GUI logins where you would login as a user as part of the 
login, network manager would be run to setup the network (typically 
using dhcp). Now it seems Network Manager is much more expanded. 
Refering to the link below, section 1.9 refers back to the static 
network config, which cobbler implements: 1.9. NETWORK CONFIGURATION 
USING SYSCONFIG FILES.


Note this section:

1.3. INTRODUCTION TO NETWORKMANAGER

In Red Hat Enterprise Linux 7, the default networking service is 
provided by NetworkManager, which is a dynamic network control and 
configuration daemon that attempts to keep network devices and 
connections up and active when they are available. The traditional ifcfg 
type configuration files are still supported. See Section 1.8, 
“NetworkManager and the Network Scripts” for more information.


So I think cobbler uses the older/static way of configuring networking, 
using the /etc/sysconfig/network-scripts config dir.


I am not sure what is planned for future versions of cobbler?

I suspect you may need to include post kickstart snippet for using 
network manager, or figure how to do the teaming using the older method?


Alastair

On 2016-10-14 16:01, Matt Luettgen wrote:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec-Configure_a_Network_Team_Using-the_Command_Line.html

On Oct 14, 2016 9:39 AM, "Orion Poplawski" <or...@cora.nwra.com>
wrote:


On 10/14/2016 01:31 AM, johanwint...@gmail.com wrote:


Will there be teamd support in cobbler? or how can i deploy rhel7
machines with teamd config on cobbler.


I know nothing about teamd.  What needs to get configured on a
target machine?

--
Orion Poplawski
Technical Manager 303-415-9701 x222 [1]
NWRA/CoRA DivisionFAX: 303-415-9702 [2]
3380 Mitchell Lane  or...@cora.nwra.com
Boulder, CO 80301  http://www.cora.nwra.com
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org



Links:
--
[1] tel:303-415-9701%20x222
[2] tel:303-415-9702
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org

___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org


[cobbler] Re: cobbler managing debian install no CD-ROM detected

2016-05-25 Thread alastair
Ah yes i remember you. 

Personally i would stick with something more mainstream like Ubuntu LTS 
something. Enterprise Linux still makes the best servers imho.

We pxe build ubuntu 12.04 but the developers have now seen the benefit of using 
centos. we have ubuntu 14.04 pxe booting too but its not used much at our site.

--
Alastair Munro

-Original Message-
From: Locane <loc...@gmail.com>
To: cobbler mailing list <cobbler@lists.fedorahosted.org>
Cc: anthony.schrei...@bc.edu
Sent: Wed, 25 May 2016 21:36
Subject: [cobbler] Re: cobbler managing debian install no CD-ROM detected

Hey that's me!

I can't remember where I ended up with this, but I got farther with that
guy's suggestion.  I ended up abandoning it for other more pressing
projects.

I do remember it still not working totally.

On Wed, May 25, 2016 at 1:33 PM, <alast...@alastair-munro.com> wrote:

>
> http://serverfault.com/questions/754360/debian-8-3-0-pxe-installer-asking-for-cdrom
>
> --
> Alastair Munro
>
> -Original Message-
> From: Tony Schreiner <anthony.schrei...@bc.edu>
> To: cobbler mailing list <cobbler@lists.fedorahosted.org>
> Sent: Wed, 25 May 2016 21:23
> Subject: [cobbler] Re: cobbler managing debian install no CD-ROM detected
>
> Failed to reply to the list, resend.
>
> On Wed, May 25, 2016 at 4:20 PM, Tony Schreiner <anthony.schrei...@bc.edu>
> wrote:
>
>> PXE boot with whatever the cobbler profile provides
>>
>> On Wed, May 25, 2016 at 4:17 PM, <alast...@alastair-munro.com> wrote:
>>
>>> Hi
>>>
>>> How did u boot? pxe boot or via iso image? if iso image how was this
>>> presented? usb stick? if so how was the iso written to usb? dd works best
>>> in my experience.
>>>
>>> --
>>> Alastair Munro
>>>
>>>
>>> -Original Message-
>>> From: Tony Schreiner <anthony.schrei...@bc.edu>
>>> To: cobbler mailing list <cobbler@lists.fedorahosted.org>
>>> Sent: Wed, 25 May 2016 20:45
>>> Subject: [cobbler] cobbler managing debian install no CD-ROM detected
>>>
>>> Have been managing CentOS system with cobbler for a while, and decided
>>> to try to add Debian to the mix.
>>>
>>> I loop mounted the firmware-8.4.0-amd64-netinst.iso image, which is
>>> current Jessie netinst + non-free firmware, and ran import as
>>>
>>> # cobbler import --name=jessie --breed=debian --os-version=jessie
>>> --path=/mnt
>>>
>>> task started: 2016-05-25_144840_import
>>> task started (id=Media import, time=Wed May 25 14:48:40 2016)
>>> Found a candidate signature: breed=debian, version=jessie
>>>
>>> running: /usr/bin/file
>>> /var/www/cobbler/ks_mirror/jessie/dists/jessie/Release
>>> received on stdout:
>>> /var/www/cobbler/ks_mirror/jessie/dists/jessie/Release: ASCII text
>>>
>>> received on stderr:
>>> Found a matching signature: breed=debian, version=jessie
>>> Adding distros from path /var/www/cobbler/ks_mirror/jessie:
>>> creating new distro: jessie-x86_64
>>> trying symlink: /var/www/cobbler/ks_mirror/jessie ->
>>> /var/www/cobbler/links/jessie-x86_64
>>> creating new profile: jessie-x86_64
>>> creating new distro: jessie-gtk-x86_64
>>> trying symlink: /var/www/cobbler/ks_mirror/jessie ->
>>> /var/www/cobbler/links/jessie-gtk-x86_64
>>> creating new profile: jessie-gtk-x86_64
>>> creating new distro: jessie-xen-x86_64
>>> trying symlink: /var/www/cobbler/ks_mirror/jessie ->
>>> /var/www/cobbler/links/jessie-xen-x86_64
>>> creating new profile: jessie-xen-x86_64
>>> associating repos
>>> checking for apt repo(s)
>>> adding apt repo for jessie-x86_64
>>> Added repos for jessie-x86_64
>>> adding apt repo for jessie-gtk-x86_64
>>> Added repos for jessie-gtk-x86_64
>>> adding apt repo for jessie-xen-x86_64
>>> Added repos for jessie-xen-x86_64
>>> *** TASK COMPLETE ***
>>>
>>> looks pretty normal.
>>> I have created a sub-profile based on jessie-x86_64 called
>>> jessie-precision670 (old dell workstation), but the only difference is the
>>> assignment of preseed file slightly modified from sample.seed as the
>>> kickstart. Then I assigned this profile to a system.
>>>
>>> When the system installs, during the hardware discovery, it shows:
>>>
>>> No common CD-ROM drive was detected.
>>>
>>> ...
>>>
>>> and I cannot proceed. This seems to be before network detection takes
>>> place.
>>> I first tried with the regular debian-8.4.0-amd64.iso image; the network
>>> driver is e1000.
>>>
>>> Any suggestions?
>>>
>>> Tony S
>>>
>>
>>
>
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org
>
>
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


[cobbler] Re: cobbler managing debian install no CD-ROM detected

2016-05-25 Thread alastair
http://serverfault.com/questions/754360/debian-8-3-0-pxe-installer-asking-for-cdrom

--
Alastair Munro

-Original Message-
From: Tony Schreiner <anthony.schrei...@bc.edu>
To: cobbler mailing list <cobbler@lists.fedorahosted.org>
Sent: Wed, 25 May 2016 21:23
Subject: [cobbler] Re: cobbler managing debian install no CD-ROM detected

Failed to reply to the list, resend.

On Wed, May 25, 2016 at 4:20 PM, Tony Schreiner <anthony.schrei...@bc.edu>
wrote:

> PXE boot with whatever the cobbler profile provides
>
> On Wed, May 25, 2016 at 4:17 PM, <alast...@alastair-munro.com> wrote:
>
>> Hi
>>
>> How did u boot? pxe boot or via iso image? if iso image how was this
>> presented? usb stick? if so how was the iso written to usb? dd works best
>> in my experience.
>>
>> --
>> Alastair Munro
>>
>>
>> -Original Message-
>> From: Tony Schreiner <anthony.schrei...@bc.edu>
>> To: cobbler mailing list <cobbler@lists.fedorahosted.org>
>> Sent: Wed, 25 May 2016 20:45
>> Subject: [cobbler] cobbler managing debian install no CD-ROM detected
>>
>> Have been managing CentOS system with cobbler for a while, and decided to
>> try to add Debian to the mix.
>>
>> I loop mounted the firmware-8.4.0-amd64-netinst.iso image, which is
>> current Jessie netinst + non-free firmware, and ran import as
>>
>> # cobbler import --name=jessie --breed=debian --os-version=jessie
>> --path=/mnt
>>
>> task started: 2016-05-25_144840_import
>> task started (id=Media import, time=Wed May 25 14:48:40 2016)
>> Found a candidate signature: breed=debian, version=jessie
>>
>> running: /usr/bin/file
>> /var/www/cobbler/ks_mirror/jessie/dists/jessie/Release
>> received on stdout:
>> /var/www/cobbler/ks_mirror/jessie/dists/jessie/Release: ASCII text
>>
>> received on stderr:
>> Found a matching signature: breed=debian, version=jessie
>> Adding distros from path /var/www/cobbler/ks_mirror/jessie:
>> creating new distro: jessie-x86_64
>> trying symlink: /var/www/cobbler/ks_mirror/jessie ->
>> /var/www/cobbler/links/jessie-x86_64
>> creating new profile: jessie-x86_64
>> creating new distro: jessie-gtk-x86_64
>> trying symlink: /var/www/cobbler/ks_mirror/jessie ->
>> /var/www/cobbler/links/jessie-gtk-x86_64
>> creating new profile: jessie-gtk-x86_64
>> creating new distro: jessie-xen-x86_64
>> trying symlink: /var/www/cobbler/ks_mirror/jessie ->
>> /var/www/cobbler/links/jessie-xen-x86_64
>> creating new profile: jessie-xen-x86_64
>> associating repos
>> checking for apt repo(s)
>> adding apt repo for jessie-x86_64
>> Added repos for jessie-x86_64
>> adding apt repo for jessie-gtk-x86_64
>> Added repos for jessie-gtk-x86_64
>> adding apt repo for jessie-xen-x86_64
>> Added repos for jessie-xen-x86_64
>> *** TASK COMPLETE ***
>>
>> looks pretty normal.
>> I have created a sub-profile based on jessie-x86_64 called
>> jessie-precision670 (old dell workstation), but the only difference is the
>> assignment of preseed file slightly modified from sample.seed as the
>> kickstart. Then I assigned this profile to a system.
>>
>> When the system installs, during the hardware discovery, it shows:
>>
>> No common CD-ROM drive was detected.
>>
>> ...
>>
>> and I cannot proceed. This seems to be before network detection takes
>> place.
>> I first tried with the regular debian-8.4.0-amd64.iso image; the network
>> driver is e1000.
>>
>> Any suggestions?
>>
>> Tony S
>>
>
>
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


[cobbler] Re: cobbler managing debian install no CD-ROM detected

2016-05-25 Thread alastair
Hi

How did u boot? pxe boot or via iso image? if iso image how was this presented? 
usb stick? if so how was the iso written to usb? dd works best in my experience.

--
Alastair Munro

-Original Message-
From: Tony Schreiner <anthony.schrei...@bc.edu>
To: cobbler mailing list <cobbler@lists.fedorahosted.org>
Sent: Wed, 25 May 2016 20:45
Subject: [cobbler] cobbler managing debian install no CD-ROM detected

Have been managing CentOS system with cobbler for a while, and decided to
try to add Debian to the mix.

I loop mounted the firmware-8.4.0-amd64-netinst.iso image, which is current
Jessie netinst + non-free firmware, and ran import as

# cobbler import --name=jessie --breed=debian --os-version=jessie
--path=/mnt

task started: 2016-05-25_144840_import
task started (id=Media import, time=Wed May 25 14:48:40 2016)
Found a candidate signature: breed=debian, version=jessie

running: /usr/bin/file
/var/www/cobbler/ks_mirror/jessie/dists/jessie/Release
received on stdout: /var/www/cobbler/ks_mirror/jessie/dists/jessie/Release:
ASCII text

received on stderr:
Found a matching signature: breed=debian, version=jessie
Adding distros from path /var/www/cobbler/ks_mirror/jessie:
creating new distro: jessie-x86_64
trying symlink: /var/www/cobbler/ks_mirror/jessie ->
/var/www/cobbler/links/jessie-x86_64
creating new profile: jessie-x86_64
creating new distro: jessie-gtk-x86_64
trying symlink: /var/www/cobbler/ks_mirror/jessie ->
/var/www/cobbler/links/jessie-gtk-x86_64
creating new profile: jessie-gtk-x86_64
creating new distro: jessie-xen-x86_64
trying symlink: /var/www/cobbler/ks_mirror/jessie ->
/var/www/cobbler/links/jessie-xen-x86_64
creating new profile: jessie-xen-x86_64
associating repos
checking for apt repo(s)
adding apt repo for jessie-x86_64
Added repos for jessie-x86_64
adding apt repo for jessie-gtk-x86_64
Added repos for jessie-gtk-x86_64
adding apt repo for jessie-xen-x86_64
Added repos for jessie-xen-x86_64
*** TASK COMPLETE ***

looks pretty normal.
I have created a sub-profile based on jessie-x86_64 called
jessie-precision670 (old dell workstation), but the only difference is the
assignment of preseed file slightly modified from sample.seed as the
kickstart. Then I assigned this profile to a system.

When the system installs, during the hardware discovery, it shows:

No common CD-ROM drive was detected.

...

and I cannot proceed. This seems to be before network detection takes place.
I first tried with the regular debian-8.4.0-amd64.iso image; the network
driver is e1000.

Any suggestions?

Tony S
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


[cobbler] Re: Multiple subnets, multiple dhcp --dhcp-tag, profiles, distro

2016-05-05 Thread alastair
Hi Tory

Just a thought: have you tried cobbler web? Nice thing about the gui is it 
gives you an idea of the options are available for systems/profiles/distros.

I think you would need to define systems in cobbler, even if they had dhcp 
assigned ip addresses. Then you could define the server override that way. So 
at a minimum you define hostname, interface, mac address and server override. 
Then see what cobbler sync generates for dhcpd.conf and the tftpconfig?

--
Alastair Munro

-Original Message-
From: Tory M Blue <tmb...@gmail.com>
To: cobbler mailing list <cobbler@lists.fedorahosted.org>
Sent: Thu, 05 May 2016 22:39
Subject: [cobbler] Re: Multiple subnets, multiple dhcp --dhcp-tag, profiles, 
distro

On Thu, May 5, 2016 at 2:15 PM,  <alast...@alastair-munro.com> wrote:
> Hi Tory
>
> We now use vrealize in vmware to automate the build of vm's. However behind
> the scenes it uses cobbler and creates a system in cobbler to build each vm,
> even though pxe is used to build the vm. Once the vm is built the system
> definition is removed from cobbler. The vm always has a static ip even
> though they are pxe built.
>
> In my 25 years or so of being a sysadmin i have not come across anyone using
> dhcp for servers to get their ip (exception being cloud environments such as
> Azure where the infrastructure controls ip allocation). Thus it makes sense
> for servers to use static ip's even if the build uses pxe (dhcp/tftp). For
> example if the server cannot get its ip then its not available.
>
> Just my tuppence worth. You dont need to follow my advice, but a wise man
> once said dont make the mistakes yourself but learn from others mistakes.
>
> --
> Alastair Munro

Yes sir, currently I'm rebuilding systems, migrating from CentOS6 to
CentOS7 in a production environment. So instead of playing with DNS,
I'm building the system as the replacement system in place. I then
shut down the current system and bring up the new one, so the DHCP
makes sense in this regard. Obviously I could use a throw away static
but really that seems like an unnecessary hurdle.

And remember my issue is not with an IP, it's with cobbler using a
hardcoded http_server and next_server, when it could easily take the
next_server from the DHCP profile (for my use anyways).

Again I appreciate the continued support and ideas.

I'm not discounting anything. I have it working, but it's not how I
see it working. I still think there is something I fundamentally am
not wrapping my head around, or a fundamental flaw in how cobbler
approaches multi network environments.  Because I'm stubborn,  I'm not
happy that it's working, since I had to do some network tricks to
allow it to work. (everything talking to 13.5 interface for the
kickstart process).

I really thought I was on to something using the if/else clauses in
the kickstart file, but Cheetah/Python are now giving me the big
finger :)  But there is a way, I am just floundering at this point!!

Thanks again
Tory
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


[cobbler] Re: Multiple subnets, multiple dhcp --dhcp-tag, profiles, distro

2016-05-05 Thread alastair
Hi Tory

We now use vrealize in vmware to automate the build of vm's. However behind the 
scenes it uses cobbler and creates a system in cobbler to build each vm, even 
though pxe is used to build the vm. Once the vm is built the system definition 
is removed from cobbler. The vm always has a static ip even though they are pxe 
built.

In my 25 years or so of being a sysadmin i have not come across anyone using 
dhcp for servers to get their ip (exception being cloud environments such as 
Azure where the infrastructure controls ip allocation). Thus it makes sense for 
servers to use static ip's even if the build uses pxe (dhcp/tftp). For example 
if the server cannot get its ip then its not available.

Just my tuppence worth. You dont need to follow my advice, but a wise man once 
said dont make the mistakes yourself but learn from others mistakes.

--
Alastair Munro

-Original Message-
From: Tory M Blue <tmb...@gmail.com>
To: cobbler mailing list <cobbler@lists.fedorahosted.org>
Sent: Thu, 05 May 2016 21:28
Subject: [cobbler] Re: Multiple subnets, multiple dhcp --dhcp-tag, profiles, 
distro

On Mon, May 2, 2016 at 3:26 AM,  <alast...@alastair-munro.com> wrote:
> Hi
>
> i didnt say we use different profiles. we use the same profile across all
> subnets. we actually have 4 cobbler servers and all the slaves replicate
> from one master. our cobbler servers are in different data centers. each dc
> has one or more subnets we pxe boot on. you set the server override at the
> system item level and cobbler takes care of the rest. so if a host is on
> netA it must have server override IP x.
>
> btw, are you using an old version of cobbler? best to get up to date if u
> can. appreciate this can be tricky if your cobbler is integrated into a
> product like satelite or katello.
>
> regarding profiles: we only have one per major release of the os. eg el5,
> el6, el7, ub1404. so thats 4 profiles that are used across rhel, centos,
> oracle linux and ubuntu 1404, plus all the point releases, and loads of
> different configs. furthermore we dont differentiate between vms and real
> servers. one profile works across them all. also you can use the meta ks
> variables to pass your requirements to the builds. so we have build=vm,
> build=bda, build=hadoop, build=sas94vm. these then setup different disk
> layouts. we also implemented the ability to turn off or on functionality
> using enable= or disable=. eg enable=proxy,nimsoft,uek disable=swap, vas4.
> these are not cobbler builtins, its just coding the templating engine.
> cobbler used the cheetah templating engine which allows you embed bits of
> python code.
>
> its much better to have a simple build system and then have a cfg mgmt tool
> like puppet do all the post build config.
>

I missed this one, thanks again Alastair.

I'm using the latest and greatest cobbler, I rebuilt the system so
it's all new shiny.
Okay single profile, thanks. But you are using server setups, which
can take the various switches. If I'm purely using a single Profile,
no systems configured, I think I'm still in a situation where things
are not working as "I think,  I should be able to get them to"

Ya I've started looking inside the KS and using some of the  cheetah
stuff but failing miserable. I figured i could do  something like

#if $next_server == "10.13.200"
   #set $server="10.13.200.101"
#else  set $server = "10.13.5.100"
#end if

For example, using the right cheetah # syntax,  Figure this would be
way to achieve what I want. I should be able to overwrite dynamically
what the next_server or in fact what $server is.

Thanks again, still looking.

Tory
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


[cobbler] Re: Multiple subnets, multiple dhcp --dhcp-tag, profiles, distro

2016-05-02 Thread Alastair Munro

Hi

'cobbler sync' should regenerate dhcp/tftp configs, if you have them 
enabled in /etc/cobbler/settings:


# set to 1 to enable Cobbler's DHCP management features.
# the choice of DHCP management engine is in /etc/cobbler/modules.conf
manage_dhcp: 1

# set to 1 to enable Cobbler's TFTP management features.
# the choice of TFTP mangement engine is in /etc/cobbler/modules.conf
manage_tftpd: 1

your dhcp config uses the dhcp.template in /etc/cobbler. Adapt this to 
your needs. Here is our one that copes with all the different subnets. I 
seem to remember I had to tweak this, but don't remember the exact 
details!


# **
# Cobbler managed dhcpd.conf file
#
# generated from cobbler dhcp.conf template ($date)
# Do NOT make changes to /etc/dhcpd.conf. Instead, make your changes
# in /etc/cobbler/dhcp.template, as /etc/dhcpd.conf will be
# overwritten.
#
# **
#

ddns-update-style interim;

allow booting;
allow bootp;

ignore client-updates;
set vendorclass = option vendor-class-identifier;

option pxe-system-type code 93 = unsigned integer 16;

subnet 10.128.17.0 netmask 255.255.255.0 {
 option routers 10.128.17.1;
 option domain-name-servers 10.96.16.111,10.128.24.12,10.96.16.112;
 option subnet-mask 255.255.255.0;
## range dynamic-bootp10.128.17.2 10.128.17.254;
 range dynamic-bootp10.128.17.9 10.128.17.9;
 default-lease-time 21600;
 max-lease-time 43200;
## next-server$next_server;
 next-server10.128.17.122;
 class "pxeclients" {
  match if substring (option vendor-class-identifier, 0, 9) = 
"PXEClient";

  if option pxe-system-type = 00:02 {
  filename "ia64/elilo.efi";
  } else if option pxe-system-type = 00:06 {
  filename "grub/grub-x86.efi";
  } else if option pxe-system-type = 00:07 {
  filename "grub/grub-x86_64.efi";
  } else {
  filename "pxelinux.0";
  }
 }
}

#for dhcp_tag in $dhcp_tags.keys():
## group could be subnet if your dhcp tags line up with your subnets
## or really any valid dhcpd.conf construct ... if you only use the
## default dhcp tag in cobbler, the group block can be deleted for a
## flat configuration
# group for Cobbler DHCP tag: $dhcp_tag
group {
#for mac in $dhcp_tags[$dhcp_tag].keys():
#set iface = $dhcp_tags[$dhcp_tag][$mac]
host $iface.name {
hardware ethernet $mac;
#if $iface.ip_address:
fixed-address $iface.ip_address;
#end if
#if $iface.hostname:
option host-name "$iface.hostname";
#end if
#if $iface.netmask:
option subnet-mask $iface.netmask;
#end if
#if $iface.gateway:
option routers $iface.gateway;
#end if
#if $iface.enable_gpxe:
if exists user-class and option user-class = "gPXE" {
filename 
"http://$cobbler_server/cblr/svc/op/gpxe/system/$iface.owner;;

} else if exists user-class and option user-class = "iPXE" {
filename 
"http://$cobbler_server/cblr/svc/op/gpxe/system/$iface.owner;;

} else {
filename "undionly.kpxe";
}
#else
filename "$iface.filename";
#end if
## Cobbler defaults to $next_server, but some users
## may like to use $iface.system.server for proxied setups
## next-server $next_server;
next-server $iface.next_server;
}
#end for
}
#end for

You can use 'cobbler system getks --name=foo' to see the kickstart that 
will be generate. You can use 'cobbler system dumpvars --name=foo' to 
dump all the variables for a system. for example http_server and 
next_server are normally the same thing.


Alastair


On 2016-05-02 17:44, Tory M Blue wrote:

On Sun, May 1, 2016 at 7:48 PM, bishop <bis...@platypus.bc.ca> wrote:

Tory (and everyone else):

I think this is the code you want to mod, if my python's not 
laughable:


/usr/lib/python2.4/site-packages/cobbler/pxegen.py


214:try:
215:ipaddress =
socket.gethostbyname_ex(blended["http_server"])[2][0]
216:except socket.gaierror:
217:ipaddress = blended["http_server"]
218:kickstart_path = "http://%s/cblr/svc/op/ks/system/%s; 
%

(ipaddress, system.name)



I say cut that out or mod it, and the string will be preserved.  Fix 
the DNS

to match, and you're golden.



Thanks will take a look. I think the big deal is how to get the
Next-server from the dhcp server. Cobbler and dhcp don't seem to talk
to each other :) So the initial pxe boot, has next-serv

[cobbler] Re: Multiple subnets, multiple dhcp --dhcp-tag, profiles, distro

2016-05-02 Thread alastair
Hi

i didnt say we use different profiles. we use the same profile across all 
subnets. we actually have 4 cobbler servers and all the slaves replicate from 
one master. our cobbler servers are in different data centers. each dc has one 
or more subnets we pxe boot on. you set the server override at the system item 
level and cobbler takes care of the rest. so if a host is on netA it must have 
server override IP x.

btw, are you using an old version of cobbler? best to get up to date if u can. 
appreciate this can be tricky if your cobbler is integrated into a product like 
satelite or katello.

regarding profiles: we only have one per major release of the os. eg el5, el6, 
el7, ub1404. so thats 4 profiles that are used across rhel, centos, oracle 
linux and ubuntu 1404, plus all the point releases, and loads of different 
configs. furthermore we dont differentiate between vms and real servers. one 
profile works across them all. also you can use the meta ks variables to pass 
your requirements to the builds. so we have build=vm, build=bda, build=hadoop, 
build=sas94vm. these then setup different disk layouts. we also implemented the 
ability to turn off or on functionality using enable= or disable=. eg 
enable=proxy,nimsoft,uek disable=swap, vas4. these are not cobbler builtins, 
its just coding the templating engine. cobbler used the cheetah templating 
engine which allows you embed bits of python code.

its much better to have a simple build system and then have a cfg mgmt tool 
like puppet do all the post build config.

--
Alastair Munro

-Original Message-
From: Tory M Blue <tmb...@gmail.com>
To: cobbler mailing list <cobbler@lists.fedorahosted.org>
Sent: Mon, 02 May 2016 2:53
Subject: [cobbler] Re: Multiple subnets, multiple dhcp --dhcp-tag, profiles, 
distro

On Sun, May 1, 2016 at 11:53 AM,  <alast...@alastair-munro.com> wrote:
> Hi
>
> We have multiple networks that we pxe boot off and have no problem with
> fixed ip addresses being passed throught. Cobbler works on the server
> override ip for each of the networks we pxe boot off, and this is passed
> through as http_server, next server, etc. i can only conclude your cobbler
> config is not setup correctly. basically you add a system, set ip settings
> AND ip for the server override, and cobbler passes the server override ip
> through to wherever its needed.
>
> --
> Alastair Munro

Thanks Alastair.

I'll repeat myself, I'm not really wanting to muck with the profiles.
I want a single profile (for each server class) that can be used from
X networks. Sure I can add server overrides and have x*3 profiles, vs
a single. This makes no sense. The DHCP has the right address in
next-server already, why cobbler can't use that value vs inserting
it's own and utilizing the "server" switch inside cobbler, is exactly
why you are creating multiple profiles, when in reality, I don't see
why you have to..

Yes it works but having to add these to duplicated profiles for each
attached network just doesn't seem like the right answer.

If it's the only answer then I guess it's not going to be a face palm.

But it seems simple enough that I just don't think anyone has ever
gotten the correct answer (many incomplete web posts, questions around
this). That's either because there really is no answer, you work
around the issue. But if DHCP has the information, why can't Cobbler
use it?

Also I'm not adding systems,  so it's not a necessary step for me, a
server is unboxed and imaged.

Thanks for the response.
Tory
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


[cobbler] Re: Multiple subnets, multiple dhcp --dhcp-tag, profiles, distro

2016-05-01 Thread alastair
Hi

We have multiple networks that we pxe boot off and have no problem with fixed 
ip addresses being passed throught. Cobbler works on the server override ip for 
each of the networks we pxe boot off, and this is passed through as 
http_server, next server, etc. i can only conclude your cobbler config is not 
setup correctly. basically you add a system, set ip settings AND ip for the 
server override, and cobbler passes the server override ip through to wherever 
its needed.

--
Alastair Munro

-Original Message-
From: Tory M Blue <tmb...@gmail.com>
To: cobbler mailing list <cobbler@lists.fedorahosted.org>
Sent: Sun, 01 May 2016 4:22
Subject: [cobbler] Multiple subnets, multiple dhcp --dhcp-tag, profiles, distro

So I'm running into some issues and I'm sure it's a minor brain fart
on my part. But the documentation  has not squared me away.

I have a cobbler server running  DHCP for 3 networks, my cobbler
server has 3 interfaces and I have 3 dhcp stanzas (whatever).

 I can set a different next server, which is the interface IP on that
subnet/vlan. No issue. I can build a system from the 10.13.4 network
just fine. But if I try to build from the 10.13.200 net, I can get a
dhcp address, load the kernel, but the issue is the Distro has the  IP
address from the 10.13.4.x network in it so the pxelinux.cfg/default
has the wrong subnet/vlan hardcoded; and thus tries to load the
kickstart

LABEL CentOS7-x86_64_Standard
kernel /images/CentOS7-x86_64/vmlinuz
MENU LABEL CentOS7-x86_64_Standard
append initrd=/images/CentOS7-x86_64/initrd.img ksdevice lang=
 kssendmac text
ks=http://10.13.4.101/cblr/svc/op/ks/profile/CentOS7-x86_64_Standard
ipappend 2

So obviously if a host is on the 10.13.200 net, receives a 10.13.200.x
address, and starts booting, cobbler is sending it that kickstart line
and it should not be going to 10.13.4.101 when the local network is
ready to receive at 10.13.200.101.

The metadata tree has the 10.13.4.101 address,  and I thought about
setting it to $next_server, but it seems if I do it in the profile via
cobbler_web, it over writes the default file with 10.13.4.101 (the
cobbler host server IP)

I've removed $next-server from the cobbler settings file

#next_server: 10.13.4.101

But server is still configured.

server: 10.13.4.101

So the issue is really the server configuration inside settings. it
mentions --server-override, but I don't want to have a handful of
profiles for the same image.. I would like to just boot up a server
and say use Profile-CentOS-standard and ignore which network it's
coming from., want wildcards or other to figure things out.

Any ideas? really i've been searching and "nothing" I've found has
made me understand where I'm falling short. -dhcp-tags,
--server-override

Thanks
tory


## DHCP 
ddns-update-style interim;

allow booting;
allow bootp;

ignore client-updates;
set vendorclass = option vendor-class-identifier;

subnet 10.13.4.0 netmask 255.255.255.0 {
 option routers 10.13.4.6;
 option domain-name-servers 10.13.4.220, 10.13.7.101, 10.13.7.102;
 option domain-name "eng.domain.net";
 option subnet-mask 255.255.255.0;
 range dynamic-bootp10.13.4.75 10.13.4.99;
 filename   "/pxelinux.0";
 default-lease-time 21600;
 max-lease-time 43200;
 next-server10.13.4.101;
}

subnet 10.13.5.0 netmask 255.255.255.0 {
 option routers 10.13.5.6;
 option domain-name-servers 10.13.4.220, 10.13.7.101, 10.13.7.102;
 option domain-name "eng.domain.net";
 option subnet-mask 255.255.255.0;
 range dynamic-bootp10.13.5.220 10.13.5.239;
 filename   "/pxelinux.0";
 default-lease-time 21600;
 max-lease-time 43200;
 next-server10.13.5.100;
}

subnet 10.13.200.0 netmask 255.255.255.0 {
 option routers 10.13.200.6;
 option domain-name-servers 216.249.24.15, 10.13.6.56;
 option domain-name "gc.sv.domain.net";
 option subnet-mask 255.255.255.0;
 range dynamic-bootp10.13.200.75 10.13.200.85;
 filename   "/pxelinux.0";
 default-lease-time 21600;
 max-lease-time 43200;
 next-server10.13.200.101;
}
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


[cobbler] Re: Regular expressions in snippets & templates

2016-03-05 Thread alastair
Hi

Cobbler uses cheetah templating, so google that and you will find the 
documentation for cheetah. A nice thing about cheetah is its based on python 
and you can embed python in cheetah. With those two hints you should be able to 
do whatever you want.

--
Alastair Munro

-Original Message-
From: Orion Poplawski <or...@cora.nwra.com>
To: mtier...@mit.edu, cobbler mailing list <cobbler@lists.fedorahosted.org>
Sent: Fri, 04 Mar 2016 0:43
Subject: [cobbler] Re: Regular expressions in snippets & templates

On 03/02/2016 07:31 AM, Michael Tiernan wrote:
> I concede to having to wear the dunce cap.
>
> I'm having a really bad senior moment and cannot for the life of me get
> a simple regular expression match to work in a snippet/template under
> cobbler.
>
> Anyone have any snippet examples or pointers to references for help?

I don't think you've given enough information about what it is you are 
trying to do.

-- 
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA DivisionFAX: 303-415-9702
3380 Mitchell Lane  or...@cora.nwra.com
Boulder, CO 80301  http://www.cora.nwra.com
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


[cobbler] Re: Ubuntu install with cobbler.

2016-02-13 Thread alastair
Gateway needs to be set on the interface and not global networking section 
(cobbler web).

--
Alastair Munro

-Original Message-
From: Chris Johnson <rchristopherjohn...@gmail.com>
To: cobbler mailing list <cobbler@lists.fedorahosted.org>, "R. Christopher 
Johnson" <rchristopherjohn...@gmail.com>
Sent: Sat, 13 Feb 2016 18:27
Subject: [cobbler] Ubuntu install with cobbler.

Hi.

I'm looking for someone to talk to off list about cobbler installs of 
Ubuntu?  I got Ubuntu Server to import and install.  But there are a few 
issues I haven't been able to resolve after a week of hand to hand 
combat with it.  I'm reasonably certain it's my lack of knowledge about 
Debian.  I can get CentOS to install and run just fine on my little 10 
node VirtualBox mini cluster here.

Ubuntu Server installs and it picks up the IP and netmask but no matter 
what I try the only way I can get a gateway in is manually after it 
boots up.  And I'm trying to convert it to desktop but that it's going 
well either.

Help appreciated.  Tnx.

-- 

Chris Johnson   rchristophejohn...@gmail.com
Ex SysAdmin, now aspiring writerGod is a comedian playing to an 
audience too afraid to laugh.
(Voltaire)

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


[cobbler] Re: Cobbler release 2.6.11

2016-01-25 Thread alastair
Thanks; no rush! Its not urgent so take your time.

--
Alastair Munro

-Original Message-
From: Orion Poplawski <or...@cora.nwra.com>
To: cobbler@lists.fedorahosted.org
Sent: Sun, 24 Jan 2016 23:54
Subject: [cobbler] Re: Cobbler release 2.6.11

On 01/23/2016 07:23 PM, Alastair Munro wrote:
> Second that. Just installed a cobbler server in our azure cloud for repo
> mangement (no server building as azure uses images). Thus will get this
> updated! When do we think it will get to epel repos?
>

Soon.

https://bodhi.fedoraproject.org/updates/?packages=cobbler

>
> On 2016-01-23 23:07, Harry Hoffman wrote:
>> Thanks for all of the work you guys continue to put into Cobbler!
>>
>> Cheers,
>> Harry
>>
>> On Jan 23, 2016 9:18 AM, Jörgen Maas <jorgen.m...@gmail.com> wrote:
>>>
>>> Hey all,
>>>
>>> We've just released Cobbler version 2.6.11. This release adds support
>>> for a few current distros and also fixes some bugs (most importantly
>>> the github.com -> github.io issue).
>>>
>>> - Release notes:
>>> http://cobbler.github.io/manuals/2.6.0/1/1_-_Release_Notes.html
>>> - Downloads: http://cobbler.github.io/downloads/2.6.x.html
>>> - Distribution support:
>>> http://cobbler.github.io/manuals/2.6.0/1/2_-_Distribution_Support.html
>>>
>>> Cheers!
>>>
>> ___
>> cobbler mailing list
>> cobbler@lists.fedorahosted.org
>> https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


-- 
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA DivisionFAX: 303-415-9702
3380 Mitchell Lane  or...@cora.nwra.com
Boulder, CO 80301  http://www.cora.nwra.com
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


[cobbler] Re: Cobbler release 2.6.11

2016-01-23 Thread Alastair Munro
Second that. Just installed a cobbler server in our azure cloud for repo 
mangement (no server building as azure uses images). Thus will get this 
updated! When do we think it will get to epel repos?


Thanks

--
Alastair Munro


On 2016-01-23 23:07, Harry Hoffman wrote:

Thanks for all of the work you guys continue to put into Cobbler!

Cheers,
Harry

On Jan 23, 2016 9:18 AM, Jörgen Maas <jorgen.m...@gmail.com> wrote:


Hey all,

We've just released Cobbler version 2.6.11. This release adds support 
for a few current distros and also fixes some bugs (most importantly 
the github.com -> github.io issue).


- Release notes: 
http://cobbler.github.io/manuals/2.6.0/1/1_-_Release_Notes.html

- Downloads: http://cobbler.github.io/downloads/2.6.x.html
- Distribution support: 
http://cobbler.github.io/manuals/2.6.0/1/2_-_Distribution_Support.html


Cheers!


___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


[cobbler] Re: Calling snippets from ksmeta

2015-11-27 Thread alastair
Hi

Have you tried backslashes or additional $s?

Maybe you are trying to use it in a way not intended? My understanding of 
snippets is to try and keep the ks templates easy to read, and in effect they 
are just include code. We just use a limited number of ksmeta variables. Mainly 
'build' 'enable' 'disable' 'addvol'. Then these are interpreted all over the ks 
and in snippets. So build=vm will give you a VM build. 'enable' is a comma 
delimited list of things to enable. Example's: vas, nimsoft, stornext. disable 
is similar; you can disable things that are normally switched on. 
disable=puppet. Then you can say #if not 'puppet' in disable. Addvol is a comma 
list of lvm volumes to add in vg_root addvol=/data:10240:lv_data. Point I am 
trying to make is you can switch functionality on and off via ksmeta variables; 
that is the way we use cheetah.

--
Alastair Munro

-Original Message-
From: "Antonio Sallés" <anto...@salles.cl>
To: Nishanth Aravamudan <n...@linux.vnet.ibm.com>, "Antonio Sebastian Salles 
M." <asalles.m...@gmail.com>
Cc: cobbler@lists.fedorahosted.org
Sent: Fri, 27 Nov 2015 2:25
Subject: [cobbler] Re: Calling snippets from ksmeta

On 11/25/2015 04:29 PM, Nishanth Aravamudan wrote:
> On 25.11.2015 [15:33:12 -0300], Antonio Sebastian Salles M. wrote:
>> Hi there,
>>
>> I'm looking the way for call a list of SNIPPETs using an array of
>> ksmeta variables, but finally cheeta doesn't like it. Something like
>> this:
>
> What does cheeta say?
>
>> cobbler ... --ksmeta="machinetype=kvm machineenv=db"
>> ...
>>
>> #set $machinetype = $getVar('$machinetype')
>> #set $machineenv = $getVar('$machineenv')
>> $SNIPPET('spacewalk/1/$machinetype')
>> $SNIPPET('spacewalk/1/$machineenv')
>
> You *might* need to evaluate this outside of the $SNIPPET call. THat is,
> try:
>
> #set $machinetypesnippet = 'spacewalk/1/$getVar('$machinetype')'
> #set $machineenvsnippet = 'spacewalk/1/$getVar('$machineenv')'
>
> $SNIPPET($machinetypesnippet)
> $SNIPPET($machineenvsnippet)
>
> Does that make any difference?
>
> -Nish
>
>

Hi,

Nop, it doesn't work neither.
This is the output:

8<---

:

Error in the Python code which Cheetah generated for this template:


invalid syntax 
(cheetah_DynamicallyCompiledCheetahTemplate_1448583729_4_36017.py, line 554)

Line|Python Code
|-
552 |
553 |''')
554 |machinetypesnippet = 
'spacewalk/1/$getVar('VFSL([locals()]+SL+[globals(), 
__builtin__],"machinetype",True)')'
   ^
555 |write(u'''
556 |''')
557 |_v = self.__errorCatcher19(localsDict=locals()) # 
u'$SNIPPET($machinetypesnippet)' on line 217, col 1



Here is the corresponding Cheetah code.
** I had to guess the line & column numbers, so they are probably incorrect:

Line 217, column 1

Line|Cheetah Code
|-
214 |#set $machinetypesnippet = 'spacewalk/1/$getVar('$machinetype')'
215 |#set $machineenvsnippet = 'spacewalk/1/$getVar('$machineenv')'
216 |
217 |$SNIPPET($machinetypesnippet)
  ^
218 |$SNIPPET($machineenvsnippet)
219 |
8<---

Any idea?
Thanks so much.

Antonio.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


Re: [cobbler] Anyone have success installing Ubuntu 15.04?

2015-09-21 Thread alastair
Map the iso in and choose the recover mode. See if it can find your OS disk. 
Sounds like it might be a gpt partition issue? How big is the boot disk? Is the 
bios set to legacy of uefi mode? Is secure boot turned off? 

Regarding Ubuntu, we always stick with the LTS versions. Everything else should 
be considered beta. Tried 14.04 LTS? 16.04 is not far off which is the next LTS.

Also you are using the alt/server Ubuntu iso's?

--
Alastair Munro

-Original Message-
From: Will Dennis <wden...@nec-labs.com>
To: cobbler mailing list <cobbler@lists.fedorahosted.org>
Sent: Mon, 21 Sep 2015 18:24
Subject: Re: [cobbler] Anyone have success installing Ubuntu 15.04?

No difference... still does not boot. FWIW, I see that the boot drive is being 
accessed after the BIOS completes, but nothing happens...


-Original Message-
From: cobbler-boun...@lists.fedorahosted.org 
[mailto:cobbler-boun...@lists.fedorahosted.org] On Behalf Of Daniele Gregori
Sent: Monday, September 21, 2015 12:54 PM
To: cobbler mailing list
Subject: Re: [cobbler] Anyone have success installing Ubuntu 15.04?

Hi,
   Maybe it's a pxe config file problem, please, to check this, try to unplug 
the ethernet cable and reboot.

D.

---
Daniele Gregori
E4 Computer Engineering SPA
Viale Martiri della Libert? 66
42019 Scandiano (RE)

Telefono +39 0522 991827

Il giorno 21/set/2015, alle ore 18:39, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> ha scritto:

Hi all,

Have been trying to install Ubuntu 15.04 via Cobbler (both using kickstart and 
preseed) - the install looks normal, completes, but then when the machine 
reboots, it hangs after the BIOS screens where it would normally display the 
GRUB menu... I have tried this process on two different Dell PowerEdge machines 
(an 1850 and a 1950) but the same thing happens every time. I can successfully 
install on either of these machines if I use the regular Ubuntu 15.04 CD to 
install. Anyone seeing this, or have any suggestions on how I might 
troubleshoot? I have booted the Cobbler-installed machines with an Ubuntu 
rescue CD, and did the "reinstall GRUB" option, but they still won't boot 
thereafter...

Thanks,
Will
___
cobbler mailing list
cobbler@lists.fedorahosted.org<mailto:cobbler@lists.fedorahosted.org>
https://lists.fedorahosted.org/mailman/listinfo/cobbler
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] CentOS 7 install failure

2015-09-06 Thread alastair
We use the old eth naming on el7. Why? We have enough tech to juggle with and 
its just one thing less. It also makes our el7 systems look the same as el5 and 
el6 ones. When I say el, we also have centos/rhel and oracle Linux in the mix. 
Not to mention 2 Ubuntu releases and then lots of different builds.

Thus I haven't tried el7 with new naming; could give it a test tomorrow if not 
too busy.

Thinking about it I think I prefer eth naming; its more predictable and easier 
to code for (in cheetha).

--
Alastair Munro

-Original Message-
From: "Ed - 0x1b, Inc." <cobblerl...@0x1b.com>
To: cobbler mailing list <cobbler@lists.fedorahosted.org>
Sent: Sun, 06 Sep 2015 22:10
Subject: Re: [cobbler] CentOS 7 install failure

It isn't just RH - openSUSE Fedora have named networks this way
(deterministic) for several versions. Also, a network without a
gateway is a valid configuration as a level of security so Cobble
should be able to handle such a configuration.

Multi-homed servers using the old ethX syntax are not deterministic
regarding naming, the names can change depending on which nic wakes up
first. If you do any binding, or really anything with more than one
nic you risk the names in your configuration getting shuffled with
each boot. I think it is a two stage process, first the ethX naming
occurs as the nic wakes up and then udev renames them according to
biosdevname if possible:
Some of the detail are here, but dated from 2010 -
https://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming
or not...
http://lists.freedesktop.org/archives/systemd-devel/2015-March/028904.html
it's complicated as of systemd 197:
https://wiki.freedesktop.org/www/Software/systemd/PredictableNetworkInterfaceNames/

Ed

On Fri, Sep 4, 2015 at 7:00 PM, Alvin Starr <al...@netvel.net> wrote:
> I also had troubles  trying to use the enp0s0 type names.
>
> I have a feeling that cobbler needs some work with way RH does device
> naming now.
>
>
> On 09/04/2015 05:59 PM, alast...@alastair-munro.com wrote:
>> Try defaulting back to the old eth names? Google it. New way is that
>> ether names are enumerated (en, em, etc).
>>
>> On 2015-09-04 21:07, Xeniya Lisovskaya wrote:
>>> Anybody fix this problem? I have Centos7, static IP, and same problem:
>>>
>>> it is screenshots from IP-KVM:
>>>
>>> http://postimg.org/image/c2qsjwx7r/ [2]
>>>
>>> http://s9.postimg.org/rocxra9lr/cobbler2.png [3]
>>>
>>> 2014-10-08 0:54 GMT+03:00 Chris Johnson
>>> <rchristopherjohn...@gmail.com>:
>>>
>>>> On 10/6/14, 10:40 PM, Orion Poplawski wrote:
>>>> On 10/06/2014 08:29 PM, Chris Johnson wrote:
>>>> Ok, sorry about that. Here is a url for the getks
>>>>
>>>> http://pastebin.com/w1cq3TKX [1]
>>>
>>>  What gets written to /tmp/pre_install_network_config ?  I wonder if
>>> get_ifname is failing.  Sure you have the mac addr correct?
>>>
>>>  Ok /tmp/pre_install_network_config contains the following
>>>
>>>  network --device=enp0s3 --bootproto=static --ip=192.168.1.14
>>> --netmask=255.255.255.0 --nameserver=75.75.76.76
>>> --hostname=client4.net [4]
>>>
>>>  And we have the problem.  Thank you very much Orion.
>>>
>>>  There are two ways to give cobbler a gateway IP when doing cobbler
>>> system add; 1) --if-gateway, 2) --gateway.  The scripts I have for
>>> adding my systems to cobbler use the former which puts the gateway in
>>> the ifcfg-eth0 file rather than /etc/sysconfig/network which is what
>>> --gateway does.  From the above we see no gateway listed at all.  It
>>> seems that C7 install wants the --gateway parameter used instead.
>>> Obviously I missed this in the notes.
>>>
>>>  I would make the suggestion that when a required or used parameter is
>>> missing a value or has an invalid value, a warning message to that
>>> effect listing the name of the parameter would more helpful than
>>> illegal IP address string passed to inet_aton.
>>>
>>>  Thank you again.
>>>
>>>  Chris J
>>>
>>>  ___
>>>  cobbler mailing list
>>>  cobbler@lists.fedorahosted.org
>>>  https://lists.fedorahosted.org/mailman/listinfo/cobbler [5]
>>>
>>> --
>>>
>>> Kseniya Lisovskaya
>>>
>>> Links:
>>> --
>>> [1] http://pastebin.com/w1cq3TKX
>>> [2] http://postimg.org/image/c2qsjwx7r/
>>> [3] http://s9.postimg.org/rocxra9lr/cobbler2.png
>>> [4] http://client4.net
>>> [5] http

Re: [cobbler] Hello - Newbie need to clone RHEL6 with awesome cobbler - LIPERE Benjamin.

2015-09-05 Thread alastair
Hi

Linux building is not based on disk images. There are lots of downsides to 
building systems this way. Disk geometry changes and maintainability of the 
build are two.

--
Alastair Munro

-Original Message-
From: Daniele Gregori <daniele.greg...@e4company.com>
To: cobbler mailing list <cobbler@lists.fedorahosted.org>
Sent: Sat, 05 Sep 2015 0:45
Subject: Re: [cobbler] Hello - Newbie need to clone RHEL6 with awesome cobbler 
-LIPERE Benjamin.

Hi all,
I'm looking for the same feature, there is a function like system image in 
cobbler?

Thanks

---
Daniele Gregori
E4 Computer Engineering SPA
Viale Martiri della Libert? 66
42019 Scandiano (RE)

Telefono +39 0522 991827

Il giorno 04/set/2015, alle ore 12:46, Benjamin LIPERE 
<benjamin.lipere...@gmail.com<mailto:benjamin.lipere...@gmail.com>> ha scritto:

Hello.

Can someone send me an up-to-date tutorial or link for cloning, please ?
I need to clone installed system for HPC cluster.
I am searching but I am not finding it !

Thanks !!!
Best Regards.
Benjamin.

--
LIPERE Benjamin
Le logis de paille
87270, Chaptelat
FRANCE
06 26 14 35 20
benjamin.lipere...@gmail.com<mailto:benjamin.lipere...@gmail.com>
___
cobbler mailing list
cobbler@lists.fedorahosted.org<mailto:cobbler@lists.fedorahosted.org>
https://lists.fedorahosted.org/mailman/listinfo/cobbler
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Hello - Newbie need to clone RHEL6 with awesome cobbler - LIPERE Benjamin.

2015-09-05 Thread alastair
Our VM builds via kickstart take about 7 mins to build to a 30gb hard disk. How 
long would it take to copy a 30gb disk image across a network to a new server? 
I think much longer. Also if you have a corruption in the disk image it would 
get propagated to new builds? Real server builds take much longer, because of 
all the boot self tests, especially if you have a lot of memory.

--
Alastair Munro

-Original Message-
From: James Clendenan <james.clende...@gmail.com>
To: cobbler mailing list <cobbler@lists.fedorahosted.org>
Sent: Sat, 05 Sep 2015 17:32
Subject: Re: [cobbler] Hello - Newbie need to clone RHEL6 with awesome cobbler 
-LIPERE Benjamin.

Using a clonezilla image you should be able to build an image based system.  I 
haven't looked into it deeply but if I recall correctly most of the hooks are 
there to do it. 

Having built hpc systems in the vfx world, it is way easier to build using 
installers for the reasons highlighted earlier as well as when hardware changes 
within your cluster, it is easy to get a new one integrated in with a slightly 
different build or a few changed config lines to cope with the rewire of say 
the network or disk addressing. 

Just my $0.02

James

--
Sent from my phone. 

> On Sep 5, 2015, at 6:07 AM, Daniele Gregori <daniele.greg...@e4company.com> 
> wrote:
> 
> 
> Hi,
>The point is if this feature is supported or not by Cobbler. This function 
> is very usefull in HPC environment and Cobbler could become a standard in HPC 
> if it includes that.
> 
> ---
> Daniele Gregori
> E4 Computer Engineering SPA
> Viale Martiri della Libert? 66
> 42019 Scandiano (RE)
> 
> Telefono +39 0522 991827
> 
> Il giorno 05/set/2015, alle ore 12:51, 
> "alast...@alastair-munro.com<mailto:alast...@alastair-munro.com>" 
> <alast...@alastair-munro.com<mailto:alast...@alastair-munro.com>> ha scritto:
> 
> Hi
> 
> Linux building is not based on disk images. There are lots of downsides to 
> building systems this way. Disk geometry changes and maintainability of the 
> build are two.
> 
> --
> Alastair Munro
> 
> -Original Message-
> From: Daniele Gregori 
> <daniele.greg...@e4company.com<mailto:daniele.greg...@e4company.com>>
> To: cobbler mailing list 
> <cobbler@lists.fedorahosted.org<mailto:cobbler@lists.fedorahosted.org>>
> Sent: Sat, 05 Sep 2015 0:45
> Subject: Re: [cobbler] Hello - Newbie need to clone RHEL6 with awesome 
> cobbler - LIPERE Benjamin.
> 
> Hi all,
>I'm looking for the same feature, there is a function like system image in 
> cobbler?
> 
> Thanks
> 
> ---
> Daniele Gregori
> E4 Computer Engineering SPA
> Viale Martiri della Libert? 66
> 42019 Scandiano (RE)
> 
> Telefono +39 0522 991827<tel:+390522991827>
> 
> Il giorno 04/set/2015, alle ore 12:46, Benjamin LIPERE 
> <benjamin.lipere...@gmail.com<mailto:benjamin.lipere...@gmail.com><mailto:benjamin.lipere...@gmail.com<mailto:benjamin.lipere...@gmail.com>>>
>  ha scritto:
> 
> Hello.
> 
> Can someone send me an up-to-date tutorial or link for cloning, please ?
> I need to clone installed system for HPC cluster.
> I am searching but I am not finding it !
> 
> Thanks !!!
> Best Regards.
> Benjamin.
> 
> --
> LIPERE Benjamin
> Le logis de paille
> 87270, Chaptelat
> FRANCE
> 06 26 14 35 20
> benjamin.lipere...@gmail.com<mailto:benjamin.lipere...@gmail.com><mailto:benjamin.lipere...@gmail.com<mailto:benjamin.lipere...@gmail.com>>
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org<mailto:cobbler@lists.fedorahosted.org><mailto:cobbler@lists.fedorahosted.org<mailto:cobbler@lists.fedorahosted.org>>
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org<mailto:cobbler@lists.fedorahosted.org>
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org<mailto:cobbler@lists.fedorahosted.org>
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Hello - Newbie need to clone RHEL6 with awesome cobbler - LIPERE Benjamin.

2015-09-05 Thread alastair
I have worked with lsf at two different companies, one a major chip designer. 
Thus I know about hpc.

--
Alastair Munro

-Original Message-
From: Benjamin LIPERE <benjamin.lipere...@gmail.com>
To: cobbler mailing list <cobbler@lists.fedorahosted.org>
Sent: Sat, 05 Sep 2015 16:37
Subject: Re: [cobbler] Hello - Newbie need to clone RHEL6 with awesome cobbler 
- LIPERE Benjamin.

Hello everybody.

Thanks for your answer !
Sorry I am going to be a little harsh !

Daniele, it seem that Alastair Munro don't even have seen an HPC .
Alastair, you work in huge infrastructure like Apache cluster, do you ??

In HPC, we NEED cloning.
Also, I don't have time to play, may be Daniele too.
*So does actually cobbler support cloning, please ???*

If not, Daniele, BUILD YOUR OWN TARGET ! That's easy to do !

Thanks for your help !!
Best Regards.
Benjamin.

2015-09-05 15:07 GMT+02:00 Daniele Gregori <daniele.greg...@e4company.com>:

>
> Hi,
> The point is if this feature is supported or not by Cobbler. This
> function is very usefull in HPC environment and Cobbler could become a
> standard in HPC if it includes that.
>
> ---
> Daniele Gregori
> E4 Computer Engineering SPA
> Viale Martiri della Libert? 66
> 42019 Scandiano (RE)
>
> Telefono +39 0522 991827
>
> Il giorno 05/set/2015, alle ore 12:51, "alast...@alastair-munro.com
> <mailto:alast...@alastair-munro.com>" <alast...@alastair-munro.com alast...@alastair-munro.com>> ha scritto:
>
> Hi
>
> Linux building is not based on disk images. There are lots of downsides to
> building systems this way. Disk geometry changes and maintainability of the
> build are two.
>
> --
> Alastair Munro
>
> -Original Message-
> From: Daniele Gregori <daniele.greg...@e4company.com daniele.greg...@e4company.com>>
> To: cobbler mailing list <cobbler@lists.fedorahosted.org cobbler@lists.fedorahosted.org>>
> Sent: Sat, 05 Sep 2015 0:45
> Subject: Re: [cobbler] Hello - Newbie need to clone RHEL6 with awesome
> cobbler - LIPERE Benjamin.
>
> Hi all,
> I'm looking for the same feature, there is a function like system
> image in cobbler?
>
> Thanks
>
> ---
> Daniele Gregori
> E4 Computer Engineering SPA
> Viale Martiri della Libert? 66
> 42019 Scandiano (RE)
>
> Telefono +39 0522 991827<tel:+390522991827>
>
> Il giorno 04/set/2015, alle ore 12:46, Benjamin LIPERE <
> benjamin.lipere...@gmail.com<mailto:benjamin.lipere...@gmail.com> benjamin.lipere...@gmail.com<mailto:benjamin.lipere...@gmail.com>>> ha
> scritto:
>
> Hello.
>
> Can someone send me an up-to-date tutorial or link for cloning, please ?
> I need to clone installed system for HPC cluster.
> I am searching but I am not finding it !
>
> Thanks !!!
> Best Regards.
> Benjamin.
>
> --
> LIPERE Benjamin
> Le logis de paille
> 87270, Chaptelat
> FRANCE
> 06 26 14 35 20
> benjamin.lipere...@gmail.com<mailto:benjamin.lipere...@gmail.com> benjamin.lipere...@gmail.com<mailto:benjamin.lipere...@gmail.com>>
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org<mailto:cobbler@lists.fedorahosted.org
> ><mailto:cobbler@lists.fedorahosted.org cobbler@lists.fedorahosted.org>>
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org<mailto:cobbler@lists.fedorahosted.org>
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org<mailto:cobbler@lists.fedorahosted.org>
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>



-- 
LIPERE Benjamin
Le logis de paille
87270, Chaptelat
FRANCE
06 26 14 35 20
benjamin.lipere...@gmail.com
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] CentOS 7 install failure

2015-09-04 Thread alastair
Try defaulting back to the old eth names? Google it. New way is that 
ether names are enumerated (en, em, etc).


On 2015-09-04 21:07, Xeniya Lisovskaya wrote:

Anybody fix this problem? I have Centos7, static IP, and same problem:

it is screenshots from IP-KVM:

http://postimg.org/image/c2qsjwx7r/ [2]

http://s9.postimg.org/rocxra9lr/cobbler2.png [3]

2014-10-08 0:54 GMT+03:00 Chris Johnson
:


On 10/6/14, 10:40 PM, Orion Poplawski wrote:
On 10/06/2014 08:29 PM, Chris Johnson wrote:
Ok, sorry about that. Here is a url for the getks

http://pastebin.com/w1cq3TKX [1]


 What gets written to /tmp/pre_install_network_config ?  I wonder if
get_ifname is failing.  Sure you have the mac addr correct?

 Ok /tmp/pre_install_network_config contains the following

 network --device=enp0s3 --bootproto=static --ip=192.168.1.14
--netmask=255.255.255.0 --nameserver=75.75.76.76
--hostname=client4.net [4]

 And we have the problem.  Thank you very much Orion.

 There are two ways to give cobbler a gateway IP when doing cobbler
system add; 1) --if-gateway, 2) --gateway.  The scripts I have for
adding my systems to cobbler use the former which puts the gateway in
the ifcfg-eth0 file rather than /etc/sysconfig/network which is what
--gateway does.  From the above we see no gateway listed at all.  It
seems that C7 install wants the --gateway parameter used instead.
Obviously I missed this in the notes.

 I would make the suggestion that when a required or used parameter is
missing a value or has an invalid value, a warning message to that
effect listing the name of the parameter would more helpful than
illegal IP address string passed to inet_aton.

 Thank you again.

 Chris J

 ___
 cobbler mailing list
 cobbler@lists.fedorahosted.org
 https://lists.fedorahosted.org/mailman/listinfo/cobbler [5]

--

Kseniya Lisovskaya

Links:
--
[1] http://pastebin.com/w1cq3TKX
[2] http://postimg.org/image/c2qsjwx7r/
[3] http://s9.postimg.org/rocxra9lr/cobbler2.png
[4] http://client4.net
[5] https://lists.fedorahosted.org/mailman/listinfo/cobbler

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Repository access mechanisms

2015-07-23 Thread alastair
Or repo sync it. Cobbler has a repo which is synced from an internet repo. 
Needs some disk space. We do this with centos and oracle linux. Cobbler will do 
the syncing for you. Install cobbler_web and then its more obvious how it works.

--
Alastair Munro

-Original Message-
From: Danko Antolovic danto...@iu.edu
To: cobbler@lists.fedorahosted.org
Sent: Thu, 23 Jul 2015 16:09
Subject: [cobbler] Repository access mechanisms

I am evaluating Cobbler for potential use, rather than using it 
actively, so my knowledge of it is superficial. Here is my question:

As far as I can see, a repository can be made available to a target 
machine (one that is being built) in two ways:

- by mirroring the repo's contents locally, on the Cobbler server, in 
which case the target gets the local repo URL in the ks file, and 
accesses it over the local network, one which is used for netboot and 
initial installation;

- by not mirroring the repo, where the target receives the actual 
(remote) URL of the repo in the ks file, and accesses it via a network 
that faces the wider world.

Is it possible to set things up so that the server proxies the repo 
contents, i.e. the server talks to the Internet and passes the rpm's to 
the target via the local network?  This would be a more secure way to 
handle the build, without exposing a half-built machine to the world; at 
the same time, it would avoid piling up potentially large mirrored 
repositories on the Cobbler server.

Thank you for shedding any light on the subject.

Danko Antolovic

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Creating local RPM repos in Cobbler.

2015-06-17 Thread alastair
Hi

Can you add a new page? I will update the original instructions saying it works 
for a certain release. I will check our version tomorrow when back in the 
office and update accordingly. Basically we have refs to those links from 
internal docs so would not like to loose them.

Thanks

--
Alastair Munro

-Original Message-
From: Michael Tiernan mtier...@mit.edu
To: cobbler mailing list cobbler@lists.fedorahosted.org
Sent: Wed, 17 Jun 2015 14:09
Subject: [cobbler] Creating local RPM repos in Cobbler.

I earlier reported that the instructions on the wiki page didn't work
for me.

I was going to rewrite it but I'm unsure if I should remove the
instructions there and replace them with my own or if I should create a
second page that describes the steps I've gone through.

What's the right thing to do please?
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Ilo baremetal

2015-05-18 Thread alastair
Hi

This is more of a boot/load driver issue? Sounds like you need to steal an 
initrd image that already has the kernel mod installed, boot off that and then 
pass a kernal arg to force loading of it? BTW isn't all this HP raid stuff 
hidden underneath and the cciss driver just sees it as a disk? I have worked 
with a lot of HP servers and there isn't anything special other than setting up 
the underlying raid volume in advance of os install?

--
Alastair Munro

-Original Message-
From: Sethuraman, Murali murali.sethura...@capitalone.com
To: Alan Evangelista ala...@linux.vnet.ibm.com, 
cobbler@lists.fedorahosted.org cobbler@lists.fedorahosted.org, Uma
Harini (umahar...@gmail.com) umahar...@gmail.com
Sent: Sun, 17 May 2015 21:00
Subject: Re: [cobbler] Ilo baremetal

Hi Alan/Cobbler buddies,
I have a situation, where in I need to inject a specific hpvsa RAID driver in 
the cobbler ks. I tried the below, but does not work. Appreciate if you can let 
me know how to do this correctly and make it work.

Use case:
- HP physical blade with B210i RAID controller, that needs the hpvsa driver 
loaded prior to kickstart
- Need to load RHEL7 on this server with the RAID controller on it

What had been tried so far:

- I had tried to do add driverdisk --source=http://./;, and have the 
hpvsa.iso/img file hosted on the http link, but would not work [RHEL7 OS load 
completes, and at the post-install step errors out bootloader install 
failed]. 

- The bootloader statement in ks is - bootloader --location=mbr 
--driveorder=sda --append=crashkernel=auto notsc rdblacklist=ahci 
rdloaddriver=hpvsa,hpsa

- I tried to add the hpvsa rpm package to my RHEL7 repository [imported via 
cobbler import], by copying the package, and adding the statement kmod-hpvsa 
to the %packages section in ks. While loading the packages, kmod-hpvsa package 
not found is displayed 

- I also tried to copy the rpm kmod-hpvsa and the repodata associated with it, 
to my RHEL7 repository, still the same error kmod-hpvsa package not found

Please let me know.

Thanks
Murali K Sethuraman
Lead Platform Engineer, Tech Ops
murali.sethura...@capitalone.com

Phone: 804-284-4423 Tie: 433
Cell: 804-814-1187
Visit OMS @ https://pulse.kdc.capitalone.com/groups/oms

Quote of the week: Certain is Uncertain, Uncertain is Certain….

-Original Message-
From: Alan Evangelista [mailto:ala...@linux.vnet.ibm.com]
Sent: Thursday, May 07, 2015 1:44 AM
To: Sethuraman, Murali; cobbler@lists.fedorahosted.org; Uma Harini 
(umahar...@gmail.com)
Subject: Re: [cobbler] Ilo baremetal

On 03/17/2015 12:43 PM, Sethuraman, Murali wrote:
 I had tried with the latest fence agents too, and the same results 
 were seen. I had raised a bug with redhat on this
 https://bugzilla.redhat.com/show_bug.cgi?id=1200998 and waiting on 
 updates after the initial exchange of logs and information. It seems 
 to be pointing to “ipmiutil”.

Providing feedback to the Cobbler mailing list...
Murali posted on the bug that iLo fence agents work fine, this was simply a 
firewall issue.

Regards,
Alan Evangelista



The information contained in this e-mail is confidential and/or proprietary to 
Capital One and/or its affiliates. The information transmitted herewith is 
intended only for use by the individual or entity to which it is addressed.  If 
the reader of this message is not the intended recipient, you are hereby 
notified that any review, retransmission, dissemination, distribution, copying 
or other use of, or taking of any action in reliance upon this information is 
strictly prohibited. If you have received this communication in error, please 
contact the sender and delete the material from your computer.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Cobbler release 2.6.8

2015-05-06 Thread alastair
Hi

What are the future plans for cobbler?

--
Alastair Munro

-Original Message-
From: Jörgen Maas jorgen.m...@gmail.com
To: cobbler development list cobbler-de...@lists.fedorahosted.org, cobbler 
mailing list cobbler@lists.fedorahosted.org
Sent: Wed, 06 May 2015 21:02
Subject: [cobbler] Cobbler release 2.6.8

Hey all,

We've just released Cobbler version 2.6.8, another minor update in the
stable 2.6 branch. This is probably the last release in the 2.6 series.

Please checkout the following resources:

Release notes:
http://www.cobblerd.org/manuals/2.6.0/1/1_-_Release_Notes.html
Downloads: http://www.cobblerd.org/downloads/2.6.x.html

-- 
Grtz,
Jörgen Maas
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] synchronizing cobbler installations

2015-05-01 Thread alastair

Hi

Cobbler has replication features. See the docs: 
http://www.cobblerd.org/manuals/2.6.0/3/2/8_-_Replication.html


I also wrote this last year, which has been working well for us: 
https://github.com/cobbler/cobbler/wiki/Speeding%20up%20triggers%20to%20sync%20remote%20cobbler%20servers


You might want to look at katello/satellite 6, which has a capsule 
system based on The Foreman. In essence you have a capsule/proxy per 
site, which does all your repo mirroring, local dhcp/tftp/etc. This 
would require alot more effort.


Alastair Munro



On 2015-04-30 23:53, Jeremy Mordkoff wrote:

Hi all,

I have a need to synchronize the content and config between multiple
instances of cobbler. Each instance is running in a VM and new
instances are created by cloning the VM image. These instances are
spread around geographically and some do not have very fast internet
connections.

For config, I have /var/lib/cobbler and /etc/cobbler in source
control. I commit my changes on the master instance and then update on
all of the slave instances and then restart cobbler. Seems to work
well and my git repo is already accessible over the internet so this
is convenient.

But I am not so keen on putting my repo mirrors in source control
because they are large. Plus I have a pip wheelhouse and an NPM proxy
cache.

Any suggestions on how to keep these all in sync? I am considering
just using rsync, but that will require moving my master instance (or
a copy thereof) someplace accessible by all.

I guess this isn't a cobbler question at all, but perhaps someone has
some insights that might help me.

Thanks

---
Jeremy Mordkoff

RIFT.io

77 S Bedford St, Burlington, MA 01803


___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Import Dell Version of Ubuntu

2015-04-16 Thread alastair
Ubuntu has two installers; the gui manual method (forget what its 
called) and the debian installer method.


You need to import the alt or server versions of ubuntu into cobbler 
that use debian installer. The standard gui ones don't work.


Alastair Munro

On 2015-04-16 14:05, Rubén Pérez wrote:

Dear list,

 We have problems using our new Dell Optiplex XE2 models. When I
install the OS (Ubuntu 12.04) using our cobbler server, the Xvideo
support is disabled and we required that for our applications.

 I noticed that the Xvideo support *is* enabled if I simply used the
pre-installed Ubuntu 12.04 in the Optiplex units. However, using this
factory Ubuntu is not an option --I need to be able to reinstall the
machine using Cobbler at any given time.

 After much investigation, I decided to install an Ubuntu 12.04
version provided by Dell [1], as indicated here [2] (see Installation
Instructions below). However, I'm unable to import this image to
cobbler, no matter how I tried. It seems like this is not a full
Ubuntu image, but I was wondering if I could add the missing pieces
using the working Ubuntu 12.04 image already in our cobbler server
without losing the customizations made by Dell. Does this even make
sense? Is there any way of importing such an image in Cobbler?

 Thanks in advance for your help.

 Best regards

--
 Rubén Pérez Vázquez

 UNIVERSITÄT ZU KÖLN
 _Regionales Rechenzentrum (RRZK)_
 Weyertal 121, Raum 4.07
 D-50931 Köln
 ✆: +49-221-470-89603

Links:
--
[1] http://linux.dell.com/files/ubuntu/precise/12.04-OSP1/
[2]
http://www.dell.com/support/home/us/en/19/drivers/DriversDetails?productCode=optiplex-xe2amp;driverId=WKYKM

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Upgrading cobbler from 2.4.4 to 2.6.3

2015-03-13 Thread alastair
When I have upgraded in the past it upgrades the current config. It also backs 
up the config before upgrade; I think under /var/log/cobbler/backups. If you 
are worried you can tar up /etc/cobbler and /var/lib/cobbler beforehand.

If your cobbler server is a VM, you could snapshot it before upgrading :)

rpm -ql cobbler will give you an idea of what to backup before you upgrade 
cobbler.

Don't forget cobbler-web if you have that.

--
Alastair Munro

-Original Message-
From: curt@bt.com
To: cobbler@lists.fedorahosted.org
Sent: Fri, 13 Mar 2015 18:14
Subject: Re: [cobbler] Upgrading cobbler from 2.4.4 to 2.6.3

Is it as easy as yum update cobbler cobbler-web?  I'd rather not have to 
rebuild or install a new server for this.

From: Old,CL,Curt,VNC R
Sent: Thursday, March 12, 2015 5:41 PM
To: 'cobbler@lists.fedorahosted.org'
Subject: Upgrading cobbler from 2.4.4 to 2.6.3

Guys I haven't found any clear guide to upgrade from 2.4.4 to 2.6.3 is there a 
doc or guide out there, or something?

Cheers

Curt
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler import fedora 21 failed

2015-02-25 Thread alastair
Hi Greg

There is a cobbler wiki where you can put guides like this. Maybe you can do a 
quick cut and paste?

--
Alastair Munro

-Original Message-
From: Greg Swift gregsw...@gmail.com
To: cobbler mailing list cobbler@lists.fedorahosted.org
Sent: Thu, 26 Feb 2015 0:36
Subject: Re: [cobbler] cobbler import fedora 21 failed

On Wed, Feb 25, 2015 at 11:11 AM, Greg Swift gregsw...@gmail.com wrote:



 On Wed, Feb 25, 2015 at 8:53 AM, Estrella Zaton Martin eza...@iac.es
 wrote:

 Hello,

 I'm trying to import the fedora 21 distro from rsync or dvd with:

 cobbler import --path=/mnt/iso --name=fedora21 --arch=x86_64

 but it fails with !!! TASK FAILED !!!

 After, I tried to add the distro uploaded before with:

 cobbler distro add --name=fedora21-x86_64 --ksmeta=tree=ftp://nas-
 deploy.ll.iac.es/media/fedora/releases/21/Fedora/x86_64/os/
 kernel=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/vmlinuz
 initrd=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/initrd.img
 --arch=x86_64 --breed=redhat --os-version=fedora21

 and it seems to be ok, but if I do: cobbler distro list or cobbler
 report, no distros appear...

 Is there anyone could have imported the fedora21 distro? how?

 Thank you and best regards,

Estrella


 Hi!  I'm actually in the progress of writing a blog post about this
 journey :)

 I can't tell what iso you are using for this, so I'm just going to give
 you my summary of how i got it working. Be sure to change the arch as
 necessary for your setup:

 1: Import Fedora 21 Server netinstall as your distro  (same commands you
 ran above but with one of these isos:
 http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/x86_64/iso/
 )
 2: Sync the Fedora/21/Everything repository (use --mirror-locally=False if
 you can get away with it! :)
 cobbler repo add --name=fedora21-everything-64 --breed=yum --arch=x86_64
 --mirror=
 http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Everything/x86_64/os/
 3: Now they have to be glued together.  You need to copy the .treeinfo and
 images directories from the distro into everything repo.
 cp -pr /var/www/cobbler/ks_mirror/fedora21/{.treeinfo,LiveOS,images}
 /var/www/cobbler/repo_mirror/fedora21-everything-64/
 4: Then you need to edit the distro's tree path
 cobbler distro edit --name=fedora21-x86_64 --ksmeta=tree=http://
 @@http_server@@/cblr/repo_mirror/fedora21-everything-x86_64

 I came up with this at like 1am last night, so i might not have caught
 everything here.  Plus there is probably a was better method. Maybe
 manually syncing the everything repo, adding the distro bits, and then
 using that to do the distro import? Would definitely leave cobbler setup
 cleaner, imho.

 -greg


For what its worth my quickly thrown up blog post just went live:

http://nytefyre.net/2015/02/kickstarting-fedora-21-workstation-with-cobbler/

-greg
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Import RHEL 5u11

2014-10-31 Thread Alastair Munro
Dont know about proper, but i do it this way: 
http://edvoncken.net/2011/08/importing-multiple-centos-linux-dvds-into-cobbler/

Import first iso as normal. Then rsync over 2nd, 3rd, etc  iso's  and run 
createrepo to rebuild repo indexes. Older el releases need -s sha as new 
releases use sha256. All the other args just make createrepo run faster.

Apt is similar; add/update  debs and rebuild apt repo structures.

--
Alastair Munro

-Original Message-
From: Newman, Stuart J. (GSFC-428.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC] 
stuart.j.new...@nasa.gov
To: cobbler mailing list cobbler@lists.fedorahosted.org
Sent: Fri, 31 Oct 2014 19:39
Subject: [cobbler] Import RHEL 5u11

What is the proper way to import both discs of the rhel 5u11 set?



Stuart J. Newman
Engineer 4; Systems
EO-1

Honeywell Technology Solutions Inc

NASA/Goddard Space Flight Center
Building 14, Room E252
Greenbelt, MD 20771

Office: (301) 286-5145
Mobile: (443) 878-0280
E-Mail: stuart.j.new...@nasa.govmailto:stuart.j.new...@nasa.gov



NOTICE: This communication, including any attachment, contains information that 
may be confidential or privileged, and is intended solely for the entity or 
individual to whom it is addressed.  If you are not the intended recipient, 
please notify the sender at once, and you should delete this message and are 
hereby notified that any disclosure, copying, or distribution of this message 
is strictly prohibited.  Nothing in this email, including any attachment, is 
intended to be a legally binding signature.

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Import RHEL 5u11

2014-10-31 Thread Alastair Munro
Doesnt matter. Createrepo doesnt care about the directory structure. That 
process works for me on el 5/6/7 (el means enterprise linux and for us we use 
centos and rhel).

On the client side do a 'yum clean expire-cache'. Then either do a 'yum 
repolist' to list number of packages or 'yum search package' for any new 
packages added from your 2nd cd.

--
Alastair Munro

-Original Message-
From: Newman, Stuart J. (GSFC-428.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC] 
stuart.j.new...@nasa.gov
To: cobbler mailing list cobbler@lists.fedorahosted.org
Sent: Fri, 31 Oct 2014 21:34
Subject: Re: [cobbler] Import RHEL 5u11

The file layout of RH 5 is different than 6.  I tried that, but I am not sure 
it worked.



Stuart J. Newman
Engineer 4; Systems
EO-1

Honeywell Technology Solutions Inc

NASA/Goddard Space Flight Center
Building 14, Room E252
Greenbelt, MD 20771

Office: (301) 286-5145
Mobile: (443) 878-0280
E-Mail: stuart.j.new...@nasa.govmailto:stuart.j.new...@nasa.gov



NOTICE: This communication, including any attachment, contains information that 
may be confidential or privileged, and is intended solely for the entity or 
individual to whom it is addressed.  If you are not the intended recipient, 
please notify the sender at once, and you should delete this message and are 
hereby notified that any disclosure, copying, or distribution of this message 
is strictly prohibited.  Nothing in this email, including any attachment, is 
intended to be a legally binding signature.

From: cobbler-boun...@lists.fedorahosted.org 
[mailto:cobbler-boun...@lists.fedorahosted.org] On Behalf Of Robert Jacobson
Sent: Friday, October 31, 2014 09:11
To: cobbler mailing list
Subject: Re: [cobbler] Import RHEL 5u11


I followed this process for CentOS 6.6 and it worked:

http://edvoncken.net/2011/08/importing-multiple-centos-linux-dvds-into-cobbler/


On 2014-10-31 8:38 AM, Newman, Stuart J. (GSFC-428.0)[HONEYWELL TECHNOLOGY 
SOLUTIONS INC] wrote:
What is the proper way to import both discs of the rhel 5u11 set?




--

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Robert Jacobson   
robert.c.jacob...@nasa.govmailto:robert.c.jacob...@nasa.gov

Lead System Admin   Solar Dynamics Observatory (SDO)

Bldg 14, E222 (301) 286-1591
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] What's the proper way to search the archives of this list?

2014-10-30 Thread Alastair Munro
Hi

Same here. I would be interested in the way to search the archive. 

--
Alastair Munro

-Original Message-
From: Kirk Lewis kirk_le...@jabil.com
To: cobbler@lists.fedorahosted.org
Sent: Thu, 30 Oct 2014 0:35
Subject: [cobbler] What's the proper way to search the archives of this list?

Hi,

I've poked around a bit and don't see any official way to search the
archives.  What am I missing?

-- 
Thanks,

Kirk
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Problems with EPEL7 repo

2014-10-23 Thread Alastair Munro
I have centos and rhel 7.0 repos in cobbler working fine. Used the import iso 
on web page. No issues, apart from centos is missing loads of 32bit libs (which 
rhel has). Not a cobbler issue; issue with contents of iso.

--
Alastair Munro

-Original Message-
From: Orion Poplawski or...@cora.nwra.com
To: cobbler mailing list cobbler@lists.fedorahosted.org
Sent: Thu, 23 Oct 2014 18:38
Subject: Re: [cobbler] Problems with EPEL7 repo

On 10/22/2014 03:53 AM, Personal Técnico wrote:
 Hello,
 
 I'm trying to add EPEL7 repo locally to my repo_mirror folder. In EPEL7 repo
 do not exist config.repo file, so cobbler can't add it. Also, EPEL7 folder
 is structured in subfolders, one per letter, while EPEL6 had all RPMs in the
 same folder... I don't know if it could be the problem but I would need to add
 EPEL7 to my repos.
 

Isn't config.repo something that cobbler creates?  Seems like you problem may
be elsewhere.  What errors do you see? What are the cobbler.log messages?

subfolder repo structure is fine.

-- 
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane   or...@nwra.com
Boulder, CO 80301   http://www.nwra.com
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[cobbler] static ip booting ubuntu/debian from iso image: always uses dhcp

2014-10-23 Thread alastair

Hi

See this on ubuntu 12.04 and 14.04. My cobbler setup runs on centos 6.5 
and I believe I am running cobbler 2.6.3 (not so old).


Debian installer always tries to use dhcp to get an ip on first boot.

To allow static IP's to work, you need to edit the entry on the iso 
(press Tab) and change netcfg/disable_dhcp=true to 
netcfg/disable_autoconfig=true.


I tracked this down and found references to it here: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689531


Searching disable_dhcp here, it appears this is in action_buildiso.py, 
and this could be edited as a work around.


I logged this as a bug. Probably needs some testing to see which 
ubuntu/debian distros this applies to, but I see this since 12.04 (we 
only use the LTS releases).


I logged a bug about this; looks easy to fix.

Will give it some more testing tomorrow.

Alastair Munro
Senior Linux Sysadmin


___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Problems with EPEL7 repo

2014-10-23 Thread Alastair Munro
Wiki page i created a while back: 
https://github.com/cobbler/cobbler/wiki/Creating%20custom%20yum%20repos

I think createrepo deals with subdirs?

Presumably reposync deals with keeping the repo in sync? Guess you need to 
filter the el7 packages out somehow; rsync filtering on filename?

--
Alastair Munro

-Original Message-
From: Orion Poplawski or...@cora.nwra.com
To: cobbler mailing list cobbler@lists.fedorahosted.org
Sent: Thu, 23 Oct 2014 18:38
Subject: Re: [cobbler] Problems with EPEL7 repo

On 10/22/2014 03:53 AM, Personal Técnico wrote:
 Hello,
 
 I'm trying to add EPEL7 repo locally to my repo_mirror folder. In EPEL7 repo
 do not exist config.repo file, so cobbler can't add it. Also, EPEL7 folder
 is structured in subfolders, one per letter, while EPEL6 had all RPMs in the
 same folder... I don't know if it could be the problem but I would need to add
 EPEL7 to my repos.
 

Isn't config.repo something that cobbler creates?  Seems like you problem may
be elsewhere.  What errors do you see? What are the cobbler.log messages?

subfolder repo structure is fine.

-- 
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane   or...@nwra.com
Boulder, CO 80301   http://www.nwra.com
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Can deploy Ubuntu using a kickstart file rather than a preseed?

2014-09-25 Thread alastair
Debian/ubuntu uses debian installer. All lines start d-i. See this that 
I wrote:


https://github.com/cobbler/cobbler/wiki/Using%20template%20scripts%20for%20Debian%20and%20Ubuntu%20seeds

Use the cobbler sample.seed and then replace the pre and post seed files 
with your own, with embedded snippets.


I have not played round with lvm or partitioning on ubuntu/debian, but I 
was able to use all the snippets I wrote for centos with ubuntu (with 
some slight tweaks). These snippets are now multi platform!


The ubuntu guides tell you about debian installer and what the various 
lines do. I didn't have to tweak the sample.seed much.


Alastair

On 2014-09-25 16:39, Will Dennis wrote:

Hi all,

Went looking for an automated way to install a bunch of Ubuntu (14.04)
nodes I had to bring up, and happily found that Ubuntu now supports
Kickstart (albeit in a non-complete way...)

https://help.ubuntu.com/14.04/installation-guide/amd64/ch04s06.html#kickstart
[1]

https://help.ubuntu.com/community/KickstartCompatibility [2]

I created a USB installer, and authored a kickstart file (via the
Ubuntu app system-config-kickstart), placed it in the root of the
USB key, and then in /syslinux/txt.cfg I added ks=cdrom:/ks.cfg to
the end of the append line for the default install. Booted my test
node from the USB key, and the kickstart worked like a champ.

Now, since I've been using Cobbler to install RedHat-family nodes, I
thought I'd try to add a Ubuntu OS choice. So I added the install ISO
to Cobbler via the 'cobbler import' command, and also did a 'cobbler
reposync' to add the local repo. Tried PXE-booting my test node, my
Ubuntu 14.04 OS choice shows up in the menu, and can be installed (but
for some reason stops at the Partition disks setup screen...)

When I checked out the kickstart file for the profile, I was
surprised to find that it was actually a Debian preseed file instead
of a kickstart... Since I don't understand preseed files, and wanted
to use my (working) kickstart file, I imported my kickstart file into
/var/lib/cobbler/kickstarts and then made a copy of the Ubuntu 14.04
profile, and changed the kickstart file to be mine instead of
sample.seed. Upon PXE booting the test node and selecting my new
profile, it errored out with the following message:

The installer failed to process the preconfiguration file from
http://cobbler-svr-ip/cblr/svc/op/ks/profile/profile_name [3]. The
file may be corrupt.

So, is there a way to support using kickstart files against Ubuntu
nodes, instead of preseed files? If so, any docs anywhere?

Also, is there a way to search the list archives (such as Gmane, etc.)
for keywords such as Ubuntu kickstart - I'm sure this has been
discussed before on the list, but couldn't (quickly) find anything...

Thanks,

Will



Links:
--
[1]
https://help.ubuntu.com/14.04/installation-guide/amd64/ch04s06.html#kickstart
[2] https://help.ubuntu.com/community/KickstartCompatibility
[3] http://%3ccobbler-svr-ip%3e/cblr/svc/op/ks/profile/%3cprofile_name

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[cobbler] Fwd: RE: Can deploy Ubuntu using a kickstart file rather than a preseed?

2014-09-25 Thread alastair

I seem to have replied to Will rather than the list via my phone :)

 Original Message 
Subject: RE: [cobbler] Can deploy Ubuntu using a kickstart file rather 
than a preseed?

Date: 2014-09-25 20:53
From: Alastair Munro alast...@alastair-munro.com
To: Will Dennis 

Hi

 I suspect kickstart support in ubuntu is immature at present. It should
get better. As with all things cobbler you need the time and patience to
experiment and test things out. I went with debian installer because we
need to support ubuntu 12.04 and 14.04. Ubuntu ks only turned up in
14.04. However i managed to reuse most of my centos snippets for ubuntu
by just embedding them in a copy of the post seed file. So the change to
d-i was not so painful and not too much reworking required.

 For the cobbler system definitions for ubuntu i had to put default
gateways in the interface rather than the global networking, and it
needs the nameserver fields to be filled in too (rather than just
putting a resolv.conf inplace which gets overwritten by resolver). Other
than that it works the same as fedora/centos.

 --
 Alastair Munro

-Original Message-
From: Will Dennis wden...@nec-labs.com
To: cobbler mailing list cobbler@lists.fedorahosted.org
Cc: alast...@alastair-munro.com alast...@alastair-munro.com
Sent: Thu, 25 Sep 2014 20:40
Subject: RE: [cobbler] Can deploy Ubuntu using a kickstart file rather
than a preseed?

Thanks, Alastair. Guess I'll be learning Debian Installer syntax then
;)

 Would be cool in the future if Cobbler could support either d-i or
kickstart for breed ubuntu, since there is support now, and I'd wager
most Cobbler users are more familiar with kickstart...

 Best,
 Will

 -Original Message-
 From: cobbler-boun...@lists.fedorahosted.org
[mailto:cobbler-boun...@lists.fedorahosted.org] On Behalf Of
alast...@alastair-munro.com
 Sent: Thursday, September 25, 2014 2 [1]:57 PM
 To: cobbler@lists.fedorahosted.org
 Subject: Re: [cobbler] Can deploy Ubuntu using a kickstart file rather
than a preseed?

 Debian/ubuntu uses debian installer. All lines start d-i. See this that
I wrote:

 
https://github.com/cobbler/cobbler/wiki/Using%20template%20scripts%20for%20Debian%20and%20Ubuntu%20seeds

[2]

 Use the cobbler sample.seed and then replace the pre and post seed
files with your own, with embedded snippets.

 I have not played round with lvm or partitioning on ubuntu/debian, but
I was able to use all the snippets I wrote for centos with ubuntu (with
some slight tweaks). These snippets are now multi platform!

 The ubuntu guides tell you about debian installer and what the various
lines do. I didn't have to tweak the sample.seed much.

 Alastair

 On 2014-09-25 16 [3]:39, Will Dennis wrote:
  Hi all,
 
  Went looking for an automated way to install a bunch of Ubuntu
(14.04)
  nodes I had to bring up, and happily found that Ubuntu now supports
  Kickstart (albeit in a non-complete way...)
 
 
https://help.ubuntu.com/14.04/installation-guide/amd64/ch04s06.html#ki
[4]
  ckstart
  [1]
 
  https://help.ubuntu.com/community/KickstartCompatibility [5] [2]
 
  I created a USB installer, and authored a kickstart file (via the
  Ubuntu app system-config-kickstart), placed it in the root of the
  USB key, and then in /syslinux/txt.cfg I added ks=cdrom:/ks.cfg to

  the end of the append line for the default install. Booted my test

  node from the USB key, and the kickstart worked like a champ.
 
  Now, since I've been using Cobbler to install RedHat-family nodes, I

  thought I'd try to add a Ubuntu OS choice. So I added the install ISO

  to Cobbler via the 'cobbler import' command, and also did a 'cobbler

  reposync' to add the local repo. Tried PXE-booting my test node, my
  Ubuntu 14.04 OS choice shows up in the menu, and can be installed
(but
  for some reason stops at the Partition disks setup screen...)
 
  When I checked out the kickstart file for the profile, I was
  surprised to find that it was actually a Debian preseed file instead

  of a kickstart... Since I don't understand preseed files, and wanted

  to use my (working) kickstart file, I imported my kickstart file into

  /var/lib/cobbler/kickstarts and then made a copy of the Ubuntu 14.04

  profile, and changed the kickstart file to be mine instead of
  sample.seed. Upon PXE booting the test node and selecting my new
  profile, it errored out with the following message:
 
  The installer failed to process the preconfiguration file from
  http://cobbler-svr-ip/cblr/svc/op/ks/profile/profile_name [3].
The
  file may be corrupt.
 
  So, is there a way to support using kickstart files against Ubuntu
  nodes, instead of preseed files? If so, any docs anywhere?
 
  Also, is there a way to search the list archives (such as Gmane,
etc.)
  for keywords such as Ubuntu kickstart - I'm sure this has been
  discussed before on the list, but couldn't (quickly) find
anything...
 
  Thanks,
 
  Will
 
 
 
  Links:
  --
  [1]
 
https://help.ubuntu.com/14.04

[cobbler] Fwd: RE: Can deploy Ubuntu using a kickstart file rather than a preseed?

2014-09-25 Thread alastair

https://help.ubuntu.com/14.04/installation-guide/amd64/apb.html

https://help.ubuntu.com/10.04/installation-guide/i386/appendix-preseed.html

 Original Message 
Subject: RE: [cobbler] Can deploy Ubuntu using a kickstart file rather 
than a preseed?

Date: 2014-09-25 22:17
From: Will Dennis wden...@nec-labs.com
To: Alastair Munro alast...@alastair-munro.com



Thanks for your help in this. So far, trying to spec partitions in d-i
has been a rather painful experience... Using a ks file is MUCH less
painful in this area (even if all the partitioner options are not
available.) If you have working examples of any d-i partitioning that
work in Cobbler, I’d be grateful to see them (either “regular”
hard partitions, or LVM...)

Best,

Will

FROM: Alastair Munro [mailto:alast...@alastair-munro.com]
 SENT: Thursday, September 25, 2014 3:53 PM
 TO: Will Dennis
 SUBJECT: RE: [cobbler] Can deploy Ubuntu using a kickstart file rather
than a preseed?

Hi

 I suspect kickstart support in ubuntu is immature at present. It should
get better. As with all things cobbler you need the time and patience to
experiment and test things out. I went with debian installer because we
need to support ubuntu 12.04 and 14.04. Ubuntu ks only turned up in
14.04. However i managed to reuse most of my centos snippets for ubuntu
by just embedding them in a copy of the post seed file. So the change to
d-i was not so painful and not too much reworking required.

 For the cobbler system definitions for ubuntu i had to put default
gateways in the interface rather than the global networking, and it
needs the nameserver fields to be filled in too (rather than just
putting a resolv.conf inplace which gets overwritten by resolver). Other
than that it works the same as fedora/centos.

 --
 Alastair Munro

 -Original Message-
 From: Will Dennis wden...@nec-labs.com
 To: cobbler mailing list cobbler@lists.fedorahosted.org
 Cc: alast...@alastair-munro.com alast...@alastair-munro.com
 Sent: Thu, 25 Sep 2014 20:40
 Subject: RE: [cobbler] Can deploy Ubuntu using a kickstart file rather
than a preseed?

Thanks, Alastair. Guess I'll be learning Debian Installer syntax then ;)


 Would be cool in the future if Cobbler could support either d-i or
kickstart for breed ubuntu, since there is support now, and I'd wager
most Cobbler users are more familiar with kickstart...

 Best,
 Will

 -Original Message-
 From: cobbler-boun...@lists.fedorahosted.org
[mailto:cobbler-boun...@lists.fedorahosted.org] On Behalf Of
alast...@alastair-munro.com
 Sent: Thursday, September 25, 2014 2 [1]:57 PM
 To: cobbler@lists.fedorahosted.org
 Subject: Re: [cobbler] Can deploy Ubuntu using a kickstart file rather
than a preseed?

 Debian/ubuntu uses debian installer. All lines start d-i. See this that
I wrote:

 
https://github.com/cobbler/cobbler/wiki/Using%20template%20scripts%20for%20Debian%20and%20Ubuntu%20seeds

[2]

 Use the cobbler sample.seed and then replace the pre and post seed
files with your own, with embedded snippets.

 I have not played round with lvm or partitioning on ubuntu/debian, but
I was able to use all the snippets I wrote for centos with ubuntu (with
some slight tweaks). These snippets are now multi platform!

 The ubuntu guides tell you about debian installer and what the various
lines do. I didn't have to tweak the sample.seed much.

 Alastair

 On 2014-09-25 16 [3]:39, Will Dennis wrote:
  Hi all,
 
  Went looking for an automated way to install a bunch of Ubuntu
(14.04)
  nodes I had to bring up, and happily found that Ubuntu now supports
  Kickstart (albeit in a non-complete way...)
 
 
https://help.ubuntu.com/14.04/installation-guide/amd64/ch04s06.html#ki
[4]
  ckstart
  [1]
 
  https://help.ubuntu.com/community/KickstartCompatibility [5] [2]
 
  I created a USB installer, and authored a kickstart file (via the
  Ubuntu app system-config-kickstart), placed it in the root of the
  USB key, and then in /syslinux/txt.cfg I added ks=cdrom:/ks.cfg to
  the end of the append line for the default install. Booted my test
  node from the USB key, and the kickstart worked like a champ.
 
  Now, since I've been using Cobbler to install RedHat-family nodes, I
  thought I'd try to add a Ubuntu OS choice. So I added the install ISO

  to Cobbler via the 'cobbler import' command, and also did a 'cobbler
  reposync' to add the local repo. Tried PXE-booting my test node, my
  Ubuntu 14.04 OS choice shows up in the menu, and can be installed
(but
  for some reason stops at the Partition disks setup screen...)
 
  When I checked out the kickstart file for the profile, I was
  surprised to find that it was actually a Debian preseed file instead
  of a kickstart... Since I don't understand preseed files, and wanted
  to use my (working) kickstart file, I imported my kickstart file into

  /var/lib/cobbler/kickstarts and then made a copy of the Ubuntu 14.04
  profile, and changed the kickstart file to be mine instead of
  sample.seed. Upon PXE

[cobbler] Creating custom apt repositories in centos or el based cobbler

2014-09-23 Thread alastair

Hi

Giving back to the community and all that...

I documented how I did this at the cobbler wiki:

Wiki: https://github.com/cobbler/cobbler/wiki

Direct link: 
https://github.com/cobbler/cobbler/wiki/Creating%20custom%20apt%20repositories%20in%20centos%20or%20el%20based%20cobbler


Question: how do folks preseed the pgp key for the apt (d-i 
apt-setup/localX/key)? Is there a proper/referred way to do this? Maybe 
we need an enhancement for this? I made a copy of snippet 
preseed_apt_repo_config and then added code in there:


# Additional repositories, local[0-9] available
 #set $cur=0
 #set $repo_data = $getVar(repo_data,[])
 #for $repo in $repo_data
  #for $dist in $repo.apt_dists
  #set $comps =  .join($repo.apt_components)
 d-i apt-setup/local${cur}/repository string \
  #if $repo.mirror_locally
   http://$http_server/cblr/repo_mirror/${repo.name} $dist $comps
  #else
   ${repo.mirror} $dist $comps
  #end if
  #if $repo.comment != 
 d-i apt-setup/local${cur}/comment string ${repo.comment}
  #end if
  #if $repo.breed == src
 # Enable deb-src lines
 d-i apt-setup/local${cur}/source boolean false
  #end if
 # Add repo pgp pub key
 d-i apt-setup/local${cur}/key string \
   http://$http_server/cblr/repo_mirror/${repo.name}/public.pgp
  #set $cur=$cur+1
  #end for
 #end for


Alastair Munro
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Fwd: [cobbler-devel] Templated scripts

2014-09-17 Thread alastair

Hi

I just worked out how to use them yesterday and documented here: 
https://github.com/cobbler/cobbler/wiki/Using-template-scripts-for-Debian-and-Ubuntu-seeds


Also, I think cobbler_web should have a left hand option for template 
scripts and someone might update the official docs on what they are and 
how to use them?


Thanks

Alastair

On 2014-09-16 20:23, Jörgen Maas wrote:

Hi Cobbler users,

Is anyone using the functionality as described below?
Please let us know!

Thanks

-- Forwarded message --
From: LEONID FLAKS fl...@bnl.gov
Date: Tue, Sep 16, 2014 at 2:46 AM
Subject: Re: [cobbler-devel] Templated scripts
To: cobbler-de...@lists.fedorahosted.org

On 09/15/2014 08:06 PM, Alan Evangelista wrote:


On 09/07/2014 06:22 PM, Alan Evangelista wrote:


I'd like to understand better the purpose of the generic templated
scripts available in the
scripts directory in Cobbler repository. The script() method in
cobbler/services.py seems
to be the responsible for creating these and, according to
documentation, the purpose
is to generate scripts based on snippets useful for post or late
action where it
is difficult to embed the script in the
kickstart/autoyast/preseed file. I see only two
of those in upstream Cobbler: preseed_early_default and
preseed_late_default.
These scripts only include snippets and are only used in sample
preseed available
in kickstarts/ directory. I dont understand why these 2 scripts
could not be embedded
directly in the sample preseed.

Is anyone using this feature?

Regards,
Alan Evangelista


Considering the lack of answers and apparent lack of interest in
this feature, do we
need to keep it in the future versions of Cobbler? Removing it
would make code simpler.

Regards,
Alan Evangelista


  I am very much interested in this feature. The problem is that
preseed file that is used in debian/ubunty installer (d-i) is a lot
less convenient then kickstart. In particular, early- and late-
installation scripts are not very easy to configure. I had to cook a
one line command with some sort of black magic to make it work if I
used snippets. I hope those scripts made it easier and more readable.
I never got a chance to give them a try, but it is on my to-do list. I
am not sure who contributed this feature to cobbler, but the lack of
documentation or use-case example make them less appealing. I think,
they work as some sort of wrappers, which are not necessary for
anaconda-based installations.
 This mail list is not very active lately, unfortunately, but lack of
the answer does not mean lack of interst

 Leon

 ___
 cobbler-devel mailing list
 cobbler-de...@lists.fedorahosted.org
 https://lists.fedorahosted.org/mailman/listinfo/cobbler-devel [1]

--
Grtz,
Jörgen Maas

Links:
--
[1] https://lists.fedorahosted.org/mailman/listinfo/cobbler-devel

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Creating custom/local repos

2014-08-19 Thread alastair
I understand yum repo generation the same as Andre. The only thing is 
the $yum_repo_stanza will leave anything in the /etc/yum.repos.d there, 
so I had a block in our ks to remove anything in there, apart from 
cobbler-config.repo. In our setup systems don't have internet access so 
we can't use repos on the internet. Thus we use the cobbler server as 
the yum repo.


Interesting to note that cobbler puts all the repo configs in the one 
file; cobbler-config.repo.


Have you selected all the required repos in the profile? If you click on 
View Kickstart you should see the included repos at the top of the 
kickstart.


Documentation is minimal with cobber, so you just have to try and work 
out what it does. Similar to alot of open source; you need to play 
around with it and work out how it works.


Alastair

On 2014-08-19 16:07, André Gemünd wrote:

Michael,

I assume you mean on hosts which you installed with Cobbler? In that
case, it depends. There is an entry called Repos on the objects, I
conveniently set them on the profiles, in which you add references to
the mirrored repos. If you then also have a $yum_config_stanza in your
kickstarts %post section, cobbler will create a cobbler-config.repo in
the hosts /etc/yum.repos.d/ folder. Note that this is not necessarily
enough for RHEL/SL/CentOS, as they have rpms which contain the
upstream repos. So I usually exclude the yum-config packages from
installation and check for other repo files in my post scripts. btw,
if you also add a $yum_repo_stanza in the head of your kickstart, you
can directly use the additional repos during installation, which is
e.g. handy for installing with the updates repo or EPEL enabled.

Cheers
Andre

- Ursprüngliche Mail -

On 8/12/14 3:02 PM, alast...@alastair-munro.com wrote:
 Added a page on the wiki on how to create your own custom repos for
 putting rpms that don't fit anywhere else:

This leads me to a question that I've been working on.

I just need to know if I've been working under an incorrect
assumption.

I was under the impression that *somehow*, if I add a repo (and
mirror
it) under cobbler (e.g. EPEL) that cobbler would/could create a repo
entry, in my case, in /etc/yum.repos.d/ for EPEL that points to my
mirror and not to the upstream master.

Did I mis understand something?

Right now I'm assuming that I've not gotten that part of the
configuration done correctly and will eventually get it right along
with all the other things I'm doing.

Thanks for everyone's time.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler Linux-Mint support

2014-08-16 Thread Alastair Munro
Ubuntu based distros: you need to import the server or alternate versions. The 
live cd ones fail. I dont know why; maybe the live cd install process is 
incompatible with cobbler or ubuntu seeds? Maybe someone else knows why?

Alastair

--
Alastair Munro

-Original Message-
From: Dhanasekaran Anbalagan bugcy...@gmail.com
To: cobbler mailing list cobbler@lists.fedorahosted.org
Sent: Sat, 16 Aug 2014 19:30
Subject: [cobbler] cobbler Linux-Mint support

Hi Guys,

when I trying to import linux mint 17. I am getting some Error.

I am using  cobbler - 2.6.5-1

# cobbler import --path=/mnt/ --name=linux_mint_17 --arch=x86_64
task started: 2014-08-16_130234_import
task started (id=Media import, time=Sat Aug 16 13:02:34 2014)
Found a candidate signature: breed=freebsd, version=8.3
Found a candidate signature: breed=freebsd, version=8.2
Found a candidate signature: breed=freebsd, version=9.0
Found a candidate signature: breed=freebsd, version=8.4
Found a candidate signature: breed=ubuntu, version=precise
running: /usr/bin/file
/srv/www/cobbler/ks_mirror/linux_mint_17-x86_64/dists/trusty/Release
received on stdout:
/srv/www/cobbler/ks_mirror/linux_mint_17-x86_64/dists/trusty/Release: ASCII
text

received on stderr:
Found a candidate signature: breed=ubuntu, version=precise
running: /usr/bin/file
/srv/www/cobbler/ks_mirror/linux_mint_17-x86_64/dists/trusty/Release
received on stdout:
/srv/www/cobbler/ks_mirror/linux_mint_17-x86_64/dists/trusty/Release: ASCII
text

received on stderr:
Found a candidate signature: breed=ubuntu, version=saucy
running: /usr/bin/file
/srv/www/cobbler/ks_mirror/linux_mint_17-x86_64/dists/trusty/Release
received on stdout:
/srv/www/cobbler/ks_mirror/linux_mint_17-x86_64/dists/trusty/Release: ASCII
text

received on stderr:
Found a candidate signature: breed=ubuntu, version=saucy
running: /usr/bin/file
/srv/www/cobbler/ks_mirror/linux_mint_17-x86_64/dists/trusty/Release
received on stdout:
/srv/www/cobbler/ks_mirror/linux_mint_17-x86_64/dists/trusty/Release: ASCII
text

received on stderr:
Found a candidate signature: breed=ubuntu, version=trusty
running: /usr/bin/file
/srv/www/cobbler/ks_mirror/linux_mint_17-x86_64/dists/trusty/Release
received on stdout:
/srv/www/cobbler/ks_mirror/linux_mint_17-x86_64/dists/trusty/Release: ASCII
text

received on stderr:
Found a matching signature: breed=ubuntu, version=trusty
Adding distros from path /srv/www/cobbler/ks_mirror/linux_mint_17-x86_64:
No distros imported, bailing out
!!! TASK FAILED !!!


Please guide me. How to fix this.


Did I learn something today? If not, I wasted it.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Kickstaring across a site-to-site link

2014-08-15 Thread alastair

Hi

You are probably best creating a local cobbler slave server. This will 
also save doing installs across your wan link. I wrote this recently 
that might help: 
https://github.com/cobbler/cobbler/wiki/Speeding%20up%20triggers%20to%20sync%20remote%20cobbler%20servers


Or a vlan that traverses data centers? Install on vlan and the swap 
IPs/vlan after build?


Alastair

On 2014-08-15 01:53, Caleb Moniot wrote:

Cobblers,

I'm sure I'm not the only one in this situation so I'm hoping some
others in the cobbler community can lend me the benefit of their
experience in this scenario.

I'm in a environment where I don't have control over the DHCP
configuration. To get around this I setup cobbler and used dnsmasq's
proxy-dhcp feature. This has been working great but now we've grown
beyond our current server room and have added a new building with a
site-to-site link. The servers I need to kickstart to are across this
link. Everything's routed so I can access the systems (physical, VM
hosts, etc) normally when they have and OS. The problem is that my
cobbler server now can't hear their DHCP requests so they don't pxe
boot.

For the time being I'm using the buildiso feature of cobbler to create
an ISO that contains all the system entries for the servers across the
link and using that to boot them for kickstarting. This gets them
kickstarted but we're in a testing environment so this process will be
done frequently (sometimes multiple times per day).  Manually
booting, selecting the correct system entry, then detaching the ISO
once complete will quickly become cumbersome when kickstarting lots of
systems.

So far what's I've considered is:

* Direct connect from cobbler server to remote site.
* Mirrored cobbler server at remote site.

Are there any other features of cobbler that I could leverage to solve
this problem or does anyone else have recommendations from their
experience in a similar situation?

Sincerely,

Caleb Moniot

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[cobbler] Creating custom/local repos

2014-08-12 Thread alastair

Hi All

Added a page on the wiki on how to create your own custom repos for 
putting rpms that don't fit anywhere else:


https://github.com/cobbler/cobbler/wiki

Alastair
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] How to speed up triggers

2014-08-11 Thread alastair

Hi All

I updated the wiki: https://github.com/cobbler/cobbler/wiki

Hopefully it will help someone out there (as lots of googling helps me) 
:)


Alastair

On 2014-08-10 06:39, Jörgen Maas wrote:

Hi Alastair,

Great writeup. We do have a wiki where Cobbler users can share their
solutions/experiences
It would be great if you would be willing to put this information up
there: https://github.com/cobbler/cobbler/wiki [4]

I hope other users will be inspired to do the same :)

On Sat, Aug 9, 2014 at 9:39 PM, alast...@alastair-munro.com wrote:


Hi

Just wanted to share something with the list. When creating
triggers to say run a 'cobbler replicate' via ssh, etc, to remote
cobbler servers, the web page waits for the ssh at the remote end to
complete. This produced quite a delay if you are say updating a
system and waiting for the webpage to refresh. The reason for this
is it waits for the ssh to complete, even if you background it or
nohup/at/etc it.

I found a way to daemonize the remote command. Using daemon from
here: http://libslack.org/daemon/ [1]. This daemonizes the ssh
command, thus giving an instant response. On centos/rhel 6, just
install the rpm.

The other nice thing about daemon is the --name=something switch;
daemon will only allow the command to run if there is not another
daemon running with the same name. Thus you could put the same
command in cron to run every so often on the slave, to ensure its
kept up to date. This means the cron and trigger runs would never
clash, or subsequent cron runs would not clash with an earlier run.
For example if you add a new distro, the replicate command could
take a while to run to rsync across the new distro and the next cron
run may run into it.

From our setup we have one master and three slaves. In effect one
cobbler server per site/data center. This means no installs across
wan links and our server builds are always setup with their yum
repos in the local site. However we have simple admin; only one
cobbler web and a standard config across all servers. Only have to
remember to set the server override for systems for the local site
cobbler server. We do a mix of pxe and generated.iso builds (both
are quite easy)

# mkdir /usr/local/cobbler
# cd /var/lib/cobbler/triggers/add/system/post/
# cat sync-slaves.sh
#!/bin/bash

# A Munro 6 Aug 2014: sync slaves
# make sure you set up ssh keys for this...

# space delimited list of slaves
SLAVES=gb-wat-svv-0600 us-ham-svv-0600 us-lou-svv-0600
MASTER=cobbler
SSH=ssh -oConnectTimeout=2 -oStrictHostKeyChecking=no
-oUserKnownHostsFile=/dev/null -oBatchMode=yes -oLogLevel=quiet
LOG=/var/log/cobbler/triggers.log

[ -f $LOG ]  rm -f $LOG

for h in $SLAVES
do
#   slow way:background so they are done in parallel
#   however ssh still waits for all the commands to complete
#    $SSH $h cobbler replicate --master=$MASTER --systems=*
--profiles=* --prune 21  $LOG  
#   using daemon from http://libslack.org/daemon [2] is fast and
instantaneous. The run gets daemonized remotely and returns
instantly
    $SSH $h daemon --name=cob /usr/local/cobbler/sync-master.sh
21  $LOG  
done

# chmod u+x sync-slaves.sh

On the slave:

# cat /usr/local/cobbler/sync-master.sh
cobbler replicate --master=cobbler --systems=* --profiles=* --prune

# chmod u+x /usr/local/cobbler/sync-master.sh

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler [3]


--
Grtz,
Jörgen Maas

Links:
--
[1] http://libslack.org/daemon/
[2] http://libslack.org/daemon
[3] https://lists.fedorahosted.org/mailman/listinfo/cobbler
[4] https://github.com/cobbler/cobbler/wiki

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[cobbler] How to speed up triggers

2014-08-09 Thread alastair

Hi

Just wanted to share something with the list. When creating triggers to 
say run a 'cobbler replicate' via ssh, etc, to remote cobbler servers, 
the web page waits for the ssh at the remote end to complete. This 
produced quite a delay if you are say updating a system and waiting for 
the webpage to refresh. The reason for this is it waits for the ssh to 
complete, even if you background it or nohup/at/etc it.


I found a way to daemonize the remote command. Using daemon from here: 
http://libslack.org/daemon/. This daemonizes the ssh command, thus 
giving an instant response. On centos/rhel 6, just install the rpm.


The other nice thing about daemon is the --name=something switch; daemon 
will only allow the command to run if there is not another daemon 
running with the same name. Thus you could put the same command in cron 
to run every so often on the slave, to ensure its kept up to date. This 
means the cron and trigger runs would never clash, or subsequent cron 
runs would not clash with an earlier run. For example if you add a new 
distro, the replicate command could take a while to run to rsync across 
the new distro and the next cron run may run into it.


From our setup we have one master and three slaves. In effect one 
cobbler server per site/data center. This means no installs across wan 
links and our server builds are always setup with their yum repos in the 
local site. However we have simple admin; only one cobbler web and a 
standard config across all servers. Only have to remember to set the 
server override for systems for the local site cobbler server. We do a 
mix of pxe and generated.iso builds (both are quite easy)


# mkdir /usr/local/cobbler
# cd /var/lib/cobbler/triggers/add/system/post/
# cat sync-slaves.sh
#!/bin/bash

# A Munro 6 Aug 2014: sync slaves
# make sure you set up ssh keys for this...

# space delimited list of slaves
SLAVES=gb-wat-svv-0600 us-ham-svv-0600 us-lou-svv-0600
MASTER=cobbler
SSH=ssh -oConnectTimeout=2 -oStrictHostKeyChecking=no 
-oUserKnownHostsFile=/dev/null -oBatchMode=yes -oLogLevel=quiet

LOG=/var/log/cobbler/triggers.log

[ -f $LOG ]  rm -f $LOG

for h in $SLAVES
do
#   slow way:background so they are done in parallel
#   however ssh still waits for all the commands to complete
#$SSH $h cobbler replicate --master=$MASTER --systems=* 
--profiles=* --prune 21  $LOG  
#   using daemon from http://libslack.org/daemon is fast and 
instantaneous. The run gets daemonized remotely and returns instantly
$SSH $h daemon --name=cob /usr/local/cobbler/sync-master.sh 21 
 $LOG  

done

# chmod u+x sync-slaves.sh

On the slave:

# cat /usr/local/cobbler/sync-master.sh
cobbler replicate --master=cobbler --systems=* --profiles=* --prune

# chmod u+x /usr/local/cobbler/sync-master.sh

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Issue with 2.6.4-1 cobbler

2014-08-09 Thread Alastair Munro
Is apache started? Suggest you see whether you can connect to the url?

--
Alastair Munro

-Original Message-
From: Dhanasekaran Anbalagan bugcy...@gmail.com
To: cobbler@lists.fedorahosted.org
Sent: Sun, 10 Aug 2014 0:51
Subject: [cobbler] Issue with 2.6.4-1 cobbler

Hi Guys,

Today I tested with cobbler_2.6.4-1 with my ubuntu 12.04 server.

It's says *ProtocolError: ProtocolError for 127.0.0.1:80/cobbler_api
http://127.0.0.1:80/cobbler_api: 404 Not Found*

I verified /var/www/cobbler_api I don't see any folder

I tested same version with ubuntu 14.04 also not working

root@dhana:~# dpkg -i cobbler_2.6.4-1_all.deb
Selecting previously unselected package cobbler.
(Reading database ... 229802 files and directories currently installed.)
Unpacking cobbler (from cobbler_2.6.4-1_all.deb) ...
Setting up cobbler (2.6.4-1) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
root@dhana:~# /etc/init.d/cobblerd start
Starting cobbler daemon: already started
root@dhana:~# cobbler --version
httpd does not appear to be running and proxying cobbler, or SELinux is in
the way. Original traceback:
Traceback (most recent call last):
  File /usr/lib/python2.7/dist-packages/cobbler/cli.py, line 252, in
check_setup
s.ping()
  File /usr/lib/python2.7/xmlrpclib.py, line 1224, in __call__
return self.__send(self.__name, args)
  File /usr/lib/python2.7/xmlrpclib.py, line 1578, in __request
verbose=self.__verbose
  File /usr/lib/python2.7/xmlrpclib.py, line 1264, in request
return self.single_request(host, handler, request_body, verbose)
  File /usr/lib/python2.7/xmlrpclib.py, line 1312, in single_request
response.msg,
ProtocolError: ProtocolError for 127.0.0.1:80/cobbler_api: 404 Not Found
root@dhana:~#

Please guide me, How to fix this.

-Dhanasekaran

Did I learn something today? If not, I wasted it.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Issue with 2.6.4-1 cobbler

2014-08-09 Thread Alastair Munro
Doesn't 'cobbler check' tell you to set server and next_server to something 
other than 127.0.0.1?

--
Alastair Munro

-Original Message-
From: Dhanasekaran Anbalagan bugcy...@gmail.com
To: cobbler mailing list cobbler@lists.fedorahosted.org
Sent: Sun, 10 Aug 2014 1:24
Subject: Re: [cobbler] Issue with 2.6.4-1 cobbler

Hi,

apache already running, I able to telnet 80 port,

root@dhana:~# telnet 127.0.0.1 80
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
^]
telnet quit
Connection closed.
root@dhana:~# /etc/init.d/apache2 status
Apache2 is running (pid 11322).
root@dhana:~#


Note :: cobbler_api folder not there in /var/www location



Did I learn something today? If not, I wasted it.


On Sun, Aug 10, 2014 at 5:41 AM, Alastair Munro alast...@alastair-munro.com
 wrote:

 Is apache started? Suggest you see whether you can connect to the url?

 --
 Alastair Munro


 -Original Message-
 From: Dhanasekaran Anbalagan bugcy...@gmail.com
 To: cobbler@lists.fedorahosted.org
 Sent: Sun, 10 Aug 2014 0:51
 Subject: [cobbler] Issue with 2.6.4-1 cobbler

 Hi Guys,

 Today I tested with cobbler_2.6.4-1 with my ubuntu 12.04 server.

 It's says *ProtocolError: ProtocolError for 127.0.0.1:80/cobbler_api
 http://127.0.0.1:80/cobbler_api: 404 Not Found*

 I verified /var/www/cobbler_api I don't see any folder

 I tested same version with ubuntu 14.04 also not working

 root@dhana:~# dpkg -i cobbler_2.6.4-1_all.deb
 Selecting previously unselected package cobbler.
 (Reading database ... 229802 files and directories currently installed.)
 Unpacking cobbler (from cobbler_2.6.4-1_all.deb) ...
 Setting up cobbler (2.6.4-1) ...
 Processing triggers for man-db ...
 Processing triggers for ureadahead ...
 root@dhana:~# /etc/init.d/cobblerd start
 Starting cobbler daemon: already started
 root@dhana:~# cobbler --version
 httpd does not appear to be running and proxying cobbler, or SELinux is in
 the way. Original traceback:
 Traceback (most recent call last):
   File /usr/lib/python2.7/dist-packages/cobbler/cli.py, line 252, in
 check_setup
 s.ping()
   File /usr/lib/python2.7/xmlrpclib.py, line 1224, in __call__
 return self.__send(self.__name, args)
   File /usr/lib/python2.7/xmlrpclib.py, line 1578, in __request
 verbose=self.__verbose
   File /usr/lib/python2.7/xmlrpclib.py, line 1264, in request
 return self.single_request(host, handler, request_body, verbose)
   File /usr/lib/python2.7/xmlrpclib.py, line 1312, in single_request
 response.msg,
 ProtocolError: ProtocolError for 127.0.0.1:80/cobbler_api: 404 Not Found
 root@dhana:~#

 Please guide me, How to fix this.

 -Dhanasekaran

 Did I learn something today? If not, I wasted it.

 ___
 cobbler mailing list
 cobbler@lists.fedorahosted.org
 https://lists.fedorahosted.org/mailman/listinfo/cobbler


___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Issue with 2.6.4-1 cobbler

2014-08-09 Thread alastair
You need to follow the installation instructions: 
http://www.cobblerd.org/manuals/2.4.0/2_-_Cobbler_Quickstart_Guide.html


You should at least follow this before contacting the mailing list. Also 
google.


Think about it, a 127.0.0.1 address would not work? You need to put the 
ip of your server in there for clients across the network to connect to 
your cobbler server...


google isolinux and pxe boot so you understand the basics of what you 
are trying to do.


On 2014-08-10 01:39, Dhanasekaran Anbalagan wrote:

Hi Alastair,

I am getting same Error, when I try to execute cobbler check, 

root@dhana:~# cat /etc/cobbler/settings|grep next_server
next_server: 127.0.0.1
root@dhana:~#  cobbler check
httpd does not appear to be running and proxying cobbler, or SELinux
is in the way. Original traceback:
Traceback (most recent call last):
  File /usr/lib/python2.7/dist-packages/cobbler/cli.py, line 252,
in check_setup
    s.ping()
  File /usr/lib/python2.7/xmlrpclib.py, line 1224, in __call__
    return self.__send(self.__name, args)
  File /usr/lib/python2.7/xmlrpclib.py, line 1578, in __request
    verbose=self.__verbose
  File /usr/lib/python2.7/xmlrpclib.py, line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File /usr/lib/python2.7/xmlrpclib.py, line 1312, in
single_request
    response.msg,
ProtocolError: ProtocolError for 127.0.0.1:80/cobbler_api [1]: 404
Not Found
root@dhana:~# 

 :~# cat /etc/hosts
127.0.0.1 localhost

Did I learn something today? If not, I wasted it.

On Sun, Aug 10, 2014 at 5:58 AM, Alastair Munro
alast...@alastair-munro.com wrote:


Doesn't 'cobbler check' tell you to set server and next_server to
something other than 127.0.0.1 [3]?

--
Alastair Munro

-Original Message-
From: Dhanasekaran Anbalagan bugcy...@gmail.com

To: cobbler mailing list cobbler@lists.fedorahosted.org
Sent: Sun, 10 Aug 2014 1:24
Subject: Re: [cobbler] Issue with 2.6.4-1 cobbler

Hi,

apache already running, I able to telnet 80 port,

root@dhana:~# telnet 127.0.0.1 80
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
^]
telnet quit
Connection closed.
root@dhana:~# /etc/init.d/apache2 status
Apache2 is running (pid 11322).
root@dhana:~# 

Note :: cobbler_api folder not there in /var/www location

Did I learn something today? If not, I wasted it.

On Sun, Aug 10, 2014 at 5:41 AM, Alastair Munro
alast...@alastair-munro.com wrote:


Is apache started? Suggest you see whether you can connect to the
url?

--
Alastair Munro

-Original Message-
From: Dhanasekaran Anbalagan bugcy...@gmail.com
To: cobbler@lists.fedorahosted.org
Sent: Sun, 10 Aug 2014 0:51
Subject: [cobbler] Issue with 2.6.4-1 cobbler

Hi Guys,

Today I tested with cobbler_2.6.4-1 with my ubuntu 12.04 server.

It's says PROTOCOLERROR: PROTOCOLERROR FOR
127.0.0.1:80/COBBLER_API [1]: 404 NOT FOUND

I verified /var/www/cobbler_api I don't see any folder

I tested same version with ubuntu 14.04 also not working

root@dhana:~# dpkg -i cobbler_2.6.4-1_all.deb
Selecting previously unselected package cobbler.
(Reading database ... 229802 files and directories currently
installed.)
Unpacking cobbler (from cobbler_2.6.4-1_all.deb) ...
Setting up cobbler (2.6.4-1) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
root@dhana:~# /etc/init.d/cobblerd start
Starting cobbler daemon: already started
root@dhana:~# cobbler --version
httpd does not appear to be running and proxying cobbler, or
SELinux is in the way. Original traceback:
Traceback (most recent call last):
  File /usr/lib/python2.7/dist-packages/cobbler/cli.py, line
252, in check_setup
    s.ping()
  File /usr/lib/python2.7/xmlrpclib.py, line 1224, in __call__
    return self.__send(self.__name, args)
  File /usr/lib/python2.7/xmlrpclib.py, line 1578, in __request

    verbose=self.__verbose
  File /usr/lib/python2.7/xmlrpclib.py, line 1264, in request
    return self.single_request(host, handler, request_body,
verbose)
  File /usr/lib/python2.7/xmlrpclib.py, line 1312, in
single_request
    response.msg,
ProtocolError: ProtocolError for 127.0.0.1:80/cobbler_api [1]:
404 Not Found
root@dhana:~# 

Please guide me, How to fix this.

-Dhanasekaran

Did I learn something today? If not, I wasted it.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler [2]


___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler [2]




Links:
--
[1] http://127.0.0.1:80/cobbler_api
[2] https://lists.fedorahosted.org/mailman/listinfo/cobbler
[3] http://127.0.0.1

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

___
cobbler mailing list
cobbler

[cobbler] Putting files under /var/www/cobbler/pub?

2014-08-05 Thread alastair
I have not been able to find any documentation about what you can or 
cannot put in the pub dir. I know the cobbler web generated iso gets put 
here, and the pub dir appears to be left alone when doing a cobbler 
sync, etc. Is it safe to put stuff in here or is there then potential 
that it might get wiped if cobbler was upgraded at a future date? 
Googling finds deleting the pub dir was an issue and it got fixed! Would 
hate to loose the dir one day!


Another question: Our cobbler server makes an ideal internal yum server. 
Its already got the distros installed and thus it makes sense to use it 
(most of the time cobbler is sitting there doing nothing). Thus I would 
like to create a supplemental repo for all the additional stuff that we 
install. Where should I put these repos? Under the pub dir?


If using pub is not a good idea, then its probably worth moving the 
stuff I have in there elsewhere and adding another http browsable area 
to apache like http://server/cobbler?


Thanks

Alastair Munro

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] How to debug...

2014-08-02 Thread Alastair Munro
Are you sure static was not ticked for ip on the interface ?

--
Alastair Munro

-Original Message-
From: André Gemünd andre.gemu...@scai.fraunhofer.de
To: mtier...@mit.edu, cobbler mailing list cobbler@lists.fedorahosted.org
Sent: Sat, 02 Aug 2014 10:57
Subject: Re: [cobbler] How to debug...

Hi Michael,

thats a bit strange, as you should at least get some error message. Was that a 
full cobbler sync output you posted? There should e.g. at least be a 
'generating PXE configuration files' output. Which version of Cobbler are you 
using? cobbler distro list, cobbler profile list  cobbler system list all 
output the correct items and give you no error message? Nothing in the logs?
The code you are looking for is in pxegen.py btw.

Greetings
Andre

- Ursprüngliche Mail -
 On 7/31/14 7:41 PM, alast...@alastair-munro.com wrote:
  Is there a file with the mac address in this dir?
 
 This is the problem, no MAC based files are being created.
 
 I'm sure it's something that will be obvious once it's found. :(
 ___
 cobbler mailing list
 cobbler@lists.fedorahosted.org
 https://lists.fedorahosted.org/mailman/listinfo/cobbler
 

-- 
André Gemünd
Fraunhofer-Institute for Algorithms and Scientific Computing
andre.gemu...@scai.fraunhofer.de
Tel: +49 2241 14-2193
/C=DE/O=Fraunhofer/OU=SCAI/OU=People/CN=Andre Gemuend
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] How to debug...

2014-07-31 Thread alastair
Check next_server in /etc/cobbler settings, restart xinetd, add -v (or 
-vv or -vvv) to /etc/xinetd.d/tftp file, what is in 
/var/lib/tftp/pxelinux.cfg? Is there a file with the mac address in this 
dir? Check logging in /var/log/messages... All this should give you an 
idea of what is going on.


If you are using a different subnet to the primary one in cobbler 
settings, set the server override to be the ip of the interface for the 
subnet (this propogates to the tftp next server and the server address 
in the pxelinux cfg file; change the next_server setting in the dhcp 
template to be $iface.next_server).


On 2014-07-31 20:17, Michael Tiernan wrote:

On 7/31/14 2:57 PM, Jörgen Maas wrote:

if you are using the python tftp server these system definitions don't
get generated iirc.


I'm sorry, maybe I'm dense. I'm obviously saying the wrong thing here
because the tftp server selection doesn't change this. (I've tested it 
too.)


When the target system initiates the PXE boot process, after the 
address
is assigned, the target system requests, via tftp protocol a file 
which,

if the MAC address of the target matches, is sent back to the target to
then boot from.

It is *those* files and confgs that are not being created and prepared
for these target systems.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler_web does not support sub profiles fully?

2014-07-21 Thread alastair

Hi

Wondered if anyone had looked at this bug yet?

Reason I want to use sub profiles is we try and keep things simple. So 
we have a profile called el6. We have one kickstart that caters for all 
our builds (this harps back to satelite days when we had so many 
profiles it was a nightmare maintaining it). We then create a sub 
profile called shop-cent6u5. Within this we have our distro and a ksmeta 
key build=shop. The ksmeta build selects the build within the single 
kickstart. So the sub profile allows us to mix and match distros and 
builds and we have just one master profile and one kickstart file. The 
sub profile will inherit everything for the master. Master profile el6 
will cater for all el6 distros (rh,centos, oracle linux and minor 
releases within el6; eg update 5).


Thanks

Alastair

On 2014-07-17 09:42, alast...@alastair-munro.com wrote:

Hi

I restarted cobblerd and it lost my sub profile! Now if I try add it
back with the same name no profile is created! I will try a different
name. So I can confirm that bug :)

I wanted to use them so I could put all my templates (eg resolv.conf)
in the parent and then just clone for minor build variations.

Thanks

Alastair



On 2014-07-17 09:37, Jörgen Maas wrote:

Hi,

I was just wondering who would use subprofiles ;-).
We have another issue with them, even from the cli (see:
https://github.com/cobbler/cobbler/issues/1030 [2])

But to answer your question: i'm pretty sure there's no such setting
to enable the selection of distros from cobbler-web
I assume the distro can't be changed because that is fetched from the
parent profile.

I will take a look...

On Thu, Jul 17, 2014 at 10:24 AM, alast...@alastair-munro.com wrote:


Hi

cobbler and cobbler-web at 2.6.1-7.1.

Sub profiles cannot select distros from the drop down on the web
page. Is there a setting as to whether sub profiles can be edited or
not? I thought they were just like profiles and take values from the
parent if a value is not set? I created the sub profile from the web
page. I had problems selecting other options and had to set them
from the command line.

Reason I want a parent profile is I want to put all my templated
files in there, have a generic el6 parent and then use sub profiles
to select different distros (rh/centos/si-linux varying versions of
el6, minor release, etc) and pass a ksmeta flag to select different
builds (we like to reduce the number of kickstarts to maintain and
just have one that does everything).

Functionality from the command line is fine.

Let me know if a new version is coming soon :)

Thanks in advance

Alastair
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler [1]


--
Grtz,
Jörgen Maas

Links:
--
[1] https://lists.fedorahosted.org/mailman/listinfo/cobbler
[2] https://github.com/cobbler/cobbler/issues/1030

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler_web does not support sub profiles fully?

2014-07-21 Thread alastair

Hi

Seems the problem is to do with the Distro field. I lost the Distro 
field on the web page; not sure why...


I moved aside my sub profile:

mv /var/lib/cobbler/config/profiles.d/shop-cent6u5.json /var/tmp/

I was able to then recreate the sub profile from the web page, and a 
restart keeps the sub profile. However I loose the distro field on the 
web page. When I added --distro to the sub profile from the command 
line, I then loose the sub profile from the web page and the command 
line, but the json file is still there. It also disappears after a 
cobblerd restart (as in the bug report).


You should be able to inherit anything from the parent? In my case I may 
want to override the distro in the sub profile.


Original: distro: null
After adding --distro: distro: cent6u5-x86_64

I tried setting distro back to null but that didn't work. So I just 
deleted the sub profile json file (nothing uses it) and restarted 
cobblerd.


Alastair


On 2014-07-21 13:18, alast...@alastair-munro.com wrote:

Hi

Wondered if anyone had looked at this bug yet?

Reason I want to use sub profiles is we try and keep things simple. So
we have a profile called el6. We have one kickstart that caters for
all our builds (this harps back to satelite days when we had so many
profiles it was a nightmare maintaining it). We then create a sub
profile called shop-cent6u5. Within this we have our distro and a
ksmeta key build=shop. The ksmeta build selects the build within the
single kickstart. So the sub profile allows us to mix and match
distros and builds and we have just one master profile and one
kickstart file. The sub profile will inherit everything for the
master. Master profile el6 will cater for all el6 distros (rh,centos,
oracle linux and minor releases within el6; eg update 5).

Thanks

Alastair

On 2014-07-17 09:42, alast...@alastair-munro.com wrote:

Hi

I restarted cobblerd and it lost my sub profile! Now if I try add it
back with the same name no profile is created! I will try a different
name. So I can confirm that bug :)

I wanted to use them so I could put all my templates (eg resolv.conf)
in the parent and then just clone for minor build variations.

Thanks

Alastair



On 2014-07-17 09:37, Jörgen Maas wrote:

Hi,

I was just wondering who would use subprofiles ;-).
We have another issue with them, even from the cli (see:
https://github.com/cobbler/cobbler/issues/1030 [2])

But to answer your question: i'm pretty sure there's no such setting
to enable the selection of distros from cobbler-web
I assume the distro can't be changed because that is fetched from the
parent profile.

I will take a look...

On Thu, Jul 17, 2014 at 10:24 AM, alast...@alastair-munro.com 
wrote:



Hi

cobbler and cobbler-web at 2.6.1-7.1.

Sub profiles cannot select distros from the drop down on the web
page. Is there a setting as to whether sub profiles can be edited or
not? I thought they were just like profiles and take values from the
parent if a value is not set? I created the sub profile from the web
page. I had problems selecting other options and had to set them
from the command line.

Reason I want a parent profile is I want to put all my templated
files in there, have a generic el6 parent and then use sub profiles
to select different distros (rh/centos/si-linux varying versions of
el6, minor release, etc) and pass a ksmeta flag to select different
builds (we like to reduce the number of kickstarts to maintain and
just have one that does everything).

Functionality from the command line is fine.

Let me know if a new version is coming soon :)

Thanks in advance

Alastair
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler [1]


--
Grtz,
Jörgen Maas

Links:
--
[1] https://lists.fedorahosted.org/mailman/listinfo/cobbler
[2] https://github.com/cobbler/cobbler/issues/1030

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[cobbler] cobbler_web does not support sub profiles fully?

2014-07-17 Thread alastair

Hi

cobbler and cobbler-web at 2.6.1-7.1.

Sub profiles cannot select distros from the drop down on the web page. 
Is there a setting as to whether sub profiles can be edited or not? I 
thought they were just like profiles and take values from the parent if 
a value is not set? I created the sub profile from the web page. I had 
problems selecting other options and had to set them from the command 
line.


Reason I want a parent profile is I want to put all my templated files 
in there, have a generic el6 parent and then use sub profiles to select 
different distros (rh/centos/si-linux varying versions of el6, minor 
release, etc) and pass a ksmeta flag to select different builds (we like 
to reduce the number of kickstarts to maintain and just have one that 
does everything).


Functionality from the command line is fine.

Let me know if a new version is coming soon :)

Thanks in advance

Alastair
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler_web does not support sub profiles fully?

2014-07-17 Thread alastair

Hi

I restarted cobblerd and it lost my sub profile! Now if I try add it 
back with the same name no profile is created! I will try a different 
name. So I can confirm that bug :)


I wanted to use them so I could put all my templates (eg resolv.conf) in 
the parent and then just clone for minor build variations.


Thanks

Alastair



On 2014-07-17 09:37, Jörgen Maas wrote:

Hi,

I was just wondering who would use subprofiles ;-).
We have another issue with them, even from the cli (see:
https://github.com/cobbler/cobbler/issues/1030 [2])

But to answer your question: i'm pretty sure there's no such setting
to enable the selection of distros from cobbler-web
I assume the distro can't be changed because that is fetched from the
parent profile.

I will take a look...

On Thu, Jul 17, 2014 at 10:24 AM, alast...@alastair-munro.com wrote:


Hi

cobbler and cobbler-web at 2.6.1-7.1.

Sub profiles cannot select distros from the drop down on the web
page. Is there a setting as to whether sub profiles can be edited or
not? I thought they were just like profiles and take values from the
parent if a value is not set? I created the sub profile from the web
page. I had problems selecting other options and had to set them
from the command line.

Reason I want a parent profile is I want to put all my templated
files in there, have a generic el6 parent and then use sub profiles
to select different distros (rh/centos/si-linux varying versions of
el6, minor release, etc) and pass a ksmeta flag to select different
builds (we like to reduce the number of kickstarts to maintain and
just have one that does everything).

Functionality from the command line is fine.

Let me know if a new version is coming soon :)

Thanks in advance

Alastair
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler [1]


--
Grtz,
Jörgen Maas

Links:
--
[1] https://lists.fedorahosted.org/mailman/listinfo/cobbler
[2] https://github.com/cobbler/cobbler/issues/1030

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler