Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running model-source fails on Ubuntu 18.04LTS #38

Open
simonsickle-old opened this issue Apr 16, 2019 · 2 comments
Open

Running model-source fails on Ubuntu 18.04LTS #38

simonsickle-old opened this issue Apr 16, 2019 · 2 comments

Comments

@simonsickle-old
Copy link

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
Copy link

xpufx commented Mar 30, 2020

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

@xpufx
Copy link

xpufx commented Mar 30, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants