[gold-users] Gold showing newly created projects to all users with mybalance/gbalance ?
scrusan at ur.rochester.edu
Mon Jul 19 20:04:39 MDT 2010
If you do a glsaccount, what is the output for the new project?
What we did is wrote a monster perl script to take LDAP info, and then put
it into gold. When the first projects were created, there were users added
to it also.
I think what is happening is that if you don't specify that only project
members can access the project (which could map to an account), than
everyone can access this new project:
1 some_group 0 some_group MEMBERS ANY Auto-generated
9 Test-Ignore 0 Test-Ignore ANY ANY Auto-generated
After I created the Test-Ignore project using the same command you
specified, I could also replicate this behavior.
What I have done is create a "wildcard" user, someone whom doesn't actually
have a login, but whenever I create a new project/account, I use the
gmkproject -u wildcard ...etc
By doing this, the behavior you specify doesn't happened, a la:
10 Test-Ignore2 0 Test-Ignore2 MEMBERS ANY Auto-generated
And using mybalance doesn't show the new project...
On 7/19/10 9:10 PM, "Christopher Samuel" <samuel at unimelb.edu.au> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Hi there,
> We've been running happily for a few months with Gold with
> a bunch of projects and users and Gold only shows users the
> projects they are associated with when they run mybalance or
> an admin runs gbalance -u $user.
> However, we've just found that if we add a new project then
> that start showing up for all users, even though they don't
> belong to it!
> This is only happening for newly added projects.
> The only recent change in our config was:
> - -log4perl.appender.Log.size = 10000000
> - -log4perl.appender.Log.max = 7
> +log4perl.appender.Log.size = 100000000
> +log4perl.appender.Log.max = 20
> to prevent the logs rolling over as quickly (this VM
> has plenty of spare disk space).
> Projects are being created with:
> gmkproject Test-Ignore
> But I then see:
> [samuel at bruce ~]$ /usr/local/gold/latest/bin/gbalance -u samuel -h
> Id Name Amount Reserved Balance CreditLimit Available
> - --- ----------- --------- -------- --------- ----------- ---------
> 336 vlsci 108681.48 0.00 108681.48 0.00 108681.48
> 368 Test-Ignore 0.00 0.00 0.00 0.00 0.00
> Any thoughts on why this should suddenly start happening,
> and/or how to stop it ?
> - --
> Christopher Samuel - Senior Systems Administrator
> VLSCI - Victorian Life Sciences Computational Initiative
> Email: samuel at unimelb.edu.au Phone: +61 (0)3 903 55545
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> -----END PGP SIGNATURE-----
> gold-users mailing list
> gold-users at supercluster.org
Center for Research Computing
University of Rochester
More information about the gold-users