[cobbler] Re: How to Change the boot Device order after a PXE installation of Virtualbox VM

2017-10-29 Thread Matt Luettgen
pxe_just_once will allow a system to still dhcp (if system profile is not
set to static-ip...), but will not do the pxe handoff..forcing boot from
other options available in bios.

On Sun, Oct 29, 2017 at 2:09 PM, Locane  wrote:

> I'm glad it's working for you in Traiano.
> Can you check on the boot order for your VM?  I bet it's unchanged, and
> what Cobbler is actually doing is setting up a "personalized" pxe boot menu
> for your system that just loads local disk.  I briefly checked out the
> pxe_just_once flag and it described how it functions but not how it
> accomplishes its function.  I'm guessing it works like that.
>
> On Sun, Oct 29, 2017 at 11:54 AM, Traiano Welcome 
> wrote:
>
>> Hi Matt
>>
>> On Sun, Oct 29, 2017 at 6:49 PM, Matt Luettgen 
>> wrote:
>> > There is a way to have cobbler disable DHCP after the install.  I'd
>> have to
>> > login to work to tell you how to do it.  What I do is what Locane
>> said.  Set
>> > the boot to Disk first, DHCP/PXE 2nd.  First VM harddisk fails, so
>> DHCP/PXE
>> > is the next step.  Then cobbler installs the OS.  The next boot attempt
>> goes
>> > to the OS (because the boot order says disk first...)
>>
>> Thanks, that works beautifully :-)
>> I think the cobbler configuration option is: pxe_just_once: 1
>>
>>
>> >
>> > On Sun, Oct 29, 2017 at 12:19 PM, Traiano Welcome 
>> wrote:
>> >>
>> >> Hi Locane
>> >>
>> >>
>> >> On Sun, Oct 29, 2017 at 1:40 PM, Locane  wrote:
>> >> > I don't work with VMs very much, but unless Virtual Box has some
>> kind of
>> >> > special API that allows you to connect to it and adjust "BIOS
>> settings"
>> >> > the
>> >> > answer is probably No.
>> >>
>> >> That makes sense. I was hoping cobbler might include such a feature.
>> >>
>> >>
>> >> >
>> >> > Setting things like boot order or booting to a specific device
>> requires
>> >> > systems support from the manufacturer, in my experience.
>> Supermicro's
>> >> > IPMI
>> >> > for example.
>> >> >
>> >>
>> >> It seems cobbler supports this via IPMI on bare metal.
>> >>
>> >>
>> >> > Why does your boot order have to be PXE -> Disk?  I think it should
>> be
>> >> > flipped...  If the disk is empty it should try PXE next.
>> >> >
>> >>
>> >>
>> >> For the initial installation, the VM device boot order needs to be PXE
>> ->
>> >> Disk.
>> >> Once the installation has completed, reboot happens and the order
>> >> needs to be disk first, or else we get a re-install loop, or hang.
>> >> Basically my objective is to get a smooth boot into a newly installed
>> >> system after the initial installation where the VM started off booting
>> >> with PXE.
>> >>
>> >>
>> >> > Again though, don't work with VMs very much.
>> >> >
>> >> > PS: SE Linux gets in the way of cobbler in pretty much everything.
>> Just
>> >> > turn it off.
>> >> >
>> >> > On Oct 29, 2017 3:13 AM, "Traiano Welcome" 
>> wrote:
>> >> >>
>> >> >> Hi List
>> >> >>
>> >> >> I'm using cobbler to install virtualbox vms, which requires the boot
>> >> >> order to be PXE -> Disk.
>> >> >>
>> >> >> However I'm not sure how to get cobbler to reconfigure the boot
>> order
>> >> >> so the VM boots off the disk after the install is complete (my VM
>> >> >> attempts to boot off pxe again but fails because this is disabled in
>> >> >> cobbler).
>> >> >>
>> >> >> Is there a confguration option in cobbler / kickstart that
>> >> >> reconfigures the virtualbox device boot order once the install is
>> >> >> complete?
>> >> >>
>> >> >> Thanks,
>> >> >> Traiano
>> >> >> ___
>> >> >> cobbler mailing list -- cobbler@lists.fedorahosted.org
>> >> >> To unsubscribe send an email to cobbler-leave@lists.fedorahost
>> ed.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 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 mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org


[cobbler] Re: How to Change the boot Device order after a PXE installation of Virtualbox VM

2017-10-29 Thread Matt Luettgen
There is a way to have cobbler disable DHCP after the install.  I'd have to
login to work to tell you how to do it.  What I do is what Locane said.
Set the boot to Disk first, DHCP/PXE 2nd.  First VM harddisk fails, so
DHCP/PXE is the next step.  Then cobbler installs the OS.  The next boot
attempt goes to the OS (because the boot order says disk first...)

On Sun, Oct 29, 2017 at 12:19 PM, Traiano Welcome  wrote:

