Project

General

Profile

Actions

Bug #25633

open

SQL error in the logs when deleting a node

Added by Alexis Mousset 10 days ago. Updated 7 days ago.

Status:
Pending release
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

Fails with:

2024-10-08 11:06:06 INFO  nodes.delete - Error when cleaning-up scores for node with ID 'a2b12bf8-dd10-4801-8b1d-0d306e4a1d39': SystemError: error when getting global score for node a2b12bf8-dd10-4801-8b1d-0d306e4a1d39; cause was: org.postgresql.util.PSQLException: ERROR: syntax error at or near "=" 
  Position: 32 

A workaround is to enable it before deleting it.


Related issues 1 (1 open0 closed)

Related to Rudder - Bug #25664: Error when deleting a node that doesn't existNewActions
Actions #1

Updated by Clark ANDRIANASOLO 10 days ago

  • Status changed from New to In progress
  • Assignee set to Clark ANDRIANASOLO
Actions #2

Updated by Clark ANDRIANASOLO 10 days ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Clark ANDRIANASOLO to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/5924
Actions #3

Updated by Clark ANDRIANASOLO 10 days ago

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

Updated by Nicolas CHARLES 7 days ago

  • Related to Bug #25664: Error when deleting a node that doesn't exist added
Actions #5

Updated by Alexis Mousset 7 days ago

  • Subject changed from It is impossible to delete a node with "ignored" status to SQL error in the logs when deleting a node
Actions

Also available in: Atom PDF