Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-1820

Deserializing a YAML transformation files always sets the os.type to linux

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • master, 5.0.1
    • None
    • None

    Description

      -- TC

      pegasus: '5.0'
      sites:
      - name: local
        arch: x86_64
        os.type: macosx
        directories:
        - type: localScratch
          path: /Users/jcummings/workflows/scratch
          fileServers:
          - url: file:///Users/jcummings/workflows/scratch
            operation: all
        - type: localStorage
          path: /Users/jcummings/workflows/output
          fileServers:
          - url: file:///Users/jcummings/workflows/output
            operation: all

      -- TC

      pegasus: '5.0'
      transformations:
      - namespace: local
        name: claims_claim_detection
        version: '4.0'
        sites:
        - name: local
          pfn: /Users/jcummings/Desktop/projects/GAIA/cdse-covid-experiments/claims/claim_detection/___run.sh
          type: installed
          arch: x86_64
          os.type: macosx

      -- Plan Log

      2021.10.06 13:27:22.561 PDT: [FATAL ERROR] java.lang.RuntimeException: Site Selector could not map the job local::claims_claim_detection:4.0 with id claims_claim_detection_ID0000001
      to any of the execution sites [local]
      using the Transformation Mapper (All Mode - Handle both Installed and Stageable Executables on all sites)
      This error is most likely due to an error in the transformation catalog.
      Make sure that the local::claims_claim_detection:4.0 transformation exists with matching system information for sites
      [local] you are trying to plan for {local={arch=x86_64 os=macosx}}
      Candidate Entries found were [
       
       Logical Namespace : local
       Logical Name : claims_claim_detection
       Version : 4.0
       Resource Id : local
       Physical Name : /Users/jcummings/Desktop/projects/GAIA/cdse-covid-experiments/claims/claim_detection/___run.sh
       SysInfo : {arch=x86_64 os=linux}
       TYPE : INSTALLED
       BYPASS : false
       Notifications:
       Container : null
       Compound Tx : null]

      Attachments

        Activity

          People

            mayani Rajiv Mayani
            mayani Rajiv Mayani
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: