Dear Ceph Community,

We are fetching from our own encrypted data bags the mon and osd bootstrap 
keyring values. We are successful in setting the mon_secret to a preset value, 
but fail to do so for the /var/lib/ceph/boostrap-osd keyring.

Similar to how we set mon_secret, we set osd_secret. We added log messages 
printing out the osd_secret in the ceph community cookbook recipe osd.rb. This 
value logged correctly in our chef client log. However, after chef completes 
the ceph osd recipe, the /var/lib/ceph/boostrap-osd/ceph.keyring file is not 
the same value as the intended osd_secret. It is overwritten by the 
bootstrap-odd keyring value created during the mon recipe.

Since it is being reverted, how can we set the initial 
/var/lib/ceph/boostrap-osd/ceph.keyring file to start out with the correct 
value? We see the bootstrap-osd keyring file is being created during the mon 
installation, but we are not sure where and how to set the 
bootstrap-osd/keyring value.

Sincerely,
Johanni B. Thunstrom
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to