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

request_disk is incorrectly set to MBs instead of KBs

XMLWordPrintable

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major Major
    • master, 5.0.6
    • Affects Version/s: 5.0.5
    • Component/s: None
    • None

      The request_disk attribute in HTCondor should be given in KBs:

      https://htcondor.readthedocs.io/en/latest/man-pages/condor_submit.html

      If a user gives a property with a postfix, for example "10 GB", Pegasus tries to do a fancy convert, like:

      https://github.com/pegasus-isi/pegasus/blob/2c280c8b425f6f8afb1e4fab9b66047585d0b5ab/packages/pegasus-api/src/Pegasus/api/mixins.py#L363

      However, this results in the value in the submit file being in MBs and not KBs. There might be other places in the code this conversion is broken.

            Assignee:
            mzalam Mohammad Zaiyan Alam (Inactive)
            Reporter:
            rynge Mats Rynge
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: