I don't think this is a value that's likely to be set and we don't document it in the example inventories. Setting priority to low and target release 3.8.0
This PR [1] reworked the Hosted variables to avoid the issue of using 'set_fact' which prevented the ability to override variables in the inventory. The fix is in 3.8 and 3.9. [1] https://github.com/openshift/openshift-ansible/pull/6306
Re-test this bug with openshift-ansible-3.9.0-0.34.0.git.0.c7d9585.el7.noarch, still reproduced. There are still some task is overriding variables in the inventory Installation log: <--snip--> PLAY [Create Hosted Resources - registry] ************************************** TASK [Gathering Facts] ********************************************************* Wednesday 31 January 2018 07:31:00 +0000 (0:00:09.600) 0:36:17.348 ***** ok: [aos-127.lab.sjc.redhat.com] TASK [set_fact] **************************************************************** Wednesday 31 January 2018 07:31:01 +0000 (0:00:01.333) 0:36:18.682 ***** ok: [aos-127.lab.sjc.redhat.com] => {"ansible_facts": {"openshift_hosted_registry_registryurl": "registry.reg-aws.openshift.com:443/openshift3/ose-${component}:${version}"}, "changed": false} <--snip--> PLAY [Create Hosted Resources - router] **************************************** TASK [Gathering Facts] ********************************************************* Wednesday 31 January 2018 07:30:42 +0000 (0:00:00.037) 0:35:59.598 ***** ok: [aos-127.lab.sjc.redhat.com] TASK [set_fact] **************************************************************** Wednesday 31 January 2018 07:30:44 +0000 (0:00:01.376) 0:36:00.975 ***** ok: [aos-127.lab.sjc.redhat.com] => {"ansible_facts": {"openshift_hosted_router_registryurl": "registry.reg-aws.openshift.com:443/openshift3/ose-${component}:${version}"}, "changed": false}
Please provide a complete log and a copy of the inventory.
Proposed: https://github.com/openshift/openshift-ansible/pull/7181
Commits pushed to master at https://github.com/openshift/openshift-ansible https://github.com/openshift/openshift-ansible/commit/685aa326afc8893e5ca2c414c333db7b03965312 Allow for overriding hosted registry_url variables In rare cases the router or registry registryurl variables may need to be set to values other than the first master registry_url value. This change allows these variables to be set in the inventory (undocumented). openshift_hosted_router_registryurl openshift_hosted_registry_registryurl Bug 1509853 | https://bugzilla.redhat.com/show_bug.cgi?id=1509853 https://github.com/openshift/openshift-ansible/commit/6a20c5e21228dc727d4287fb8b2206ae6bc984e3 Merge pull request #7181 from mtnbikenc/fix-1509853 Automatic merge from submit-queue. [1509853] Allow for overriding hosted registry_url variables In rare cases the router or registry registryurl variables may need to be set to values other than the first master registry_url value. This change allows these variables to be set in the inventory (undocumented). openshift_hosted_router_registryurl openshift_hosted_registry_registryurl Bug 1509853 | https://bugzilla.redhat.com/show_bug.cgi?id=1509853
openshift-ansible-3.9.0-0.46.0
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/RHBA-2018:0489