Project

General

Profile

Actions

Bug #4895

closed

Wrong error message when accepted an already accepted node

Added by Matthieu CERDA over 10 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
3
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When I try to accept a new node that for some reason already exists (on a Rudder 2.6.10 server):

Error when trying to execute pre-accepting for phase accept_new_server:check_hostname_unicity. Stop. <- There is already a node with Hostname 'centos-6-64.labo.normation.com' in database. You can not add it again. 

Maybe we should display something less frightening like "There is already a node with Hostname 'centos-6-64.labo.normation.com' in database. You can not add it again." and leave "Error when trying to execute pre-accepting for phase accept_new_server:check_hostname_unicity. Stop." for the log debug output :)

Actions #1

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 2.6.13 to 2.6.14
Actions #2

Updated by Jonathan CLARKE over 10 years ago

  • Target version changed from 2.6.14 to 2.6.16
Actions #3

Updated by Jonathan CLARKE over 10 years ago

  • Target version changed from 2.6.16 to 2.6.17
Actions #4

Updated by Nicolas PERRON over 10 years ago

  • Target version changed from 2.6.17 to 2.6.18
Actions #5

Updated by Matthieu CERDA about 10 years ago

  • Target version changed from 2.6.18 to 2.6.19
Actions #6

Updated by Vincent MEMBRÉ about 10 years ago

  • Target version changed from 2.6.19 to 2.6.20
Actions #7

Updated by François ARMAND almost 10 years ago

  • Status changed from 8 to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Nicolas CHARLES
  • Target version changed from 2.6.20 to 2.10.10
  • Pull Request set to https://github.com/Normation/rudder/pull/815

Nico, if you mind review that one: https://github.com/Normation/rudder/pull/815

Actions #8

Updated by François ARMAND almost 10 years ago

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

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.10.10 to 2.10.9
Actions #11

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.10.9 to 2.10.10
Actions #12

Updated by Vincent MEMBRÉ almost 10 years ago

  • Subject changed from The error thant appears while a node to be accepted already exists is frightening to Wrong error message when accepted an already accepted node
Actions #13

Updated by Vincent MEMBRÉ almost 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.10 and 2.11.7, which were these days.

Actions

Also available in: Atom PDF