All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mykola Golub <to.my.trociny-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Jan Kasprzak <kas-0hYGf3jDe+XrBKCeMvbIDA@public.gmane.org>
Cc: ceph-users <ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org>,
	ceph-devel <ceph-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: RBD image format v1 EOL ...
Date: Wed, 20 Feb 2019 17:38:02 +0200	[thread overview]
Message-ID: <20190220153758.GA10288@gmail.com> (raw)
In-Reply-To: <20190220092247.GZ92783-0hYGf3jDe+XrBKCeMvbIDA@public.gmane.org>

On Wed, Feb 20, 2019 at 10:22:47AM +0100, Jan Kasprzak wrote:

> 	If I read the parallel thread about pool migration in ceph-users@
> correctly, the ability to migrate to v2 would still require to stop the client
> before the "rbd migration prepare" can be executed.

Note, if even rbd supported live (without any downtime) migration you
would still need to restart the client after the upgrate to a new
librbd with migration support.

So actually you can combine the upgrade with migration:

  upgrade client library
  stop client
  rbd migration prepare
  start client

and eventually:

  rbd migration execute
  rbd migration commit

And it would be interesting to investigate a possibility to replace
"stop/start client" steps with "migrating the VM to another (upgraded)
host" to avoid stopping the VM at all. The trick would be to execute
somehow "rbd migration prepare" after the the sourse VM closes the
image, but before the destination VM opens it.

-- 
Mykola Golub

  parent reply	other threads:[~2019-02-20 15:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-13 18:36 RBD image format v1 EOL Jason Dillaman
     [not found] ` <CA+aFP1Dod_hwug_omfegFTERyiYmwa+3KDcBZsXcjR+B87YykQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-02-13 19:14   ` Gregory Farnum
2019-02-20  9:22   ` Jan Kasprzak
     [not found]     ` <20190220092247.GZ92783-0hYGf3jDe+XrBKCeMvbIDA@public.gmane.org>
2019-02-20 15:38       ` Mykola Golub [this message]
     [not found]         ` <48f860e6-f9d4-ef39-53a2-465380596429@yahoo.com>
     [not found]           ` <48f860e6-f9d4-ef39-53a2-465380596429-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
2019-02-22 14:38             ` Mykola Golub

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=20190220153758.GA10288@gmail.com \
    --to=to.my.trociny-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=ceph-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org \
    --cc=kas-0hYGf3jDe+XrBKCeMvbIDA@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.