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

UIMA DUCC: Agent should filter out error msg generated by cgcreate

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0-Ducc
    • Component/s: DUCC
    • Labels:
      None

      Description

      Due to a bug in cgroups helper library, the cgcreate generates "bin/cgcreate: can't create cgroup ducc/test: Operation not permitted" which is logged and gives an impression that something is wrong. Despite the error msg, the cgroup container is created.
      When processing stdout/stderr when running cgcreate filter out the error message to avoid the confusion. In case there is an actual problem creating a cgroup, the agent runs secondary test to validate existence of cgroup after cgcreate completes. This test will catch and report a failure and disable cgroups.

        Attachments

          Activity

            People

            • Assignee:
              cwiklik Jerry Cwiklik
              Reporter:
              cwiklik Jerry Cwiklik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: