ansible / product-demos

GNU General Public License v3.0
194 stars 194 forks source link

SETUP with Demo Category: Cloud fails #86

Closed daleroux closed 1 year ago

daleroux commented 1 year ago

At the very start of the workshop/lab, when running the SETUP Job template with Demo Category: 'Cloud' , the following error pops up: failed: [localhost] (item={'failed': 0, 'started': 1, 'finished': 0, 'ansible_job_id': 'j760450173010.1206', 'results_file': '/tmp/.ansible_async/j760450173010.1206', 'changed': False, 'workflow_loop_node_item': {'identifier': 'Deploy Windows Blueprint', 'unified_job_template': 'Cloud / AWS / Create VM', 'extra_data': {'vm_name': 'aws_win', 'vm_blueprint': 'windows_full', 'vm_owner': '{{ aws_owner_tag }}'}, 'success_nodes': ['Update Inventory'], 'failure_nodes': ['Ticket - Instance Failed']}, 'ansible_loop_var': '__workflow_loop_node_item'}) => {"workflows_node_async_results_item": {"__workflow_loop_node_item": {"extra_data": {"vm_blueprint": "windows_full", "vm_name": "aws_win", "vm_owner": "{{ aws_owner_tag }}"}, "failure_nodes": ["Ticket - Instance Failed"], "identifier": "Deploy Windows Blueprint", "success_nodes": ["Update Inventory"], "unified_job_template": "Cloud / AWS / Create VM"}, "ansible_job_id": "j760450173010.1206", "ansible_loop_var": "__workflow_loop_node_item", "changed": false, …

willtome commented 1 year ago

Thanks for reporting this issue @daleroux. I don’t have enough information from the error you shared to determine the reason for failure. Can you add the full job log?

You can also review the instructions here (https://github.com/RedHatGov/ansible-tower-samples) to ensure you’ve met all the prerequisites.

daleroux commented 1 year ago

Hi Will,

I followed the instructions above, please see the attachment for the full job log. -Dan job_3.txt

willtome commented 1 year ago

Nothing is jumping out to me in the log. If you rerun the job does it fail every time? Sometimes the API can get over loaded and running a 2nd time works.

willtome commented 1 year ago

@daleroux I'm going to go ahead and close out this issue. If this is still causing problems please reopen. Thanks!