WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] An Introduction to the Xen-API Work

To: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] An Introduction to the Xen-API Work
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Tue, 7 Nov 2006 16:38:33 -0500
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 07 Nov 2006 13:39:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061106234603.GA10601@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

xen-devel-bounces@xxxxxxxxxxxxxxxxxxx wrote on 11/06/2006 06:46:03 PM:

> On Mon, Nov 06, 2006 at 03:44:16PM -0500, Stefan Berger wrote:
>
> > Hello Ewan,
> >
> >    something must have broken while moving the API code into the
> > xen-unstable repository. I can create multiple Gentoo domains using
> > xapi.py and xapi.domcfg.py, but cannot delete any of  them.
>
> It wouldn't surprise me if there were a few breakages.  What do you get
> in the logs?


Here's the log. I also made some modfifications to the password checking so I can just press enter  twice, but that should not have effects on the domain creation.

[2006-11-07 13:46:33 xend 8500] WARNING (XendAuthSessions:27) python-pam is required for XenAPI support.
[2006-11-07 13:46:33 xend 8512] INFO (SrvDaemon:295) Xend Daemon started
[2006-11-07 13:46:33 xend 8512] INFO (SrvDaemon:299) Xend changeset: unavailable.
[2006-11-07 13:46:33 xend 8512] INFO (SrvDaemon:306) Xend version: Unknown.
[2006-11-07 13:46:33 xend.XendDomainInfo 8512] DEBUG (XendDomainInfo:174) XendDomainInfo.recreate({'paused': 0, 'cpu_time': 1120748141145L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0, 'mem_kb': 595968, 'domid': 0, 'name': 'Domain-0', 'max_vcpu_id': 1, 'crashed': 0, 'running': 1, 'maxmem_kb': -4, 'shutdown': 0, 'online_vcpus': 2, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0})
[2006-11-07 13:46:33 xend 8512] DEBUG (XendConfig:299) XendConfig: {'hvm': 0, 'shutdown_reason': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': -4, 'shutdown': 0, 'mem_kb': 595968, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0, 'cpu_time': 1120748141145L, 'ssidref': 0, 'name': 'Domain-0', 'dying': 0, 'domid': 0, 'max_vcpu_id': 1, 'online_vcpus': 2}
[2006-11-07 13:46:33 xend.XendDomainInfo 8512] INFO (XendDomainInfo:189) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
[2006-11-07 13:46:33 xend 8512] DEBUG (XendDomain:389) Adding Domain: 0
[2006-11-07 13:46:33 xend 8512] DEBUG (XendDomain:348) number of vcpus to use is 0
[2006-11-07 13:46:33 xend.XendDomainInfo 8512] DEBUG (XendDomainInfo:759) XendDomainInfo.handleShutdownWatch
[2006-11-07 13:47:00 xend 8512] DEBUG (XendConfig:299) XendConfig: {'kernel_kernel': '/boot/vmlinuz-2.6.16.29-xen', 'on_poweroff': 'destroy', 'name': 'GentooAPI', 'kernel_args': '', 'on_reboot': 'restart', 'image': '(linux\n    (kernel /boot/vmlinuz-2.6.16.29-xen)\n    (ramdisk /boot/initrd-2.6.16.29-xen.img)\n)\n', 'kernel_initrd': '/boot/initrd-2.6.16.29-xen.img', 'on_crash': 'restart', 'vif_refs': [], 'memory': 32, 'device': {}, 'vtpm_refs': [], 'bootloader': '', 'maxmem': 32, 'vbd_refs': []}
[2006-11-07 13:47:00 xend.XendDomainInfo 8512] DEBUG (XendDomainInfo:270) XendDomainInfo.createDormant({'on_xend_stop': 'ignore', 'features': '', 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.16.29-xen'], ['ramdisk', '/boot/initrd-2.6.16.29-xen.img']], 'kernel_initrd': '/boot/initrd-2.6.16.29-xen.img', 'cpus': [], 'vcpu_avail': 1, 'backend': [], 'uuid': 'db5359b2-3ab2-edb2-c09c-662f1f88c828', 'kernel_args': '', 'on_reboot': 'restart', 'cpu_weight': 256, 'online_vcpus': 1, 'memory': 32, 'cpu_cap': 0, 'kernel_kernel': '/boot/vmlinuz-2.6.16.29-xen', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'vbd_refs': [], 'device': {}, 'bootloader': '', 'maxmem': 32, 'shadow_memory': 0, 'name': 'GentooAPI', 'bootloader_args': None, 'max_vcpu_id': 0, 'vcpus': 1, 'vif_refs': [], 'vtpm_refs': [], 'security': []})
[2006-11-07 13:47:00 xend 8512] DEBUG (XendConfig:299) XendConfig: {'on_xend_stop': 'ignore', 'memory': 32, 'on_poweroff': 'destroy', 'features': '', 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.16.29-xen'], ['ramdisk', '/boot/initrd-2.6.16.29-xen.img']], 'kernel_initrd': '/boot/initrd-2.6.16.29-xen.img', 'cpus': [], 'on_xend_start': 'ignore', 'kernel_kernel': '/boot/vmlinuz-2.6.16.29-xen', 'vbd_refs': [], 'shadow_memory': 0, 'vcpu_avail': 1, 'device': {}, 'on_crash': 'restart', 'backend': [], 'bootloader': '', 'uuid': 'db5359b2-3ab2-edb2-c09c-662f1f88c828', 'kernel_args': '', 'on_reboot': 'restart', 'bootloader_args': None, 'name': 'GentooAPI', 'max_vcpu_id': 0, 'vcpus': 1, 'cpu_weight': 256, 'vif_refs': [], 'online_vcpus': 1, 'cpu_cap': 0, 'vtpm_refs': [], 'security': [], 'maxmem': 32}
[2006-11-07 13:47:00 xend 8512] DEBUG (XendDomain:616) Creating new managed domain: GentooAPI: db5359b2-3ab2-edb2-c09c-662f1f88c828

First GentooAPI domain created.

[2006-11-07 13:47:02 xend 8512] DEBUG (XendConfig:299) XendConfig: {'kernel_kernel': '/boot/vmlinuz-2.6.16.29-xen', 'on_poweroff': 'destroy', 'name': 'GentooAPI', 'kernel_args': '', 'on_reboot': 'restart', 'image': '(linux\n    (kernel /boot/vmlinuz-2.6.16.29-xen)\n    (ramdisk /boot/initrd-2.6.16.29-xen.img)\n)\n', 'kernel_initrd': '/boot/initrd-2.6.16.29-xen.img', 'on_crash': 'restart', 'vif_refs': [], 'memory': 32, 'device': {}, 'vtpm_refs': [], 'bootloader': '', 'maxmem': 32, 'vbd_refs': []}
[2006-11-07 13:47:02 xend.XendDomainInfo 8512] DEBUG (XendDomainInfo:270) XendDomainInfo.createDormant({'on_xend_stop': 'ignore', 'features': '', 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.16.29-xen'], ['ramdisk', '/boot/initrd-2.6.16.29-xen.img']], 'kernel_initrd': '/boot/initrd-2.6.16.29-xen.img', 'cpus': [], 'vcpu_avail': 1, 'backend': [], 'uuid': 'dfbab48d-c65b-6bf0-d078-b54e8eaee921', 'kernel_args': '', 'on_reboot': 'restart', 'cpu_weight': 256, 'online_vcpus': 1, 'memory': 32, 'cpu_cap': 0, 'kernel_kernel': '/boot/vmlinuz-2.6.16.29-xen', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'vbd_refs': [], 'device': {}, 'bootloader': '', 'maxmem': 32, 'shadow_memory': 0, 'name': 'GentooAPI', 'bootloader_args': None, 'max_vcpu_id': 0, 'vcpus': 1, 'vif_refs': [], 'vtpm_refs': [], 'security': []})
[2006-11-07 13:47:02 xend 8512] DEBUG (XendConfig:299) XendConfig: {'on_xend_stop': 'ignore', 'memory': 32, 'on_poweroff': 'destroy', 'features': '', 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.16.29-xen'], ['ramdisk', '/boot/initrd-2.6.16.29-xen.img']], 'kernel_initrd': '/boot/initrd-2.6.16.29-xen.img', 'cpus': [], 'on_xend_start': 'ignore', 'kernel_kernel': '/boot/vmlinuz-2.6.16.29-xen', 'vbd_refs': [], 'shadow_memory': 0, 'vcpu_avail': 1, 'device': {}, 'on_crash': 'restart', 'backend': [], 'bootloader': '', 'uuid': 'dfbab48d-c65b-6bf0-d078-b54e8eaee921', 'kernel_args': '', 'on_reboot': 'restart', 'bootloader_args': None, 'name': 'GentooAPI', 'max_vcpu_id': 0, 'vcpus': 1, 'cpu_weight': 256, 'vif_refs': [], 'online_vcpus': 1, 'cpu_cap': 0, 'vtpm_refs': [], 'security': [], 'maxmem': 32}
[2006-11-07 13:47:02 xend 8512] DEBUG (XendDomain:616) Creating new managed domain: GentooAPI: dfbab48d-c65b-6bf0-d078-b54e8eaee921

Second GentooAPI domain created.


   Stefan

>
> Ewan.
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel