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

Ceph distrac support #129

Open
wants to merge 11 commits into
base: 6
Choose a base branch
from

Conversation

GMW99
Copy link

@GMW99 GMW99 commented Jun 30, 2022

This pull request adds support for Ceph and DisTRaC.

This is done with the creation of 3 roles

  • Ceph:
    • This sets up the repos and installs the Quincy(latest as of writing) version of ceph on the compute nodes.
  • DisTRaC:
    • This clones the DisTRaC repo down and installs it into /usr/bin on the compute nodes.
  • DisTRaC Group:
    • This creates the DisTRaC group with GID 2000 and copies the script to add a user to the group into /usr/local/libexec/ and the ldap_create user is modified to run the add_user_to_distrac_group
    • The reason this was separated into a separate role is that it stays constant with the current ansible method of limited tag usage and helps remove code duplication that would otherwise be required to modify the users and distrac roles. Looking forward it may be worth adding tagging (i.e compute, management) such that this doesn't need to be in a separate role.

= added 11 commits June 28, 2022 14:57
For DisTRaC to work, these ceph_packages need to be installed.
Quincy is the latest version of Ceph this will be end of life in 2024-06-01
This role adds the ceph repos for the architecture of the host and source files. Then installs the relevant ceph packages as specified in the group vars.
Stating the src directory for distrac to install into.
This role clones DisTRaC, installs DisTRaC, copies the sudoers files, adds distrac to /usr/bin and installs BC.
A role to create the distrac group and copy the add user to distrac group script to libexec.
When using LDAP a user will be added to the distrac group
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 this pull request may close these issues.

1 participant