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
This bug is void since BZ 1329179 will remove the need of sudo in Heketi
Should we close it?
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
I think https://github.com/heketi/heketi/issues/289 applies to this bug, not BZ 1329179 as I previously thought.
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.
Configuration in latest image: rpm -q sudo sudo-1.8.6p7-17.el7_2.x86_64 visudo #Defaults requiretty Verified.