Project

General

Profile

Actions

Bug #25633

closed

SQL error in the logs when deleting a node

Added by Alexis Mousset 3 months ago. Updated about 1 month ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
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 3 months ago

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

Updated by Clark ANDRIANASOLO 3 months 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 3 months ago

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

Updated by Nicolas CHARLES 2 months ago

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

Updated by Alexis Mousset 2 months 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 #6

Updated by Clark ANDRIANASOLO about 2 months ago

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

Updated by Vincent MEMBRÉ about 1 month ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 8.1.8 and 8.2.1 which were released today.

Actions

Also available in: Atom PDF