Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document which python program needs to be updated if I need to create the user/group json file a different way #266

Closed
gwolski opened this issue Oct 19, 2024 · 1 comment · Fixed by #269
Assignees

Comments

@gwolski
Copy link

gwolski commented Oct 19, 2024

The documentation and the Cloudformation output provide a means to create the json file for the user/groups, but it makes an assumption that getent passwd will provide the correct information.

For a user of FreeIPA this doesn't work, I need to query the freeipa server.

I think the proper program to modify is in the source tree at source/resources/parallel-cluster/config/bin/create_users_groups_json.py

Alternatively I could create a passwd file based on the freeIPA data in a separate cron job and feed that into the create_users_groups_json.py if you gave me a hook?

@cartalla
Copy link
Contributor

You are correct about the script.
It gets installed at /opt/slurm/<ClusterName>/config/bin/create_users_groups_json.py.

One option is to modify the script for yourself.
Another is to use a custom compute node AMI that either joins the FreeIPA domain or creates corresponding local users and groups.

@cartalla cartalla self-assigned this Oct 22, 2024
cartalla added a commit that referenced this issue Oct 22, 2024
Use provided mechanism or do it yourself.
Fix some mkdocs warnings and broken links.

Resolves #266
@cartalla cartalla linked a pull request Oct 22, 2024 that will close this issue
cartalla added a commit that referenced this issue Oct 22, 2024
Use provided mechanism or do it yourself.
Fix some mkdocs warnings and broken links.

Resolves #266
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants