Displaying 20 results from an estimated 37 matches for "auth_support".
Did you mean:
auth_supported
2012 Sep 18
1
libvirt 0.10 and cephx
Hello,
Current version adding 'auth_supported=none' at the end of disk path
and failing to do an authentication with specified cephx key:
<source protocol='rbd'
name='rbd/vmxxxxxxxxx:id=qemukvm:key=[cut]==:auth_supported=cephx'>
<host name='10.0.0.13' port='6789'/>
<ho...
2019 Apr 01
2
Re: guestfish Remote Images IPv6 Support
I believe the bug lies in libguestfs.
Taking out the commands being sent to QEMU and using qemu-img info I can
recreate the error:
# qemu-img info
"rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none"
qemu-img: Could not open
'rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none':
invalid conf option :cefc:1]:6789:auth_supported: No such file or directory
When escaping the : in the v6 address (just like is done with the port's...
2019 Apr 01
1
Re: guestfish Remote Images IPv6 Support
...: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/root/libguestfs/tmp"
libguestfs: trace: disk_create
"/root/libguestfs/tmp/libguestfs9gclsg/overlay1.qcow2" "qcow2" -1
"backingfile:rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00\:\:cefc\:1]\:6789:auth_supported=none"
"backingformat:raw"
libguestfs: command: run: qemu-img
libguestfs: command: run: \ create
libguestfs: command: run: \ -f qcow2
libguestfs: command: run: \ -o
backing_file=rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00\:\:cefc\:1]\:6789:auth_supported=none,backi...
2019 Apr 01
2
Re: guestfish Remote Images IPv6 Support
...t:raw" "protocol:rbd" "server:tcp:[fd00::cefc:1]:6789"
> This is probably where it goes wrong:
>
>> "/tmp/libguestfs3pGMi6/overlay1.qcow2" "qcow2" -1 "backingfile:rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none"
>> "backingformat:raw"
>> libguestfs: command: run: \ -o backing_file=rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none,backing_fmt=raw
>> libguestfs: command: run: \ /tmp/libguestfs3pGMi6/overlay1.qcow2
>>...
2020 Oct 23
2
RBD volume not made available to Xen virtual guest on openSUSE 15.2 (with libvirt 6.0.0)
...ts, but then sits in the Grub 2 boot prompt
because the disk is not available. The qemu log shows:
qemu-system-i386: failed to create 'qdisk' device '51712': failed to
create drive: Could not open
'rbd:guests/mytwotel-a:id=libvirt:key=AQCAUpBbrcaiFxAA1sztXPbkdW1L54i99oUpyA==:auth_supported=cephx\;none':
No such file or directory
qemu-system-i386: failed to create 'qdisk' device '51712': failed to
create drive: Could not open
'rbd:guests/mytwotel-a:id=libvirt:key=AQCAUpBbrcaiFxAA1sztXPbkdW1L54i99oUpyA==:auth_supported=cephx\;none':
No such file or dir...
2019 Mar 29
2
guestfish Remote Images IPv6 Support
...t original drive content
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
libguestfs: trace: disk_create "/tmp/libguestfs3pGMi6/overlay1.qcow2"
"qcow2" -1
"backingfile:rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none"
"backingformat:raw"
libguestfs: command: run: qemu-img
libguestfs: command: run: \ create
libguestfs: command: run: \ -f qcow2
libguestfs: command: run: \ -o
backing_file=rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none,backing_...
2013 Nov 05
2
Problem using virt-sysprep with RBD images
...er-clone-test
>> error: internal error: process exited while connecting to monitor: W:
kvm binary is deprecated, please use qemu-system-x86_64 instead
>> char device redirected to /dev/pts/5 (label charserial0)
>> qemu-system-x86_64: -drive
file=rbd:/libvirt-pool/server-clone-test:auth_supported=none:mon_host=192.168.0.40\:6789\;192.168.0.35\:6789\;192.168.0.2\:6789,if=none,id=drive-ide0-0-1:
pool name too short
>> qemu-system-x86_64: -drive
file=rbd:/libvirt-pool/server-clone-test:auth_supported=none:mon_host=192.168.0.40\:6789\;192.168.0.35\:6789\;192.168.0.2\:6789,if=none,id=dri...
2020 Oct 27
0
Re: RBD volume not made available to Xen virtual guest on openSUSE 15.2 (with libvirt 6.0.0)
...>> because the disk is not available. The qemu log shows:
>>
>> qemu-system-i386: failed to create 'qdisk' device '51712': failed to
>> create drive: Could not open
>> 'rbd:guests/mytwotel-a:id=libvirt:key=AQCAUpBbrcaiFxAA1sztXPbkdW1L54i99oUpyA==:auth_supported=cephx\;none':
>> No such file or directory
>> qemu-system-i386: failed to create 'qdisk' device '51712': failed to
>> create drive: Could not open
>> 'rbd:guests/mytwotel-a:id=libvirt:key=AQCAUpBbrcaiFxAA1sztXPbkdW1L54i99oUpyA==:auth_supported=ce...
2013 Nov 25
4
Problem Connecting to RBD images using Sys::Guestfs Perl Module
...-os"
"format:raw" "protocol:rbd" "server:192.168.0.35:6789 192.168.0.2:6789
192.168.0.40:6789"
But it seems like the name is getting chewed up in the call to kvm:
>> -drive
file=rbd:libvirt:mon_host=192.168.0.35\:6789\;192.168.0.2\:6789\;192.168.0.40\:6789:auth_supported=none,cache=writeback,format=raw,id=hd0,if=none
>> disk image
rbd:libvirt:mon_host=192.168.0.35\:6789\;192.168.0.2\:6789\;192.168.0.40\:6789:auth_supported=none:
Invalid argument
I am able to add non rbd images without an issue.
Any thoughts?
Thanks,
Jon A
[1] https://bugzilla.redhat.co...
2020 Oct 26
1
Re: RBD volume not made available to Xen virtual guest on openSUSE 15.2 (with libvirt 6.0.0)
...;
> [...]
>
>> I tried to strace libvirtd. The results are as follows:
>>
>> On openSUSE 15.2 with libvirt 6.0.0 (not working), we see this:
>>
>> 1682 openat(AT_FDCWD,
>> "rbd:guests/mytwotel-a:id=libvirt:key=AQCAUpBbrcaiFxAA1sztXPbkdW1L54i99oUpyA==:auth_supported=cephx\\;none",
>> O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>> 1682 rt_sigprocmask(SIG_BLOCK, NULL, [BUS USR1 ALRM IO], 8) = 0
>> 1682 mmap(NULL, 1052672, PROT_READ|PROT_WRITE,
>> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f538aefd000
>> 1682 mp...
2013 Nov 25
2
Re: Problem Connecting to RBD images using Sys::Guestfs Perl Module
...uot;server:192.168.0.35:6789 192.168.0.2:6789
> > 192.168.0.40:6789"
> >
> > But it seems like the name is getting chewed up in the call to kvm:
> >
> > >> -drive
> > file=rbd:libvirt:mon_host=192.168.0.35\:6789\;192.168.0.2\:6789\;192.168.0.40\:6789:auth_supported=none,cache=writeback,format=raw,id=hd0,if=none
> > >> disk image
> > rbd:libvirt:mon_host=192.168.0.35\:6789\;192.168.0.2\:6789\;192.168.0.40\:6789:auth_supported=none:
> > Invalid argument
> >
> > I am able to add non rbd images without an issue.
> >
&...
2013 Nov 06
2
Re: Problem using virt-sysprep with RBD images
...process exited while connecting to monitor: W:
> > kvm binary is deprecated, please use qemu-system-x86_64 instead
> > >> char device redirected to /dev/pts/5 (label charserial0)
> > >> qemu-system-x86_64: -drive
> >
> file=rbd:/libvirt-pool/server-clone-test:auth_supported=none:mon_host=192.168.0.40\:6789\;192.168.0.35\:6789\;192.168.0.2\:6789,if=none,id=drive-ide0-0-1:
> > pool name too short
> > >> qemu-system-x86_64: -drive
> >
> file=rbd:/libvirt-pool/server-clone-test:auth_supported=none:mon_host=192.168.0.40\:6789\;192.168.0.35\:678...
2017 Aug 25
1
external snapshot is missing object secrets
...list the ceph secret in plain,e.g.
# virsh snapshot-create-as vm-123 --no-metadata --disk-only --diskspec
sda,file=/var/lib/libvirt/qemu/snapshot/vm-123-wrapper.qcow2
# qemu-img info /var/lib/libvirt/qemu/snapshot/vm-123-wrapper.qcow2
...
backing file:
rbd:vms_pool0/disk-123:id=libvirt:key=SECRET:auth_supported=cephx\;none:mon_host=192.168.1.1\:6789\;192.168.1.11\:6789\;192.168.1.21\:6789
While this is problematic from a security perspective (and one of the
reasons for the new method), it enabled starting the virtual machine
again in case it died or got powered off.
With the newer libvirt object secre...
2019 Mar 30
0
Re: guestfish Remote Images IPv6 Support
..."format:raw" "protocol:rbd" "server:tcp:[fd00::cefc:1]:6789"
This is probably where it goes wrong:
> "/tmp/libguestfs3pGMi6/overlay1.qcow2" "qcow2" -1 "backingfile:rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none"
> "backingformat:raw"
> libguestfs: command: run: \ -o backing_file=rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none,backing_fmt=raw
> libguestfs: command: run: \ /tmp/libguestfs3pGMi6/overlay1.qcow2
> qemu-img: /tmp/...
2019 Apr 01
0
Re: guestfish Remote Images IPv6 Support
...9:45:56AM -0500, Jonathan Wright wrote:
> I believe the bug lies in libguestfs.
>
> Taking out the commands being sent to QEMU and using qemu-img info I
> can recreate the error:
>
> # qemu-img info "rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none"
> qemu-img: Could not open 'rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none':
> invalid conf option :cefc:1]:6789:auth_supported: No such file or
> directory
>
> When escaping the : in the v6 address (just like is d...
2018 Feb 02
1
failed to update cdrom device with rbd disk
...evice":"drive-ide0-1-0","target":"rbd:ss
d/4922ebebd7b52f11bf13b3a482b6ab7e@4922ebebd7b52f11bf13b3a482b6ab7e:auth_sup
ported=none:mon_host=192.168.250.35\\:6789","arg":"raw"},"id":"libvirt-286"}
'
which seems it pass the auth_support=none to the qemu, while I'm using an
authentication ceph, it should use auth_support=cephx instead.
I also tried to boot the VM with rbd iso and then update-device to another
rbd iso, but got no luck with the same error.
I have succeeded to update-device with libvirt-1.3.3,
I noticed that it...
2013 Nov 06
3
Re: Problem using virt-sysprep with RBD images
...github of this code, perhaps
that's the best place to grab the code from), and when I run virt-sysprep,
I get the following parameter for my disk drive:
>> qemu-system-x86_64: -drive
file=rbd:ibvirt-pool/server-clone-test:mon_host=192.168.0.40\:6789\;192.168.0.35\:6789\;192.168.0.2\:6789:auth_supported=none,cache=writeback,id=hd0,if=none:
error opening pool ibvirt-pool
Since "ibvirt-pool" doesn't exist. :)
So this says to me that the function "create_drive_non_file" is consuming
that first slash somewhere. Perhaps "safe_strdup"? I'm not sure where
"...
2013 Nov 25
0
Re: Problem Connecting to RBD images using Sys::Guestfs Perl Module
...t; "protocol:rbd" "server:192.168.0.35:6789 192.168.0.2:6789
> 192.168.0.40:6789"
>
> But it seems like the name is getting chewed up in the call to kvm:
>
> >> -drive
> file=rbd:libvirt:mon_host=192.168.0.35\:6789\;192.168.0.2\:6789\;192.168.0.40\:6789:auth_supported=none,cache=writeback,format=raw,id=hd0,if=none
> >> disk image
> rbd:libvirt:mon_host=192.168.0.35\:6789\;192.168.0.2\:6789\;192.168.0.40\:6789:auth_supported=none:
> Invalid argument
>
> I am able to add non rbd images without an issue.
>
> Any thoughts?
As a genera...
2019 Apr 01
0
Re: guestfish Remote Images IPv6 Support
...quot;protocol:rbd" "server:tcp:[fd00::cefc:1]:6789"
> >This is probably where it goes wrong:
> >
> >>"/tmp/libguestfs3pGMi6/overlay1.qcow2" "qcow2" -1 "backingfile:rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none"
> >>"backingformat:raw"
> >>libguestfs: command: run: \ -o backing_file=rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none,backing_fmt=raw
> >>libguestfs: command: run: \ /tmp/libguestfs3pGMi6/overlay1.qco...
2020 Oct 26
0
Re: RBD volume not made available to Xen virtual guest on openSUSE 15.2 (with libvirt 6.0.0)
...ked fine. The XML
>is as follows:
>
[...]
>I tried to strace libvirtd. The results are as follows:
>
>On openSUSE 15.2 with libvirt 6.0.0 (not working), we see this:
>
>1682 openat(AT_FDCWD, "rbd:guests/mytwotel-a:id=libvirt:key=AQCAUpBbrcaiFxAA1sztXPbkdW1L54i99oUpyA==:auth_supported=cephx\\;none",
>O_RDWR|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>1682 rt_sigprocmask(SIG_BLOCK, NULL, [BUS USR1 ALRM IO], 8) = 0
>1682 mmap(NULL, 1052672, PROT_READ|PROT_WRITE,
>MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f538aefd000
>1682 mprotect(0x7f538aefd000, 40...