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 almost 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 #1

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 2.11.0~beta1 to 2.11.0~beta2
Actions #2

Updated by Matthieu CERDA over 10 years ago

  • Target version changed from 2.11.0~beta2 to 2.11.0~rc1
Actions #3

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 2.11.0~rc1 to 2.11.0~rc2
Actions #4

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 2.11.0~rc2 to 2.11.0
Actions #5

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 2.11.0 to 2.11.1
Actions #6

Updated by Nicolas PERRON over 10 years ago

  • Target version changed from 2.11.1 to 2.11.2
Actions #7

Updated by Nicolas PERRON about 10 years ago

  • Target version changed from 2.11.2 to 2.11.3
Actions #8

Updated by Matthieu CERDA about 10 years ago

  • Target version changed from 2.11.3 to 2.11.4
Actions #9

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.11.4 to 2.11.5
Actions #10

Updated by Matthieu CERDA almost 10 years ago

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

Updated by Matthieu CERDA almost 10 years ago

  • 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: Atom PDF