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

Adding Embedded Ansible role leaves Ansible repos owned by root, not manageiq #23163

Open
jbarson47 opened this issue Aug 22, 2024 · 2 comments
Assignees

Comments

@jbarson47
Copy link

When enabling the Embedded Ansible role on the UI nodes for a ManageIQ region we have deployed (on Najdorf), we expected Ansible playbooks running on those nodes to start working immediately. However, we instead saw Error: [Permission denied @ rb_sysopen - /var/www/miq/vmdb/data/git_repos/locks/9] when attempting to run a playbook defined in an Ansible repository.

Checking the git_repos/ and git_repos/locks/ directory, I can see that all repos + locks EXCEPT those for the Ansible repos are owned by manageiq - however, the Ansible repos (and associated locks) are owned by root. Updating the ownership here to manageiq appears to resolve the issue.

Not sure if this is something that's addressed in later versions but wanted to open this for awareness in case.

@jbarson47 jbarson47 added the bug label Aug 22, 2024
@agrare
Copy link
Member

agrare commented Aug 22, 2024

Hey @jbarson47 were these ansible repos added on an older version or were they added on Najdorf?

@miq-bot
Copy link
Member

miq-bot commented Nov 25, 2024

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

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

No branches or pull requests

3 participants