Google shows where it was introduced (it maps to a xend_ error), but not what it means. Traceback (most recent call last): File "/usr/lib64/python2.5/site-packages/xen/web/httpserver.py", line 140, in process resource = self.getResource() File "/usr/lib64/python2.5/site-packages/xen/web/httpserver.py", line 172, in getResource return self.getServer().getResource(self) File "/usr/lib64/python2.5/site-packages/xen/web/httpserver.py", line 351, in getResource return self.root.getRequestResource(req) File "/usr/lib64/python2.5/site-packages/xen/web/resource.py", line 39, in getRequestResource return findResource(self, req) File "/usr/lib64/python2.5/site-packages/xen/web/resource.py", line 26, in findResource next = resource.getPathResource(pathElement, request) File "/usr/lib64/python2.5/site-packages/xen/web/resource.py", line 49, in getPathResource val = self.getChild(path, request) File "/usr/lib64/python2.5/site-packages/xen/web/SrvDir.py", line 71, in getChild val = self.get(x) File "/usr/lib64/python2.5/site-packages/xen/xend/server/SrvDomainDir.py", line 52, in get return self.domain(x) File "/usr/lib64/python2.5/site-packages/xen/xend/server/SrvDomainDir.py", line 44, in domain dom = self.xd.domain_lookup(x) File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomain.py", line 524, in domain_lookup raise XendInvalidDomain(str(domid)) XendInvalidDomain: <Fault 3: ''ClarkConnect-4.2''> I''ve been trying to run this command: virsh undefine ClarkConnect-4.2 probably you won''t be surprised that virt-manager hangs too, and needs a little force from KDE. At one point I found it appropriate to killall sleep vtpm-delete as there were several of each apparently going noplace. I know of these: Nov 6 12:49:29 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 12:51:04 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 12:52:40 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 12:54:15 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 12:55:50 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 12:57:26 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 12:59:01 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 13:00:36 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 13:02:13 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 13:03:48 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 13:05:23 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 13:06:59 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 13:08:36 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 13:10:12 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 13:11:47 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 13:11:55 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 13:13:22 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 13:14:58 potoroo logger:last message repeated 2 times Nov 6 13:16:33 potoroo logger:last message repeated 2 times Nov 6 13:18:09 potoroo logger:last message repeated 2 times Nov 6 13:19:44 potoroo logger:last message repeated 2 times Nov 6 13:19:50 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 13:21:20 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Nov 6 13:22:55 potoroo logger:last message repeated 2 times Nov 6 13:24:31 potoroo logger:last message repeated 2 times Nov 6 13:26:06 potoroo logger:last message repeated 2 times Nov 6 13:27:42 potoroo logger:last message repeated 2 times Nov 6 13:29:17 potoroo logger:last message repeated 2 times Nov 6 13:30:53 potoroo logger:last message repeated 2 times Nov 6 13:32:28 potoroo logger:last message repeated 2 times but a little debugging code in /etc/xen/scripts/locking.sh hasn''t case any light on my difficulties. I am running: [root@potoroo ~]# rpm -qf /etc/fedora-release /etc/xen/ /usr/bin/virt-manager fedora-release-8-2 xen-3.1.0-12.fc8 virt-manager-0.5.2-2.fc8 -- Cheers John -- spambait 1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 Please do not reply off-list
John Summerfield wrote:> Google shows where it was introduced (it maps to a xend_ error), but not> but a little debugging code in /etc/xen/scripts/locking.sh hasn''t case > any light on my difficulties. > > I am running: > [root@potoroo ~]# rpm -qf /etc/fedora-release /etc/xen/ > /usr/bin/virt-manager > fedora-release-8-2 > xen-3.1.0-12.fc8 > virt-manager-0.5.2-2.fc8Would this be related, or is it something else? [root@potoroo ~]# /etc/init.d/xendomains restart Shutting down Xen domains: Name(save).!(shut)./etc/init.d/xendomains: line 306: 27462 Terminated watchdog_xm save !/etc/init.d/xendomains: line 188: 27473 Terminated watchdog_xm shutdown DebianEtch(save)/etc/init.d/xendomains: line 306: 27473 Terminated watchdog_xm shutdown .!(shut)./etc/init.d/xendomains: line 306: 27490 Terminated watchdog_xm save !/etc/init.d/xendomains: line 188: 27501 Terminated watchdog_xm shutdown /etc/init.d/xendomains: line 188: 27501 Terminated watchdog_xm shutdown FreeBSD-7(save)/etc/init.d/xendomains: line 306: 27501 Terminated watchdog_xm shutdown .!(shut)./etc/init.d/xendomains: line 306: 27525 Terminated watchdog_xm save !/etc/init.d/xendomains: line 188: 27536 Terminated watchdog_xm shutdown NetBSD-3.1(save)/etc/init.d/xendomains: line 306: 27536 Terminated watchdog_xm shutdown .!(shut)./etc/init.d/xendomains: line 306: 27553 Terminated watchdog_xm save !/etc/init.d/xendomains: line 188: 27564 Terminated watchdog_xm shutdown windows(save)/etc/init.d/xendomains: line 306: 27564 Terminated watchdog_xm shutdown .!(shut)./etc/init.d/xendomains: line 306: 27581 Terminated watchdog_xm save !/etc/init.d/xendomains: line 188: 27592 Terminated watchdog_xm shutdown SHUTDOWN_ALL ./etc/init.d/xendomains: line 306: 27592 Terminated watchdog_xm shutdown /etc/init.d/xendomains: line 306: 27613 Terminated watchdog_xm shutdown 1 [root@potoroo ~]# -- Cheers John -- spambait 1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 Please do not reply off-list
John Summerfield wrote:> SHUTDOWN_ALL ./etc/init.d/xendomains: line 306: 27592 Terminated > watchdog_xm shutdown > /etc/init.d/xendomains: line 306: 27613 Terminated watchdog_xm shutdown 1 > [root@potoroo ~]#Have I offended folk? Does nobody know? Can''t someone even tell me (nicely) where to go? -- Cheers John -- spambait 1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 Please do not reply off-list
John Summerfield wrote:> John Summerfield wrote: > >> SHUTDOWN_ALL ./etc/init.d/xendomains: line 306: 27592 Terminated >> watchdog_xm shutdown >> /etc/init.d/xendomains: line 306: 27613 Terminated watchdog_xm shutdown 1 >> [root@potoroo ~]# > > Have I offended folk? > Does nobody know? > Can''t someone even tell me (nicely) where to go?I read the initial report, but there wasn''t really enough information to help. Restart the machine and tell us what operation(s) fails, with what error messages, and what you were expecting it to do. Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903
Richard W.M. Jones wrote:> John Summerfield wrote: >> John Summerfield wrote: >> >>> SHUTDOWN_ALL ./etc/init.d/xendomains: line 306: 27592 Terminated >>> watchdog_xm shutdown >>> /etc/init.d/xendomains: line 306: 27613 Terminated watchdog_xm >>> shutdown 1 >>> [root@potoroo ~]# >> >> Have I offended folk? >> Does nobody know? >> Can''t someone even tell me (nicely) where to go? > > I read the initial report, but there wasn''t really enough information to > help. Restart the machine and tell us what operation(s) fails, with > what error messages, and what you were expecting it to do.I was trying to find what the message actually means, I think my chances of solving the underlying problem are quite good, once I know what it''s talking about. The problem arose when my install of ClarkConnect failed (it reckoned it needed more disk space than I offered), and I tried various ways to "undefine" it. virt-install doesn''t recognise a failed install, so it figured it should boot the crook virtual disk. I now have a working CC (I had to explicitly delete the disk image, virt-install doesn''t resize it), and am having dismal results with Fedora 7:-( -- Cheers John -- spambait 1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 Please do not reply off-list
John, I don''t remember for sure, but it kinda looks to me like xendomains (service to start and stop xen domains) is performing a shutdown instead of a save. If that is true, then the terminated could be a successful shutdown or a timeout while waiting for shutdown (at which point the domain is destroyed). In either case, your restore failures would be because of bad files in /var/lib/xen/save (or something like that) from a previous failed save. Deleting those files would get rid of your restore errors and the domains would start normally when xendomains started back up (as they presumably do now). This timeout during xendomains shutdown is configurable (even to forever), but I don''t remember where. What to do on xendomains shutdown (save or shutdown) is also configurable (likely in the same file, search for a xendomains.conf?). Dustin -----Original Message----- From: fedora-xen-bounces@redhat.com [mailto:fedora-xen-bounces@redhat.com] On Behalf Of John Summerfield Sent: Wednesday, November 07, 2007 17:06 To: Fedora Xen Subject: Re: [Fedora-xen] What is XendInvalidDomain? Richard W.M. Jones wrote:> John Summerfield wrote: >> John Summerfield wrote: >> >>> SHUTDOWN_ALL ./etc/init.d/xendomains: line 306: 27592 Terminated >>> watchdog_xm shutdown >>> /etc/init.d/xendomains: line 306: 27613 Terminated watchdog_xm >>> shutdown 1 >>> [root@potoroo ~]# >> >> Have I offended folk? >> Does nobody know? >> Can''t someone even tell me (nicely) where to go? > > I read the initial report, but there wasn''t really enough information to > help. Restart the machine and tell us what operation(s) fails, with > what error messages, and what you were expecting it to do.I was trying to find what the message actually means, I think my chances of solving the underlying problem are quite good, once I know what it''s talking about. The problem arose when my install of ClarkConnect failed (it reckoned it needed more disk space than I offered), and I tried various ways to "undefine" it. virt-install doesn''t recognise a failed install, so it figured it should boot the crook virtual disk. I now have a working CC (I had to explicitly delete the disk image, virt-install doesn''t resize it), and am having dismal results with Fedora 7:-( -- Cheers John -- spambait 1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 Please do not reply off-list -- Fedora-xen mailing list Fedora-xen@redhat.com https://www.redhat.com/mailman/listinfo/fedora-xen
Dustin Henning wrote:> John, > I don''t remember for sure, but it kinda looks to me like xendomains > (service to start and stop xen domains) is performing a shutdown instead of > a save. If that is true, then the terminated could be a successful shutdown > or a timeout while waiting for shutdown (at which point the domain is > destroyed). In either case, your restore failures would be because of bad > files in /var/lib/xen/save (or something like that) from a previous failed > save. Deleting those files would get rid of your restore errors and the > domains would start normally when xendomains started back up (as they > presumably do now). This timeout during xendomains shutdown is configurable > (even to forever), but I don''t remember where. What to do on xendomains > shutdown (save or shutdown) is also configurable (likely in the same file, > search for a xendomains.conf?). > Dustin >hi, Dustin My real, original, problem was trying to get rid of the domain that failed to install, so I could have another go. I was unable to find what the error message means - see the subject line. The errors in the second post arose while I was trying to work around the original problem. They look to me like errors in the shell script; they could be symptoms of the original problem, but they''re not it. There is currently nothing in /var/lib/xen/save. The timeout is set in /etc/xen/scripts/locking.sh. I don''t understand what it does, but it seems to me it doesn''t do what''s wanted. The "unknown" in this message seems to arise because the lock''s not held: Nov 6 12:49:29 potoroo logger: /etc/xen/scripts/vtpm-delete: Forced to steal lock on /var/run/xen-hotplug/vtpmdb from unknown! Judging from the number of the messages and their frequency, the script is looping.> -----Original Message----- > From: fedora-xen-bounces@redhat.com [mailto:fedora-xen-bounces@redhat.com] > On Behalf Of John Summerfield > Sent: Wednesday, November 07, 2007 17:06 > To: Fedora Xen > Subject: Re: [Fedora-xen] What is XendInvalidDomain? > > Richard W.M. Jones wrote: >> John Summerfield wrote: >>> John Summerfield wrote: >>> >>>> SHUTDOWN_ALL ./etc/init.d/xendomains: line 306: 27592 Terminated >>>> watchdog_xm shutdown >>>> /etc/init.d/xendomains: line 306: 27613 Terminated watchdog_xm >>>> shutdown 1 >>>> [root@potoroo ~]# >>> Have I offended folk? >>> Does nobody know? >>> Can''t someone even tell me (nicely) where to go? >> I read the initial report, but there wasn''t really enough information to >> help. Restart the machine and tell us what operation(s) fails, with >> what error messages, and what you were expecting it to do. > > I was trying to find what the message actually means, I think my chances > of solving the underlying problem are quite good, once I know what it''s > talking about. > > > The problem arose when my install of ClarkConnect failed (it reckoned it > needed more disk space than I offered), and I tried various ways to > "undefine" it. virt-install doesn''t recognise a failed install, so it > figured it should boot the crook virtual disk. > > I now have a working CC (I had to explicitly delete the disk image, > virt-install doesn''t resize it), and am having dismal results with > Fedora 7:-( > > > >-- Cheers John -- spambait 1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 Please do not reply off-list