Actions
Bug #41356
closed[rbd-mirror] cannot connect to remote cluster when running as 'ceph' user
Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
luminous,mimic,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
Under Rook, the rbd-mirror daemon will be run under the 'ceph' user via the "--setuser XYZ" command-line argument. This, however, does not update the "HOME" environment variable and therefore the librados "parse_config_files" method will attempt to search "/root/.ceph/" for the config file. This will fail w/ a "-EPERM" error and abort the attempt to connect to the remote peer.
Actions