Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

Building with docker build -t gluster-centos CentOS command does not work due to missing dependencies #201

Description

@networkingana

I cannot successfully build with docker build -t gluster-centos CentOS

Installed:
  glusterfs-11.0-1.el9s.x86_64          gperftools-libs-2.9.1-1.el9s.x86_64
  libgfrpc0-11.0-1.el9s.x86_64          libgfxdr0-11.0-1.el9s.x86_64
  libglusterfs0-11.0-1.el9s.x86_64      libunwind-1.5.0-1.el9s.x86_64

Complete!
Last metadata expiration check: 0:00:24 ago on Tue Feb 28 12:31:50 2023.
Error:
 Problem: cannot install the best candidate for the job
  - nothing provides python3-pyxattr needed by glusterfs-server-11.0-1.el9s.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
The command '/bin/sh -c dnf --nodocs -y update && dnf --nodocs -y install centos-release-gluster && (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done) && rm -f /lib/systemd/system/multi-user.target.wants/* &&rm -f /etc/systemd/system/*.wants/* &&rm -f /lib/systemd/system/local-fs.target.wants/* && rm -f /lib/systemd/system/sockets.target.wants/*udev* && rm -f /lib/systemd/system/sockets.target.wants/*initctl* && rm -f /lib/systemd/system/basic.target.wants/* &&rm -f /lib/systemd/system/anaconda.target.wants/* &&dnf --nodocs -y install nfs-utils && dnf --nodocs -y install attr  && dnf --nodocs -y install iputils  && dnf --nodocs -y install iproute  && dnf --nodocs -y install openssh-server  && dnf --nodocs -y install openssh-clients  && dnf --nodocs -y install rsync  && dnf --nodocs -y install tar  && dnf --nodocs -y install cronie  && dnf --nodocs -y install xfsprogs  && dnf --nodocs -y install glusterfs  && dnf --nodocs -y install glusterfs-server  && dnf --nodocs -y install glusterfs-rdma  && dnf --nodocs -y install gluster-block  && dnf --nodocs -y install glusterfs-geo-replication && dnf clean all && sed -i '/Port 22/c\Port 2222' /etc/ssh/sshd_config && sed -i 's/Requires\=rpcbind\.service//g' /usr/lib/systemd/system/glusterd.service && sed -i 's/rpcbind\.service/gluster-setup\.service/g' /usr/lib/systemd/system/glusterd.service && sed -i 's/rpcbind\.service//g' /usr/lib/systemd/system/gluster-blockd.service && mkdir -p /etc/glusterfs_bkp /var/lib/glusterd_bkp /var/log/glusterfs_bkp &&cp -r /etc/glusterfs/* /etc/glusterfs_bkp &&cp -r /var/lib/glusterd/* /var/lib/glusterd_bkp &&cp -r /var/log/glusterfs/* /var/log/glusterfs_bkp && mkdir -p /var/log/core;' returned a non-zero code: 1

Error:
Problem: cannot install the best candidate for the job

  • nothing provides python3-pyxattr needed by glusterfs-server-11.0-1.el9s.x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions