Actions
Bug #22551
closedMissing python3 on AL2 leads to missing generic methods in technique editor and big red error
Pull Request:
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
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 7.2.6 to 7.2.7
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 7.2.7 to 7.2.8
- Priority changed from 103 to 102
Updated by Benoît PECCATTE over 1 year ago
- Status changed from New to In progress
- Assignee set to Benoît PECCATTE
Updated by Benoît PECCATTE over 1 year 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
Updated by Benoît PECCATTE over 1 year ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|efaf667b4cc1f976596b17c73cbf2a89c35ff17e.
Updated by Vincent MEMBRÉ over 1 year 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