[Gluster-infra] Jenkins directory ownership and ansible

Michael Scherer mscherer at redhat.com
Wed Feb 15 13:28:33 UTC 2017


Le mercredi 15 février 2017 à 13:58 +0100, Niels de Vos a écrit :
> On Wed, Feb 15, 2017 at 01:02:32PM +0100, Michael Scherer wrote:
> > Hi
> > 
> > (yes, again me)
> > 
> > so I started to look at ansible automated run logs, and I stumbled on a
> > few puzzling ones:
> > 
> > --- before
> > +++ after
> > @@ -1,6 +1,6 @@
> >  {
> > -    "group": 0,
> > -    "owner": 0,
> > +    "group": 502,
> > +    "owner": 502,
> >      "path": "/var/lib/glusterd",
> > -    "state": "absent"
> > +    "state": "directory"
> >  }
> > changed: [slave0.cloud.gluster.org] => (item=/var/lib/glusterd)
> > 
> > so why did /var/lib/glusterd disappeared on slave0.cloud.gluster.org and
> > slave34, for a start ?
> 
> I think it is possible that the /var/lib/glusterd directory is removed
> in case it was empty:
>   https://github.com/gluster/glusterfs-patch-acceptance-tests/blob/master/cleanup.sh#L18

Indeed, could be it

> Or, even after each smoke run?
>   https://github.com/gluster/glusterfs-patch-acceptance-tests/blob/master/smoke.sh#L21

More likely. 

Changing that is not going to break any tests ?

IE, how is gluster supposed to react if /var/lib/glusterd is not here,
is that something we want to test ?



-- 
Michael Scherer
Sysadmin, Community Infrastructure and Platform, OSAS


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.gluster.org/pipermail/gluster-infra/attachments/20170215/e46542cf/attachment.sig>


More information about the Gluster-infra mailing list