Bug 1593342

Summary: when embedded ansible is turned on, cloudforms always tries to pull it from registry.access.redhat.com
Product: Red Hat CloudForms Management Engine Reporter: Ievgen Zapolskyi <izapolsk>
Component: cfme-openshift-embedded-ansibleAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED NOTABUG QA Contact: Ievgen Zapolskyi <izapolsk>
Severity: high Docs Contact:
Priority: high    
Version: 5.10.0CC: cpelland, lavenel, ncarboni, simaishi
Target Milestone: GAFlags: izapolsk: automate_bug+
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-21 13:44:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Ansible Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1571465    

Description Ievgen Zapolskyi 2018-06-20 15:28:37 UTC
Description of problem:
Embedded ansible pod url url was defined as param in template before 5.10.
So, it was possible to specify brew or stage repos before deployment.
Ansible pod deployment config and appropriate template parameters disappeared in 5.10. So, ansible repo repo url and tag are hardcoded now and cannot be easily overridden. default url is registry.access.redhat.com/cloudforms47/cfme-openshift-embedded-ansible:latest now.

We have to be able to use different repos because new builds appear in brew first then those appear in stage repo and finally those appear in registry.access.redhat.com. So, we cannot even test this part of functionality now.

Version-Release number of selected component (if applicable):
5.10.0.1

How reproducible:
100%

Steps to Reproduce:
1. deploy pod CF 5.10
2. enable embedded ansible
3. check embedded ansible pod state in openshift

Actual results:
embedded ansible functionality cannot be tested in pod CF 5.10

Expected results:
it should be possible to specify ansible pod repo url and tag in cloudforms templates and/or ansible file.

Additional info:
It is possible that this repo can be changed somewhere in cloudforms pod but this is rather temporary workaround.

Comment 3 Nick Carboni 2018-06-21 13:44:59 UTC
The image pull location can be changed in settings.yml

ref: https://github.com/ManageIQ/manageiq/blob/245ce8b76f466e0003a9da469f5b7af530102d7e/config/settings.yml#L142-L145