> Hi Locane
>
>
> On Sun, Oct 29, 2017 at 1:40 PM, Locane  wrote:
> > I don't work with VMs very much, but unless Virtual Box has some kind of
> > special API that allows you to connect to it and adjust "BIOS settings"
> the
> > answer is probably No.
>
> That makes sense. I was hoping cobbler might include such a feature.
>
>
> >
> > Setting things like boot order or booting to a specific device requires
> > systems support from the manufacturer, in my experience.  Supermicro's
> IPMI
> > for example.
> >
>
> It seems cobbler supports this via IPMI on bare metal.
>
>
> > Why does your boot order have to be PXE -> Disk?  I think it should be
> > flipped...  If the disk is empty it should try PXE next.
> >
>
>
> For the initial installation, the VM device boot order needs to be PXE ->
> Disk.
> Once the installation has completed, reboot happens and the order
> needs to be disk first, or else we get a re-install loop, or hang.
> Basically my objective is to get a smooth boot into a newly installed
> system after the initial installation where the VM started off booting
> with PXE.
>
>
> > Again though, don't work with VMs very much.
> >
> > PS: SE Linux gets in the way of cobbler in pretty much everything.  Just
> > turn it off.
> >
> > On Oct 29, 2017 3:13 AM, "Traiano Welcome"  wrote:
> >>
> >> Hi List
> >>
> >> I'm using cobbler to install virtualbox vms, which requires the boot
> >> order to be PXE -> Disk.
> >>
> >> However I'm not sure how to get cobbler to reconfigure the boot order
> >> so the VM boots off the disk after the install is complete (my VM
> >> attempts to boot off pxe again but fails because this is disabled in
> >> cobbler).
> >>
> >> Is there a confguration option in cobbler / kickstart that
> >> reconfigures the virtualbox device boot order once the install is
> >> complete?
> >>
> >> Thanks,
> >> Traiano
> >> ___
> >> 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 mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org


[cobbler] Re: Puppet integration but only one execution

2017-04-04 Thread Matt Luettgen
Why not use Cobblers configuration management?

On Tue, Apr 4, 2017 at 8:57 AM, Personal Técnico 
wrote:

