Hi, I was playing with oVirt/Cinder integration and faced the issue. At the same time virsh on CentOS 7.3 was working fine with RBD images. So, as a workaround following procedure can be used to permanently set the secret on libvirt host: # vi /tmp/secret.xml <secret ephemeral='no' private='no'><uuid>db11828c-f9e8-48cb-81dd-29fc00ec1c14</uuid> <usage type='ceph'> <name>admin</name> </usage> </secret> # virsh secret-define /tmp/secret.xml # virsh secret-set-value db11828c-f9e8-48cb-81dd-29fc00ec1c14 <base64-password> Googleme: the VDSM error was: Thread-289::ERROR::2016-12-20 12:44:39,306::vm::765::virt.vm::(_startUnderlyingVm) vmId=`16889d09-14b1-455b-ab2c-fcbd697b8f59`::The vm start process failed Traceback (most recent call last): File "/usr/share/vdsm/virt/vm.py", line 706, in _startUnderlyingVm self._run() File "/usr/share/vdsm/virt/vm.py", line 1996, in _run self._connection.createXML(domxml, flags), File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 123, in wrapper ret = f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 917, in wrapper return func(inst, *args, **kwargs) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in createXML if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self) libvirtError: Secret not found: no secret with matching uuid 'db11828c-f9e8-48cb-81dd-29fc00ec1c14' Thread-289::INFO::2016-12-20 12:44:39,309::vm::1308::virt.vm::(setDownStatus) vmId=`16889d09-14b1-455b-ab2c-fcbd697b8f59`::Changed state to Down: Secret not found: no secret with matching uuid 'db11828c-f9e8-48cb-81dd-29fc00ec1c14' (code=1)
-- Dmitry Glushenok Jet Infosystems |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com