Project

General

Profile

Actions

Bug #15834

closed

User story #15715: Add a "rudder server health" command

rudder server health -n fails

Added by Nicolas CHARLES over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

output is

# rudder server health -n
grep: 2>/dev/null: No such file or directory
Cannot connect to LDAP server

Actions #1

Updated by Nicolas CHARLES over 4 years ago

it runs

+ psql -q -h localhost -p 5432 -U rudder -t -d rudder -c 'SELECT 1;' '2>/dev/null'
+ grep 'dn: cn=rudder-configuration' '2>/dev/null'
grep: 2>/dev/null: No such file or directory
+ ldapsearch -H ldap://localhost:389/ -D cn=manager,cn=rudder-configuration -w c50e3a837ceb -x -LLL -b cn=rudder-configuration -s base dn
+ echo 'Cannot connect to LDAP server'
Cannot connect to LDAP server
+ exit 2
Actions #2

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE
Actions #3

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-agent/pull/252
Actions #4

Updated by Nicolas CHARLES over 4 years ago

  • Subject changed from rudder agent health -n fails to rudder server health -n fails
Actions #5

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #6

Updated by Félix DALLIDET over 4 years ago

  • Fix check changed from To do to Checked
Actions #7

Updated by Alexis Mousset over 4 years ago

  • Name check changed from To do to Reviewed
Actions #8

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

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

Actions

Also available in: Atom PDF