Bug 1329180

Summary: sudo rpm is required on RHGS container for Heketi
Product: Red Hat Gluster Storage Reporter: Neha <nerawat>
Component: rhgs-server-containerAssignee: Mohamed Ashiq <mliyazud>
Status: CLOSED CURRENTRELEASE QA Contact: Sachin <sashinde>
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.1CC: annair, ashetty, hchiramm, lpabon, mzywusko, rcyriac, sankarshan, sashinde
Target Milestone: ---Keywords: ZStream
Target Release: RHGS Container Converged 1.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rhgs-server-docker-3.1.3-8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-14 13:39:31 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:
Bug Depends On:    
Bug Blocks: 1332128    

Description Neha 2016-04-21 10:48:47 UTC
Description of problem:

By default sudo rpm is not available in RHGS container and Heketi is running each command as sudo 

Version-Release number of selected component (if applicable):


How reproducible:
Always 

Steps to Reproduce:

Try to load topology file using heketi-cli

Actual results:
Reason was:  ()]: Stdout []: Stderr [bash: sudo: command not found


Expected results:


Additional info:
Either we need to add sudo rpm in RHGS container or change it on Heketi side

Comment 2 Luis Pabón 2016-04-25 20:17:32 UTC
This bug is void since BZ 1329179 will remove the need of sudo in Heketi

Comment 3 Luis Pabón 2016-04-25 20:17:51 UTC
Should we close it?

Comment 4 Neha 2016-04-26 03:52:03 UTC
If we are tracking both issues under BZ 1329179 , we can close it.

https://github.com/heketi/heketi/issues/287
https://github.com/heketi/heketi/issues/289

Comment 5 Luis Pabón 2016-04-28 04:50:04 UTC
I think https://github.com/heketi/heketi/issues/289 applies to this bug, not BZ 1329179 as I previously thought.

Comment 9 Humble Chirammal 2016-05-24 09:24:36 UTC
Updated RHGS 3 layered docker image based on RHGS 3.1.3 and RHEL 7.2.2 available (rhgs-server-docker-3.1.3-8). Brew build @ https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=496477 . This has '3.7.9-6.el7rhgs' gluster package and the fix for this issue.

Comment 10 Neha 2016-05-25 04:44:35 UTC
Configuration in latest image:

rpm -q sudo
sudo-1.8.6p7-17.el7_2.x86_64

visudo 

#Defaults    requiretty

Verified.