mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-04 20:15:19 +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>
(cherry picked from commit ccb9478500
)
(crobinso: Add Wido to AUTHORS)
This commit is contained in:
parent
b1b449b3e2
commit
ca2765a2a0
1
AUTHORS
1
AUTHORS
@ -240,6 +240,7 @@ Patches have also been contributed by:
|
||||
Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
|
||||
Thang Pham <thang.pham@us.ibm.com>
|
||||
Eiichi Tsukata <eiichi.tsukata.xh@hitachi.com>
|
||||
Wido den Hollander <wido@widodh.nl>
|
||||
|
||||
[....send patches to get your name here....]
|
||||
|
||||
|
@ -1775,6 +1775,8 @@ qemuBuildRBDString(virConnectPtr conn,
|
||||
disk->auth.username);
|
||||
goto error;
|
||||
}
|
||||
} else {
|
||||
virBufferAddLit(opt, ":auth_supported=none");
|
||||
}
|
||||
|
||||
if (disk->nhosts > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user