Uploaded image for project: 'FTS'
  1. FTS
  2. FTS-1259

Fail to submit multi transfer jobs with default autosession reuse conf

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • fts-rest 3.8.0
    • fts-rest 3.8.0
    • REST API
    • Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)
    • None

    Description

      by reinstalling fts3-xdc we got default conf for autosession reuse

      AutoSessionReuse = true
      #Max small file size for session reuse in bytes
      AutoSessionReuseMaxSmallFileSize = 104857600
      #Max big file size for session reuse in bytes
      AutoSessionReuseMaxBigFileSize = 1073741824
      #Max number of files per session reuse
      AutoSessionReuseMaxFiles = 1000
      #Max number of big files per session reuse
      AutoSessionReuseMaxBigFiles = 2

      which apparently breaks the submission of multiple transfer jobs

      on the logs i see

      16:45:18,918 INFO  [fts3authmiddleware] bec85ce8-043b-4429-b34f-10a25c300cd7 logged in via oauth2
      16:45:18,918 DEBUG [heartbeat] Hearbeat
      16:45:18,947 DEBUG [JobBuilder] job type is None reuseNone
      16:45:18,948 DEBUG [JobBuilder] job type is None
      16:45:18,949 DEBUG [JobBuilder] AutoSessionReuse is true job_type isNone
      16:45:18,950 INFO  [request_logger] [From 188.185.66.218] [400 Bad Request] "POST /jobs" Malformed request: unsupported operand type(s) for -: 'int' and 'str'
      16:45:18,950 DEBUG [request_logger] Request params: NestedMultiDict([])
      16:45:18,950 DEBUG [request_logger] Request content type: application/json
      16:45:18,950 DEBUG [request_logger] Request body: 
      16:45:18,950 DEBUG [request_logger] {  "files": [    {      "sources": [        "https://dcache-xdc.desy.de/Users/joshua/bar.txt"      ],      "destinations": [        "https://dcache-xdc.desy.de/Users/joshua/blub/bar.txt"      ]    },    {      "sources": [        "https://dcache-xdc.desy.de/Users/joshua/bssssr.txt"      ],      "destinations": [        "https://dcache-xdc.desy.de/Users/joshua/blub/bar.txt"      ]    }  ],  "params": {    "verify_checksum": false,    "overwrite": false  }}
      

      by removing that conf everything is fine

      Attachments

        Activity

          People

            aangelog Aris Angelogiannopoulos (Inactive)
            amanzi Andrea Manzi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: