[Libguestfs] Add Remote Disk with SAS Key

Richard W.M. Jones rjones at redhat.com
Tue Jun 16 22:21:35 UTC 2015


On Tue, Jun 16, 2015 at 07:45:35PM +0000, Gabriel Hartmann wrote:
> I'm trying to read the contents of a remote vhd and running into some
> problems.  I suspect the issue has to do with the inclusion of a SAS key in
> the url.  Does anyone have any experience with this, or recommendations on
> where to begin looking to make a fix?
> 
> Here's the verbose (debug) log and command I'm trying to run.
> 
> https://gist.github.com/gabrielhartmann/6114578065eae011a2b3

Long story short, there turned out to be two bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1232476
guestfish drops -a URL?query parameters

https://bugzilla.redhat.com/show_bug.cgi?id=1232477
guestfs_add_drive_opts incorrectly quotes query parameters

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list