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

GetUid error on Tower Launch template Task #16

Open
axelhusson opened this issue Feb 1, 2022 · 2 comments
Open

GetUid error on Tower Launch template Task #16

axelhusson opened this issue Feb 1, 2022 · 2 comments

Comments

@axelhusson
Copy link

Hello,

When I launch the task Ansible Tower / Launch Job template, I have this error :

Exception during execution:
javax.script.ScriptException: AttributeError: 'module' object has no attribute 'getuid' in <script> at line number 12

This task had already work and have no change in the configuration.
After restart XL-Release service, the task works and the job template is launched on Tower.

@axelhusson
Copy link
Author

Hello,

The issue is caused by this line :
from ansible_tower.connect_util import session

@axelhusson
Copy link
Author

The service has been lauch with applicatif user but the first installation used the root account. If you start the process with root, the plugin works

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

No branches or pull requests

1 participant