Re: [Re: Cobbler query (and now Xen too)]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/4/07, Chris Sarginson <chris.sarginson@xxxxxxxxxx> wrote:
> Michael DeHaan wrote:
> >
> > Currently yes, as I understand it the virtinst library will have PXE
> > support in a release soon (at least in F7/F8?), and at that point we can
> > do fullvirt.   Right now, since fullvirt installs require a disk image
> > for provisioning (they can't just be fed a kernel+initrd), we can only
> > do paravirt Xen.   However, KVM does allow this currently, so there
> > we are doing hardware.     We should have something for Xen soon.
>
> OK, in that case I'll just run paravirtualised machines in the mean
> time.  I'm sure the performance is supposed to be very similar between
> paravirt + hardware virt - can anyone confirm?

Paravirtualization should be higher performance than full
virtualization.   Hardware virtualization is faster than software CPU
emulation, which is probably what you're thinking of.

-Al Tobey

> >> 2) When not using the xen kernel to do the installation (which I can
> >> do if I create the VM manually) I get the following error:
> >>
> >> xend.err "Error creating domain: (2, 'Invalid kernel',
> >> 'xc_dom_find_loader: no loader found
> >>
> > Right... for paravirt Xen you have to use a kernel with "xen" in it.
>
> Yeah, thought so, just making sure that when using Xen it was *only*
> paravirtualised - hence I tried the non-xen kernel
>
> >> 3) When using the xen kernel to start the VM I get the following error:
> >>
> >> xend.err "Boot loader didn't return any data!
> >
> > I'm not sure what that is, actually.   We'd need the logs from
> > /var/log/xen/xend.log to see for sure.     There may also be some
> > relevant logs in ~/.koan
>
> Attached is a snip from my xend.log.  The issue is actually caused by
> the following error initially I suspect:
>
> [2007-10-04 17:05:44 2504] DEBUG (XendDomain:960) Creating new managed
> domain: vps3
> [2007-10-04 17:05:48 2504] WARNING (XendDomainInfo:1114) Domain has
> crashed: name=vps3 id=19.
> [2007-10-04 17:05:48 2504] DEBUG (XendDomainInfo:1709)
> XendDomainInfo.destroy: domid=19
>
> I then get the original error i mentioned when i try to start the domain
> manually.
>
> >
> >>
> >> 4) Are there plans to further expand cobbler to allow you to select
> >> the number of virtual CPU's available?
> >>
> > That's easy to do, and there was a patch for it at some point -- which I
> > believe got lost in the shuffle.   I'll add it.
> >
> > RFE filled so I don't forget:
> > https://hosted.fedoraproject.org/projects/cobbler/ticket/27 :)
>
> Excellent, thanks for that :)  Will this be rolled out to the Fedora 7
> repos, or is it probably going to be more of an 8 thing?
>
> Are you actually on holiday and working btw Michael?  If so, even more
> thanks are in order.
>
> Chris
> --
> Kind regards
>
> Chris Sarginson
> Technical Support
> UKFast.Net Ltd
>
> (t) 0870 111 8866
> (f) 0870 458 4545
>
> "The UK's Best Hosting Provider" ISPA Awards 2007, 2006 and 2005
>
> Dedicated Servers - Managed Hosting - Domain Names- http://www.ukfast.net
>
> UKFast.Net Ltd, City Tower, Piccadilly Plaza, Manchester, M1 4BT
> Registered in England. Number 384 5616
>
> [2007-10-04 17:05:43 2504] DEBUG (XendDomainInfo:78) XendDomainInfo.create(['vm', ['name', 'vps3'], ['memory', '512'], ['maxmem', '512'], ['vcpus', '1'], ['uuid', 'a9809dfa-8cca-a33a-396a-a9372292edf7'], ['on_poweroff', 'destroy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'], ['image', ['linux', ['kernel', '/var/lib/xen/vmlinuz'], ['ramdisk', '/var/lib/xen/initrd.img'], ['args', 'ks=http://81.201.128.127/cblr/kickstarts/fedora7-xen-i386/ks.cfg ksdevice=eth0 lang=  netmask=255.255.254.0 ip=81.201.128.62 syslog=81.201.128.127:25150 text kssendmac gateway=81.201.128.3 ']]], ['device', ['vbd', ['dev', 'xvda'], ['uname', 'file:/home/vm/linux/vps3'], ['mode', 'w']]], ['device', ['vif', ['mac', '00:16:3e:71:83:f1'], ['bridge', 'xenbr0']]]])
> [2007-10-04 17:05:43 2504] DEBUG (XendDomainInfo:1463) XendDomainInfo.constructDomain
> [2007-10-04 17:05:43 2504] DEBUG (balloon:113) Balloon: 930184 KiB free; need 2048; done.
> [2007-10-04 17:05:43 2504] DEBUG (XendDomain:443) Adding Domain: 19
> [2007-10-04 17:05:43 2504] DEBUG (XendDomainInfo:1517) XendDomainInfo.initDomain: 19 256
> [2007-10-04 17:05:43 2504] DEBUG (XendDomainInfo:1549) _initDomain:shadow_memory=0x0, memory_static_max=0x20000000, memory_static_min=0x0.
> [2007-10-04 17:05:43 2504] DEBUG (balloon:113) Balloon: 930176 KiB free; need 524288; done.
> [2007-10-04 17:05:43 2504] INFO (image:129) buildDomain os=linux dom=19 vcpus=1
> [2007-10-04 17:05:43 2504] DEBUG (image:198) domid          = 19
> [2007-10-04 17:05:43 2504] DEBUG (image:199) memsize        = 512
> [2007-10-04 17:05:43 2504] DEBUG (image:200) image          = /var/lib/xen/vmlinuz
> [2007-10-04 17:05:43 2504] DEBUG (image:201) store_evtchn   = 1
> [2007-10-04 17:05:43 2504] DEBUG (image:202) console_evtchn = 2
> [2007-10-04 17:05:43 2504] DEBUG (image:203) cmdline        = ks=http://81.201.128.127/cblr/kickstarts/fedora7-xen-i386/ks.cfg ksdevice=eth0 lang=  netmask=255.255.254.0 ip=81.201.128.62 syslog=81.201.128.127:25150 text kssendmac gateway=81.201.128.3
> [2007-10-04 17:05:43 2504] DEBUG (image:204) ramdisk        = /var/lib/xen/initrd.img
> [2007-10-04 17:05:43 2504] DEBUG (image:205) vcpus          = 1
> [2007-10-04 17:05:43 2504] DEBUG (image:206) features       =
> [2007-10-04 17:05:43 2504] INFO (XendDomainInfo:1365) createDevice: vbd : {'uuid': 'f71f9055-5d20-1fa7-552a-8794eb98deeb', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'xvda', 'uname': 'file:/home/vm/linux/vps3', 'mode': 'w'}
> [2007-10-04 17:05:43 2504] DEBUG (DevController:115) DevController: writing {'backend-id': '0', 'virtual-device': '51712', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/19/51712'} to /local/domain/19/device/vbd/51712.
> [2007-10-04 17:05:43 2504] DEBUG (DevController:117) DevController: writing {'domain': 'vps3', 'frontend': '/local/domain/19/device/vbd/51712', 'uuid': 'f71f9055-5d20-1fa7-552a-8794eb98deeb', 'dev': 'xvda', 'state': '1', 'params': '/home/vm/linux/vps3', 'mode': 'w', 'online': '1', 'frontend-id': '19', 'type': 'file'} to /local/domain/0/backend/vbd/19/51712.
> [2007-10-04 17:05:43 2504] INFO (XendDomainInfo:1365) createDevice: vif : {'bridge': 'xenbr0', 'mac': '00:16:3e:71:83:f1', 'uuid': 'a21d1507-6e8f-5bf8-cae9-35d452b9516b'}
> [2007-10-04 17:05:43 2504] DEBUG (DevController:115) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:71:83:f1', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/19/0'} to /local/domain/19/device/vif/0.
> [2007-10-04 17:05:43 2504] DEBUG (DevController:117) DevController: writing {'bridge': 'xenbr0', 'domain': 'vps3', 'handle': '0', 'uuid': 'a21d1507-6e8f-5bf8-cae9-35d452b9516b', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/19/device/vif/0', 'mac': '00:16:3e:71:83:f1', 'online': '1', 'frontend-id': '19', 'type': 'netfront'} to /local/domain/0/backend/vif/19/0.
> [2007-10-04 17:05:43 2504] DEBUG (XendDomainInfo:2022) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': 'a9809dfa-8cca-a33a-396a-a9372292edf7', 'on_reboot': 'destroy', 'start_time': '1191513943.72', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'destroy', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'image': "(linux (kernel /var/lib/xen/vmlinuz) (ramdisk /var/lib/xen/initrd.img) (args 'ks=http://81.201.128.127/cblr/kickstarts/fedora7-xen-i386/ks.cfg ksdevice=eth0 lang=  netmask=255.255.254.0 ip=81.201.128.62 syslog=81.201.128.127:25150 text kssendmac gateway=81.201.128.3 ') (notes (HV_START_LOW 4118806528) (FEATURES 'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel') (VIRT_BASE 3221225472) (GUEST_VERSION 2.6) (PADDR_OFFSET 3221225472) (GUEST_OS linux) (HYPERCALL_PAGE 3238006784) (LOADER generic) (PAE_MODE yes) (ENTRY 3238002688) (XEN_VERSION xen-3.
 0)))", 'name': 'vps3'}
