Bug 1625501

Summary: gd2 smoke tests fail with cannot create directory ‘/var/lib/glusterd’: Permission denied
Product: [Community] GlusterFS Reporter: Prashanth Pai <ppai>
Component: project-infrastructureAssignee: bugs <bugs>
Status: CLOSED DEFERRED QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, gluster-infra, mscherer, sankarshan
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-05-27 00:59:25 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 Prashanth Pai 2018-09-05 04:53:44 UTC
See: https://build.gluster.org/job/gd2-smoke/846/console

It failed before getting to gd2 tests with /usr/bin/mkdir: cannot create directory ‘/var/lib/glusterd’: Permission denied

Comment 1 M. Scherer 2018-09-05 11:03:44 UTC
So that's on builder9.int.rht.gluster.org

There is no /var/lib/gluster/ , likely because something did remove it. 

This is automatically created by our provisionning script, so I guess "something" did wipe it. If we could not do that, that would be great. The builder will automatically heal itself somewhere around tonight, but really, we shouldn't have make install be run as a user who is not root and expect to modify a path that is root managed on every possible system on the planet.

Comment 2 Nigel Babu 2018-10-03 08:54:47 UTC
We need to standardize how we do clean up better than what we currently do. That's the source of our problems. Putting this in the backlog.