Skip to content

Conversation

@bertiethorpe
Copy link
Contributor

  • dnf_repo_timestamps.yml now makes it possible to toggle repo gpgchecks.
  • EESSI CVMFS config now pulled from Ark

@bertiethorpe bertiethorpe force-pushed the feat/ark-eessi-cvmfs-config branch from cc46ea3 to 89fdeac Compare December 16, 2025 11:21
@bertiethorpe bertiethorpe marked this pull request as ready for review December 16, 2025 11:29
@bertiethorpe bertiethorpe requested a review from a team as a code owner December 16, 2025 11:29
password: "{{ dnf_repos_password }}"
gpgcheck: false
gpgcheck: "{{ repo_values.gpgcheck | default(true) }}"
gpgkey: "{{ repo_values.gpgkey | default('') }}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If gpgkey isn't provided and gpgcheck is true, that should be an error I think to avoid hard-to-diagnose errors later?

dest: ./cvmfs-key.gpg
checksum: "{{ cvmfs_gpg_checksum }}"
mode: "0644"
- name: Install CVMFS GPG key
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So what's different here vs e.g. openhpc where we install/import the key as part as of the dnf_repos role?

Copy link
Collaborator

@sjpb sjpb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dnf_repos role can only really install/import keys and write repo files with keys. There are places which call ansible.builtin.dnf which actually determine if gpg keys are used.

So there's two things we need to do:

  1. Write repo file with keys
  2. Ensure ansible.builtin.dnf is not run with disable_gpg_check on that repo file

Its not really clear to me why we don't need to e.g. import the openhpc key (pre this PR) but we do seem to need to import the rocky ones.

pulp_timestamp: 20250828T161842
repo_file: rocky-extras
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
grafana:
Copy link
Collaborator

@sjpb sjpb Dec 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to check grafana. Might e.g. be disabled in the role which enables it.

sjpb

This comment was marked as outdated.

@sjpb sjpb marked this pull request as draft December 16, 2025 12:11
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.

3 participants