]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
Fix vault token file access.
authorMarcus Watts <mwatts@redhat.com>
Fri, 17 Sep 2021 09:28:53 +0000 (05:28 -0400)
committerAli Maredia <amaredia@redhat.com>
Thu, 28 Oct 2021 18:14:10 +0000 (14:14 -0400)
commit454cc8a18c4c3851de5976d3e36e42644dbb1a70
tree88abdc71800bb99ef33a13bfd0a05d4116012399
parent78d6ac0d35e8db037bb0f42935528cc9fecf2d84
Fix vault token file access.

Put the vault token file in a location that ceph can read.
Make it readable only by ceph.

On rhel8 (and indeed, any vanilla rhel machine), $HOME is liable to be
mode 700.  This means the ceph user can't read things in that user's
directory.  This causes radosgw to emit the confusing message "ERROR:
Vault token file ... not found" even though the teuthology log will
plainly show it was created and made readable by ceph.

Fixes: http://tracker.ceph.com/issues/51539
Signed-off-by: Marcus Watts <mwatts@redhat.com>
qa/tasks/rgw.py