What is your "server: " setting? It appears it's "cobbler", which will work
as long as that resolves in DNS, otherwise you need to set it to a DNS
resolvable name or IP.


On Wed, Nov 27, 2013 at 2:56 PM, Scot Floess <[email protected]> wrote:

> James,
>
> I did restart cobblerd...
>
> And this is literally what I see now when issuing:
>
> cobbler system getks --name=centos-workstation
>
> Result:
>
> wget "http://cobbler/cblr/svc/op/ks/system/centos-workstation"; -O
> /root/cobbler.ks
> wget "http://cobbler/cblr/svc/op/trig/mode/post/system/centos-workstation";
> -O /dev/null
> wget "http://cobbler/cblr/svc/op/nopxe/system/centos-workstation"; -O
> /dev/null
>
> %end
>
> ------------------------------
>
> *From: *"James Cammarata" <[email protected]>
> *To: *"cobbler mailing list" <[email protected]>
> *Sent: *Wednesday, November 27, 2013 3:47:37 PM
> *Subject: *Re: [cobbler] Using KOAN to install a VM under CentOS 6.4
> using CentOS Xen...it installs over and over again
>
> Did you restart cobblerd after making the settings change? You should also
> be seeing this in the output from the kickstart_done snippet:
>
> wget "http://x.x.x.x/cblr/svc/op/nopxe/system/foo"; -O /dev/null
>
> That is the trigger to disable the netboot flag.
>
>
> On Wed, Nov 27, 2013 at 2:41 PM, Scot Floess <[email protected]> wrote:
>
>> James,
>>
>> OK I ensured:
>>
>> /etc/cobbler/settings:
>>
>> pxe_just_once: 1
>>
>> -and-
>>
>> My kickstart ends with:
>>
>> $SNIPPET('kickstart_done')
>>
>> %end
>>
>> I'm seeing exactly the same behavior...  In fact I just koan'd a new
>> instance and its now on it's second install all by itself...
>>
>> I am absolutely at a loss...  This all worked for me using stock CentOS
>> 5.x hosts...  Really the difference is I'm using Xen as supported under
>> CentOS 6.4 - so not sure if that has anything to do with this or not...
>> ------------------------------
>>
>> *From: *"James Cammarata" <[email protected]>
>> *To: *"cobbler mailing list" <[email protected]>
>> *Sent: *Wednesday, November 27, 2013 2:59:37 PM
>> *Subject: *Re: [cobbler] Using KOAN to install a VM under CentOS 6.4
>> using CentOS Xen...it installs over and over again
>>
>> Yes, it should be the last thing before the %end, as you have it.
>>
>> Have you also set pxe_just_once:1 in your cobbler settings?
>>
>>
>>  On Wed, Nov 27, 2013 at 1:44 PM, Scot Floess <[email protected]> wrote:
>>
>>> James,
>>>
>>> Curious - is something from the kickstart_done that does the right thing
>>> as far as ensuring "kick start" that KOAN initially uses isn't copied over
>>> or something like that?  To be honest, that's what it feels like is
>>> happening ... once installed the VM doesn't have the ability to boot off
>>> the installed bootloader and then simply uses the same "kickstart" to
>>> reinstall again...
>>>
>>> I don't know if this may be the issue but at the end of my kickstart, it
>>> looks liek the following:
>>>
>>> $SNIPPET('kickstart_done')
>>>
>>> %end
>>> Is that out of order maybe?
>>>
>>> Thanks!
>>>
>>> Flossy
>>>
>>> ------------------------------
>>>
>>> *From: *"Scot Floess" <[email protected]>
>>> *To: *"cobbler mailing list" <[email protected]>
>>> *Sent: *Tuesday, November 26, 2013 2:20:34 PM
>>> *Subject: *Re: [cobbler] Using KOAN to install a VM under CentOS 6.4
>>> using CentOS Xen...it installs over and over again
>>>
>>> James,
>>>
>>> Interesting!
>>>
>>> So I have an old kickstart I've been using since Cobbler 1.6x days...
>>>  In it I have $kickstart_done - but when executing
>>>
>>> cobbler system getks --name=centos-workstation
>>>
>>> I see it is not expanded!
>>>
>>> So I added the snippet to the end of my kickstart like so:
>>>
>>> $SNIPPET('kickstart_done')
>>>
>>> And now see:
>>>
>>> wget "http://cobbler/cblr/svc/op/ks/system/centos-workstation"; -O
>>> /root/cobbler.ks
>>> wget "
>>> http://cobbler/cblr/svc/op/trig/mode/post/system/centos-workstation"; -O
>>> /dev/null
>>>
>>> However, I am still getting the reinstall happening...
>>>
>>> ------------------------------
>>>
>>> *From: *"James Cammarata" <[email protected]>
>>> *To: *"cobbler mailing list" <[email protected]>
>>> *Sent: *Tuesday, November 26, 2013 1:37:53 PM
>>> *Subject: *Re: [cobbler] Using KOAN to install a VM under CentOS 6.4
>>> using CentOS Xen...it installs over and over again
>>>
>>> Do you also have the kickstart done ($SNIPPET('kickstart_done')) snippet
>>> included in your %post section? That is the piece which notifies the
>>> cobbler server the PXE is complete and toggles the netboot-enabled flag.
>>>
>>>
>>> On Tue, Nov 26, 2013 at 11:37 AM, Scot Floess <[email protected]>wrote:
>>>
>>>> I should say I also tried setting netboot-enabled to 0 and verify its
>>>> not enabled in the UI...
>>>>
>>>>
>>>>
>>>> ------------------------------
>>>>
>>>> *From: *"Scot Floess" <[email protected]>
>>>> *To: *"cobbler mailing list" <[email protected]>
>>>> *Sent: *Tuesday, November 26, 2013 12:33:29 PM
>>>> *Subject: *Re: [cobbler] Using KOAN to install a VM under CentOS 6.4
>>>> using CentOS Xen...it installs over and over again
>>>>
>>>> Bryan,
>>>>
>>>> Thanks for the response!
>>>>
>>>> Alas this isn't a netboot problem - although at first glance I thought
>>>> you were correct.  Unfortunately, I'm watching my VM reinstall itself again
>>>> :(
>>>>
>>>> It's almost like I "koan --replace-self" but that's not what I told it
>>>> to do.  In fact, this is what I executed:
>>>>
>>>> koan --server=cobbler --system=centos-workstation --virt
>>>>
>>>> I literally see the VM install itself, bootloader installs then the VM
>>>> shutdown and is started up again and its as if I initiated the original 
>>>> "koan
>>>> --server=cobbler --system=centos-workstation --virt"
>>>>
>>>> Flossy
>>>>
>>>> ------------------------------
>>>>
>>>> *From: *"Bryan Hughes" <[email protected]>
>>>> *To: *"cobbler mailing list" <[email protected]>
>>>> *Sent: *Tuesday, November 26, 2013 11:24:53 AM
>>>> *Subject: *Re: [cobbler] Using KOAN to install a VM under CentOS 6.4
>>>> using CentOS Xen...it installs over and over again
>>>>
>>>> it is because of the "Netboot Enabled" flag in cobbler.
>>>>
>>>> After the node begins its kickstart either change netboot enabled to
>>>> false (unchecked) in GUI or run the following command:
>>>>
>>>> cobbler system edit --name=<hostname> --netboot-enabled=0
>>>>
>>>> That should fix it for you.
>>>>
>>>> Make sure you do it AFTER it begins PXE (so during DHCP stage is fine,
>>>> right after it gets its IP).
>>>>
>>>>
>>>> On 11/26/13, 9:30 AM, Scot Floess wrote:
>>>>
>>>>  All,
>>>>
>>>>  I'm somewhat confounded by what I'm seeing when using KOAN.  I have a
>>>> machine running CentOS 6.4 and installed CentOS-Xen using para
>>>> virtualization (my hardware on this box doesn't support full
>>>> virtualization)...
>>>>
>>>>  I had an old VM I created under CentOS 5.9 Xen which I migrated over
>>>> to this new machine and it runs fine...
>>>>
>>>>  However, I am trying to spin up a new VM and what I see happening is
>>>> the install proceeds as expected (again using KOAN).  I see in VNC when the
>>>> boot loader installs and then the VM attempts to reboot and run...  What it
>>>> does next is not expected:  the install proceeds again...and this continues
>>>> forever...  Once it reinstalls, it reboots and reinstalls again...
>>>>
>>>>  This all works fine under CentOS 5.x - so it could be Xen 4.2 or it
>>>> could just be me :)  Which, BTW, CentOS-Xen is 4.2 I believe.
>>>>
>>>>  Thanks ahead of time...
>>>>
>>>>  Flossy
>>>>
>>>>  --
>>>>  Make It So Number One
>>>>
>>>>
>>>> _______________________________________________
>>>> cobbler mailing 
>>>> [email protected]https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> cobbler mailing list
>>>> [email protected]
>>>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Make It So Number One
>>>>
>>>> _______________________________________________
>>>> cobbler mailing list
>>>> [email protected]
>>>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Make It So Number One
>>>>
>>>> _______________________________________________
>>>> cobbler mailing list
>>>> [email protected]
>>>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>>>
>>>>
>>>
>>> _______________________________________________
>>> cobbler mailing list
>>> [email protected]
>>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>>
>>>
>>>
>>>
>>> --
>>> Make It So Number One
>>>
>>> _______________________________________________
>>> cobbler mailing list
>>> [email protected]
>>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>>
>>>
>>>
>>>
>>> --
>>> Make It So Number One
>>>
>>> _______________________________________________
>>> cobbler mailing list
>>> [email protected]
>>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>>
>>>
>>
>> _______________________________________________
>> cobbler mailing list
>> [email protected]
>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>
>>
>>
>>
>> --
>> Make It So Number One
>>
>> _______________________________________________
>> cobbler mailing list
>> [email protected]
>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>
>>
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
>
>
>
> --
> Make It So Number One
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
>
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to