Project

General

Profile

Bug #8625

There is a /var/cfengine/inputs on a Rudder server

Added by Nicolas CHARLES over 2 years ago. Updated 10 months ago.

Status:
Released
Priority:
N/A
Category:
Server components
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
27

Description

On a Rudder server, there are /var/cfengine/inputs folder, containing initial promises
These files are created by script rudder-init.

I'm not sure why there are there, and what are their goals, so filing this ticket


Related issues

Related to Rudder - Bug #9327: Error on inventory of policy servers: Error when parsing an <RUDDER><AGENT> entry, that agent will be ignored. <- could not parse policy server id (tag POLICY_SERVER_UUID) from specific inventoryReleased2016-10-11

Associated revisions

Revision 8550e2df (diff)
Added by Nicolas CHARLES 12 months ago

Fixes #8625: There is a /var/cfengine/inputs on a Rudder server

History

#1 Updated by Jonathan CLARKE over 2 years ago

  • Status changed from New to Discussion
  • Assignee set to Nicolas CHARLES

Nicolas CHARLES wrote:

On a Rudder server, there are /var/cfengine/inputs folder, containing initial promises
These files are created by script rudder-init.

I'm not sure why there are there, and what are their goals, so filing this ticket

It is my understanding that a Rudder server serving Windows nodes needs a "CFEngine Enterprise" cf-serverd running, and that that cf-serverd has a hardcoded path to /var/cfengine/inputs in it. That is why this directory is created and populated.

Is my understanding wrong? If so, what promises does the CFEngine Enterprise cf-serverd read, and how do we tell it which directory/file to read from?

#2 Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 2.11.23 to 2.11.24

#3 Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 2.11.24 to 308

#4 Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 308 to 3.1.14

#5 Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 3.1.14 to 3.1.15

#6 Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 3.1.15 to 3.1.16

#7 Updated by Nicolas CHARLES about 2 years ago

When we install the Enterprise agent, we put the initial promises in /var/cfengine/inputs (that's part of the install script)
Once the inventory as been generated, promises in this folder are generated there by the web interface

Maybe the init script of the Enterprise agent could be simply to copy initial promises from /opt/rudder/share/initial-promises ; but always having the promises in /var/cfengine/inputs is pretty confusing

#8 Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 3.1.16 to 3.1.17

#9 Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 3.1.17 to 3.1.18

#10 Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 3.1.18 to 3.1.19

#11 Updated by Benoît PECCATTE over 1 year ago

  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Operational - other Techniques | Technique editor | Rudder settings
  • Priority set to 15

#12 Updated by François ARMAND over 1 year ago

  • Subject changed from There is a /var/cfengine/inputs on a Rudder server to There is a /var/cfengine/inputs on a Rudder server letting inventory believes an enterprise agent is installed
  • Description updated (diff)

Addind a reference to the inventory error we get in log in the description and amending title to make the ticket searchable.

#13 Updated by François ARMAND over 1 year ago

  • Related to Bug #9327: Error on inventory of policy servers: Error when parsing an <RUDDER><AGENT> entry, that agent will be ignored. <- could not parse policy server id (tag POLICY_SERVER_UUID) from specific inventory added

#14 Updated by François ARMAND over 1 year ago

  • Subject changed from There is a /var/cfengine/inputs on a Rudder server letting inventory believes an enterprise agent is installed to There is a /var/cfengine/inputs on a Rudder server
  • Description updated (diff)

So in fact, the part for the inventory message was corrected in ticket #9327. I'm changing back the ticket.

#15 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 3.1.19 to 3.1.20

#16 Updated by Jonathan CLARKE over 1 year ago

  • Status changed from Discussion to New

#17 Updated by Jonathan CLARKE over 1 year ago

  • Assignee deleted (Nicolas CHARLES)

#18 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 3.1.20 to 3.1.21
  • Priority changed from 15 to 14

#19 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 3.1.21 to 3.1.22

#20 Updated by Benoît PECCATTE over 1 year ago

  • Priority changed from 14 to 27

#21 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 3.1.22 to 3.1.23

#22 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 3.1.23 to 3.1.24

#23 Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 3.1.24 to 3.1.25

#24 Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 3.1.25 to 387

#25 Updated by Nicolas CHARLES 12 months ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES

#26 Updated by Nicolas CHARLES 12 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis MOUSSET
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1430

#27 Updated by Normation Quality Assistant 12 months ago

  • Assignee changed from Alexis MOUSSET to Nicolas CHARLES

#28 Updated by Nicolas CHARLES 12 months ago

  • Status changed from Pending technical review to Pending release

#29 Updated by Vincent MEMBRÉ 12 months ago

  • Target version changed from 387 to 4.1.10

#30 Updated by Vincent MEMBRÉ 10 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.10 and 4.2.4 which were released today.

Also available in: Atom PDF