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

Fix singularity/apptainer clash #165

Merged
merged 1 commit into from
Oct 27, 2023
Merged

Fix singularity/apptainer clash #165

merged 1 commit into from
Oct 27, 2023

Conversation

sjpb
Copy link
Collaborator

@sjpb sjpb commented Oct 27, 2023

Prevent install of "weak dependencies" of openhpc packages. This avoids a dependency clash between singularity-ce (which was installed as a recommendation of the openhpc-base-compute package and apptainer. Presumably this is occuring now due to updates to singularity-ce/apptainer dependencies.

Note systems will now only have apptainer, not also singularity-ce.

Error was:

    openstack.openhpc: task path: /home/runner/work/ansible-slurm-appliance/ansible-slurm-appliance/ansible/roles/stackhpc.openhpc/tasks/install.yml:48
    openstack.openhpc: fatal: [default]: FAILED! => {
    openstack.openhpc:     "changed": false,
    openstack.openhpc:     "failures": [],
    openstack.openhpc:     "rc": 1,
    openstack.openhpc:     "results": []
    openstack.openhpc: }
    openstack.openhpc: 
    openstack.openhpc: MSG:
    openstack.openhpc: 
    openstack.openhpc: Depsolve Error occurred: 
    openstack.openhpc:  Problem: problem with installed package singularity-ce-3.11.5-1.el8.x86_64
    openstack.openhpc:   - package singularity-ce-3.11.5-1.el8.x86_64 conflicts with sif-runtime provided by apptainer-1.2.4-1.el8.x86_64
    openstack.openhpc:   - package apptainer-1.2.4-1.el8.x86_64 conflicts with sif-runtime provided by singularity-ce-3.11.5-1.el8.x86_64
    openstack.openhpc:   - conflicting requests

See openhpc/ohpc#1889 for additional discussion.

@sjpb sjpb requested a review from a team as a code owner October 27, 2023 08:56
Copy link

@sd109 sd109 left a comment

Choose a reason for hiding this comment

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

LGTM

@sjpb sjpb merged commit 1a6e941 into master Oct 27, 2023
17 checks passed
@sjpb sjpb deleted the fix/singularity-ce branch October 27, 2023 12:51
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.

2 participants