Skip Menu | Logged in as guest | Logout
 
Ticket metadata
Id: 2957
Status: resolved
Priority: 4/0
Queue: vdt-internal

Fixed in: 1.8.1
Fix scheduled: (no value)

Owner: Scot Kronenfeld
Requestors: agopu@indiana.edu
Scot Kronenfeld
Cc: Alain Roy
AdminCc:

More about agopu@indiana.edu
Comments about this user:
No comment entered about this user
This user's 10 highest priority tickets:
Groups this user belongs to:
  • Everyone
  • Unprivileged

New reminder:

Created: Fri Sep 07 16:42:10 2007
Starts: Not set
Started: Fri Sep 07 16:54:04 2007
Last Contact: Not set
Due: Not set
Closed: Wed Sep 12 17:25:11 2007
Updated: Tue Nov 17 13:11:18 2009 by guest



History Brief headersFull headers
Subject: OSG-RSV / Gratia interaction
Download (untitled) / with headers
text/plain 1.1k
There is a bug related to the interaction of the Gratia user and the
OSG-RSV user.

You might see an error in
$VDT_LOCATION/osg-rsv/logs/consumer/gratia-script-consumer.out similar
to this:

08-23-2007 10:59:01 - Executing script
'. . .
/osg-rsv/output/gratia/2007-08-23T17:57:00Z-cacert-crl-expiry-probe-send-gratia-record.py'
Gratia: Unable to log to file:
. . . /gratia/var/logs/2007-08-23.log (<class exceptions.OSError
. . .
Operation not permitted: '. . . gratia/var/logs/2007-08-23.log'
OK


To fix the issue with gratia dirs, we are going to separate all rsv
activity into a separate folder, $VDT_LOCATION/gratia/var/rsv/.


(15:17:41) Arvind Gopu: In $VDT_LOCATION/ gratia/probe/metric .. the
following lines:
DataFolder="/usr/local/OSG_0.7.0/gratia/var/data/"
WorkingFolder="usr/local/OSG_0.7.0/gratia/var/tmp/"
LogFolder="/usr/local/OSG_0.7.0/gratia/var/logs/"

(15:19:36) Arvind Gopu: * create a new dir $VDT_LOCATION/gratia//var/rsv/
* Change the lines in the above file to thenew directories, say
$VDT_LOCATION/gratia//var/rsv/ {log,tmp,data}
* Chown that dir tree to be owned by the RSV user at configure_osg_rsv time
Download (untitled) / with headers
text/plain 898b
Arvind,
The gratia/rsv fixes are in place. When configure_osg_rsv is called
with the "--probes --gratia" options, the gratia infrastructure is
setup. An rsv directory is created within $VDT_LOCATION/gratia/var, and
the gratia/probe/metric/ProbeConfig file is modified to point at this
new location.

Note that if a user calls "--probes --gratia" with an invalid user set
up to run OSG-RSV, an error is printed to the screen (because the script
can't chown the new directories to that invalid user).

[root@vdt-fc4-amd64 test-rsv]# vdt/setup/configure_osg_rsv --probes --gratia
ERROR: Gratia directories will not be setup because the user (rsvuser)
does not exist. at vdt/setup/configure_osg_rsv line 640.

I also undid the changes to configure_gratia that opened up permissions
on directories for OSG-RSV.

The code is built into 1.8.1. Let me know if you see any problems with it.

Thanks,
Scot
CC: Alain Roy <roy@cs.wisc.edu>, Rob Quick <rquick@iupui.edu>
Subject: Re: [vdt-support #2957] OSG-RSV / Gratia interaction
Date: Wed, 12 Sep 2007 16:58:01 -0400 (EDT)
To: Scot Kronenfeld via RT <vdt-internal@cs.wisc.edu>
From: Arvind Gopu <agopu@indiana.edu>
Download (untitled) / with headers
text/plain 2.1k
Hi Scot,

I think I caught a bug. The three directories in the ProbeConfig file for
Gratia ... Data Folder etc.

The configure script seems to add an rsv/ to the 3 lines everytime it's
run. I ran the configure script thrice and ended up with this

DataFolder="/osg/0.7.0-RSV1.8.1-only/gratia/var/rsv/rsv/rsv/data/"
WorkingFolder="/osg/0.7.0-RSV1.8.1-only/gratia/var/rsv/rsv/rsv/tmp/"
LogFolder="/osg/0.7.0-RSV1.8.1-only/gratia/var/rsv/rsv/rsv/logs/"

Can you please fix? Note the 3 "rsv/" in all three lines :(

Also, I am unable to get the OSG-RSV package from the 1.8.1 right now.

root@dickinson 0.7.0 % pacman -get
http://vdt.cs.wisc.edu/vdt_181_cache:OSG-RSV
Do you want to add [http://vdt.cs.wisc.edu/vdt_181_cache] to
[trusted.caches]? (y or n): y
Can't access [http://vdt.cs.wisc.edu/vdt_181_cache/].

I am pretty sure that's the command I ran yesterday to get it. May be the
cache is being rebuilt?

Thanks & Cheers,
Arvind



On 2007-09-07 16:54 (-0500), Scot Kronenfeld via RT had pondered:

> Arvind,
> The gratia/rsv fixes are in place. When configure_osg_rsv is called
> with the "--probes --gratia" options, the gratia infrastructure is
> setup. An rsv directory is created within $VDT_LOCATION/gratia/var, and
> the gratia/probe/metric/ProbeConfig file is modified to point at this
> new location.
>
> Note that if a user calls "--probes --gratia" with an invalid user set
> up to run OSG-RSV, an error is printed to the screen (because the script
> can't chown the new directories to that invalid user).
>
> [root@vdt-fc4-amd64 test-rsv]# vdt/setup/configure_osg_rsv --probes --gratia
> ERROR: Gratia directories will not be setup because the user (rsvuser)
> does not exist. at vdt/setup/configure_osg_rsv line 640.
>
> I also undid the changes to configure_gratia that opened up permissions
> on directories for OSG-RSV.
>
> The code is built into 1.8.1. Let me know if you see any problems with it.
>
> Thanks,
> Scot
>
>

_____________________________________________________________________
Arvind Gopu | OSG Operations Group | (UITS-RT-OSG_OPS) @ IU
OSG-OPS website: http://grid.iu.edu | Work: (812)856-0187
My website: http://cs.indiana.edu/~agopu
Subject: Re: [vdt-support #2957] OSG-RSV / Gratia interaction
Date: Wed, 12 Sep 2007 15:58:41 -0500
To: vdt-internal@cs.wisc.edu
From: Scot Kronenfeld <kronenfe@cs.wisc.edu>
Download (untitled) / with headers
text/plain 389b
agopu@indiana.edu via RT wrote:

> root@dickinson 0.7.0 % pacman -get
> http://vdt.cs.wisc.edu/vdt_181_cache:OSG-RSV
> Do you want to add [http://vdt.cs.wisc.edu/vdt_181_cache] to
> [trusted.caches]? (y or n): y
> Can't access [http://vdt.cs.wisc.edu/vdt_181_cache/].

Our web server is down right now, we're working on getting it back up.

Thanks for the bug report, I'm looking into it.
Subject: Re: [vdt-support #2957] OSG-RSV / Gratia interaction
Date: Wed, 12 Sep 2007 17:11:30 -0500
To: vdt-internal@cs.wisc.edu
From: Scot Kronenfeld <kronenfe@cs.wisc.edu>
Download (untitled) / with headers
text/plain 533b
agopu@indiana.edu via RT wrote:
> I think I caught a bug. The three directories in the ProbeConfig file for
> Gratia ... Data Folder etc.
>
> The configure script seems to add an rsv/ to the 3 lines everytime it's
> run. I ran the configure script thrice and ended up with this
>
> DataFolder="/osg/0.7.0-RSV1.8.1-only/gratia/var/rsv/rsv/rsv/data/"
> WorkingFolder="/osg/0.7.0-RSV1.8.1-only/gratia/var/rsv/rsv/rsv/tmp/"
> LogFolder="/osg/0.7.0-RSV1.8.1-only/gratia/var/rsv/rsv/rsv/logs/"

Thanks Arvind,
this is fixed in 1.8.1