Project

General

Profile

Actions

Bug #8177

closed

Broken rudder-server-roles.conf prevent reporting in distributed setup

Added by Vincent MEMBRÉ about 5 years ago. Updated about 5 years ago.

Status:
Released
Priority:
1
Category:
Web - Config management
Target version:
Severity:
User visibility:
Effort required:
Priority:
Tags:

Description

Since rudder 3.2 we don't produce valid rudder-server-roles.conf files

For each role, we assign their key in the config file, not the value from the config file or the computed one

They all look like this:

# role:hostname1,hostname2,hostname3
rudder-ldap:rudder.server-roles.ldap
rudder-inventory-endpoint:rudder.server-roles.inventory-endpoint
rudder-db:rudder.server-roles.db
rudder-relay-top:rudder.server-roles.relay-top
rudder-web:rudder.server-roles.web
rudder-relay-promises-only:rudder.server-roles.relay-promises-only
rudder-cfengine-mission-portal:rudder.server-roles.cfengine-mission-portal

in AppConfig.scala we should replace:

RudderServerRole("rudder-ldap", "rudder.server-roles.ldap")

by:

RudderServerRole("rudder-ldap", config.getString("rudder.server-roles.ldap"))

Related issues

Related to Rudder - User story #7342: Adapt the logic in Rudder to handle the two new rolesReleasedFrançois ARMAND2015-10-30Actions
Actions #1

Updated by Vincent MEMBRÉ about 5 years ago

  • Parent task deleted (#7342)
Actions #2

Updated by Vincent MEMBRÉ about 5 years ago

  • Related to User story #7342: Adapt the logic in Rudder to handle the two new roles added
Actions #3

Updated by Vincent MEMBRÉ about 5 years ago

  • Tags set to Sponsored
Actions #4

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from New to In progress
  • Assignee set to Vincent MEMBRÉ
Actions #5

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/1076
Actions #6

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #7

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 3.2.3 to 3.2.2
Actions #8

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.2.2 which was released today.

Actions

Also available in: Atom PDF