* KVM Migration fails
@ 2008-09-25 4:22 jd
2008-09-25 5:56 ` Chris Lalancette
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: jd @ 2008-09-25 4:22 UTC (permalink / raw)
To: KVM List
Hi
I have a setup using shared nfs disks. When migration is attempted, it fails... any ideas on how to debug this..?
/Jd
Details
=======
migration: write failed (Connection reset by peer)^M
Migration failed! ret=0 error=9
Source : KVM-73, Cent OS 5.2, 64 bit.
qemu-system-x86_64 -net nic,vlan=0,macaddr=00:16:3e:16:f4:f0 -net user,vlan=0 -hda /mnt/nfs/vmdisks/XPSP2-KVM.disk.xm -boot c -m 1024 -no-acpi -vnc :22 -name XPSP2-KVM -smp 2 -monitor unix:/var/run/kvm/monitors/XPSP2-KVM,server,nowait -pidfile /var/run/kvm/pids/XPSP2-KVM -daemonize
Dest : KVM-70, Fedora 8, 64bit
qemu-system-x86_64 -net nic,vlan=0,macaddr=00:16:3e:16:f4:f0 -net user,vlan=0 -hda /mnt/nfs/vmdisks/XPSP2-KVM.disk.xm -boot c -m 1024 -no-acpi -vnc :23 -incoming tcp://0:8002 -name XPSP2-KVM -smp 2 -monitor unix:/var/run/kvm/monitors/XPSP2-KVM,server,nowait -pidfile /var/run/kvm/pids/XPSP2-KVM -daemonize
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: KVM Migration fails
2008-09-25 4:22 KVM Migration fails jd
@ 2008-09-25 5:56 ` Chris Lalancette
2008-09-25 7:18 ` jd
2008-09-25 6:23 ` Yang, Sheng
2008-09-25 7:34 ` Uri Lublin
2 siblings, 1 reply; 7+ messages in thread
From: Chris Lalancette @ 2008-09-25 5:56 UTC (permalink / raw)
To: jdsw2002; +Cc: KVM List
jd wrote:
> Hi I have a setup using shared nfs disks. When migration is attempted, it
> fails... any ideas on how to debug this..?
>
> /Jd
>
> Details =======
>
> migration: write failed (Connection reset by peer)^M Migration failed! ret=0
> error=9
Not a lot of detail here, but when does it fail during the process?
Immediately? After transferring some of the image? Right at the end?
Connection reset by peer sort of sounds like there is a firewall or something in
the way, although if it transfers some data before crashing, then it's probably
something else. The only other thing I can think of based on your command-line
below is something to do with your -net options; I've only successfully migrated
with -net tap before, I've never tried -net user.
Chris Lalancette
>
> Source : KVM-73, Cent OS 5.2, 64 bit.
>
> qemu-system-x86_64 -net nic,vlan=0,macaddr=00:16:3e:16:f4:f0 -net user,vlan=0
> -hda /mnt/nfs/vmdisks/XPSP2-KVM.disk.xm -boot c -m 1024 -no-acpi -vnc :22
> -name XPSP2-KVM -smp 2 -monitor
> unix:/var/run/kvm/monitors/XPSP2-KVM,server,nowait -pidfile
> /var/run/kvm/pids/XPSP2-KVM -daemonize
>
>
>
> Dest : KVM-70, Fedora 8, 64bit
>
> qemu-system-x86_64 -net nic,vlan=0,macaddr=00:16:3e:16:f4:f0 -net user,vlan=0
> -hda /mnt/nfs/vmdisks/XPSP2-KVM.disk.xm -boot c -m 1024 -no-acpi -vnc :23
> -incoming tcp://0:8002 -name XPSP2-KVM -smp 2 -monitor
> unix:/var/run/kvm/monitors/XPSP2-KVM,server,nowait -pidfile
> /var/run/kvm/pids/XPSP2-KVM -daemonize
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: KVM Migration fails
2008-09-25 5:56 ` Chris Lalancette
@ 2008-09-25 7:18 ` jd
0 siblings, 0 replies; 7+ messages in thread
From: jd @ 2008-09-25 7:18 UTC (permalink / raw)
To: Chris Lalancette; +Cc: KVM List
Hi Chris,
Thanks for the response.
It errors out bit after the command is given.. so I guess... it must have transferred some pages/bits.
What kind of information do you want me to collect ?
Is there a way to turn on logging..debugging for kvm process ?
Will also try tap option.
thanks.
/Jd
--- On Wed, 9/24/08, Chris Lalancette <clalance@redhat.com> wrote:
> From: Chris Lalancette <clalance@redhat.com>
> Subject: Re: KVM Migration fails
> To: jdsw2002@yahoo.com
> Cc: "KVM List" <kvm@vger.kernel.org>
> Date: Wednesday, September 24, 2008, 10:56 PM
> jd wrote:
> > Hi I have a setup using shared nfs disks. When
> migration is attempted, it
> > fails... any ideas on how to debug this..?
> >
> > /Jd
> >
> > Details =======
> >
> > migration: write failed (Connection reset by peer)^M
> Migration failed! ret=0
> > error=9
>
> Not a lot of detail here, but when does it fail during the
> process?
> Immediately? After transferring some of the image? Right
> at the end?
> Connection reset by peer sort of sounds like there is a
> firewall or something in
> the way, although if it transfers some data before
> crashing, then it's probably
> something else. The only other thing I can think of based
> on your command-line
> below is something to do with your -net options; I've
> only successfully migrated
> with -net tap before, I've never tried -net user.
>
> Chris Lalancette
>
> >
> > Source : KVM-73, Cent OS 5.2, 64 bit.
> >
> > qemu-system-x86_64 -net
> nic,vlan=0,macaddr=00:16:3e:16:f4:f0 -net user,vlan=0
> > -hda /mnt/nfs/vmdisks/XPSP2-KVM.disk.xm -boot c -m
> 1024 -no-acpi -vnc :22
> > -name XPSP2-KVM -smp 2 -monitor
> > unix:/var/run/kvm/monitors/XPSP2-KVM,server,nowait
> -pidfile
> > /var/run/kvm/pids/XPSP2-KVM -daemonize
> >
> >
> >
> > Dest : KVM-70, Fedora 8, 64bit
> >
> > qemu-system-x86_64 -net
> nic,vlan=0,macaddr=00:16:3e:16:f4:f0 -net user,vlan=0
> > -hda /mnt/nfs/vmdisks/XPSP2-KVM.disk.xm -boot c -m
> 1024 -no-acpi -vnc :23
> > -incoming tcp://0:8002 -name XPSP2-KVM -smp 2 -monitor
> > unix:/var/run/kvm/monitors/XPSP2-KVM,server,nowait
> -pidfile
> > /var/run/kvm/pids/XPSP2-KVM -daemonize
> --
> To unsubscribe from this list: send the line
> "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at
> http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: KVM Migration fails
2008-09-25 4:22 KVM Migration fails jd
2008-09-25 5:56 ` Chris Lalancette
@ 2008-09-25 6:23 ` Yang, Sheng
2008-09-25 7:23 ` jd
2008-09-25 7:34 ` Uri Lublin
2 siblings, 1 reply; 7+ messages in thread
From: Yang, Sheng @ 2008-09-25 6:23 UTC (permalink / raw)
To: kvm, jdsw2002@yahoo.com
On Thursday 25 September 2008 12:22:42 jd wrote:
> Hi
> I have a setup using shared nfs disks. When migration is attempted, it
> fails... any ideas on how to debug this..?
It's a regression bug recently.
Please refer to
https://sourceforge.net/tracker/index.php?func=detail&aid=2106661&group_id=180599&atid=893831
I think a git bisect can also help.
--
regards
Yang, Sheng
>
> /Jd
>
> Details
> =======
>
> migration: write failed (Connection reset by peer)^M
> Migration failed! ret=0 error=9
>
> Source : KVM-73, Cent OS 5.2, 64 bit.
>
> qemu-system-x86_64 -net nic,vlan=0,macaddr=00:16:3e:16:f4:f0 -net
> user,vlan=0 -hda /mnt/nfs/vmdisks/XPSP2-KVM.disk.xm -boot c -m 1024
> -no-acpi -vnc :22 -name XPSP2-KVM -smp 2 -monitor
> unix:/var/run/kvm/monitors/XPSP2-KVM,server,nowait -pidfile
> /var/run/kvm/pids/XPSP2-KVM -daemonize
>
>
>
> Dest : KVM-70, Fedora 8, 64bit
>
> qemu-system-x86_64 -net nic,vlan=0,macaddr=00:16:3e:16:f4:f0 -net
> user,vlan=0 -hda /mnt/nfs/vmdisks/XPSP2-KVM.disk.xm -boot c -m 1024
> -no-acpi -vnc :23 -incoming tcp://0:8002 -name XPSP2-KVM -smp 2 -monitor
> unix:/var/run/kvm/monitors/XPSP2-KVM,server,nowait -pidfile
> /var/run/kvm/pids/XPSP2-KVM -daemonize
>
>
>
>
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: KVM Migration fails
2008-09-25 6:23 ` Yang, Sheng
@ 2008-09-25 7:23 ` jd
2008-09-25 7:32 ` Yang, Sheng
0 siblings, 1 reply; 7+ messages in thread
From: jd @ 2008-09-25 7:23 UTC (permalink / raw)
To: kvm, Yang, Sheng
The error code and the messages seem bit different here.
/Jd
--- On Wed, 9/24/08, Yang, Sheng <sheng.yang@intel.com> wrote:
> From: Yang, Sheng <sheng.yang@intel.com>
> Subject: Re: KVM Migration fails
> To: kvm@vger.kernel.org, "jdsw2002@yahoo.com" <jdsw2002@yahoo.com>
> Date: Wednesday, September 24, 2008, 11:23 PM
> On Thursday 25 September 2008 12:22:42 jd wrote:
> > Hi
> > I have a setup using shared nfs disks. When
> migration is attempted, it
> > fails... any ideas on how to debug this..?
>
> It's a regression bug recently.
>
> Please refer to
>
> https://sourceforge.net/tracker/index.php?func=detail&aid=2106661&group_id=180599&atid=893831
>
> I think a git bisect can also help.
> --
> regards
> Yang, Sheng
> >
> > /Jd
> >
> > Details
> > =======
> >
> > migration: write failed (Connection reset by peer)^M
> > Migration failed! ret=0 error=9
> >
> > Source : KVM-73, Cent OS 5.2, 64 bit.
> >
> > qemu-system-x86_64 -net
> nic,vlan=0,macaddr=00:16:3e:16:f4:f0 -net
> > user,vlan=0 -hda /mnt/nfs/vmdisks/XPSP2-KVM.disk.xm
> -boot c -m 1024
> > -no-acpi -vnc :22 -name XPSP2-KVM -smp 2 -monitor
> > unix:/var/run/kvm/monitors/XPSP2-KVM,server,nowait
> -pidfile
> > /var/run/kvm/pids/XPSP2-KVM -daemonize
> >
> >
> >
> > Dest : KVM-70, Fedora 8, 64bit
> >
> > qemu-system-x86_64 -net
> nic,vlan=0,macaddr=00:16:3e:16:f4:f0 -net
> > user,vlan=0 -hda /mnt/nfs/vmdisks/XPSP2-KVM.disk.xm
> -boot c -m 1024
> > -no-acpi -vnc :23 -incoming tcp://0:8002 -name
> XPSP2-KVM -smp 2 -monitor
> > unix:/var/run/kvm/monitors/XPSP2-KVM,server,nowait
> -pidfile
> > /var/run/kvm/pids/XPSP2-KVM -daemonize
> >
> >
> >
> >
> >
> >
> >
> > --
> > To unsubscribe from this list: send the line
> "unsubscribe kvm" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at
> http://vger.kernel.org/majordomo-info.html
>
>
> --
> To unsubscribe from this list: send the line
> "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at
> http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: KVM Migration fails
2008-09-25 7:23 ` jd
@ 2008-09-25 7:32 ` Yang, Sheng
0 siblings, 0 replies; 7+ messages in thread
From: Yang, Sheng @ 2008-09-25 7:32 UTC (permalink / raw)
To: jdsw2002@yahoo.com; +Cc: kvm@vger.kernel.org
On Thursday 25 September 2008 15:23:22 jd wrote:
> The error code and the messages seem bit different here.
>
Um... At least I believe it's a regression, and our migration test never
success after that. So I think it's worth to look into it. If you are lucky
enough, you would got two bugs. :)
--
regards
Yang, Sheng
> /Jd
>
> --- On Wed, 9/24/08, Yang, Sheng <sheng.yang@intel.com> wrote:
> > From: Yang, Sheng <sheng.yang@intel.com>
> > Subject: Re: KVM Migration fails
> > To: kvm@vger.kernel.org, "jdsw2002@yahoo.com" <jdsw2002@yahoo.com>
> > Date: Wednesday, September 24, 2008, 11:23 PM
> >
> > On Thursday 25 September 2008 12:22:42 jd wrote:
> > > Hi
> > > I have a setup using shared nfs disks. When
> >
> > migration is attempted, it
> >
> > > fails... any ideas on how to debug this..?
> >
> > It's a regression bug recently.
> >
> > Please refer to
> >
> > https://sourceforge.net/tracker/index.php?func=detail&aid=2106661&group_i
> >d=180599&atid=893831
> >
> > I think a git bisect can also help.
> > --
> > regards
> > Yang, Sheng
> >
> > > /Jd
> > >
> > > Details
> > > =======
> > >
> > > migration: write failed (Connection reset by peer)^M
> > > Migration failed! ret=0 error=9
> > >
> > > Source : KVM-73, Cent OS 5.2, 64 bit.
> > >
> > > qemu-system-x86_64 -net
> >
> > nic,vlan=0,macaddr=00:16:3e:16:f4:f0 -net
> >
> > > user,vlan=0 -hda /mnt/nfs/vmdisks/XPSP2-KVM.disk.xm
> >
> > -boot c -m 1024
> >
> > > -no-acpi -vnc :22 -name XPSP2-KVM -smp 2 -monitor
> > > unix:/var/run/kvm/monitors/XPSP2-KVM,server,nowait
> >
> > -pidfile
> >
> > > /var/run/kvm/pids/XPSP2-KVM -daemonize
> > >
> > >
> > >
> > > Dest : KVM-70, Fedora 8, 64bit
> > >
> > > qemu-system-x86_64 -net
> >
> > nic,vlan=0,macaddr=00:16:3e:16:f4:f0 -net
> >
> > > user,vlan=0 -hda /mnt/nfs/vmdisks/XPSP2-KVM.disk.xm
> >
> > -boot c -m 1024
> >
> > > -no-acpi -vnc :23 -incoming tcp://0:8002 -name
> >
> > XPSP2-KVM -smp 2 -monitor
> >
> > > unix:/var/run/kvm/monitors/XPSP2-KVM,server,nowait
> >
> > -pidfile
> >
> > > /var/run/kvm/pids/XPSP2-KVM -daemonize
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe from this list: send the line
> >
> > "unsubscribe kvm" in
> >
> > > the body of a message to majordomo@vger.kernel.org
> > > More majordomo info at
> >
> > http://vger.kernel.org/majordomo-info.html
> >
> >
> > --
> > To unsubscribe from this list: send the line
> > "unsubscribe kvm" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at
> > http://vger.kernel.org/majordomo-info.html
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: KVM Migration fails
2008-09-25 4:22 KVM Migration fails jd
2008-09-25 5:56 ` Chris Lalancette
2008-09-25 6:23 ` Yang, Sheng
@ 2008-09-25 7:34 ` Uri Lublin
2 siblings, 0 replies; 7+ messages in thread
From: Uri Lublin @ 2008-09-25 7:34 UTC (permalink / raw)
To: jdsw2002; +Cc: KVM List
jd wrote:
> Hi
> I have a setup using shared nfs disks. When migration is attempted, it fails... any ideas on how to debug this..?
>
> /Jd
>
> Details
> =======
>
> migration: write failed (Connection reset by peer)^M
> Migration failed! ret=0 error=9
>
> Source : KVM-73, Cent OS 5.2, 64 bit.
>
> qemu-system-x86_64 -net nic,vlan=0,macaddr=00:16:3e:16:f4:f0 -net user,vlan=0 -hda /mnt/nfs/vmdisks/XPSP2-KVM.disk.xm -boot c -m 1024 -no-acpi -vnc :22 -name XPSP2-KVM -smp 2 -monitor unix:/var/run/kvm/monitors/XPSP2-KVM,server,nowait -pidfile /var/run/kvm/pids/XPSP2-KVM -daemonize
>
>
>
> Dest : KVM-70, Fedora 8, 64bit
>
> qemu-system-x86_64 -net nic,vlan=0,macaddr=00:16:3e:16:f4:f0 -net user,vlan=0 -hda /mnt/nfs/vmdisks/XPSP2-KVM.disk.xm -boot c -m 1024 -no-acpi -vnc :23 -incoming tcp://0:8002 -name XPSP2-KVM -smp 2 -monitor unix:/var/run/kvm/monitors/XPSP2-KVM,server,nowait -pidfile /var/run/kvm/pids/XPSP2-KVM -daemonize
>
Hi,
The error on the source is "write failed ...". Many times that means the
destination has exited due to an error on its side. Do you see any error message
on the destination ?
Uri.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-09-25 7:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-25 4:22 KVM Migration fails jd
2008-09-25 5:56 ` Chris Lalancette
2008-09-25 7:18 ` jd
2008-09-25 6:23 ` Yang, Sheng
2008-09-25 7:23 ` jd
2008-09-25 7:32 ` Yang, Sheng
2008-09-25 7:34 ` Uri Lublin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox