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 <sfloess@redhat.com> wrote:
I should say I also tried setting netboot-enabled to 0 and verify its not enabled in the UI...




From: "Scot Floess" <sfloess@redhat.com>
To: "cobbler mailing list" <cobbler@lists.fedorahosted.org>
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" <bhughes@gisfederal.com>
To: "cobbler mailing list" <cobbler@lists.fedorahosted.org>
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 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



--
Make It So Number One

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



--
Make It So Number One

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