From: Josh Durgin <josh.durgin@inktank.com>
To: Michael Morgan <mmorgan@dca.net>
Cc: ceph-devel@vger.kernel.org
Subject: Re: Errors attaching RBD image to a running VM
Date: Mon, 10 Dec 2012 13:12:45 -0800 [thread overview]
Message-ID: <50C6504D.8090307@inktank.com> (raw)
In-Reply-To: <20121210204850.GC22300@staff.dca.net>
On 12/10/2012 12:48 PM, Michael Morgan wrote:
> On Fri, Dec 07, 2012 at 02:50:08PM -0800, Josh Durgin wrote:
>> Yes, this is fixed in libvirt 0.9.12. There were a couple issues with
>> properly escaping JSON and using a space instead of a semicolon with
>> qemu's command parsing.
>>
>> There are a couple more rbd-related bug fixes in later versions of
>> libvirt, but you wouldn't hit those problems using OpenStack.
>
> Thanks Josh! After building and installing libvirt 1.0.0 RPMs I unfortunately
> seem to have taken a step backwards. Any use of network disks with
> protocol="rbd" causes libvirt to bail with a dreaded 'No such file or
> directory':
>
> 2012-12-10 20:08:37.203+0000: 16691: error : virFileOpenAs:1077 : failed to open file 'volumes/volume-485390a9-5a39-46c1-8434-872acbc645d8': No such file or directory
> 2012-12-10 20:08:37.203+0000: 16691: error : virStorageFileGetMetadataRecurse:962 : cannot open file 'volumes/volume-485390a9-5a39-46c1-8434-872acbc645d8': No such file or directory
There was a regression in 1.0.0 with attaching non-files, such as RBD.
This is fixed by f0e72b2f5c675f927d04545dc5095f9e5998f171, which you
could cherry-pick onto 1.0.0.
If you'd rather just use a released version, 0.10.2 should be fine.
> I see there is a specific flag in the spec file for RBD support in this version
> but I'm assuming that's more for pool support, correct?
Yes, --with-storage-rbd is just for using rbd as a backend for libvirt
pools.
Josh
next prev parent reply other threads:[~2012-12-10 21:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-07 21:22 Errors attaching RBD image to a running VM Michael Morgan
2012-12-07 22:50 ` Josh Durgin
2012-12-10 20:48 ` Michael Morgan
2012-12-10 21:12 ` Josh Durgin [this message]
2012-12-10 23:29 ` Michael Morgan
2015-08-25 11:31 ` venkat
2015-08-26 10:21 ` venkat
[not found] ` <CAFdRU73roiZmHu60ELVCFnV0M=WcPzk7Af1r1zSqiWSZE7yQEg@mail.gmail.com>
[not found] ` <85E6A9CA58484A42B4C2F91092BC19870849102F@G9W0733.americas.hpqcorp.net>
2015-08-26 12:23 ` Shinobu Kinjo
2015-08-27 10:12 ` B, Naga Venkata
2015-08-27 12:30 ` Shinobu Kinjo
2015-08-27 12:47 ` B, Naga Venkata
2015-08-27 13:17 ` Shinobu Kinjo
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=50C6504D.8090307@inktank.com \
--to=josh.durgin@inktank.com \
--cc=ceph-devel@vger.kernel.org \
--cc=mmorgan@dca.net \
/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