> [2007-10-04 17:05:43 2504] DEBUG (XendDomainInfo:873) Storing domain details: {'console/ring-ref': '266778', 'image/entry': '3238002688', 'console/port': '2', 'store/ring-ref': '266779', 'image/loader': 'generic', 'vm': '/vm/a9809dfa-8cca-a33a-396a-a9372292edf7', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '4118806528', 'image/guest-os': 'linux', 'image/features/writable-descriptor-tables': '1', 'image/virt-base': '3221225472', 'memory/target': '524288', 'image/guest-version': '2.6', 'image/features/supervisor-mode-kernel': '1', 'image/pae-mode': 'yes', 'console/limit': '1048576', 'image/paddr-offset': '3221225472', 'image/hypercall-page': '3238006784', 'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'image/features/writable-page-tables': '1', 'image/features/auto-translated-physmap': '1', 'name': 'vps3', 'domid': '19', 'image/xen-version': 'xen-3.0', 'store/port': '1'}
> [2007-10-04 17:05:43 2504] DEBUG (XendDomainInfo:873) Storing domain details: {'console/ring-ref': '266778', 'image/entry': '3238002688', 'control/platform-feature-multiprocessor-suspend': '1', 'image/loader': 'generic', 'vm': '/vm/a9809dfa-8cca-a33a-396a-a9372292edf7', 'store/ring-ref': '266779', 'image/hv-start-low': '4118806528', 'image/guest-os': 'linux', 'image/features/writable-descriptor-tables': '1', 'image/virt-base': '3221225472', 'memory/target': '524288', 'image/guest-version': '2.6', 'image/features/supervisor-mode-kernel': '1', 'image/pae-mode': 'yes', 'console/limit': '1048576', 'image/paddr-offset': '3221225472', 'image/hypercall-page': '3238006784', 'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'image/features/writable-page-tables': '1', 'image/features/auto-translated-physmap': '1', 'name': 'vps3', 'domid': '19', 'image/xen-version': 'xen-3.0', 'store/port': '1'}
> [2007-10-04 17:05:43 2504] DEBUG (XendDomainInfo:957) XendDomainInfo.handleShutdownWatch
> [2007-10-04 17:05:43 2504] DEBUG (DevController:148) Waiting for devices vif.
> [2007-10-04 17:05:43 2504] DEBUG (DevController:153) Waiting for 0.
> [2007-10-04 17:05:43 2504] DEBUG (DevController:556) hotplugStatusCallback /local/domain/0/backend/vif/19/0/hotplug-status.
> [2007-10-04 17:05:43 2504] DEBUG (DevController:556) hotplugStatusCallback /local/domain/0/backend/vif/19/0/hotplug-status.
> [2007-10-04 17:05:44 2504] DEBUG (DevController:570) hotplugStatusCallback 1.
> [2007-10-04 17:05:44 2504] DEBUG (DevController:148) Waiting for devices usb.
> [2007-10-04 17:05:44 2504] DEBUG (DevController:148) Waiting for devices vbd.
> [2007-10-04 17:05:44 2504] DEBUG (DevController:153) Waiting for 51712.
> [2007-10-04 17:05:44 2504] DEBUG (DevController:556) hotplugStatusCallback /local/domain/0/backend/vbd/19/51712/hotplug-status.
> [2007-10-04 17:05:44 2504] DEBUG (DevController:556) hotplugStatusCallback /local/domain/0/backend/vbd/19/51712/hotplug-status.
> [2007-10-04 17:05:44 2504] DEBUG (DevController:570) hotplugStatusCallback 1.
> [2007-10-04 17:05:44 2504] DEBUG (DevController:148) Waiting for devices irq.
> [2007-10-04 17:05:44 2504] DEBUG (DevController:148) Waiting for devices vkbd.
> [2007-10-04 17:05:44 2504] DEBUG (DevController:148) Waiting for devices vfb.
> [2007-10-04 17:05:44 2504] DEBUG (DevController:148) Waiting for devices console.
> [2007-10-04 17:05:44 2504] DEBUG (DevController:148) Waiting for devices pci.
> [2007-10-04 17:05:44 2504] DEBUG (DevController:148) Waiting for devices ioports.
> [2007-10-04 17:05:44 2504] DEBUG (DevController:148) Waiting for devices tap.
> [2007-10-04 17:05:44 2504] DEBUG (DevController:148) Waiting for devices vtpm.
> [2007-10-04 17:05:44 2504] INFO (XendDomain:1123) Domain vps3 (19) unpaused.
> [2007-10-04 17:05:44 2504] DEBUG (XendDomainInfo:233) XendDomainInfo.createDormant({'vcpus_params': {}, 'PV_args': '', 'features': '', 'cpus': [], 'devices': {'f6b7c9c3-19fc-d1af-4444-bf4866575003': ('vbd', {'uuid': 'f6b7c9c3-19fc-d1af-4444-bf4866575003', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'xvda', 'uname': 'file:/home/vm/linux/vps3', 'mode': 'w'}), 'b7e39596-6a7a-c3ae-a6bf-5af08097a9c5': ('vif', {'bridge': 'xenbr0', 'mac': '00:16:3e:71:83:f1', 'uuid': 'b7e39596-6a7a-c3ae-a6bf-5af08097a9c5'})}, 'vcpu_avail': 1, 'VCPUs_live': 1, 'PV_bootloader': '/usr/bin/pygrub', 'actions_after_crash': 'restart', 'vbd_refs': ['f6b7c9c3-19fc-d1af-4444-bf4866575003'], 'PV_ramdisk': '', 'is_control_domain': False, 'name_label': 'vps3', 'VCPUs_at_startup': 1, 'HVM_boot_params': {}, 'platform': {}, 'cpu_weight': 256, 'console_refs': [], 'cpu_cap': 0, 'on_xend_stop': 'ignore', 'memory_static_min': 0, 'HVM_boot_policy': '', 'VCPUs_max': 1, 'memory_static_max': 536870912, 'actions_af
 ter_shutdown': 'destroy', 'on_xend_start': 'ignore', 'memory_dynamic_max': 536870912, 'actions_after_suspend': '', 'is_a_template': False, 'memory_dynamic_min': 536870912, 'uuid': 'a9809dfa-8cca-a33a-396a-a9372292edf7', 'PV_kernel': '', 'shadow_memory': 0, 'PV_bootloader_args': '', 'other_config': {}, 'actions_after_reboot': 'restart', 'vif_refs': ['b7e39596-6a7a-c3ae-a6bf-5af08097a9c5'], 'vtpm_refs': [], 'security': None})
> [2007-10-04 17:05:44 2504] DEBUG (XendDomain:960) Creating new managed domain: vps3
> [2007-10-04 17:05:48 2504] WARNING (XendDomainInfo:1114) Domain has crashed: name=vps3 id=19.
> [2007-10-04 17:05:48 2504] DEBUG (XendDomainInfo:1709) XendDomainInfo.destroy: domid=19
> [2007-10-04 17:05:48 2504] DEBUG (XendDomainInfo:873) Storing domain details: {'console/ring-ref': '266778', 'image/entry': '3238002688', 'control/platform-feature-multiprocessor-suspend': '1', 'image/loader': 'generic', 'vm': '/vm/a9809dfa-8cca-a33a-396a-a9372292edf7', 'store/ring-ref': '266779', 'image/hv-start-low': '4118806528', 'image/guest-os': 'linux', 'image/features/writable-descriptor-tables': '1', 'image/virt-base': '3221225472', 'memory/target': '524288', 'image/guest-version': '2.6', 'image/features/supervisor-mode-kernel': '1', 'image/pae-mode': 'yes', 'console/limit': '1048576', 'image/paddr-offset': '3221225472', 'image/hypercall-page': '3238006784', 'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'image/features/writable-page-tables': '1', 'image/features/auto-translated-physmap': '1', 'name': 'vps3', 'domid': '19', 'image/xen-version': 'xen-3.0', 'store/port': '1'}
> [2007-10-04 17:05:48 2504] DEBUG (XendDomainInfo:1726) XendDomainInfo.destroyDomain(19)
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux