Project

General

Profile

Tasks #10019

rbd

Added by lion cui over 9 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

hello all
I'm deploying openstack with ceph.
Compute node used the rbd device to created disk.
I have a problem when enabled cephx auth.

see the compute.log ############################
"libvirtError: XML error: malformed uuid AQDEgllUyAslLxAAvExrAIZWzUOPHQk6M7GUgg=="

see the libvirtd.log ##############################
secretLoadValue:406 : internal error invalid base64 in '/etc/libvirt/secrets/da13618f-be28-b67b-66e1-cf6daa7a1bff.base64
loadSecrets:505 : Error reading secret: internal error invalid base64 in '/etc/libvirt/secrets/da13618f-be28-b67b-66e1-cf6daa7a1bff.base64

check the virsh secret-list ##############################
[root@compute1 libvirt]# virsh secret-list
UUID Usage
-----------------------------------------------------------
da13618f-be28-b67b-66e1-cf6daa7a1bff Unused

[root@compute1 libvirt]# virsh secret-get-value da13618f-be28-b67b-66e1-cf6daa7a1bff
AQDEgllUyAslLxAAvExrAIZWzUOPHQk6M7GUgg==

May sure the secret's uuid was AQDEgllUyAslLxAAvExrAIZWzUOPHQk6M7GUgg==

Let us to checked by cephx ##########################
client.volumes
key: AQDEgllUyAslLxAAvExrAIZWzUOPHQk6M7GUgg==
caps: [mon] allow r
caps: [osd] allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rx pool=images

Oh my god ,Can u help me ? thx all

T_T

History

#1 Updated by Jason Dillaman almost 7 years ago

  • Status changed from New to Closed

Assuming this is no longer an issue

Also available in: Atom PDF