Bug #3532
closedCFEngine display HTML outputs in shell via syslog
Description
After migrating a debian server from 2.4.4 to 2.6.0, I got message directly in my shell coming from CFEngine.
Message from syslogd@server at Apr 25 10:54:22 ... /a> is <span class="class">windows</span> <br><hr> Resource object <b>'e2s_tpl'</b> make the promise to default promisee 'cf-common' (about vars)... <br><span class="lval">........................string</span> => <span class="rval">/var/rudder/tools/e2s.tpl</span> , if body <a href="#class_context">context</a> <span class="context">any</span> <p><small>Promise (version not specified) belongs to bundle <b>e2sCommon</b> (type common) in '<i>/var/rudder/cfengine-community/inputs/common/1.0/e2s_activation.cf</i>' near line 52</small></p> </td></tr></table></td></tr> </td></tr> <tr><td> <tr><td><table class="border"><tr><td> Promise type is <span class="subtype">vars</span>, <a href="#class_context">context</a> is <span class="class">windows</span> <br><hr> Resource object <b>'rudder_base'</b> make the promise to default promisee 'cf-common' (about vars)... <br><span class="lval">........................string</span> => <span class="rval">/dev/null\Rudder</span> , if body <a href="#class_context">context</a> <span class="context">any</span> <p><small>Promise (version not specified) belongs to bundle <b>g</b> (type common) in '<i>/var/rudder/cfengine-community/inputs/common/1.0/site.cf</i>' near line 30</small></p> </td></tr></table></td></tr> </td></tr> <tr><td> <tr><td><table class="border"><tr><td> Promise type is <span class="subtype">vars</span>, <a href="#class_context">context</a> is <span class="class">windows</span> <br><hr> Resource object <b>'rudder_sbin'</b> make the promise to default promisee 'cf-common' (about vars)... <br><span class="lval">........................string</span> => <span class="rval">/opt/rudder\sbin</span> , if body <a href="#class_context">context</a> <span class="context">any</span> <p><small>Promise (version not specified) belongs to bundle <b>g</b> (type common) in '<i>/var/rudder/cfengine-community/inputs/common/1.0/site.cf</i>' near line 31</small></p> </td></tr></table></td></tr> </td></tr> <tr><td> <tr><td><table class="border"><tr><td> Promise type is <span class="subtyp
Message from syslogd@server at Apr 25 10:54:22 ... span class="class">linux|cygwin</span> <br><hr> Resource object <b>'rudder_base'</b> make the promise to default promisee 'cf-common' (about vars)... <br><span class="lval">........................string</span> => <span class="rval">/opt/rudder</span> , if body <a href="#class_context">context</a> <span class="context">any</span> <p><small>Promise (version not specified) belongs to bundle <b>g</b> (type common) in '<i>/var/rudder/cfengine-community/inputs/common/1.0/site.cf</i>' near line 47</small></p> </td></tr></table></td></tr> </td></tr> <tr><td> <tr><td><table class="border"><tr><td> Promise type is <span class="subtype">vars</span>, <a href="#class_context">context</a> is <span class="class">linux|cygwin</span> <br><hr> Resource object <b>'rudder_var'</b> make the promise to default promisee 'cf-common' (about vars)... <br><span class="lval">........................string</span> => <span class="rval">/var/rudder</span> , if body <a href="#class_context">context</a> <span class="context">any</span> <p><small>Promise (version not specified) belongs to bundle <b>g</b> (type common) in '<i>/var/rudder/cfengine-community/inputs/common/1.0/site.cf</i>' near line 48</small></p> </td></tr></table></td></tr> </td></tr> <tr><td> <tr><td><table class="border"><tr><td> Promise type is <span class="subtype">vars</span>, <a href="#class_context">context</a> is <span class="class">linux|cygwin</span> <br><hr> Resource object <b>'rudder_sbin'</b> make the promise to default promisee 'cf-common' (about vars)... <br><span class="lval">........................string</span> => <span class="rval">/opt/rudder/sbin</span> , if body <a href="#class_context">context</a> <span class="context">any</span> <p><small>Promise (version not specified) belongs to bundle <b>g</b> (type common) in '<i>/var/rudder/cfengine-community/inputs/common/1.0/site.cf</i>' near line 49</small></p> </td></tr></table></td></tr> </td></tr> <tr><td> <tr><td><table class="border"><tr><td> Promise type is <span class="subtype">vars</span>, <a href="#c
Here and attachement with the syslog (just after the update to 2.6 (and CFEngine 3.4.4)
Files
Updated by Matthieu CERDA over 11 years ago
- Target version changed from 2.6.0~rc1 to 2.6.0
Updated by Jonathan CLARKE over 11 years ago
- Target version changed from 2.6.0 to 2.6.1
Updated by Jonathan CLARKE over 11 years ago
This bug is https://cfengine.com/dev/issues/1855 (and possibly also https://cfengine.com/dev/issues/2535).
Updated by Jonathan CLARKE over 11 years ago
- Project changed from Rudder to 34
- Category deleted (
39) - Status changed from New to In progress
- Priority changed from N/A to 2
- % Done changed from 0 to 50
Jonathan CLARKE wrote:
This bug is https://cfengine.com/dev/issues/1855 (and possibly also https://cfengine.com/dev/issues/2535).
I've worked on this and found what I think is the problem, and submitted a patch to CFEngine: https://github.com/cfengine/core/pull/621.
I'm waiting for some feedback from them, but if it's not too crazy, we should add this into our packaging of rudder-agent.
Updated by Nicolas PERRON over 11 years ago
- Target version changed from 2.6.1 to 2.6.2
Updated by Matthieu CERDA over 11 years ago
- Assignee changed from Jonathan CLARKE to Matthieu CERDA
I'm grabbing this. The fix has been accepted upstream, so we have the green light to integrate the patch in our 3.4.4 CFEngine.
Updated by Matthieu CERDA over 11 years ago
- Status changed from In progress to Pending technical review
- % Done changed from 50 to 100
- Pull Request set to https://github.com/Normation/rudder-packages/pull/64
PR available.
Updated by Matthieu CERDA over 11 years ago
- Subject changed from CFEngine output in shell to HTML output in shell from syslog related to CFEngine
Updated by Matthieu CERDA over 11 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset commit:5171e7f3bef6d3cf70591c1d88b86be82c84c6ac.
Updated by Jonathan CLARKE over 11 years ago
Applied in changeset commit:ae8ff3abc030f7401c3e04722bf79e1c45fbfd0f.
Updated by Nicolas PERRON over 11 years ago
- Subject changed from HTML output in shell from syslog related to CFEngine to CFEngine display HTML outputs in shell via syslog
Updated by Nicolas PERRON over 11 years ago
- Status changed from Pending release to Released
Updated by Benoît PECCATTE almost 10 years ago
- Project changed from 34 to Rudder
- Category set to Packaging