Bug 2077362

Summary: missing of readline libray in gluster cli version 10.1
Product: [oVirt] ovirt-distribution Reporter: D. Ercolani <licenze+RedHat>
Component: glusterfsAssignee: Niels de Vos <ndevos>
Status: CLOSED UPSTREAM QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.5.0CC: arachman, bugs, csaba, cshao, lsvaty, lveyde, mavital, michal.skrivanek, ndevos, peyu, sanja, weiwang, yaniwang
Target Milestone: ---Keywords: Tracking
Target Release: ---Flags: cshao: testing_ack?
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-02 08:10:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2077815    
Bug Blocks:    

Description D. Ercolani 2022-04-21 07:30:47 UTC
The problem is that in the gluster version provided with ovirt 4.5.0 (glusterfs-cli-10.1-1.el8s.x86_64) the console missed the readline library that provides useful features (above others history command completion) is it possible to ask for a version providing readline?

Comment 1 RHEL Program Management 2022-04-21 08:16:24 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 2 Sandro Bonazzola 2022-04-21 08:31:20 UTC
glusterfs-cli is provided by Gluster via CentOS Storage SIG.

https://wiki.centos.org/ReportBugs is not showing a specific tracker for Gluster on CentOS Storage SIG so this should be reported to Gluster community.
According to https://www.gluster.org/community/ the tracker being used is https://github.com/gluster/glusterfs/issues

Can you please report it there and add a link to the issue in this bz?

Niels, can you help with this?

Comment 3 Niels de Vos 2022-04-21 12:35:35 UTC
Interesting issue!

The build logs can be found at https://cbs.centos.org/koji/buildinfo?buildID=36986

installed_pkgs.log confirms that readline-devel is install: readline-devel-7.0-10.el8

build.log does not seem to find the required pkg-config though:

...
checking for READLINE... no
...
GlusterFS configure summary
===========================
...
readline             : no
...


I do not know why the detection in configure.ac does not find the library. This definitely needs to be reported at https://github.com/gluster/glusterfs/issues

Comment 4 Csaba Henk 2022-04-22 10:12:06 UTC
Issue is with CentOS upstream.

Reported at Bug 2077815 "readline-devel: readline.pc is missing".

Comment 5 D. Ercolani 2022-10-26 07:15:00 UTC
I don't have any news... I don't think a trigger a recompilation would be too complicated

Comment 6 Michal Skrivanek 2022-12-02 08:10:42 UTC
fixed in glusterfs, note that as per https://bugzilla.redhat.com/show_bug.cgi?id=2077815#c2 it is fixed only for el9 builds