[CentOS-devel] Question about NFS Ganesha [Storage SIG]

Sat Oct 24 19:22:49 UTC 2020
Strahil Nikolov <hunter86_bg at yahoo.com>

Hi Kaleb,

the nfs-ganesha and nfs-ganesha-gluster are properly installing (tested with centos-release-nfs-ganesha30 packages.

Based on https://docs.gluster.org/en/latest/Administrator%20Guide/NFS-Ganesha%20GlusterFS%20Integration/ , I need to install also glusterfs-server , glusterfs-api and glusterfs-ganesha.



[root at glustera ~]# yum install nfs-ganesha nfs-ganesha-gluster
<snipp>
Инсталиран:
 avahi-libs-0.7-19.el8.x86_64             checkpolicy-2.9-1.el8.x86_64                            cups-libs-1:2.2.6-33.el8.x86_64          glusterfs-client-xlators-8.1-1.el8.x86_64        
 gssproxy-0.8.0-15.el8.x86_64             keyutils-1.5.10-6.el8.x86_64                            libgfapi0-8.1-1.el8.x86_64               libgfrpc0-8.1-1.el8.x86_64                       
 libgfxdr0-8.1-1.el8.x86_64               libglusterfs0-8.1-1.el8.x86_64                          libicu-60.3-2.el8_1.x86_64               libntirpc-3.3-1.el8.x86_64                       
 libverto-libevent-0.3.0-5.el8.x86_64     libwbclient-4.12.8-1.el8.x86_64                         logrotate-3.14.0-3.el8.x86_64            nfs-ganesha-3.3-2.el8.x86_64                     
 nfs-ganesha-gluster-3.3-2.el8.x86_64     nfs-ganesha-selinux-3.3-2.el8.noarch                    nfs-utils-1:2.3.3-31.el8.x86_64          policycoreutils-python-utils-2.9-9.el8.noarch    
 psmisc-23.1-4.el8.x86_64                 python3-audit-3.0-0.17.20191104git1c2f876.el8.x86_64    python3-libsemanage-2.9-2.el8.x86_64     python3-policycoreutils-2.9-9.el8.noarch         
 python3-setools-4.2.2-2.el8.x86_64       quota-1:4.04-10.el8.x86_64                              quota-nls-1:4.04-10.el8.noarch           rpcbind-1.2.5-7.el8.x86_64                       
 samba-client-libs-4.12.8-1.el8.x86_64    samba-common-4.12.8-1.el8.noarch                        samba-common-libs-4.12.8-1.el8.x86_64    userspace-rcu-0.10.1-2.el8.x86_64


[root at glustera ~]# yum install glusterfs-server glusterfs-api glusterfs-ganesha  
Последната проверка за остарялост на метаданните: преди 0:04:23 на 24.10.2020 (сб) 22:15:06 EEST.
Package libgfapi0-8.1-1.el8.x86_64 is already installed.
Зависимостите са удовлетворени.
===============================================================================================================================================================================================
Package                                          Architecture                           Version                                         Repository                                       Size
===============================================================================================================================================================================================
Installing:
glusterfs                                        x86_64                                 8.1-1.el8                                       centos-gluster8                                 688 k
glusterfs-server                                 x86_64                                 8.1-1.el8                                       centos-gluster8                                 1.4 M
Инсталирам зависимости:
attr                                             x86_64                                 2.4.48-3.el8                                    BaseOS                                           68 k
glusterfs-cli                                    x86_64                                 8.1-1.el8                                       centos-gluster8                                 213 k
glusterfs-fuse                                   x86_64                                 8.1-1.el8                                       centos-gluster8                                 171 k
libgfchangelog0                                  x86_64                                 8.1-1.el8                                       centos-gluster8                                  66 k
libglusterd0                                     x86_64                                 8.1-1.el8                                       centos-gluster8                                  44 k
python3-pyxattr                                  x86_64                                 0.5.3-18.el8                                    centos-gluster8                                  35 k

Обобщение на транзакцията
===============================================================================================================================================================================================
Инсталиране  8 Пакети

Общ обем за сваляне: 2.6 M
Инсталиран обем: 10 M
Това добре ли е [y/N]: y
Сваляне на пакети:
(1/8): glusterfs-cli-8.1-1.el8.x86_64.rpm                                                                                                                      5.1 MB/s | 213 kB     00:00     
(2/8): glusterfs-fuse-8.1-1.el8.x86_64.rpm                                                                                                                      26 MB/s | 171 kB     00:00     
(3/8): glusterfs-8.1-1.el8.x86_64.rpm                                                                                                                           12 MB/s | 688 kB     00:00     
(4/8): libgfchangelog0-8.1-1.el8.x86_64.rpm                                                                                                                     23 MB/s |  66 kB     00:00     
(5/8): libglusterd0-8.1-1.el8.x86_64.rpm                                                                                                                        15 MB/s |  44 kB     00:00     
(6/8): attr-2.4.48-3.el8.x86_64.rpm                                                                                                                            1.1 MB/s |  68 kB     00:00     
(7/8): glusterfs-server-8.1-1.el8.x86_64.rpm                                                                                                                    48 MB/s | 1.4 MB     00:00     
(8/8): python3-pyxattr-0.5.3-18.el8.x86_64.rpm                                                                                                                 2.1 MB/s |  35 kB     00:00     
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Всичко                                                                                                                                                         3.9 MB/s | 2.6 MB     00:00      
Running transaction check
Transaction check succeeded.
Тестване на транзакцията
Тестът на транзакцията е успешен.
Изпълнение на транзакцията
 Подготовка         :                                                                                                                                                                     1/1  
 Installing         : libglusterd0-8.1-1.el8.x86_64                                                                                                                                       1/8  
 Running scriptlet  : libglusterd0-8.1-1.el8.x86_64                                                                                                                                       1/8  
 Running scriptlet  : glusterfs-8.1-1.el8.x86_64                                                                                                                                          2/8  
 Installing         : glusterfs-8.1-1.el8.x86_64                                                                                                                                          2/8  
 Running scriptlet  : glusterfs-8.1-1.el8.x86_64                                                                                                                                          2/8  
 Installing         : glusterfs-cli-8.1-1.el8.x86_64                                                                                                                                      3/8  
 Installing         : python3-pyxattr-0.5.3-18.el8.x86_64                                                                                                                                 4/8  
 Installing         : libgfchangelog0-8.1-1.el8.x86_64                                                                                                                                    5/8  
 Running scriptlet  : libgfchangelog0-8.1-1.el8.x86_64                                                                                                                                    5/8  
 Installing         : attr-2.4.48-3.el8.x86_64                                                                                                                                            6/8  
 Installing         : glusterfs-fuse-8.1-1.el8.x86_64                                                                                                                                     7/8  
 Installing         : glusterfs-server-8.1-1.el8.x86_64                                                                                                                                   8/8  
 Running scriptlet  : glusterfs-server-8.1-1.el8.x86_64                                                                                                                                   8/8  
 Проверка           : attr-2.4.48-3.el8.x86_64                                                                                                                                            1/8  
 Проверка           : glusterfs-8.1-1.el8.x86_64                                                                                                                                          2/8  
 Проверка           : glusterfs-cli-8.1-1.el8.x86_64                                                                                                                                      3/8  
 Проверка           : glusterfs-fuse-8.1-1.el8.x86_64                                                                                                                                     4/8  
 Проверка           : glusterfs-server-8.1-1.el8.x86_64                                                                                                                                   5/8  
 Проверка           : libgfchangelog0-8.1-1.el8.x86_64                                                                                                                                    6/8  
 Проверка           : libglusterd0-8.1-1.el8.x86_64                                                                                                                                       7/8  
 Проверка           : python3-pyxattr-0.5.3-18.el8.x86_64                                                                                                                                 8/8  

Инсталиран:
 attr-2.4.48-3.el8.x86_64              glusterfs-8.1-1.el8.x86_64         glusterfs-cli-8.1-1.el8.x86_64           glusterfs-fuse-8.1-1.el8.x86_64      glusterfs-server-8.1-1.el8.x86_64      
 libgfchangelog0-8.1-1.el8.x86_64      libglusterd0-8.1-1.el8.x86_64      python3-pyxattr-0.5.3-18.el8.x86_64      

Готово!
[root at glustera ~]# yum install glusterfs-ganesha.x86_64                         
Последната проверка за остарялост на метаданните: преди 0:04:45 на 24.10.2020 (сб) 22:15:06 EEST.
Грешка:  
Проблем: cannot install the best candidate for the job
 - nothing provides pcs >= 0.10.0 needed by glusterfs-ganesha-8.1-1.el8.x86_64
 - nothing provides resource-agents >= 4.2.0 needed by glusterfs-ganesha-8.1-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root at glustera ~]# 


