Bug 1751081

Summary: ModuleNotFoundError: No module named 'prettytable'
Product: [Community] GlusterFS Reporter: Sunny Kumar <sunkumar>
Component: project-infrastructureAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, gluster-infra, mscherer
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-11 09:40:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sunny Kumar 2019-09-11 07:07:29 UTC
Description of problem:

New test case is failing with below error:


from prettytable import PrettyTable
ModuleNotFoundError: No module named 'prettytable'



Additional info:

https://build.gluster.org/job/centos7-regression/7694/console

Comment 1 Sunny Kumar 2019-09-11 07:12:37 UTC
Form gluster spec:



 686 %setup -q -n %{name}-%{version}%{?prereltag}
 687 %if ( ! %{_usepython3} )
 688 echo "fixing python shebangs..."
 689 for f in api events extras geo-replication libglusterfs tools xlators; do
 690 find $f -type f -exec sed -i 's|/usr/bin/python3|/usr/bin/python2|' {} \;
 691 done
 692 %endif

Comment 3 M. Scherer 2019-09-11 09:40:58 UTC
I closed that because I think this do fix the bug, but if this is not sufficient, of course, do not hesitate to reopen.