Project

General

Profile

Actions

Bug #5006

closed

Inventory promises spew errors if /opt/rudder/etc/server-roles.d/ directory is not present

Added by Jonathan CLARKE over 10 years ago. Updated about 10 years ago.

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

Description

Since #4929, the inventory promises attempt to show what Rudder server roles are on a machine, by checking the existance of files in /opt/rudder/etc/server-roles.d/.

However, if this directory is not present, the following errors get output:

2014-06-12T15:11:03+0000    error: /default/addInformationsToInventory/vars: Directory '/opt/rudder/etc/server-roles.d/' could not be accessed in lsdir(), (opendir: No such file or directory)
2014-06-12T15:11:03+0000    error: /default/addInformationsToInventory/vars: Directory '/opt/rudder/etc/server-roles.d/' could not be accessed in lsdir(), (opendir: No such file or directory)
2014-06-12T15:11:03+0000    error: /default/addInformationsToInventory/vars: Directory '/opt/rudder/etc/server-roles.d/' could not be accessed in lsdir(), (opendir: No such file or directory)

Related issues 2 (0 open2 closed)

Related to Rudder - User story #4929: Add tag <SERVER_ROLES><SERVER_ROLE> with the roles of the serverReleasedJonathan CLARKE2014-06-15Actions
Is duplicate of Rudder - Bug #5200: Nodes which are not part of distributed architecture displays an error log on agent execution about missing '/opt/rudder/etc/server-roles.d/' directoryReleasedJonathan CLARKE2014-07-02Actions
Actions

Also available in: Atom PDF