Description of problem: ceph-deploy forgetkeys command doesn't remove rgw keyring file. [cephuser@Admin ceph-config]$ ceph-deploy forgetkeys [ceph_deploy.conf][DEBUG ] found configuration file at: /home/cephuser/.cephdeploy.conf [ceph_deploy.cli][INFO ] Invoked (1.5.25): /usr/bin/ceph-deploy forgetkeys [cephuser@Admin ceph-config]$ ll total 140 -rwxrwxrwx. 1 cephuser cephuser 71 Sep 4 07:50 ceph.bootstrap-rgw.keyring -rwxrwxrwx. 1 cephuser cephuser 603 Sep 4 07:36 ceph.conf -rwxrwxrwx. 1 cephuser cephuser 128879 Sep 4 13:17 ceph.log Version-Release number of selected component (if applicable): ceph: 0.94.2 ceph-deploy: 1.5.25 How reproducible:always Steps to Reproduce: 1. run ceph-deploy forgetkeys Actual results: ceph.bootstrap-rgw.keyring is not removed Expected results: ceph.bootstrap-rgw.keyring is removed Additional info:
Easy fix. upstream review at https://github.com/ceph/ceph-deploy/pull/352
rgw keyring is getting removed now... Moving to verified state. ubuntu@magna012:~/install/ubuntu/u130/ceph-config$ ls ceph.bootstrap-osd.keyring ceph.client.admin.keyring cephdeploy.conf ceph.mon.keyring ceph.bootstrap-mds.keyring ceph.bootstrap-rgw.keyring ceph.conf ceph.log ubuntu@magna012:~/install/ubuntu/u130/ceph-config$ ceph-deploy forgetkeys [ceph_deploy.conf][DEBUG ] found configuration file at: /home/ubuntu/install/ubuntu/u130/ceph-config/cephdeploy.conf [ceph_deploy.cli][INFO ] Invoked (1.5.27.4): /usr/bin/ceph-deploy forgetkeys [ceph_deploy.cli][INFO ] ceph-deploy options: [ceph_deploy.cli][INFO ] username : None [ceph_deploy.cli][INFO ] verbose : False [ceph_deploy.cli][INFO ] overwrite_conf : False [ceph_deploy.cli][INFO ] quiet : False [ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7f06220ac758> [ceph_deploy.cli][INFO ] cluster : ceph [ceph_deploy.cli][INFO ] func : <function forgetkeys at 0x7f062299ff50> [ceph_deploy.cli][INFO ] ceph_conf : None [ceph_deploy.cli][INFO ] default_release : False ubuntu@magna012:~/install/ubuntu/u130/ceph-config$ ls ceph.conf cephdeploy.conf ceph.log ubuntu@magna012:~/install/ubuntu/u130/ceph-config$
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:0313