[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [libguestfs] Problem Connecting to RBD images using Sys::Guestfs Perl Module



Hello Richard,

Well...  The good news is I get the same error I was getting previously [1], so at least it's consistent :)

>> libguestfs: trace: add_drive "libvirt-pool/guestfish_test-os" "format:raw" "protocol:rbd" "server:192.168.0.35:6789 192.168.0.2:6789 192.168.0.40:6789"
>> libguestfs: trace: add_drive = -1 (error)
>> rbd: image name must begin with a '/' at guestfs_test.pl line 53.

Prepending a slash to the device name e.g.:

>> libguestfs: trace: add_drive "/libvirt-pool/guestfish_test-os" "format:raw" "protocol:rbd" "server:192.168.0.35:6789 192.168.0.2:6789 192.168.0.40:6789"

does allow me to mount the drive.  

This is using:

>> virt-sysprep 1.25.11

So I guess ultimately, it really is the same issue rearing it's head.

Thank you for the assistance.

Best Regards,
Jon A


[1]  https://bugzilla.redhat.com/show_bug.cgi?id=1026688


On Mon, Nov 25, 2013 at 4:24 PM, Jon <three18ti gmail com> wrote:

Hello Richard,

Ok, I'll give it a shot.

Thanks!
Jin A

On Nov 25, 2013 4:19 PM, "Richard W.M. Jones" <rjones redhat com> wrote:
On Mon, Nov 25, 2013 at 04:12:40PM -0700, Jon wrote:
> Hello Richard,
>
> I'm using:
>
> >> virt-sysprep 1.25.6
>
> I honestly don't remember if the currently installed version is from the
> tarball or pulled from the github source...  Now that you mention it, I
> think it could even be the version with my "hack" to fix virt-sysprep...
>
> Which version are you building?

1.25.8

> I see there's a:
> libguestfs-1.25.11.tar.gz<http://libguestfs.org/download/1.25-development/libguestfs-1.25.11.tar.gz>23-Nov-2013
>
> Would you recommend building that or building from the git repository?

>From git is probably your best bet.  The README file explains
how to build it.

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]