Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

glusterfs installation fails due to missing python3-pyxattr package #39

Closed
fgierlinger opened this issue May 3, 2021 · 10 comments
Closed
Labels

Comments

@fgierlinger
Copy link

Summary
The installation of glusterfs fails on a fresh CentOS 8 Stream installation with the following error:

TASK [geerlingguy.glusterfs : Ensure Gluster packages are installed.]
*******************************************************************************
fatal: [centos8stream]: FAILED! => {"changed": false, "failures": [], "msg": "Depsolve Error occured: \n Problem: 
cannot install the best candidate for the job\n  - nothing provides python3-pyxattr needed by 
glusterfs-server-9.1-1.el8.aarch64", "rc": 1, "results": []}

The package python3-pyxattr is provided by the PowerTools repo, which is not activated per default. The repository can be activated with dnf config-manager --enable PowerTools

[fgierlinger@centos8stream ~]$ sudo dnf repolist
repo id                                                  repo name
AppStream                                                CentOS-8 - AppStream
BaseOS                                                   CentOS-8 - Base
centos-gluster9                                          CentOS-8 - Gluster 9
extras                                                   CentOS-8 - Extras
[fgierlinger@centos8stream ~]$ sudo dnf config-manager --enable PowerTools
[fgierlinger@centos8stream ~]$ sudo dnf repolist
repo id                                                  repo name
AppStream                                                CentOS-8 - AppStream
BaseOS                                                   CentOS-8 - Base
PowerTools                                               CentOS-8 - PowerTools
centos-gluster9                                          CentOS-8 - Gluster 9
extras                                                   CentOS-8 - Extras

The parameter enablerepo for yum might solve this problem, but I have not tested it.

Steps to reproduce
Execute the following playbook on a CentOS 8 Stream host.

- hosts: all
  gather_facts: yes
  roles:
    - role: geerlingguy.glusterfs
      vars:
        glusterfs_default_release: 9

Expected behaviour
Glusterfs installation succeeds when executing the role and specifying glusterfs_default_release: 9

Actual behaviour
The installation of glusterfs fails, because the package python3-pyxattr can not be installed, which is located in the PowerTools repository. The PowerTools repository is not enabled in a CentOS 8 Stream minimal installation

Host information
OS: CentOS 8 Stream aarch64
Python: 3.8.2
Ansible: 2.10.7
geerlingguy.glusterfs: 3.1.2

@stale
Copy link

stale bot commented Aug 1, 2021

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@stale stale bot added the stale label Aug 1, 2021
@fgierlinger
Copy link
Author

Still relevant.

@stale
Copy link

stale bot commented Aug 1, 2021

This issue is no longer marked for closure.

@stale stale bot removed the stale label Aug 1, 2021
@stale
Copy link

stale bot commented Oct 31, 2021

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@stale stale bot added the stale label Oct 31, 2021
@fgierlinger
Copy link
Author

Still relevant and PR has already been submitted #40

@stale
Copy link

stale bot commented Oct 31, 2021

This issue is no longer marked for closure.

@stale stale bot removed the stale label Oct 31, 2021
@geerlingguy
Copy link
Owner

Does this fail on rockylinux8 as well? I'm dropping any official support for Stream in my roles.

@geerlingguy
Copy link
Owner

Just added a rockylinux8 test; may still fail there, though the way I add powertools differs a little bit from the implementation in the PR. https://github.com/geerlingguy/ansible-role-glusterfs/runs/4419995860?check_suite_focus=true

@stale
Copy link

stale bot commented Mar 5, 2022

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@stale stale bot added the stale label Mar 5, 2022
@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

@stale stale bot closed this as completed Apr 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants