Giter Club home page Giter Club logo

Comments (5)

nataliaratnikova avatar nataliaratnikova commented on September 3, 2024

Could you provide information:

  • Error message
  • Time when it happened
  • Request Id

If this is a load related error, we need to find out where is the bottleneck.

from phedex.

vlimant avatar vlimant commented on September 3, 2024

you can try to create a transfer of any dataset to 15 sites, and disapprove all of them at once. This will fail, I guarantee it

from phedex.

vlimant avatar vlimant commented on September 3, 2024

I just tried to approve all pending for
https://cmsweb.cern.ch/phedex/prod/Request::View?request=1097871

and got

"""
Apologies, looks like we have an internal server error, details of which below. If the problem persists, please submit a bug report.

Error time=2017-09-11 10:23:56 UTC id=4525e0d67b4c2004d6ce584fddf59b78
"""

several times

from phedex.

nataliaratnikova avatar nataliaratnikova commented on September 3, 2024

Hi, thanks for the timestamp, it was helpful. I don't have approval rights and would not be able to try myself.

Anyway, I tracked this down to this error in the server log:
2017-09-11 10:23:56 UTC: error: id=4525e0d67b4c2004d6ce584fddf59b78 Error evaluating client identity at /data/srv/beHG1707d/sw/slc7_amd64_gcc630/cms/PHEDEX-datasvc/2.3.24/perl_lib/PHEDEX/Web/API/UpdateRequest.pm line 116.\n at /data/srv/state/phedex/htdocs/WebSite/access25 line 4356.

Investigating further I found this to be a sort of safety feature introduced 5 years ago:
80fee7f
which prevents ( on the authentication level) the approval of more than 10 node requests at a time.

In principle this makes sense, because once approved, it is not possible to undo the deletions!

Since the request in question is fully approved now, I assume you eventually succeeded after trying a few times. If this is the case (please confirm) , I see several options:
A) leave this feature as a precaution, but document it and produce a meaningful error.
B) Increase the limit to whatever seems practical to you
C) disable the feature

from phedex.

vlimant avatar vlimant commented on September 3, 2024

would be great to understand why this was introduced.
experiementally the limit is not at 10, but 2-3ish.
this is very unpractical

from phedex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.