[ 
https://issues.apache.org/jira/browse/UIMA-4949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jerry Cwiklik closed UIMA-4949.
-------------------------------
    Resolution: Fixed

Flter out "Operation not permitted" from agent log. Due to a bug in cgcreate 
this msg is dumped to stdout even though a cgroup is created successfully.

> UIMA DUCC: Agent should filter out error msg generated by cgcreate
> ------------------------------------------------------------------
>
>                 Key: UIMA-4949
>                 URL: https://issues.apache.org/jira/browse/UIMA-4949
>             Project: UIMA
>          Issue Type: Improvement
>          Components: DUCC
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>            Priority: Minor
>             Fix For: 2.1.0-Ducc
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to