Project

General

Profile

Actions

Bug #8625

closed

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

Added by Nicolas CHARLES over 8 years ago. Updated almost 7 years ago.

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

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 1 (0 open1 closed)

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 inventoryReleasedMatthieu CERDA2016-10-11Actions
Actions #1

Updated by Jonathan CLARKE over 8 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?

Actions #2

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.23 to 2.11.24
Actions #3

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.24 to 308
Actions #4

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 308 to 3.1.14
Actions #5

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.14 to 3.1.15
Actions #6

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.15 to 3.1.16
Actions #7

Updated by Nicolas CHARLES about 8 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

Actions #8

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.16 to 3.1.17
Actions #9

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.17 to 3.1.18
Actions #10

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.1.18 to 3.1.19
Actions #11

Updated by Benoît PECCATTE over 7 years ago

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

Updated by François ARMAND over 7 years 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.

Actions #13

Updated by François ARMAND over 7 years 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
Actions #14

Updated by François ARMAND over 7 years 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.

Actions #15

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.19 to 3.1.20
Actions #16

Updated by Jonathan CLARKE over 7 years ago

  • Status changed from Discussion to New
Actions #17

Updated by Jonathan CLARKE over 7 years ago

  • Assignee deleted (Nicolas CHARLES)
Actions #18

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.20 to 3.1.21
  • Priority changed from 15 to 14
Actions #19

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.21 to 3.1.22
Actions #20

Updated by Benoît PECCATTE over 7 years ago

  • Priority changed from 14 to 27
Actions #21

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.22 to 3.1.23
Actions #22

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.23 to 3.1.24
Actions #23

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.24 to 3.1.25
Actions #24

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.25 to 387
Actions #25

Updated by Nicolas CHARLES about 7 years ago

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

Updated by Nicolas CHARLES about 7 years 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
Actions #27

Updated by Rudder Quality Assistant about 7 years ago

  • Assignee changed from Alexis Mousset to Nicolas CHARLES
Actions #28

Updated by Nicolas CHARLES about 7 years ago

  • Status changed from Pending technical review to Pending release
Actions #29

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 387 to 4.1.10
Actions #30

Updated by Vincent MEMBRÉ almost 7 years 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.

Actions

Also available in: Atom PDF