[gold-users] Problem with gcharge

Artem Harutyunyan Artem.Harutyunyan at cern.ch
Tue Oct 27 08:54:13 MDT 2009


Dear Colleagues,

Please consider the following commands:

hartem at alien-banking:~$ glsaccount  |grep alidaq
61 special_account_alidaq   -106248744 ANY      NONE,alidaq          ANY
hartem at alien-banking:~$

hartem at alien-banking:~$ gcharge -J 37048517 -p ALICE -u alidaq -m CERN
-P 1 -N 1 -t 1815 -d  Charging 1815 credits for the job 37048517
executed on CERN Successfully charged job 37048517 for 1815 credits
hartem at alien-banking:~$

hartem at alien-banking:~$ glsaccount  |grep alidaq
61 special_account_alidaq   -106250560 ANY      NONE,alidaq          ANY
hartem at alien-banking:~$

Before issuing the charge command alidaq user's balance was
-106248744, after charging 1815 credits the balance became -106250560,

however -106248744 -1805=-106250559.

So ghcarge has charged an extra credit. This bug(?) appears from time
to time. Sometimes the command charges several (not necessarily 1)
credits more, sometimes several credits less, and in some cases it
works as expected.

I am using gold version 2.1.4.2.

Do you have any idea how this can be fixed?

Thanks in advance for your help,
Artem.


More information about the gold-users mailing list