Project

General

Profile

Actions

Bug #5092

closed

Rudder role is not displayed in the web interface if a node is a server component but neither relay nor root server

Added by Jonathan CLARKE about 8 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
2
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:

Description

Server roles are now sent via the inventory, and can include roles such as rudder-db, rudder-ldap, etc.

On a server with the rudder-db, rudder-reports roles, it is displayed as a "Rudder node" in the web interface.

This shuold be "Rudder server (rudder-db, rudder-reports)".

This comes from the code logic in https://github.com/Normation/rudder/blob/branches/rudder/2.11/rudder-web/src/main/scala/com/normation/rudder/web/services/DisplayNode.scala#L400, which is basically:

if (isPolicyServer)
    if (root)
        work out server-roles and display them
    else # is a relay server
        display "I'm a relay server" 
else
    display "I'm a node" 
endif

Obviously, we should display "Rudder {type} server ({roles})" if any roles are defined, and with "type"=relay or "type"=root

Actions #1

Updated by Vincent MEMBRÉ about 8 years ago

  • Status changed from 8 to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Jonathan CLARKE
  • Pull Request set to https://github.com/Normation/rudder/pull/556
Actions #2

Updated by Vincent MEMBRÉ about 8 years ago

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

Updated by Vincent MEMBRÉ almost 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.0~beta2 (announcement , changelog), which were released today.

Actions

Also available in: Atom PDF