Project

General

Profile

Actions

Bug #4895

closed

Wrong error message when accepted an already accepted node

Added by Matthieu CERDA almost 10 years ago. Updated about 9 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

Also available in: Atom PDF