Skip to content

Commit

Permalink
Fix 5316 (#5318)
Browse files Browse the repository at this point in the history
* Revert "do not call HTV via REST. Fix #5316 (#5317)"

This reverts commit 1d2eed5.

* do not make calls to HTC via REST. Fix #5316
  • Loading branch information
belforte authored Jun 19, 2024
1 parent 1d2eed5 commit 6019765
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/python/CRABClient/Commands/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,15 @@ def __call__(self):

self.logger.debug("The CRAB server submitted your task to the Grid scheduler (cluster ID: %s)" % rootDagId)

if not webdir:
# if the dag is submitted and the webdir is not there we have to wait that AdjustSites runs
# and uploads the webdir location to the server
self.logger.info("Waiting for the Grid scheduler to bootstrap your task")
failureMsg = "Schedd has not reported back the webdir (yet)"
self.logger.debug(failureMsg)
combinedStatus = "UNKNOWN"
return self.makeStatusReturnDict(crabDBInfo, combinedStatus, statusFailureMsg=failureMsg)

self.logger.debug("Webdir is located at %s", webdir)

proxiedWebDir = getProxiedWebDir(crabserver=self.crabserver, task=taskname, logFunction=self.logger.debug)
Expand Down

0 comments on commit 6019765

Please sign in to comment.