Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: When running ansible service catalog provision from service catalog the job can run in any zone and it seem like the service catalog aren't zone aware which cause the job lunch to fail because Ansible tower is only accessible from the worker associate the Ansible Tower provider zone. Version-Release number of selected component (if applicable): 4.2 How reproducible: Steps to Reproduce: 1. assume you have environment with multiple zones/providers 2. Add Ansible tower provider to one zone, and limit the access to Tower from only that worker. e.g using iptables 3. create, and run ansible job template. Actual results: The job sometime success, and sometime fail. It success when the job lunch run on the correct work, and it fail when the job lunched from worker has no connectivity to tower. Expected results: the job run from the worker within the provider zone. Additional info:
https://github.com/ManageIQ/manageiq/pull/15233
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/1d0bb9793e9cb1841aa1767fc3b5716fc97500c6 commit 1d0bb9793e9cb1841aa1767fc3b5716fc97500c6 Author: Tina Fitzgerald <tfitzger> AuthorDate: Thu May 25 16:34:48 2017 -0400 Commit: Tina Fitzgerald <tfitzger> CommitDate: Wed May 31 15:28:04 2017 -0400 Add my_zone to ansible tower service template. https://bugzilla.redhat.com/show_bug.cgi?id=1451473 app/models/service_template_ansible_tower.rb | 4 ++++ spec/models/service_template_ansible_tower_spec.rb | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+)