Actions
Bug #16106
closedrudderPkgUtils.py stacktrace during install on centos7
Pull Request:
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.
Actions