qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Liu Yuan <namei.unix@gmail.com>
To: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Cc: Kevin Wolf <kwolf@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	sheepdog@lists.wpkg.org, qemu-devel@nongnu.org,
	Stefan Hajnoczi <stefanha@redhat.com>
Subject: Re: [Qemu-devel] [sheepdog] [PATCH v2 0/9] sheepdog: reconnect server after connection failure
Date: Wed, 24 Jul 2013 16:28:30 +0800	[thread overview]
Message-ID: <20130724082830.GA11913@ubuntu-precise> (raw)
In-Reply-To: <1374652593-7242-1-git-send-email-morita.kazutaka@lab.ntt.co.jp>

On Wed, Jul 24, 2013 at 04:56:24PM +0900, MORITA Kazutaka wrote:
> Currently, if a sheepdog server exits, all the connecting VMs need to
> be restarted.  This series implements a feature to reconnect the
> server, and enables us to do online sheepdog upgrade and avoid
> restarting VMs when sheepdog servers crash unexpectedly.
> 

It doesn't work on my test. I tried start linux-0.2.img stored in sheepdog
cluster and then

1. did some buffered writes
2. restart sheep that this QEMU VM connected to.
3. $ sync

I got following error:

$ ../qemu/x86_64-softmmu/qemu-system-x86_64 --enable-kvm -m 1024 -hda sheepdog:test
qemu-system-x86_64: failed to get the header, Resource temporarily unavailable
qemu-system-x86_64: Failed to connect to socket: Connection refused
qemu-system-x86_64: Failed to connect to socket: Connection refused
qemu-system-x86_64: Failed to connect to socket: Connection refused
qemu-system-x86_64: Failed to connect to socket: Connection refused
qemu-system-x86_64: Failed to connect to socket: Connection refused
...repeat...

QEMU version is master tip

Thanks
Yuan

  parent reply	other threads:[~2013-07-24  8:28 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-24  7:56 [Qemu-devel] [PATCH v2 0/9] sheepdog: reconnect server after connection failure MORITA Kazutaka
2013-07-24  7:56 ` [Qemu-devel] [PATCH v2 1/9] ignore SIGPIPE in qemu-img and qemu-io MORITA Kazutaka
2013-07-24  7:56 ` [Qemu-devel] [PATCH v2 2/9] iov: handle EOF in iov_send_recv MORITA Kazutaka
2013-07-24  7:56 ` [Qemu-devel] [PATCH v2 3/9] sheepdog: check return values of qemu_co_recv/send correctly MORITA Kazutaka
2013-07-24  7:56 ` [Qemu-devel] [PATCH v2 4/9] sheepdog: handle vdi objects in resend_aio_req MORITA Kazutaka
2013-07-24  7:56 ` [Qemu-devel] [PATCH v2 5/9] sheepdog: reload inode outside of resend_aioreq MORITA Kazutaka
2013-07-24  7:56 ` [Qemu-devel] [PATCH v2 6/9] coroutine: add co_aio_sleep_ns() to allow sleep in block drivers MORITA Kazutaka
2013-07-24  7:56 ` [Qemu-devel] [PATCH v2 7/9] sheepdog: try to reconnect to sheepdog after network error MORITA Kazutaka
2013-07-24  7:56 ` [Qemu-devel] [PATCH v2 8/9] sheepdog: make add_aio_request and send_aioreq void functions MORITA Kazutaka
2013-07-24  7:56 ` [Qemu-devel] [PATCH v2 9/9] sheepdog: cancel aio requests if possible MORITA Kazutaka
2013-07-24  8:28 ` Liu Yuan [this message]
2013-07-24  9:07   ` [Qemu-devel] [sheepdog] [PATCH v2 0/9] sheepdog: reconnect server after connection failure MORITA Kazutaka
2013-07-24 15:42     ` Liu Yuan
2013-07-25  3:36       ` Liu Yuan
2013-07-25  5:25         ` [Qemu-devel] " Liu Yuan
2013-07-25  5:25           ` [Qemu-devel] [PATCH 1/2] sheepdog: correct signedness of comparison Liu Yuan
2013-07-25  5:25           ` [Qemu-devel] [PATCH 2/2] sheepdog: put aio request into failed list when failing to send request Liu Yuan
2013-07-25  5:53           ` [Qemu-devel] [sheepdog] [PATCH v2 0/9] sheepdog: reconnect server after connection failure MORITA Kazutaka
2013-07-25  6:02             ` Liu Yuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130724082830.GA11913@ubuntu-precise \
    --to=namei.unix@gmail.com \
    --cc=kwolf@redhat.com \
    --cc=morita.kazutaka@lab.ntt.co.jp \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=sheepdog@lists.wpkg.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).