> Hello,
>
> I'm trying to integrate Puppet into Cobbler server. By the moment, I have
> change some parameters in /etc/cobbler/settings:
>
> puppet_auto_setup: 1
> sign_puppet_certs_automatically: 1
> puppetca_path: "/usr/bin/puppet"
> remove_old_puppet_certs_automatically: 1
> puppet_server: 'puppet'
> puppet_version: 3
>
> With that, when I install a new machine, puppet is executed correctly
> there but daemon "puppet" is configured as "enabled", so it rexecutes
> "puppet agent -t" each time (depending of puppet agent configuration).
>
> What I want to get is configure puppet for executing just one time during
> installation. Because of I configure "system poweroff" in kickstart file,
> if I restarted that computer, puppet service will be "disabled" and, if I
> need reexecute it, I will do "by hand".
>
> I have tried to add a last line in kickstart as "systemctl stop puppet"
> and "systemctl disable puppet", but with that both command, puppet doesn't
> executed even the first time :( :( :(
>
> Could anyone help me???
>
> Thanks.
>
>
>
> ___
> 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: Sending keys/files to deployed hosts

2016-10-26 Thread Matt Luettgen
Look into koan, --template-files and --update-files
Http://fedorahosted.org/cobbler/wiki//BuiltinConfigManagement

On Oct 25, 2016 10:50 PM, "Tyler Wilson"  wrote:

> Hey All,
>
> New Cobbler user here. What is the best method of ensuring deployed nodes
> have sensitive keys (chef keys, ssh, etc) securely uploaded when completed?
> Am I able to send them securely from the cobbler host somehow?
>
> Thanks for any and all tips!
>
> ___
> 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 Matt Luettgen
There are multiple reasons why teaming is better than bonding and fiber.  I
am also making an attempt to get Johan an answer instead of conjecture.

It doesn't seem like it would be that hard to have cobbler setup teaming
via config files with a trigger during post-install...

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#sec-Creating_a_Network_Team_Using_ifcfg_Files

https://fedorahosted.org/cobbler/wiki/CobblerTriggers


On Oct 15, 2016 4:19 AM,  wrote:

>

> >

> :) 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 
> Cc: cobbler mailing list 
> 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 <1604> .
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 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 Matt Luettgen
teamd has better speeds, options, etc...

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

On Oct 14, 2016 12:00 PM,  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" 
>>> 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 Matt Luettgen
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"  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
> 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
> 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: Fw: questo è estremamente fantastico

2016-09-28 Thread Matt Luettgen
I believe this is spam.  I wget the URL, which redirects



2016-09-28 10:07 GMT-05:00 Nicolo ntonietti :

> Ciao!
>
>
>
> Ho visto alcune cose super cool di recente e ho voluto condividerle con
> te, ti prego di dargli un’occhiata http://santino.youngharlotes.com/tji
>
>
>
> Saluti,Nicolo ntonietti
>
> ___
> 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: python-simplejson

2016-09-20 Thread Matt Luettgen
Which distro?

On Sep 20, 2016 1:11 PM, "Chris Johnson" 
wrote:

> Hi.
>
> I'm probably going to get yelled by someone but at this point I jut don't
> care any more.
>
> Would someone please either show me a file suitable for /etc/yum.prepos.d/
> or point me to one for
> python-simplejson?  Or of python-simplejson included in something then
> what and where is that please?  Cobbler needs it.
>
> Thank you.
> ___
> 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: PXE/DHCP issue on cobbler

2016-03-22 Thread Matt Luettgen
I believe Dhcpd isn't going to be happy with a single NIC configured with a
public IP that is different than its setup to serve unless you know
something about dhcp that I do not.
On Mar 22, 2016 11:08 AM, "Bon Onlines"  wrote:

> Any one has any idea about this issue?
>
> On Sat, Mar 19, 2016 at 6:37 PM, Bon Onlines  wrote:
> > Hi
> >
> > I already have added DHCPDRAGS in the config file, however it still does
> not
> > work
> >
> > What do you with the same subnet? Am I missing something here?
> >
> > I have only one NIC Card and have a public ip, lets say 100.0.0.2/30 so
> I
> > can access my server from outside.
> >
> > What I want to do is to run cobbler and get automation os installation
> for
> > my other servers.
> >
> > so what should I do here?
> >
> >
> > On Saturday, March 19, 2016, Locane  wrote:
> >>
> >> Well, I don't know about the Cobbler crash, but I do know that I specify
> >> an adapter in my dhcpd config, and it is therefore in my Cobbler
> template:
> >>
> >> DHCPDARGS="eth0";
> >>
> >> You also need to make sure your eth0 has the same subnet mask as your
> >> dhcpd config.
> >>
> >> I hope someone else has better input.
> >>
> >> On Mar 19, 2016 10:03 AM, "Bon Onlines"  wrote:
> >>>
> >>> Hello guys,
> >>>
> >>> Can someone take a look at this issue and let me know your ideas?
> >>>
> >>> https://github.com/cobbler/cobbler/issues/1642
> >>> ___
> >>> 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 mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


[cobbler] Re: HELP! Cobbler won't start - IndentationError: unindent does not match any outer indentation level

2016-01-15 Thread Matt Luettgen
If you move the changed profile(s) out of the way, does cobbler start?
On Jan 15, 2016 5:38 PM, "Orion Poplawski"  wrote:

> On 01/15/2016 10:31 AM, o haya wrote:
>
>> Hi,
>>
>> I think that this was because I tried to edit one of the files in the
>> profiles.d directory using VI/VIM, but after I did that, Cobbler would no
>> longer start.  When I try to start it, I now get this:
>>
>> [root@cobbler config]# service cobblerd start
>> Starting cobbler daemon: Traceback (most recent call last):
>>File "/usr/bin/cobblerd", line 20, in 
>>  import cobbler.cobblerd as app
>>File "/usr/lib/python2.6/site-packages/cobbler/cobblerd.py", line 35,
>> in 
>>  import api as cobbler_api
>>File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 29, in
>> 
>>  import action_sync
>>File "/usr/lib/python2.6/site-packages/cobbler/action_sync.py", line
>> 35, in 
>>  import templar
>>File "/usr/lib/python2.6/site-packages/cobbler/templar.py", line 209
>>  data_out = t.respond()
>>   ^
>> IndentationError: unindent does not match any outer indentation level
>> [FAILED]
>>
>>
>> I've tried to restore the file I had edited to it's original condition
>> but still get this error.
>>
>> Is the fact that there is this file in the profiles.d recorded somewhere
>> else in Cobbler?  The reason I asked is that I even tried to remove the
>> file from the profiles.d directory completely and still got the same error.
>>
>> Thanks in advance!
>>
>> Jim
>>
>
> This looks like the  /usr/lib/python2.6/site-packages/cobbler/templar.py
> file has the problem
>
>
> --
> 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


Re: [cobbler] [EXTERNAL] Re: DHCP with custom MAC Addresses?

2015-11-10 Thread Matt Luettgen
What can you see from the VM?  Does it pick up dhcp but fail tftp?

Is cobbler generating the necessary file for pxe?   i.e.
/tftpboot/pxelinux.cfg/00-ma-ca-dd-re-ss

I am under the impression that netboot is enabled (as you have stated using
cobblers generated MAC works). But I still feel the need to ask if you have
it setup for a static address, or are pulling from a pool.  If from a pool,
are sure you have not ran out of leases?

What do you see on the VM console when pxe fails?
On Nov 10, 2015 12:58 PM, "Sam Sen"  wrote:

> Using cobbler web, I inserted the generated MAC into the Mac Address line.
> Cobbler sync and started up a blank VM. Nothing.
>
> If I click the "Generate Random Mac" button under the "Networking" tab,
> grab the Mac it gives me and populate the field within my VM settings, then
> it works.
>
>
> From:  on behalf of Matt Luettgen
> Reply-To: "cobbler@lists.fedorahosted.org"
> Date: Tuesday, November 10, 2015 at 1:52 PM
> To: "cobbler@lists.fedorahosted.org"
> Subject: Re: [cobbler] [EXTERNAL] Re: DHCP with custom MAC Addresses?
>
> How did you populate cobbler with the MACs?
> On Nov 10, 2015 12:19 PM, "Sam Sen"  wrote:
>
>>
>> I used a python script I found online as well as a website that generates
>> them I know it works because once the VM is running, the VM runs just fine
>> once I plug in the Mac that was generated. For whatever reason, cobbler
>> doesn't allow hosts to pxeboot unless cobbler generates it.
>>
>>
>>
>> On Tue, Nov 10, 2015 at 10:12 AM -0800, "Matt Luettgen" <
>> mattluett...@gmail.com> wrote:
>>
>> I certainly hope not.  Are you sure you are feeding it legit MACs?  Are
>> you using the command line app, web interface, or the API to add/edit MACs?
>> On Nov 10, 2015 5:48 AM, "Sam Sen"  wrote:
>>
>>> I'm running 2.6 ... Was it removed?
>>>
>>>
>>>
>>> On Mon, Nov 9, 2015 at 8:53 PM -0800, "Matt Luettgen" <
>>> mattluett...@gmail.com> wrote:
>>>
>>> Custom MAC addresses work with the 2.4 branch.  Cobbler uses Pythons
>>> netaddr to check the validity of MACs.
>>>
>>> On Mon, Nov 9, 2015 at 10:33 PM, Jörgen Maas 
>>> wrote:
>>>
>>>> I dont think so :(
>>>> Sounds like a legit feature request, mayb you can work on this?
>>>>
>>>> On Mon, Nov 9, 2015 at 10:34 PM, Sam Sen  wrote:
>>>>
>>>>> I generated a handful of valid MAC Addresses using a Python script I
>>>>> created. For whatever reason, my Vms won't pick up a DHCP address from my
>>>>> cobbler server (Cobbler managed DHCP). I finally realized that unless I
>>>>> have Cobbler generate the MAC addresses, my Vms wont PXEBoot. I ended up
>>>>> using the MAC generated via the Cobbler web, but I prefer to use different
>>>>> ranges within our network. Is there a setting somewhere that Cobbler only
>>>>> accepts a certain range?
>>>>>
>>>>> ___
>>>>> cobbler mailing list
>>>>> cobbler@lists.fedorahosted.org
>>>>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Grtz,
>>>> Jörgen Maas
>>>>
>>>> ___
>>>> 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 mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] [EXTERNAL] Re: DHCP with custom MAC Addresses?

2015-11-10 Thread Matt Luettgen
How did you populate cobbler with the MACs?
On Nov 10, 2015 12:19 PM, "Sam Sen"  wrote:

>
> I used a python script I found online as well as a website that generates
> them I know it works because once the VM is running, the VM runs just fine
> once I plug in the Mac that was generated. For whatever reason, cobbler
> doesn't allow hosts to pxeboot unless cobbler generates it.
>
>
>
> On Tue, Nov 10, 2015 at 10:12 AM -0800, "Matt Luettgen" <
> mattluett...@gmail.com> wrote:
>
> I certainly hope not.  Are you sure you are feeding it legit MACs?  Are
> you using the command line app, web interface, or the API to add/edit MACs?
> On Nov 10, 2015 5:48 AM, "Sam Sen"  wrote:
>
>> I'm running 2.6 ... Was it removed?
>>
>>
>>
>> On Mon, Nov 9, 2015 at 8:53 PM -0800, "Matt Luettgen" <
>> mattluett...@gmail.com> wrote:
>>
>> Custom MAC addresses work with the 2.4 branch.  Cobbler uses Pythons
>> netaddr to check the validity of MACs.
>>
>> On Mon, Nov 9, 2015 at 10:33 PM, Jörgen Maas 
>> wrote:
>>
>>> I dont think so :(
>>> Sounds like a legit feature request, mayb you can work on this?
>>>
>>> On Mon, Nov 9, 2015 at 10:34 PM, Sam Sen  wrote:
>>>
>>>> I generated a handful of valid MAC Addresses using a Python script I
>>>> created. For whatever reason, my Vms won't pick up a DHCP address from my
>>>> cobbler server (Cobbler managed DHCP). I finally realized that unless I
>>>> have Cobbler generate the MAC addresses, my Vms wont PXEBoot. I ended up
>>>> using the MAC generated via the Cobbler web, but I prefer to use different
>>>> ranges within our network. Is there a setting somewhere that Cobbler only
>>>> accepts a certain range?
>>>>
>>>> ___
>>>> cobbler mailing list
>>>> cobbler@lists.fedorahosted.org
>>>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>>>
>>>>
>>>
>>>
>>> --
>>> Grtz,
>>> Jörgen Maas
>>>
>>> ___
>>> 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


Re: [cobbler] [EXTERNAL] Re: DHCP with custom MAC Addresses?

2015-11-10 Thread Matt Luettgen
I certainly hope not.  Are you sure you are feeding it legit MACs?  Are you
using the command line app, web interface, or the API to add/edit MACs?
On Nov 10, 2015 5:48 AM, "Sam Sen"  wrote:

> I'm running 2.6 ... Was it removed?
>
>
>
> On Mon, Nov 9, 2015 at 8:53 PM -0800, "Matt Luettgen" <
> mattluett...@gmail.com> wrote:
>
> Custom MAC addresses work with the 2.4 branch.  Cobbler uses Pythons
> netaddr to check the validity of MACs.
>
> On Mon, Nov 9, 2015 at 10:33 PM, Jörgen Maas 
> wrote:
>
>> I dont think so :(
>> Sounds like a legit feature request, mayb you can work on this?
>>
>> On Mon, Nov 9, 2015 at 10:34 PM, Sam Sen  wrote:
>>
>>> I generated a handful of valid MAC Addresses using a Python script I
>>> created. For whatever reason, my Vms won't pick up a DHCP address from my
>>> cobbler server (Cobbler managed DHCP). I finally realized that unless I
>>> have Cobbler generate the MAC addresses, my Vms wont PXEBoot. I ended up
>>> using the MAC generated via the Cobbler web, but I prefer to use different
>>> ranges within our network. Is there a setting somewhere that Cobbler only
>>> accepts a certain range?
>>>
>>> ___
>>> cobbler mailing list
>>> cobbler@lists.fedorahosted.org
>>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>>
>>>
>>
>>
>> --
>> Grtz,
>> Jörgen Maas
>>
>> ___
>> 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] DHCP with custom MAC Addresses?

2015-11-09 Thread Matt Luettgen
Custom MAC addresses work with the 2.4 branch.  Cobbler uses Pythons
netaddr to check the validity of MACs.

On Mon, Nov 9, 2015 at 10:33 PM, Jörgen Maas  wrote:

> I dont think so :(
> Sounds like a legit feature request, mayb you can work on this?
>
> On Mon, Nov 9, 2015 at 10:34 PM, Sam Sen  wrote:
>
>> I generated a handful of valid MAC Addresses using a Python script I
>> created. For whatever reason, my Vms won't pick up a DHCP address from my
>> cobbler server (Cobbler managed DHCP). I finally realized that unless I
>> have Cobbler generate the MAC addresses, my Vms wont PXEBoot. I ended up
>> using the MAC generated via the Cobbler web, but I prefer to use different
>> ranges within our network. Is there a setting somewhere that Cobbler only
>> accepts a certain range?
>>
>> ___
>> cobbler mailing list
>> cobbler@lists.fedorahosted.org
>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>
>>
>
>
> --
> Grtz,
> Jörgen Maas
>
> ___
> 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 reposync failed

2015-06-05 Thread Matt Luettgen
I've used http with success, rsync isn't always an option.
On Jun 5, 2015 6:24 AM, "Alan Evangelista" 
wrote:

> On 06/04/2015 02:09 PM, Chris Patti wrote:
>
>> On Fri, May 29, 2015 at 4:14 PM, Alan Evangelista
>>  wrote:
>>
>>> On 05/29/2015 12:16 PM, Chris Patti wrote:
>>>
 After talking with folks on the freenode #cobbler channel about this,
 please consider changing your protocol from http to rsync.  You will
 likely see much better results as we have.

>>>
>>> As http mirroring seems unstable, imho we should either not support http
>>> mirroring or
>>> at least mention the issue in Cobbler documentation.
>>>
>> I agree completely.
>>
>
> I do not use cobbler reposync, so I could use users feedback here. We
> should drop http mirroring
> or just mentioning it is unstable in Cobbler documentation is enough?
> Someone has used repo
> mirroring via HTTP successfully?
>
>
> Regards,
> Alan Evangelista
>
> ___
> 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-03-10 Thread Matt Luettgen
>From some Google results it looks like ilo2 and ilo3/4 behave differently.
I checked github.com to see if any patches were passed up but I did not see
any relevance. My search query was 'cobbler ilo3'

https://www.google.com/url?sa=t&source=web&cd=1&ved=0CBwQFjAA&url=https%3A%2F%2Flists.fedorahosted.org%2Fpipermail%2Fcobbler%2F2012-August%2F008138.html&ei=siP_VK3QGsW1ggTDk4C4Bg&usg=AFQjCNFwzvZyaIuihkZCrVFXVrh4pw0HwQ&sig2=GBaMS6Dam4saY1zyNlEHxw

Unfortunately it looks like this was last addresses in the 2.2 series of
cobbler,  and as best I can tell no pull requests were submitted to add
ilo3/4 functionality.
On Mar 10, 2015 12:00 PM, "Alan Evangelista" 
wrote:

> On 03/10/2015 01:13 PM, Uma Murali wrote:
>
>> Thanks for the response. It does directly work but not through the
>> commands mentioned earlier.
>>
>
> Are the parameters used to power on/off identical in ilo, ilo3 and ilo4
> fence agents? Could you paste the commands
> you used to power on/off the system in ilo, ilo3 and ilo4?
>
> Do you see ilo3/ilo4 fence agents output in reboot task log in Cobbler?
> The fence agent failed or something else did?
>
>
> Regards,
> Alan Evangelista
>
> ___
> 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 import

2015-01-30 Thread Matt Luettgen
There is a redhat-release-foo.rpm file contained in the iso.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler import

2015-01-30 Thread Matt Luettgen
Sorry, should have reread your post before replying.  I am curious if your
redhat-release file lines up with the regex for version_file.
On Jan 30, 2015 11:59 AM, "Magee, Fred"  wrote:

>  The redhat section of the report is:
>
>
>
> redhat:
>
> cloudlinux6
>
> fedora16
>
> fedora17
>
> fedora18
>
> fedora19
>
> fedora20
>
> fedora21
>
> rhel4
>
> rhel5
>
> rhel6
>
> rhel7
>
>
>
> Fred Magee, DTM
>
> Systems Programmer
>
> (505)768-2978
>
> (505)768-4615 (Fax)
>
> (505)205-5753 (Cell)
>
> fma...@cabq.gov
>
>
>
> *From:* cobbler-boun...@lists.fedorahosted.org [mailto:
> cobbler-boun...@lists.fedorahosted.org] *On Behalf Of *Matt Luettgen
> *Sent:* Friday, January 30, 2015 10:56 AM
> *To:* cobbler mailing list
> *Subject:* Re: [cobbler] cobbler import
>
>
>
> cobbler signature update; cobbler signature report
>
> On Jan 30, 2015 11:45 AM, "Magee, Fred"  wrote:
>
> Here it is:
>
>
>
> Fri Jan 30 10:44:25 2015 - ERROR | No signature matched in
> /var/www/cobbler/ks_mirror/rhel-server-5.11
>
> Fri Jan 30 10:44:25 2015 - ERROR | ### TASK FAILED ###
>
>
>
> Fred Magee, DTM
>
> Systems Programmer
>
> (505)768-2978
>
> (505)768-4615 (Fax)
>
> (505)205-5753 (Cell)
>
> fma...@cabq.gov
>
>
>
> *From:* cobbler-boun...@lists.fedorahosted.org [mailto:
> cobbler-boun...@lists.fedorahosted.org] *On Behalf Of *Matt Luettgen
> *Sent:* Friday, January 30, 2015 10:41 AM
> *To:* cobbler mailing list
> *Subject:* Re: [cobbler] cobbler import
>
>
>
> 160bytes?  Paste it inline
>
> On Jan 30, 2015 9:49 AM, "Magee, Fred"  wrote:
>
>  I don't know how to paste into a pastebin. The file is less than 160
> bytes. Can I attach it to an email? If not, how do I do the pastebin
> procedure?
>
> Thanks.
>
> Fred Magee, DTM
> Systems Programmer
> (505)768-2978
> (505)768-4615 (Fax)
> (505)205-5753 (Cell)
> fma...@cabq.gov
>
>
> -Original Message-
> From: cobbler-boun...@lists.fedorahosted.org [mailto:
> cobbler-boun...@lists.fedorahosted.org] On Behalf Of Alan Evangelista
> Sent: Friday, January 30, 2015 8:44 AM
> To: cobbler@lists.fedorahosted.org
> Subject: Re: [cobbler] cobbler import
>
> On 01/29/2015 05:02 PM, Magee, Fred wrote:
> >
> > I am running Cobbler 2.6.3 and I have mounted the source directory on
> > /mnt. My ISO is rhel-server-5.11-i386-dvd.iso. When I run cobbler
> > import I get:
> >
> > cobbler import --path=/mnt --name redhat
> >
> > task started: 2015-01-29_115144_import
> >
> > task started (id=Media import, time=Thu Jan 29 11:51:44 2015)
> >
> > No signature matched in /var/www/cobbler/ks_mirror/redhat
> >
> > !!! TASK FAILED !!!
> >
> > The relevant section of distro_signatures.json is:
> >
> > "redhat": {
> >
> >   "rhel5": {
> >
> > "signatures":["RedHat","Server","CentOS","Client"],
> >
> > "version_file":"(redhat|sl|centos)-release-5([^\\.][\\w]*)?[\\.-]+(.*)
> > \\.rpm",
> >
> > "version_file_regex":null,
> >
> > "kernel_arch":"kernel-(.*).rpm",
> >
> > "kernel_arch_regex":null,
> >
> > "supported_arches":["i386","x86_64","ppc","ppc64"],
> >
> > "supported_repo_breeds":["rsync", "rhn", "yum"],
> >
> > "kernel_file":"vmlinuz(.*)",
> >
> > "initrd_file":"initrd(.*)\\.img",
> >
> > "isolinux_ok":false,
> >
> > "default_kickstart":"/var/lib/cobbler/kickstarts/sample.ks",
> >
> > "kernel_options":"",
> >
> > "kernel_options_post":"",
> >
> > "boot_files":[]
> >
> >},
> >
> > What am I missing for import to recognize the signature for this release?
> >
>
> I'd guess Cobbler is not finding the signature dir (one of the values in
> signatures list) or the version file in the mounted ISO.
>
> Task log is in /var/log/cobbler/tasks. Could you paste this task log in a
> pastebin and send us its URL?
> Then I can help further.
>
>
> Regards,
> Alan Evangelista
>
> __

Re: [cobbler] cobbler import

2015-01-30 Thread Matt Luettgen
cobbler signature update; cobbler signature report
On Jan 30, 2015 11:45 AM, "Magee, Fred"  wrote:

>  Here it is:
>
>
>
> Fri Jan 30 10:44:25 2015 - ERROR | No signature matched in
> /var/www/cobbler/ks_mirror/rhel-server-5.11
>
> Fri Jan 30 10:44:25 2015 - ERROR | ### TASK FAILED ###
>
>
>
> Fred Magee, DTM
>
> Systems Programmer
>
> (505)768-2978
>
> (505)768-4615 (Fax)
>
> (505)205-5753 (Cell)
>
> fma...@cabq.gov
>
>
>
> *From:* cobbler-boun...@lists.fedorahosted.org [mailto:
> cobbler-boun...@lists.fedorahosted.org] *On Behalf Of *Matt Luettgen
> *Sent:* Friday, January 30, 2015 10:41 AM
> *To:* cobbler mailing list
> *Subject:* Re: [cobbler] cobbler import
>
>
>
> 160bytes?  Paste it inline
>
> On Jan 30, 2015 9:49 AM, "Magee, Fred"  wrote:
>
>  I don't know how to paste into a pastebin. The file is less than 160
> bytes. Can I attach it to an email? If not, how do I do the pastebin
> procedure?
>
> Thanks.
>
> Fred Magee, DTM
> Systems Programmer
> (505)768-2978
> (505)768-4615 (Fax)
> (505)205-5753 (Cell)
> fma...@cabq.gov
>
>
> -Original Message-
> From: cobbler-boun...@lists.fedorahosted.org [mailto:
> cobbler-boun...@lists.fedorahosted.org] On Behalf Of Alan Evangelista
> Sent: Friday, January 30, 2015 8:44 AM
> To: cobbler@lists.fedorahosted.org
> Subject: Re: [cobbler] cobbler import
>
> On 01/29/2015 05:02 PM, Magee, Fred wrote:
> >
> > I am running Cobbler 2.6.3 and I have mounted the source directory on
> > /mnt. My ISO is rhel-server-5.11-i386-dvd.iso. When I run cobbler
> > import I get:
> >
> > cobbler import --path=/mnt --name redhat
> >
> > task started: 2015-01-29_115144_import
> >
> > task started (id=Media import, time=Thu Jan 29 11:51:44 2015)
> >
> > No signature matched in /var/www/cobbler/ks_mirror/redhat
> >
> > !!! TASK FAILED !!!
> >
> > The relevant section of distro_signatures.json is:
> >
> > "redhat": {
> >
> >   "rhel5": {
> >
> > "signatures":["RedHat","Server","CentOS","Client"],
> >
> > "version_file":"(redhat|sl|centos)-release-5([^\\.][\\w]*)?[\\.-]+(.*)
> > \\.rpm",
> >
> > "version_file_regex":null,
> >
> > "kernel_arch":"kernel-(.*).rpm",
> >
> > "kernel_arch_regex":null,
> >
> > "supported_arches":["i386","x86_64","ppc","ppc64"],
> >
> > "supported_repo_breeds":["rsync", "rhn", "yum"],
> >
> > "kernel_file":"vmlinuz(.*)",
> >
> > "initrd_file":"initrd(.*)\\.img",
> >
> > "isolinux_ok":false,
> >
> > "default_kickstart":"/var/lib/cobbler/kickstarts/sample.ks",
> >
> > "kernel_options":"",
> >
> > "kernel_options_post":"",
> >
> > "boot_files":[]
> >
> >},
> >
> > What am I missing for import to recognize the signature for this release?
> >
>
> I'd guess Cobbler is not finding the signature dir (one of the values in
> signatures list) or the version file in the mounted ISO.
>
> Task log is in /var/log/cobbler/tasks. Could you paste this task log in a
> pastebin and send us its URL?
> Then I can help further.
>
>
> Regards,
> Alan Evangelista
>
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_mailman_listinfo_cobbler&d=AwIGaQ&c=nQp_iw8Uzq1sgzSGIdF1j6KNEFgmuezNMJJZgU0t45g&r=SDPgqkdwVVgWMz7UgYvYcw&m=bwV4hreIziObxzhJoPO1XrDKlwjl7tNT-CEwU5MAA-g&s=XDvXGVByjGafVRAEbB_HUP0DOw8sJbQrxD9nCqVLtSU&e=
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_mailman_listinfo_cobbler&d=AwMFaQ&c=nQp_iw8Uzq1sgzSGIdF1j6KNEFgmuezNMJJZgU0t45g&r=SDPgqkdwVVgWMz7UgYvYcw&m=8UqvYu5a0alhVNoEvp2HirN9P-PRBHKjfXlX_zJ8SNM&s=3_N24Nmra6l4ByTYkBy4X2kRC-qJrRQQ2ZMyTNtC6UU&e=>
>
> ___
> 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 import

2015-01-30 Thread Matt Luettgen
160bytes?  Paste it inline
On Jan 30, 2015 9:49 AM, "Magee, Fred"  wrote:

>  I don't know how to paste into a pastebin. The file is less than 160
> bytes. Can I attach it to an email? If not, how do I do the pastebin
> procedure?
>
> Thanks.
>
> Fred Magee, DTM
> Systems Programmer
> (505)768-2978
> (505)768-4615 (Fax)
> (505)205-5753 (Cell)
> fma...@cabq.gov
>
>
> -Original Message-
> From: cobbler-boun...@lists.fedorahosted.org [mailto:
> cobbler-boun...@lists.fedorahosted.org] On Behalf Of Alan Evangelista
> Sent: Friday, January 30, 2015 8:44 AM
> To: cobbler@lists.fedorahosted.org
> Subject: Re: [cobbler] cobbler import
>
> On 01/29/2015 05:02 PM, Magee, Fred wrote:
> >
> > I am running Cobbler 2.6.3 and I have mounted the source directory on
> > /mnt. My ISO is rhel-server-5.11-i386-dvd.iso. When I run cobbler
> > import I get:
> >
> > cobbler import --path=/mnt --name redhat
> >
> > task started: 2015-01-29_115144_import
> >
> > task started (id=Media import, time=Thu Jan 29 11:51:44 2015)
> >
> > No signature matched in /var/www/cobbler/ks_mirror/redhat
> >
> > !!! TASK FAILED !!!
> >
> > The relevant section of distro_signatures.json is:
> >
> > "redhat": {
> >
> >   "rhel5": {
> >
> > "signatures":["RedHat","Server","CentOS","Client"],
> >
> > "version_file":"(redhat|sl|centos)-release-5([^\\.][\\w]*)?[\\.-]+(.*)
> > \\.rpm",
> >
> > "version_file_regex":null,
> >
> > "kernel_arch":"kernel-(.*).rpm",
> >
> > "kernel_arch_regex":null,
> >
> > "supported_arches":["i386","x86_64","ppc","ppc64"],
> >
> > "supported_repo_breeds":["rsync", "rhn", "yum"],
> >
> > "kernel_file":"vmlinuz(.*)",
> >
> > "initrd_file":"initrd(.*)\\.img",
> >
> > "isolinux_ok":false,
> >
> > "default_kickstart":"/var/lib/cobbler/kickstarts/sample.ks",
> >
> > "kernel_options":"",
> >
> > "kernel_options_post":"",
> >
> > "boot_files":[]
> >
> >},
> >
> > What am I missing for import to recognize the signature for this release?
> >
>
> I'd guess Cobbler is not finding the signature dir (one of the values in
> signatures list) or the version file in the mounted ISO.
>
> Task log is in /var/log/cobbler/tasks. Could you paste this task log in a
> pastebin and send us its URL?
> Then I can help further.
>
>
> Regards,
> Alan Evangelista
>
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_mailman_listinfo_cobbler&d=AwIGaQ&c=nQp_iw8Uzq1sgzSGIdF1j6KNEFgmuezNMJJZgU0t45g&r=SDPgqkdwVVgWMz7UgYvYcw&m=bwV4hreIziObxzhJoPO1XrDKlwjl7tNT-CEwU5MAA-g&s=XDvXGVByjGafVRAEbB_HUP0DOw8sJbQrxD9nCqVLtSU&e=
> ___
> 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] use of cobbler

2015-01-19 Thread Matt Luettgen
You should be able to have the MS Server relay the DHCP request to the
cobbler server (pretty sure its a spec of DHCP) but I do not know how.

On Mon, Jan 19, 2015 at 6:01 PM, johny casanova 
wrote:

> Helo,
>
> is it possible to use cobbler with using only static IP and no DHCP ? and
> if i have to use a DHCP can I any DHCP server even an Microsoft Server one ?
>
> ___
> 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] best practices for updating major distro release on systems?

2015-01-16 Thread Matt Luettgen
Establish a base profile. Apply changes to the profile and the systems will
inherit it. You can override the changes at the system level of cobbler for
exceptions.
On Jan 16, 2015 11:35 AM, "Robert Jacobson" 
wrote:

>
> I'm using cobbler-2.6.5-9.1 on RHEL 6.6 (yes I know this is not the
> latest release; I hope it's not relevant in this context).
>
> What's the best way to create distros and repositories so that deployed
> systems are always pointed to the "lastest" base and updates?
>
> The problem I'm trying to solve is how to upgrade already-deployed
> systems to the latest release.  The problem I have is this, e.g.:
>
> 1.  Imported distro centos65-x86_64
> a.  defined "updates" repository to  server>/centos/6/updates/x86_64/
>
> 2.  System is deployed using CentOS 6.5.  cobbler.config automatically
> configures yum:
> a)  core-0 to   ks_mirror/centos65-x86_64
> b) updates to repo_mirror/centos6-updates
>
> The above works fine until CentOS 6.6 comes out.  At some point (I
> haven't figured out when -- does anyone know?), the "updates" repository
> for CentOS will only work correctly for CentOS 6.6 systems.  CentOS 6.5
> system updates are majorly broken at this point -- It will see new
> updates for packages that are installed, but often the dependencies are
> for new packages in the CentOS 6.6 base.  The CentOS 6.5 machine can't
> see the packages and therefore can't resolve dependencies.
>
> What I've been doing is:
>
> 1.  Import distro centos66-x86_64 to cobbler
> 2.  On each client system, update yum config to point core-0 to
> ks_mirror/centos66-x86_64.
> "yum update" at this point will upgrade from CentOS 6.5 to 6.6.
>
> If what I'm doing is the "right/best" way, fine -- I'm just wondering if
> there is a better way to organize this so updates don't break on
> existing systems and I don't have to touch every client system when its
> time to upgrade.
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Robert Jacobson   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
>
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler