Re: [cobbler] [PATCH 0/5] Port koan from virtinst to virt-install command

2012-07-12 Thread André Gemünd
Hi Msquared,

I'm surprised by that. It should be fixed afaik. Which version are you using?

Greetings
André

- Ursprüngliche Mail -
 On Mon, Feb 06, 2012 at 09:05:42AM -0500, Michael DeHaan wrote:
 
  Hmm, who is using Xen PV out there?   Speak up if you are.
 
 I am.  I discovered this discussion thread when I tried
 
   koan --virt --virt-type=xenpv ...
 
 and it failed with
 
   'ParaVirtGuest' object has no attribute 'set_autostart'
 
 
 However, I see Andre mentioned patching start_install() parameters in
 xencreate.py to get it working, so I can do that for the moment.
 
 Alternatively, what is the last version of koan that could install
 Xen PV?
 Perhaps I can just roll back koan a couple of versions...
 
 Regards, Msquared...


-- 
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://fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] [PATCH 0/5] Port koan from virtinst to virt-install command

2012-07-11 Thread Orion Poplawski


Apparently with using virt-install, it no longer passes in the kickstart boot 
option, which is a pretty serious regression.  My install attempt:


koan -v --virt-type=qemu --qemu-disk-type=virtio --qemu-net-type=virtio 
--virt-bridge=br0 --system=vmsl6rolling


generated:

- ['virt-install', '--connect', 'qemu:///system', '--name', 'vmsl6rolling', 
'--ram', '512', '--vcpus', '1', '--autostart', '--vnc', '--virt-type', 'qemu', 
'--hvm', '--location', 'http://sl.cora.nwra.com/6rolling/x86_64/os/', 
'--arch', 'x86_64', '--os-variant', 'rhel6', '--disk', 
'path=/dev/mapper/vg_root-vmsl6rolling--disk0,size=10,bus=virtio,driver_type=raw', 
'--network', 'bridge=br0,model=virtio,mac=00:16:3e:63:1b:e1', '--wait', '0', 
'--noautoconsole']


and so no kickstart.  Is this a known issue?  It should pass:


--extra-args=ks=http://cobbler.cora.nwra.com/cblr/svc/op/ks/system/vmsl6rolling 
ksdevice=link kssendmac text




--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder 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://fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] [PATCH 0/5] Port koan from virtinst to virt-install command

2012-07-11 Thread James Cammarata
On Wed, Jul 11, 2012 at 3:59 PM, Orion Poplawski or...@cora.nwra.com wrote:

 Apparently with using virt-install, it no longer passes in the kickstart
 boot option, which is a pretty serious regression.  My install attempt:

 koan -v --virt-type=qemu --qemu-disk-type=virtio --qemu-net-type=virtio
 --virt-bridge=br0 --system=vmsl6rolling

 generated:

 - ['virt-install', '--connect', 'qemu:///system', '--name', 'vmsl6rolling',
 '--ram', '512', '--vcpus', '1', '--autostart', '--vnc', '--virt-type',
 'qemu', '--hvm', '--location',
 'http://sl.cora.nwra.com/6rolling/x86_64/os/', '--arch', 'x86_64',
 '--os-variant', 'rhel6', '--disk',
 'path=/dev/mapper/vg_root-vmsl6rolling--disk0,size=10,bus=virtio,driver_type=raw',
 '--network', 'bridge=br0,model=virtio,mac=00:16:3e:63:1b:e1', '--wait', '0',
 '--noautoconsole']

 and so no kickstart.  Is this a known issue?  It should pass:


 --extra-args=ks=http://cobbler.cora.nwra.com/cblr/svc/op/ks/system/vmsl6rolling
 ksdevice=link kssendmac text

Can you try --virt-type=kvm? That's a new type introduced recently so
that it will use kernel accelerated qemu. Another user ran into this
and changing the type to kvm fixed it (and made his vm's run faster
too).

There is a definite bug in koan for qemu types right now that appears
to have slipped in with this patch.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] [PATCH 0/5] Port koan from virtinst to virt-install command

2012-07-11 Thread Orion Poplawski

