On Thu, Nov 21, 2024 at 03:26:15PM -0000, brownie4...@gmail.com wrote: > Hi, > Could you check url parser for rbd protocol? > > When i execute this, > $ /bin/virt-inspector --format=raw -a > 'rbd://admin:AQBDtCln1ccACxAAY8e09wa7rSnrIp7pV/4bAA==@1.1.1.1:3300/poolname/imagename' > > it returns > --add: could not parse URI > rbd://admin:AQBDtCln1ccACxAAY8e09wa7rSnrIp7pV/4bAA==@1.1.1.1:3300/poolname/imagename > > > it seems to be failed when rbd keyring contains slash('/') > (original keyring is 'AQBDtCln1ccACxAAY8e09wa7rSnrIp7pV/4bAA==')
The parser is correct, the URI is wrong. Can you try changing to / to %2f, ie: 'rbd://admin:AQBDtCln1ccACxAAY8e09wa7rSnrIp7pV%2f4bAA==@1.1.1.1:3300/poolname/imagename' 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 _______________________________________________ Libguestfs mailing list -- guestfs@lists.libguestfs.org To unsubscribe send an email to guestfs-le...@lists.libguestfs.org