Project

General

Profile

Actions

Bug #16521

closed

Rudder agent 5.x package not compatible with Centos8

Bug #16521: Rudder agent 5.x package not compatible with Centos8

Added by Romain Brucker almost 6 years ago. Updated over 3 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

Updated by Romain Brucker almost 6 years ago Actions #1

  • Description updated (diff)

Updated by Alexis Mousset almost 6 years ago Actions #2

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.

Updated by Alexis Mousset almost 6 years ago Actions #3

  • Target version changed from 5.0.16 to 5.0.17

Updated by Félix DALLIDET over 5 years ago Actions #4

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.

Updated by Félix DALLIDET over 5 years ago Actions #5

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

Updated by Félix DALLIDET over 5 years ago Actions #6

  • 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

Updated by Félix DALLIDET over 5 years ago Actions #7

  • Status changed from Pending technical review to Pending release

Updated by François ARMAND over 5 years ago Actions #8

  • Fix check changed from To do to Checked

Updated by Alexis Mousset over 5 years ago Actions #9

  • Name check changed from To do to Reviewed

Updated by Vincent MEMBRÉ over 5 years ago Actions #10

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