On 07/11/2012 03:12 PM, James Cammarata wrote:

On Wed, Jul 11, 2012 at 3:59 PM, Orion Poplawski or...@cora.nwra.com wrote:


Apparently with using virt-install, it no longer passes in the kickstart
boot option, which is a pretty serious regression.  My install attempt:

koan -v --virt-type=qemu --qemu-disk-type=virtio --qemu-net-type=virtio
--virt-bridge=br0 --system=vmsl6rolling

generated:

- ['virt-install', '--connect', 'qemu:///system', '--name', 'vmsl6rolling',
'--ram', '512', '--vcpus', '1', '--autostart', '--vnc', '--virt-type',
'qemu', '--hvm', '--location',
'http://sl.cora.nwra.com/6rolling/x86_64/os/', '--arch', 'x86_64',
'--os-variant', 'rhel6', '--disk',
'path=/dev/mapper/vg_root-vmsl6rolling--disk0,size=10,bus=virtio,driver_type=raw',
'--network', 'bridge=br0,model=virtio,mac=00:16:3e:63:1b:e1', '--wait', '0',
'--noautoconsole']

and so no kickstart.  Is this a known issue?  It should pass:


--extra-args=ks=http://cobbler.cora.nwra.com/cblr/svc/op/ks/system/vmsl6rolling
ksdevice=link kssendmac text


Can you try --virt-type=kvm? That's a new type introduced recently so
that it will use kernel accelerated qemu. Another user ran into this
and changing the type to kvm fixed it (and made his vm's run faster
too).

There is a definite bug in koan for qemu types right now that appears
to have slipped in with this patch.


Okay, with --virt-type=kvm the --extra-args are passed. Didn't change much 
with the libvirt definitions (both were using kvm) except for:



 disk type='block' device='disk'
-  driver name='qemu' type='raw'/
+  driver name='qemu' type='raw' cache='none' io='native'/

But it looks like that should be a win.

--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder 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://fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] [PATCH 0/5] Port koan from virtinst to virt-install command

2012-07-11 Thread James Cammarata
 Okay, with --virt-type=kvm the --extra-args are passed. Didn't change much
 with the libvirt definitions (both were using kvm) except for:


  disk type='block' device='disk'
 -  driver name='qemu' type='raw'/
 +  driver name='qemu' type='raw' cache='none' io='native'/

 But it looks like that should be a win.

Yep, kvm should be the preferred option. I'll work on fixing the bug
for those that need good old qemu though.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] [PATCH 0/5] Port koan from virtinst to virt-install command

2012-06-28 Thread Msquared
On Mon, Feb 06, 2012 at 09:05:42AM -0500, Michael DeHaan wrote:

 Hmm, who is using Xen PV out there?   Speak up if you are.

I am.  I discovered this discussion thread when I tried

  koan --virt --virt-type=xenpv ...

and it failed with

  'ParaVirtGuest' object has no attribute 'set_autostart'


However, I see Andre mentioned patching start_install() parameters in
xencreate.py to get it working, so I can do that for the moment.

Alternatively, what is the last version of koan that could install Xen PV?
Perhaps I can just roll back koan a couple of versions...

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


Re: [cobbler] [PATCH 0/5] Port koan from virtinst to virt-install command

2012-06-28 Thread James Cammarata
On Thu, Jun 28, 2012 at 3:31 AM, Msquared 1.cobb...@msquared.id.au wrote:
 On Mon, Feb 06, 2012 at 09:05:42AM -0500, Michael DeHaan wrote:

 Hmm, who is using Xen PV out there?   Speak up if you are.

 I am.  I discovered this discussion thread when I tried

  koan --virt --virt-type=xenpv ...

 and it failed with

  'ParaVirtGuest' object has no attribute 'set_autostart'


 However, I see Andre mentioned patching start_install() parameters in
 xencreate.py to get it working, so I can do that for the moment.

 Alternatively, what is the last version of koan that could install Xen PV?
 Perhaps I can just roll back koan a couple of versions...

There are no current plans to remove that, it is still in the current version.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler