Bad setup code in vdsm_master_storage_functional_tests_localfs_gerrit

Nir Soffer nsoffer at redhat.com
Tue Jun 17 07:57:56 UTC 2014


----- Original Message -----
> From: "Vered Volansky" <vered at redhat.com>
> To: "Dan Kenigsberg" <danken at redhat.com>
> Cc: "infra" <infra at ovirt.org>
> Sent: Tuesday, June 17, 2014 10:40:51 AM
> Subject: Re: Bad setup code in	vdsm_master_storage_functional_tests_localfs_gerrit
> 
> 
> 
> ----- Original Message -----
> > From: "Dan Kenigsberg" <danken at redhat.com>
> > To: "Vered Volansky" <vered at redhat.com>
> > Cc: "infra" <infra at ovirt.org>
> > Sent: Monday, June 16, 2014 11:29:42 AM
> > Subject: Re: Bad setup code in
> > 	vdsm_master_storage_functional_tests_localfs_gerrit
> > 
> > On Sun, Jun 15, 2014 at 04:11:53AM -0400, Vered Volansky wrote:
> > > The job with this issue is gone, let me know if it's risen again.
> > 
> > The fragile code is still in
> > http://jenkins.ovirt.org/view/All/job/vdsm_master_storage_functional_tests_localfs_gerrit/configure
> > why not make it more robust before /var/log/vdsm disappears and make it
> > break again?
> 
> because I don't understand the issue. The file is only created if missing.
> The directory should be there.

The test failure proves that it may not be there in all cases.

> > 
> > BTW, if /var/log/vdsm/vdsm.log is missing, the discussed line would
> > create it owned by root, which would fail the startup of vdsm. Please
> > use the vdsm user instead.
> Ack.

Why not remove the file - much simpler and cannot fail:

    rm -f /var/log/vdsm/vdsm.log

> 
> 
> > _______________________________________________
> > Infra mailing list
> > Infra at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/infra
> > 
> _______________________________________________
> Infra mailing list
> Infra at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/infra
> 



More information about the Infra mailing list