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

handle condor_submit updated way of specifying environment in the .dag.condor.sub file

XMLWordPrintable

      the HTCondor 10.2.0 has updated the way of how the environment is specified in the .dag.condor.sub file. The environment variable is now quoted with whitespaces, because of which the previous way of encoding the PEGASUS_METRICS variable is now broken.

      environment = "_CONDOR_SCHEDD_ADDRESS_FILE=/home/condor/spool/.schedd_address _CONDOR_MAX_DAGMAN_LOG=0 _CONDOR_SCHEDD_DAEMON_AD_FILE=/home/condor/spool/.schedd_classad _CONDOR_DAGMAN_LOG=wordfreq-workflow-0.dag.dagman.out";PEGASUS_METRICS=true;

      $ condor_submit -terse wordfreq-workflow-0.dag.condor.sub
      ERROR: Unexpected characters following double-quote. Did you forget to escape the double-quote by repeating it? Here is the quote and trailing characters: ";PEGASUS_METRICS=true;

      The environment you specified was: '"_CONDOR_SCHEDD_ADDRESS_FILE=/home/condor/spool/.schedd_address _CONDOR_MAX_DAGMAN_LOG=0 _CONDOR_SCHEDD_DAEMON_AD_FILE=/home/condor/spool/.schedd_classad _CONDOR_DAGMAN_LOG=wordfreq-workflow-0.dag.dagman.out";PEGASUS_METRICS=true;'

            Assignee:
            vahi Karan Vahi
            Reporter:
            vahi Karan Vahi
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: