Closed pozsa closed 2 years ago
Hello @pozsa,
the error is caused by Sarus being unable to find an entry corresponding to the current user in the passwd/group caches created in <Sarus install path>/etc
(see here for more information on the passwd/group caches).
The configure_installation.sh
script, which you are calling as part of your installation steps, should have taken care of creating the caches by using getent
.
Could you please verify your user is present in Sarus's passwd cache (e.g. cat /opt/sarus/1.3.0-Release/etc/passwd
)?
Does a call to getent passwd
return a list of all the users in the system as you would expect them?
Hi @Madeeks,
Yes this is going to be the source of the issue.
getent passwd
does not return all the users in our case.
Hence it's also not in the cache.
Any ideas on how to resolve this? It is not an option on our end for getent passwd
to return all. The list is way too big.
The most straightforward way you could solve this issue right now is to explicitly add the users (and corresponding groups) which will use Sarus to the passwd/group caches. Would that be a feasible option? I'll discuss with the other developers if there are ways we can improve this use case.
Thanks. That works for testing our deployment. I am talking tomorrow to our sys admins managing our HPC cluster. I'll bring up this topic and see if we can make something happen on our end.
Closing due to no further action required on the developer side. Feel free to reopen with additional details or open a new issue.
Receiving the error mentioned in the subject. I'd welcome any ideas what I might be doing wrong. Thanks.
steps taken before trying the above command
extra info: