Project

General

Profile

Actions

Bug #5006

closed

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

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

Added by Jonathan CLARKE over 11 years ago. Updated about 11 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 CLARKEActions
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 CLARKEActions

Updated by Vincent MEMBRÉ over 11 years ago Actions #1

  • Target version changed from 2.11.0~beta1 to 2.11.0~beta2

Updated by Matthieu CERDA over 11 years ago Actions #2

  • Target version changed from 2.11.0~beta2 to 2.11.0~rc1

Updated by Vincent MEMBRÉ over 11 years ago Actions #3

  • Target version changed from 2.11.0~rc1 to 2.11.0~rc2

Updated by Vincent MEMBRÉ over 11 years ago Actions #4

  • Target version changed from 2.11.0~rc2 to 2.11.0

Updated by Vincent MEMBRÉ over 11 years ago Actions #5

  • Target version changed from 2.11.0 to 2.11.1

Updated by Nicolas PERRON over 11 years ago Actions #6

  • Target version changed from 2.11.1 to 2.11.2

Updated by Nicolas PERRON over 11 years ago Actions #7

  • Target version changed from 2.11.2 to 2.11.3

Updated by Matthieu CERDA about 11 years ago Actions #8

  • Target version changed from 2.11.3 to 2.11.4

Updated by Vincent MEMBRÉ about 11 years ago Actions #9

  • Target version changed from 2.11.4 to 2.11.5

Updated by Matthieu CERDA about 11 years ago Actions #10

  • Status changed from 8 to In progress
  • Assignee changed from Nicolas CHARLES to Matthieu CERDA

Updated by Matthieu CERDA about 11 years ago Actions #11

  • Status changed from In progress to Rejected
  • % Done changed from 0 to 100

This bug is a duplicate of #5200, which has been fixed. Rejecting.

Actions

Also available in: PDF Atom