As you can see when I specify glusterfs-ganesha.x86_64 (provided by centos-gluster8 ) - it requires resource-agents >= 4.2


The last package is causing the dependency issue. Maybe I should address that to the Gluster Devel ?


Best Regards,
Strahil Nikolov






В събота, 24 октомври 2020 г., 21:40:13 Гринуич+3, Kaleb Keithley <kkeithle at redhat.com> написа: 





Not sure why you're seeing a requires for resource-agent. On my C8 box I see:

    $ rpm -q --requires nfs-ganesha | grep resource
    $ rpm -q --requires nfs-ganesha-vfs | grep resource
    $

And there are no
    Requires: resource-agents
in the nfs-ganesha.spec file[1] used to build nfs-ganesha.

[1] https://git.centos.org/rpms/nfs-ganesha/blob/c8-sig-storage-nfs-ganesha-3/f/SPECS/nfs-ganesha.spec


On Sat, Oct 24, 2020 at 10:51 AM Strahil Nikolov via CentOS-devel <centos-devel at centos.org> wrote:
> Hello All,
> 
> I am trying to deploy a GlusterFS 8 on a CentOS 8.2.2004 with NFS Ganesha.
> 
> It seems that Ganesha provided by centos-release-nfs-ganesha28 & centos-release-nfs-ganesha30 require resource-agents >= 4.2, but HighAvailability repo provides only 4.1 .
> 
> How can I obtain resource-agents suitable for NFS Ganesha.
> 
> Some output:
> 
> [root at glustera ~]# yum install glusterfs-ganesha.x86_64
> Последната проверка за остарялост на метаданните: преди 0:00:30 на 24.10.2020 (сб) 20:50:19 EEST.
> Грешка:  
> Проблем: cannot install the best candidate for the job
>  - nothing provides resource-agents >= 4.2.0 needed by glusterfs-ganesha-8.1-1.el8.x86_64
> (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
> 
> 
> Best Regards,
> Strahil Nikolov
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> https://lists.centos.org/mailman/listinfo/centos-devel
>