Bug 507304
Summary: | Re-detection of transient VMs not working with migrated domains | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Federico Simoncelli <federico.simoncelli> | ||||||||||||
Component: | libvirt | Assignee: | Daniel Veillard <veillard> | ||||||||||||
Status: | CLOSED UPSTREAM | QA Contact: | |||||||||||||
Severity: | medium | Docs Contact: | |||||||||||||
Priority: | low | ||||||||||||||
Version: | unspecified | CC: | berrange, crobinso, xen-maint | ||||||||||||
Target Milestone: | --- | ||||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | All | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | |||||||||||||||
: | 507537 (view as bug list) | Environment: | |||||||||||||
Last Closed: | 2009-06-27 13:49:12 UTC | Type: | --- | ||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||
Documentation: | --- | CRM: | |||||||||||||
Verified Versions: | Category: | --- | |||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
Embargoed: | |||||||||||||||
Attachments: |
|
Description
Federico Simoncelli
2009-06-22 09:18:59 UTC
Created attachment 348891 [details]
test1.xml
VM test1.xml creation file.
Created attachment 348892 [details]
test1-node1.xml
VM test1 xml file before migration:
# cp /var/run/libvirt/qemu/test1.xml test1-node1.xml
Created attachment 348893 [details]
test1-node2.xml
VM test1 xml file after migration:
# cp /var/run/libvirt/qemu/test1.xml test1-node1.xml
Created attachment 348894 [details]
libvirtd-debug.log
libvirtd debug on restart.
Hum,
paphio:~ -> diff test1-node1.xml test1-node2.xml
1,3c1,3
< <domstatus state='running' pid='6969'>
< <monitor path='/dev/pts/12'/>
< <domain type='kvm' id='9'>
---
> <domstatus state='paused' pid='7290'>
> <monitor path='/dev/pts/7'/>
> <domain type='kvm' id='6'>
So I would think it's that when the migration is started on node2 the
domain is defined as paused but we forget to mark it as running once the
migration completed and the guest is actually resumed.
Daniel
Created attachment 349050 [details]
libvirt-0.6.5-save-status-on-migration.patch
Proposed patch.
I should point out that the patch I posted resolves only the "paused" issue. If you destroy a migrated transient domain it sill remain defined. (Expected result: the migrated transient domain should be completely removed). This patch looks suitable for committing upstream to me Yup applied upstream, so that will make 0.6.5, thanks ! Daniel |