The following action is to define an XML file on centos6.5 cat >> secret.xml << eof<secret ephemeral= ' no ' private= ' no ' > <usage type= ' Ceph ' > <name> Client.cinder secret</name> </usage></secret>eof importing Secret.xml files using the Virsh tool [[ Email protected] linhaifeng]# virsh secret-define --file secret.xml secret 99355164-186e-923f-1b7e-03cf9bc878b0 created View the results just imported, the problem appears, usage is shown as unused[[email protected] linhaifeng]# virsh secret-listUUID Usage-----------------------------------------------------------99355164-186e-923f-1b7e-03cf9bc878b0 Unused problem Analysis: 1. Installation of centos7.2 and the experience of centos6.7+ and Ceph integration The normal result should be: [[email protected] linhaifeng]# virsh& NBsp;secret-listuuid Usage-----------------------------------------------------------B400d912-5274-1799-6b83-801f8c3a4a5b ceph client.cinder Secret2 asked Google to ask for a long time, Virsh source Balabala see a lot of asked to finally unexpectedly asked their blog link, well, on the one hand, exclamation Google technology strong, so that the grassroots technology article has a foothold, on the other hand, the feeling of ceph in the domestic data too little 3. See a word The Ceph secret can then be used by UUID or by this usage name via the <auth> element of a disk device or a storage pool (RBD). since 0.9.7. This passage means, In 0.9.7 we can use the UUID as well as the type defined by the usage (the definition of type and name), and our production environment is exactly the hammer version of 0.9.74. The company's cloud platform OS version is complicated, and I've added a lot of trouble to the technical cock, the original upgrade kernel upgrade Libvirt operation No need, we specify the UUID in the nova.conf file to obtain access to Ceph identity authentication just fine
This article is from "A Good person" blog, please be sure to keep this source http://egon09.blog.51cto.com/9161406/1812368
centos6.5 KVM and Ceph integration problem solving