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

Cannot Launch Ansible Tower Workflow Template #22837

Open
bfilion87 opened this issue Jan 11, 2024 · 3 comments
Open

Cannot Launch Ansible Tower Workflow Template #22837

bfilion87 opened this issue Jan 11, 2024 · 3 comments

Comments

@bfilion87
Copy link

Recently installed a new set of appliances on petrosian 1, and am noticing we no longer can launch Ansible Tower workflows. When we attempt to launch a workflow from either an Automate instance, or a button, we always get a runtime error stating:

ERROR -- automation: The following error occurred during method evaluation:
ERROR -- automation: RuntimeError: Job Template not specified

In the instance we have the name of the workflow defined as an attribute job_template_name. Here is a screenshot of the instance:

workflow1

Ive also tried setting the job template name with a .missing instance and calling that with the job template name appended, but same error. In our VMDB, I can see the workflow template and I can also see the workflow template under Automation --> Automation --> Templates

workflow2

We can launch job templates just fine from a button and can even launch a workflow template from a service catalog item and bundle, but when launching just a workflow template from either a button or Automate instance, it appears it cannot find the template and returns the errors shown above.

@agrare
Copy link
Member

agrare commented Jan 17, 2024

Hey @bfilion87 I started investigating this last week. I was able to run a workflow template from a service catalog item successfully, I'm working on getting an automate instance referencing a workflow shortly.

@bfilion87
Copy link
Author

Hey @bfilion87 I started investigating this last week. I was able to run a workflow template from a service catalog item successfully, I'm working on getting an automate instance referencing a workflow shortly.

Sounds good! Yeah I was able to get a workflow to run from a service catalog item as well. Where I run into an issue is from a button or from an automate instance. In my case, I am attempting to run an ansible/AWX workflow during a VM retirement.

@miq-bot miq-bot added the stale label Apr 22, 2024
@miq-bot
Copy link
Member

miq-bot commented Apr 22, 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