Project

General

Profile

Actions

Bug #16521

closed

Rudder agent 5.x package not compatible with Centos8

Added by Romain Brucker almost 5 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

Latest Centos8 installed using CentOS-8-x86_64-1905-dvd1.iso.

Ran install script with :

[root@template-packer ~]# curl https://repository.rudder.io/tools/rudder-setup | bash -s setup-agent 5.0 myserver.com
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 29260  100 29260    0     0   621k      0 --:--:-- --:--:-- --:--:--  621k
Rudder 5.0 Repository                                                                                  18 kB/s |  38 kB     00:02    
Error: 
 Problem: conflicting requests
  - nothing provides /usr/bin/python needed by rudder-agent-1398866025:5.0.15.release-1.EL.8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

[root@template-packer ~]# dnf install python2 python3
Last metadata expiration check: 0:01:29 ago on Fri 10 Jan 2020 03:11:56 PM CET.
Package python2-2.7.15-24.module_el8.0.0+193+7850e68f.x86_64 is already installed.
Package python36-3.6.8-2.module_el8.0.0+33+0a10c0e1.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

[root@template-packer ~]# cat /etc/centos-release
CentOS Linux release 8.0.1905 (Core) 

This is due to /usr/bin/python not being installable anymore through dnf (can install either python2 or python3, and create an alternative instead).
Setting up the alternative doesn't help to install rudder-agent.


Subtasks 3 (0 open3 closed)

Bug #16751: NCF python script should not be forced to python2ReleasedBenoît PECCATTEActions
Bug #17080: Python 2 vs 3 error on centos8 for package installReleasedFélix DALLIDETActions
Bug #17149: Syntax error in Python based package modules headerReleasedAlexis MoussetActions
Actions #1

Updated by Romain Brucker almost 5 years ago

  • Description updated (diff)
Actions #2

Updated by Alexis Mousset almost 5 years ago

Thanks for reporting. As a workaround before the fix, you can use the 6.0 package that should work and is compatible with 5.0 servers.

Actions #3

Updated by Alexis Mousset almost 5 years ago

  • Target version changed from 5.0.16 to 5.0.17
Actions #4

Updated by Félix DALLIDET almost 5 years ago

This is most likely due to the lib auto-detection done by the rpm packaging which triggers on the python files in the agent.
Backporting our support for python3 scripts to 5.0 should fix the issue.

Actions #5

Updated by Félix DALLIDET almost 5 years ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #6

Updated by Félix DALLIDET almost 5 years ago

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

Updated by Félix DALLIDET over 4 years ago

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

Updated by François ARMAND over 4 years ago

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

Updated by Alexis Mousset over 4 years ago

  • Name check changed from To do to Reviewed
Actions #10

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.17 and 6.0.5 which were released today.

Actions

Also available in: Atom PDF