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: install python3-libselinux to avoid exception #69

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

jackhodgkiss
Copy link
Contributor

@jackhodgkiss jackhodgkiss commented Nov 21, 2024

Noticed within some deployments and CI testing it appears that the building the image fails due to missing selinux python bindings.

71.87 Exception: Failed to detect selinux python bindings at ['/usr/local/lib64/python3.9/site-packages', '/usr/local/lib/python3.9/site-packages', '/usr/lib64/python3.9/site-packages', '/usr/lib/python3.9/site-packages']
71.90 Failed to install Ansible roles from /stack/kayobe-automation-env/venvs/kayobe/share/kayobe/requirements.yml via Ansible Galaxy: returncode 1
71.92 Control host bootstrap failed - likely Ansible Galaxy flakiness. Retrying
71.92 [Call Trace]

This can be resolved by installing python3-libselinux

```
Exception: Failed to detect selinux python bindings at
```
@jackhodgkiss jackhodgkiss requested a review from a team as a code owner November 21, 2024 11:24
@jackhodgkiss jackhodgkiss self-assigned this Nov 21, 2024
@jackhodgkiss jackhodgkiss added the bug Something isn't working label Nov 21, 2024
Copy link
Contributor

@Alex-Welsh Alex-Welsh left a comment

Choose a reason for hiding this comment

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

Fixed the issues I had in a prod deployment, LGTM

@Alex-Welsh Alex-Welsh merged commit a7de3ab into main Nov 21, 2024
4 checks passed
@Alex-Welsh Alex-Welsh deleted the add-python3-libselinux branch November 21, 2024 12:47
@Alex-Welsh
Copy link
Contributor

@jackhodgkiss are you planning on updating the SKC submodule as well?

priteau added a commit to stackhpc/stackhpc-kayobe-config that referenced this pull request Nov 22, 2024
This is required to fix some CI jobs [1].

[1] stackhpc/kayobe-automation#69
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants