Project

General

Profile

Actions

Bug #3532

closed

CFEngine display HTML outputs in shell via syslog

Added by Vincent MEMBRÉ almost 11 years ago. Updated about 9 years ago.

Status:
Released
Priority:
2
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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

syslog (162 KB) syslog Vincent MEMBRÉ, 2013-04-25 11:14
Actions #1

Updated by Vincent MEMBRÉ almost 11 years ago

  • Description updated (diff)
Actions #2

Updated by Matthieu CERDA almost 11 years ago

  • Target version changed from 2.6.0~rc1 to 2.6.0
Actions #3

Updated by Jonathan CLARKE almost 11 years ago

  • Target version changed from 2.6.0 to 2.6.1
Actions #5

Updated by Jonathan CLARKE almost 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.

Actions #6

Updated by Nicolas PERRON almost 11 years ago

  • Target version changed from 2.6.1 to 2.6.2
Actions #7

Updated by Matthieu CERDA almost 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.

Actions #8

Updated by Matthieu CERDA almost 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.

Actions #9

Updated by Matthieu CERDA almost 11 years ago

  • Subject changed from CFEngine output in shell to HTML output in shell from syslog related to CFEngine
Actions #10

Updated by Matthieu CERDA almost 11 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:5171e7f3bef6d3cf70591c1d88b86be82c84c6ac.

Actions #11

Updated by Jonathan CLARKE almost 11 years ago

Applied in changeset commit:ae8ff3abc030f7401c3e04722bf79e1c45fbfd0f.

Actions #12

Updated by Nicolas PERRON almost 11 years ago

  • Subject changed from HTML output in shell from syslog related to CFEngine to CFEngine display HTML outputs in shell via syslog
Actions #13

Updated by Nicolas PERRON almost 11 years ago

  • Status changed from Pending release to Released
Actions #14

Updated by Benoît PECCATTE about 9 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: Atom PDF