Project

General

Profile

Actions

Bug #22551

closed

Missing python3 on AL2 leads to missing generic methods in technique editor and big red error

Added by François ARMAND about 1 year ago. Updated 10 months ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I dislike using that feature
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Very Small
Priority:
100
Name check:
To do
Fix check:
To do
Regression:
No

Description

On a fresh Amazon Linux 2 install of Rudder 7.2.5, when trying to go to the technique editor, when you create a technique, you get a big red error message:

On log, you can see:

[2023-03-28T16:52:28+0000] WARNING Failed to execute shell command from Rudder: error=2, No such file or directory
[2023-03-28 16:52:28+0000] ERROR com.normation.rudder.rest.RestUtils - "Could not get generic methods metadata <- Inconsistency: An error occured while updating generic methods library with command '/usr/share/ncf/ncf write_all_methods':\n code: -2147483648\n stderr: \n stdout: "

And the problem when trying the command is:

write_all_methods
bash: /usr/share/ncf/ncf: /usr/bin/python3: bad interpreter: No such file or directory

Installing python3 solved the issue.


Files

clipboard-202303281902-bintb.png (30.4 KB) clipboard-202303281902-bintb.png François ARMAND, 2023-03-28 19:02
Actions #1

Updated by Vincent MEMBRÉ 12 months ago

  • Target version changed from 7.2.6 to 7.2.7
Actions #2

Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 7.2.7 to 7.2.8
  • Priority changed from 103 to 102
Actions #3

Updated by Benoît PECCATTE 11 months ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE
Actions #4

Updated by Benoît PECCATTE 11 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Félix DALLIDET
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/2750
Actions #5

Updated by Benoît PECCATTE 11 months ago

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

Updated by Vincent MEMBRÉ 10 months ago

  • Status changed from Pending release to Released
  • Priority changed from 102 to 100

This bug has been fixed in Rudder 7.2.8 and 7.3.3 which were released today.

Actions

Also available in: Atom PDF