Project

General

Profile

Actions

Bug #25633

closed

SQL error in the logs when deleting a node

Bug #25633: SQL error in the logs when deleting a node

Added by Alexis Mousset over 1 year ago. Updated about 1 year 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

Updated by Clark ANDRIANASOLO over 1 year ago Actions #1

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

Updated by Clark ANDRIANASOLO over 1 year ago Actions #2

  • 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

Updated by Clark ANDRIANASOLO over 1 year ago Actions #3

  • Status changed from Pending technical review to Pending release

Updated by Nicolas CHARLES over 1 year ago Actions #4

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

Updated by Alexis Mousset over 1 year ago Actions #5

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

Updated by Clark ANDRIANASOLO about 1 year ago Actions #6

  • Fix check changed from To do to Checked

Updated by Vincent MEMBRÉ about 1 year ago Actions #7

  • 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: PDF Atom