Bug 1329180 - sudo rpm is required on RHGS container for Heketi
Summary: sudo rpm is required on RHGS container for Heketi
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhgs-server-container
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: RHGS Container Converged 1.0
Assignee: Mohamed Ashiq
QA Contact: Sachin
URL:
Whiteboard:
Depends On:
Blocks: 1332128
TreeView+ depends on / blocked
 
Reported: 2016-04-21 10:48 UTC by Neha
Modified: 2016-11-18 04:08 UTC (History)
8 users (show)

Fixed In Version: rhgs-server-docker-3.1.3-8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-14 13:39:31 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:1493 0 normal SHIPPED_LIVE RHGS 3.1.3 container docker image 2016-08-04 18:06:18 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.