Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't generate ForwardDISET requests for calls from DiracX #7403

Open
2 of 3 tasks
chrisburr opened this issue Jan 18, 2024 · 1 comment
Open
2 of 3 tasks

Can't generate ForwardDISET requests for calls from DiracX #7403

chrisburr opened this issue Jan 18, 2024 · 1 comment

Comments

@chrisburr
Copy link
Member

chrisburr commented Jan 18, 2024

Error while sending the job status ValueError('No dirax token in the proxy file /tmp/condor_execute/dir_77954/tmpasa9c8bf')
2024-01-18T09:57:43,016657Z None/[7886]JobWrapper WARN: JobReportFailure Could not generate a forwardDISET operation: Could not create ForwardDISET operation
2024-01-18T09:57:43,016711Z None/[7886]JobWrapper WARN: JobReportFailure The job won't fail, but the jobLogging info might be incomplete
2024-01-18T09:57:43,016748Z None/[7886]JobWrapper INFO: Job finished successfully with no pending requests

We use the rpcStub as part of generating the forward diset request but this doesn't exist when using the legacy adapter:

def generateForwardDISET(self):
"""Generate and return failover requests for the operations in the internal cache"""
forwardDISETOp = None
result = self.sendStoredStatusInfo()
if not result["OK"]:
gLogger.error("Error while sending the job status", result["Message"])
if "rpcStub" in result:
rpcStub = result["rpcStub"]
forwardDISETOp = Operation()
forwardDISETOp.Type = "ForwardDISET"
forwardDISETOp.Arguments = DEncode.encode(rpcStub)
else:
return S_ERROR("Could not create ForwardDISET operation")
return S_OK(forwardDISETOp)

To reach that:

  • make an RPC stub equivalent for DiracX
  • Modify ForwardDISET to execute it
  • generate the stub where needed
@chaen
Copy link
Contributor

chaen commented Apr 3, 2024

Todo: grep for ForwardDISET in DIRAC and add tick boxes here for each case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants