Skip to content

launch_ansible_job doesn't write to the logfile #730

@BrGitHub11

Description

@BrGitHub11

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:

  1. why there is no limit set in the job call
  2. why there's no log output
  3. why I can't overwrite this method

Already tried to reach out to the community but seems that no one could help me.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions