-
Notifications
You must be signed in to change notification settings - Fork 120
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
launch_ansible_job doesn't write to the logfile #730
Comments
Can you give more details of your setup, perhaps a way we can replicate what you're seeing? Tower runs independently, but we do fetch the run over their API. Or were you expecting something else in the MIQ logs? |
Hi, thanks for your help! I'm really grateful for any help! I tried to reproduce all steps. Here's what I've done. Please reach out Installed a new instance of MIQ using docker. Added a VMware provider. Added a new service dialog, which asks for the VMname. Added a new catalog. Added a new catalog item, type VMware. Used the dialog from above. Went to the MIQ UI and ordered one VM using my catalog item. Deleted the VM using VSphere. Added a new automation provider and pointed it to our tower instance. Added a new domain to the datastore. Copied Added a new method (towerjob) that call a test job in tower. Modified the PostProvision Instance and put towerjob as value in Went to the MIQ UI and ordered one VM using my catalog item. I could see info log level messages in the docker logs output. But When looking into the In the end my question is how to modify the call to Tower so that I could |
This is great details. Thanks! We'll have to look into this specific combination, which will take some time, but I'll have to see what's going on. cc @agrare |
I installed a new version of ManageIQ in docker. I still can't see automation log output in docker logs. |
@BrGitHub11 In containerized deployments the logs get written to stdout and are not written to disk (journalctl doesn't exist in containers). That page should be hidden in containerized deployments, so if that's showing that's a bug. You should enable a log aggregator such as an EFK stack if running in a containerized deployment. |
Hi Jason, |
Hi, do you need some additional information? |
Hi, is there an estimate when someone could start working on this? |
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 Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation. |
Sorry @BrGitHub11 I just haven't had any cycles to dig into this one :( |
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 |
3 similar comments
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 |
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 |
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 |
We're using oparin-1.1.20230105135506_44ec8c4 installed on a VM.
I'm trying to call an ansible job in tower in the post provisioning phase of my vm. The VM is created successfully and the job is started in tower. But there's no limit set. I tried to debug what's happening but it seems like there's no log output. When I look at the launch_ansible_job there are some log messages, like "Processing Job Template". But journalctl doesn't show this even after the job is started in Tower. I could see a line that says "Calling template.run_with_miq_job for template: #<ManageIQ::Providers::AnsibleTower::AutomationManager::ConfigurationScript".
I tried to overwrite the method by copying it to my own domain but seems like mine is never called.
I'm looking for someone who could help me understand:
Already tried to reach out to the community but seems that no one could help me.
The text was updated successfully, but these errors were encountered: