Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5098

DUCC Agent does not handle /bin/cgcreate failure properly on re-start when there are left over processes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-Ducc
    • Component/s: DUCC
    • Labels:
      None

      Description

      Upon (re-)start of DUCC, one machine showed status as "defined" on the Machines page and "unknown" on Daemons page in ducc-mon.

      Examination of the Agent's log revealed:

      host.domain.net.agent.log:java.io.FileNotFoundException: /cgroup/ducc/327204.327204.28574/cgroup.procs (No such file or directory)

      Also, manually attempting to run

      /bin/cgcreate -t degenaro:mygroup -a degenaro:mygroup -g memory,cpu:ducc/test

      failed with:

      /bin/cgcreate: can't create cgroup ducc/test: Cgroup, operation not allowed

      This may be due to Agent attempting to clean-up processes from previous lifetime, but is unable to do so.

        Activity

        Hide
        lou.degenaro Lou DeGenaro added a comment -

        Jerry delivered fix to NodeAgent.

        Show
        lou.degenaro Lou DeGenaro added a comment - Jerry delivered fix to NodeAgent.

          People

          • Assignee:
            cwiklik Jerry Cwiklik
            Reporter:
            lou.degenaro Lou DeGenaro
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development