Uploaded image for project: 'PBS Pro'
  1. PP-1296

Function "add_to_resource_group" doesn't validate the file as part of creating it

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Done
    • Affects versions: None
    • Fix versions: None
    • Components: PTL Framework
    • Labels:
      None
    • Sprint:
    • Story Points:
      1

      Description

      • Currently the function "add_to_resource_group" sets the value but not HUP the scheudler internally. We need to explicitly HUP the scheduler.
      • Code-Snippet
        self.scheduler.add_to_resource_group(str(TEST_USER), 102, 'root', 10)
        Logs:
        2018-08-22 03:40:48,933 INFOCLI2 th2-mom01: sudo -H /opt/tools/wrappers/cat /var/spool/pbs/sched_priv/resource_group
        2018-08-22 03:40:48,945 INFO creating tree node: pbsuser
        2018-08-22 03:40:48,946 INFOCLI2 th2-mom01: sudo -H /opt/tools/wrappers/cp /tmp/PtlPbsGzLlR0 /var/spool/pbs/sched_priv/resource_group

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Mahalty zulekha mahalty
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: