Bug 1460356 - Ansible Service Catalog Template Job not honoring provider zone
Summary: Ansible Service Catalog Template Job not honoring provider zone
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.8.1
Assignee: Tina Fitzgerald
QA Contact: Pavol Kotvan
URL:
Whiteboard:
Depends On: 1451473
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-09 20:11 UTC by Satoe Imaishi
Modified: 2022-07-09 08:39 UTC (History)
8 users (show)

Fixed In Version: 5.8.1.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1451473
Environment:
Last Closed: 2017-08-02 17:29:29 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1758 0 normal SHIPPED_LIVE Important: Red Hat CloudForms security, bug fix, and enhancement update 2017-08-02 21:23:43 UTC

Comment 2 CFME Bot 2017-06-09 20:16:06 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/456b5ac7d409abd5a1010734bb7e161148da821b

commit 456b5ac7d409abd5a1010734bb7e161148da821b
Author:     Greg McCullough <gmccullo>
AuthorDate: Wed May 31 15:46:47 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Jun 9 16:12:04 2017 -0400

    Merge pull request #15233 from tinaafitz/ansible_tower_my_zone
    
    Add my_zone to ansible tower service template.
    (cherry picked from commit e871897e55349892d83a4f52bc8b21d499e3dac6)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1460356

 app/models/service_template_ansible_tower.rb       |  4 ++++
 spec/models/service_template_ansible_tower_spec.rb | 19 +++++++++++++++++++
 2 files changed, 23 insertions(+)

Comment 4 Tina Fitzgerald 2017-06-29 15:34:54 UTC
Hi Pavol,

The fix for this issue is for Ansible Tower, not Embedded Ansible, so it should be easier to test.

1. Setup 2 appliances, each having their own zone, zone1 and zone2.
2. Add Ansible Tower provider to zone2,
3. Create Ansible Tower Service item.
4. Order the Service. The work will be put on the queue for zone2 and the Service provision will complete successfully.
5. Stop the appliance for zone2.
6. Order the Service. The Service will not be provisioned.
7. Check the evm.log for a message showing the work being put on the queue, but never taken off. (Search for zone2 from the bottom, searching backwards) 
Message will have this: "MIQ(MiqQueue.put) Message id" and a reference to zone2.  

Let me know if you have any questions.

Thanks,
Tina

Comment 6 Tina Fitzgerald 2017-06-29 18:13:51 UTC
Hi Pavol,

Can I access your environment?

Thanks,
Tina

Comment 8 Tina Fitzgerald 2017-06-30 13:53:56 UTC
Hi Pavol,

I cant access either appliance.
Can you check it out?

Thanks,
Tina

Comment 10 Tina Fitzgerald 2017-07-05 13:15:35 UTC
Hi Pavol,

Thanks for the update. That's great news.

Thanks,
Tina

Comment 12 errata-xmlrpc 2017-08-02 17:29:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:1758


Note You need to log in before you can comment on or make changes to this bug.