ManageIQ / manageiq

ManageIQ Open-Source Management Platform
https://manageiq.org
Apache License 2.0
1.35k stars 898 forks source link

Cannot Launch Ansible Tower Workflow Template #22837

Open bfilion87 opened 10 months ago

bfilion87 commented 10 months ago

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 commented 10 months ago

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 commented 10 months ago

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 commented 6 months ago

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.

miq-bot commented 3 months ago

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.

miq-bot commented 2 weeks ago

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.