Project

General

Profile

Actions

Bug #16106

closed

rudderPkgUtils.py stacktrace during install on centos7

Added by François ARMAND about 5 years ago. Updated almost 5 years ago.

Status:
Rejected
Priority:
N/A
Category:
System integration
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Priority:
50
Name check:
To do
Fix check:
To do
Regression:

Description

On a fresh centos7 install, I got a python stacktrace:

    centos7_server:   Installing : 1398866025:rudder-webapp-6.0.0.beta1-1.EL.7.x86_64         33/35
...
    centos7_server: Restarting jetty... done.
    centos7_server:
    centos7_server: Reinitialization complete, Rudder is currently reloading.
    centos7_server:
    centos7_server: You can access it via https://server.rudder.local/rudder
    centos7_server:
    centos7_server: INFO: Launching script to check if a migration is needed ...
    centos7_server: Traceback (most recent call last):
    centos7_server:   File "/opt/rudder/bin/rudder-pkg", line 86, in <module>
    centos7_server:     utils.startLogger('INFO')
    centos7_server:   File "/opt/rudder/share/python/rudder-pkg/rudderPkgUtils.py", line 50, in startLogger
    centos7_server:     os.makedirs(os.path.dirname(LOG_PATH), exist_ok=True)
    centos7_server: TypeError: makedirs() got an unexpected keyword argument 'exist_ok'
    centos7_server: INFO: Applying selinux policy... Done
...

I'm not sure if it breaks something afterward.


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #16161: os.makedirs 'exist_ok' parameter does not exist in python 2.7ReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF