I can’t find instructions or a package repository where to install the GlusterFS client (11) on Rocky 10. Is it possible to install it?
Hi,
Compile the Gluster RPM packages. I am able to compile it after fixing few dependencies warning( by installing the required dependency packages ).
[root@RockyLinux10 LinuxRPM]# cat /etc/rocky-release
Rocky Linux release 10.0 (Red Quartz)
[root@RockyLinux10 LinuxRPM]#
[root@RockyLinux10 LinuxRPM]# gluster --version
glusterfs 11.2
[root@RockyLinux10 LinuxRPM]#
[root@RockyLinux10 LinuxRPM]# ls
glusterfs-11.2-0.0.el10.src.rpm glusterfs-geo-replication-11.2-0.0.el10.x86_64.rpm libgfrpc0-11.2-0.0.el10.x86_64.rpm
glusterfs-11.2-0.0.el10.x86_64.rpm glusterfs-geo-replication-debuginfo-11.2-0.0.el10.x86_64.rpm libgfrpc0-debuginfo-11.2-0.0.el10.x86_64.rpm
glusterfs-cli-11.2-0.0.el10.x86_64.rpm glusterfs-gnfs-11.2-0.0.el10.x86_64.rpm libgfrpc-devel-11.2-0.0.el10.x86_64.rpm
glusterfs-cli-debuginfo-11.2-0.0.el10.x86_64.rpm glusterfs-gnfs-debuginfo-11.2-0.0.el10.x86_64.rpm libgfxdr0-11.2-0.0.el10.x86_64.rpm
glusterfs-client-xlators-11.2-0.0.el10.x86_64.rpm glusterfs-regression-tests-11.2-0.0.el10.x86_64.rpm libgfxdr0-debuginfo-11.2-0.0.el10.x86_64.rpm
glusterfs-client-xlators-debuginfo-11.2-0.0.el10.x86_64.rpm glusterfs-resource-agents-11.2-0.0.el10.noarch.rpm libgfxdr-devel-11.2-0.0.el10.x86_64.rpm
glusterfs-cloudsync-plugins-11.2-0.0.el10.x86_64.rpm glusterfs-server-11.2-0.0.el10.x86_64.rpm libglusterfs0-11.2-0.0.el10.x86_64.rpm
glusterfs-cloudsync-plugins-debuginfo-11.2-0.0.el10.x86_64.rpm glusterfs-server-debuginfo-11.2-0.0.el10.x86_64.rpm libglusterfs0-debuginfo-11.2-0.0.el10.x86_64.rpm
glusterfs-debuginfo-11.2-0.0.el10.x86_64.rpm glusterfs-thin-arbiter-11.2-0.0.el10.x86_64.rpm libglusterfs-devel-11.2-0.0.el10.x86_64.rpm
glusterfs-debugsource-11.2-0.0.el10.x86_64.rpm glusterfs-thin-arbiter-debuginfo-11.2-0.0.el10.x86_64.rpm Makefile
glusterfs-events-11.2-0.0.el10.x86_64.rpm libgfapi0-11.2-0.0.el10.x86_64.rpm Makefile.am
glusterfs-extra-xlators-11.2-0.0.el10.x86_64.rpm libgfapi0-debuginfo-11.2-0.0.el10.x86_64.rpm Makefile.in
glusterfs-extra-xlators-debuginfo-11.2-0.0.el10.x86_64.rpm libgfapi-devel-11.2-0.0.el10.x86_64.rpm make_glusterrpms
glusterfs-fuse-11.2-0.0.el10.x86_64.rpm libgfchangelog0-11.2-0.0.el10.x86_64.rpm python3-gluster-11.2-0.0.el10.x86_64.rpm
glusterfs-fuse-debuginfo-11.2-0.0.el10.x86_64.rpm libgfchangelog0-debuginfo-11.2-0.0.el10.x86_64.rpm
glusterfs-ganesha-11.2-0.0.el10.x86_64.rpm libgfchangelog-devel-11.2-0.0.el10.x86_64.rpm
[root@RockyLinux10 LinuxRPM]#
So you have work flow?
After build can I use those packages directly in different vm? And if I need to build every time how to know what packages I can remove after build?
I believe yes. Just copy the compiled rpms to other servers and install there.
Hi Anssi,
Hi Anssi,
While installing the glusterfs-server package, I observed that it requires the glusterfs-selinux package as a dependency. This package is not included in the compiled Gluster packages. At this time, I have not been able to obtain glusterfs-selinux for Rocky Linux 10. Since SELinux is not in use in our setup,So I disabled this requirement in the RPM spec file during compilation. The following are the main steps involved in compiling:
wget https://github.com/gluster/glusterfs/archive/refs/tags/v11.2.zip
unzip v11.2.zip
cd glusterfs-11.2/
Remove the following line from both glusterfs.spec and glusterfs.spec.in:
Requires: glusterfs-selinux >= 0.1.0-2
cd extras/LinuxRPM/
./make_glusterrpms
```
The compiled RPMs should be available in ../extras/LinuxRPM.
There hasn’t been time to focus on this, but selinux is mandatory for us.
I have roll back to Rocky9 and need to think about what is future distro.
Well there are two scenarios for your future with it:
- Wait until someone packages and makes publicly available all the gluster packages you require.
- Build the packages yourself.
Since Rocky 9 is supported until 2032, there is no rush for you to decide, and in reality you shouldn’t expect every single package in the world to be available for use when for example Rocky 10 has only been released a short while ago.
Otherwise the alternative is searching for another distro, but that doesn’t guarantee that you will have glusterfs immediately when say a new Debian or Ubuntu is released, or any other distro for that matter.
You have been shown above how easy it is to build the rpms for yourself, but I guess you don’t want to do that and expect someone to do it for you.
I have built the packages and it works. I had to make own vm/enviroment for building rpm’s so that I don’t have to think about removing unnecessary dependencies.
And still in production enviroment now I am who have to build every time there is secure updates. and check when updates are coming. That is security problem.
So in production have to use rocky9 or other distro. And if rocky9 does not actively offer secure updates used package then it is something else. I am not the one making this decision.
I remove last centos7 production enviroment 2 month ago. In some cases 2032 may come too soon, but that might be someone else’s problem. ![]()
Well, only a security problem if there are vulnerabilities and if the packages aren’t built and updated quick enough ![]()
Building yourself you can potentially build them quicker than other people, in which case would resolve security risks quicker than relying on others who may or may not do it quick enough.
I’m sure they will appear at some point in the future. Problem here is Red Hat deprecated GlusterFS and stopped providing for it through their subscriptions like they used to, although the project itself still lives on.
For the same reason (Red hat), work is also underway to deprecate glusterFS, but it won’t happen anytime soon.
Small how to:
sudo dnf config-manager --set-enabled crb
sudo dnf install -y epel-release
sudo dnf -y install automake autoconf libtool flex bison \
openssl-devel libxml2-devel libaio-devel libibverbs-devel \
librdmacm-devel readline-devel lvm2-devel \
glib2-devel userspace-rcu-devel libcmocka-devel \
libacl-devel sqlite-devel fuse-devel redhat-rpm-config \
rpcgen libtirpc-devel make python3-devel rsync libuuid-devel \
rpm-build dbench perl-Test-Harness attr libcurl-devel selinux-policy-devel \
gperftools gperftools-devel liburing liburing-devel wget zip openssl bash-completion
wget https://github.com/gluster/glusterfs/archive/refs/tags/v11.2.zip
unzip v11.2.zip
cd glusterfs-11.2
extras/LinuxRPM/make_glusterrpms
# optional for saving
cd extras/LinuxRPM/
mkdir -p glusterfs-11.2
mv *.rpm glusterfs-11.2
tar czvf rocky10-glusterfs-11.2.tar.gz glusterfs-11.2/
# install glusterfs-cli on another environment
sudo dnf config-manager --set-enabled crb
sudo dnf install -y epel-release
tar xzvf rocky10-glusterfs-11.2.tar.gz
cd glusterfs-11.2
sudo dnf install glusterfs-cli-11.2-0.0.el10.x86_64.rpm \
libglusterfs0-11.2-0.0.el10.x86_64.rpm \
libgfrpc0-11.2-0.0.el10.x86_64.rpm \
libgfxdr0-11.2-0.0.el10.x86_64.rpm \
libglusterfs0-11.2-0.0.el10.x86_64.rpm \
glusterfs-fuse-11.2-0.0.el10.x86_64.rpm \
glusterfs-client-xlators-11.2-0.0.el10.x86_64.rpm \
glusterfs-11.2-0.0.el10.x86_64.rpm
I hope I’m not missing anything necessary.
edit: bash typo
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.