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

disconnect in site catalog and DAX schema for specifying OSType

    XMLWordPrintable

    Details

      Description

      If I have

      <site handle="local" arch="x86_64" os="linux" osrelease="debian" osversion="7" glibc="">

      in the site catalog and

      <executable name="00223456_04.sh" arch="x86_64" os="linux" osrelease="debian" osversion="7" installed="true">

      in the dax file I get the error

      2016.05.03 11:45:24.253 EDT: [ERROR] **Parsing ** Line: 8
      [org.xml.sax.SAXParseException; lineNumber: 8; columnNumber: 93; cvc-enumeration-valid: Value 'linux' is not facet-valid with respect to enumeration '[LINUX, SUNOS, AIX, MACOSX, WINDOWS]'. It must be a value from the enumeration.]

      2016.05.03 11:45:24.258 EDT: [ERROR] **Parsing ** Line: 8
      [org.xml.sax.SAXParseException; lineNumber: 8; columnNumber: 93; cvc-attribute.3: The value 'linux' of attribute 'os' on element 'site' is not valid with respect to its type, 'OSType'.]

      2016.05.03 11:45:24.271 EDT: [FATAL ERROR] No enum const class edu.isi.pegasus.planner.catalog.classes.SysInfo$OS.linux

      where line 8 refers to the site catalog.

      If I make the change to os="LINUX" in both files I get the error

      2016.05.03 11:29:44.014 EDT: [ERROR] **Parsing ** Line: 6
      [org.xml.sax.SAXParseException; lineNumber: 6; columnNumber: 111; cvc-enumeration-valid: Value 'LINUX' is not facet-valid with respect to enumeration '[aix, sunos, linux, macosx, windows]'. It must be a value from the enumeration.]

      2016.05.03 11:29:44.019 EDT: [ERROR] **Parsing ** Line: 6
      [org.xml.sax.SAXParseException; lineNumber: 6; columnNumber: 111; cvc-attribute.3: The value 'LINUX' of attribute 'os' on element 'executable' is not valid with respect to its type, 'OSType'.]

      where line 6 refers to the dax file.

        Attachments

          Activity

            People

            • Assignee:
              vahi Karan Vahi
              Reporter:
              clarks Steven Clark
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: