mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
qemu: Always set auth_supported for Ceph disks.
Recently the Ceph project defaulted auth_supported from 'none' to 'cephx'. When no auth information was set for Ceph disks this would lead to librados defaulting to 'cephx', but there would be no additional authorization information. We now explicitly set auth_supported to none when passing down arguments to Qemu. Signed-off-by: Wido den Hollander <wido@widodh.nl>
This commit is contained in:
parent
3cdb3b4e64
commit
ccb9478500
@ -1782,6 +1782,8 @@ qemuBuildRBDString(virConnectPtr conn,
|
||||
disk->auth.username);
|
||||
goto error;
|
||||
}
|
||||
} else {
|
||||
virBufferAddLit(opt, ":auth_supported=none");
|
||||
}
|
||||
|
||||
if (disk->nhosts > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user