' rbd username specified but secret not found' error, virsh live migration on rbd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/19/2014 01:48 AM, JinHwan Hwang wrote:
> I have been trying to do live migration on vm which is running on rbd.
> But so far, they only give me ' internal error: rbd username 'libvirt'
> specified but secret not found' when i do live migration.
>
> ceph-admin : source host
> host : destination host
>
> root at main:/home/ceph-admin# virsh migrate --live rbd1-1
>   qemu+ssh://host/system
> error: internal error: rbd username 'libvirt' specified but secret not found
>
> These are rbd1-1 vm dump. It worked for running rbd1-1.
> .....
>   <disk type='network' device='disk'>
>        <driver name='qemu' type='raw'/>
>        <auth username='libvirt'>
>          <secret type='ceph' uuid='b34526f2-8d32-ed5d-3153-e90d011dd37e'/>
>        </auth>
>        <source protocol='rbd' name='libvirt-pool/rbd-image1-1'>
>          <host name='node1' port='6789'/>
>          <host name='node2' port='6789'/>
>        </source>
> ....
>
> Is '<secret type>...' not sufficient for doing live migration? I also
> have tried setting same secret on both source and destination host
> virsh(so both host virsh have
> uuid='b34526f2-8d32-ed5d-3153-e90d011dd37e' ), But it didn't worked.
> I've followed this('http://ceph.com/docs/master/rbd/libvirt/')
> instruction and this is only secret so far i know. Am i miss something?
> If that so, Where should i put those missing 'secrets'?
> Thanks in advance for any helps.

Did you set the value of the secret on the second node?
Is it defined with ephemeral='no' and private='no'?

Josh


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux