On Sun, Apr 12, 2009 at 11:18:36AM -0700, Dale Bewley wrote:
On Wed, 2009-04-08 at 19:32 +0100, Daniel P. Berrange wrote:
> libvirt TCK : Technology Compatibility Kit
Amazing :)
> Even these 4 simple proof of concept scripts have highlighted
> some horrible problems
>
> - The QEMU driver 'define domain' method doesn't check for name
> or UUID uniqueness correctly (well, at all)
>
> - After starting an inactive domain, the remote driver does not
> update the 'ID' field in the virDomainPtr
>
> - After destroying a active domain, the remote driver does not
> update the 'ID' field in the virDomainPtr
>
> - When defining a persistent config for an already running domain
> the Xen XM driver blows away the current 'ID' field for the
> running domain, replacing it with -1.
I've seen this. I hope some fixes can be back-ported or are sufficiently
distinct that users can patch older libvirt releases.
Since I have non-HVM hardware and am using F8 for Xen, I often run into
a loss of state information about a domain in libvirt.
https://bugzilla.redhat.com/show_bug.cgi?id=453276
Well unfortunately F8 is EOL, so no further updates can be pushed
there. It would be possible for you to build the new libvirt releases
and deploy them on F8 though. We still support the F8 era Xen builds
with new libvirt upstream releases, even if we don't do official F8
updates in Fedora world.
Restarting xend sometimes helps, but frequently winds up causing
another
domain to show up as "unknown" in virsh and sometimes a domain will
crash.
Ah, well is possibly slightly different from the problem I describe,
since in F8 XenD itself tracks inactive guests. The problem I describe
is for even older Xen, where libvirt tracks inactive guests.
This test suite should help identify & resolve the problems you see
though
Daniel
--
|: Red Hat, Engineering, London -o-
http://people.redhat.com/berrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org -o-
http://ovirt.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|