rundeck-plugins/docker

Running model-source fails on Ubuntu 18.04LTS

simonsickle-old opened this issue · 2 comments

Rundeck logs show a failure on execution. Upon further investigation, we found that env only takes 1 argument

/var/lib/rundeck/libext/cache/docker-container-1.4.1/model-source
/usr/bin/env: ‘python -u’: No such file or directory

Because of this limitation an environment variable should be set instead, PYTHONUNBUFFERED=1

xpufx commented

@simonsickle where exactly do you set this variable? (FYI, My rundeck is inside an lxc container. Not docker.)

xpufx commented

I looked at the commit changes and saw where it is. Thanks.