Testing with different UID/GID configuration revealed that we upload the files to the MC using the local uid/gid. This series make this call uid/gid agnostic by convert it back to a name which can be resolved on the other side back to the uid/gid. Using runtime which is a Singleton this will not indicate any nss issue, respectively just once upon first call after that, if it could be resolved successfully it will be cached.
Also adding the missing noded group as it is a good thing to control all groups the daemons are started as. René Nussbaumer (3): autotools: Add noded group GetEntResolver: Make it possible to resolve uid/gid to name RPC/Backend: Make UploadFile uid and gid agnostic Makefile.am | 1 + configure.ac | 3 ++ lib/backend.py | 6 +++ lib/constants.py | 1 + lib/rpc.py | 6 ++- lib/runtime.py | 69 ++++++++++++++++++++++++++++++++++++ lib/utils/algo.py | 10 +++++ test/ganeti.runtime_unittest.py | 59 ++++++++++++++++++++++++------- test/ganeti.utils.algo_unittest.py | 7 ++++ 9 files changed, 147 insertions(+), 15 deletions(-) -- 1.7.3.1
