Open rafaeltuelho opened 5 years ago
Installation fails when you pass eval_threescale_enable_wildcard_route=true
3scale install step
Installation fails with:
TASK [3scale : Install 3scale using filesystem template] ************************************************************************************************************************************************** fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": "oc process -n integr8tly-3scale -f https://raw.githubusercontent.com/3scale/3scale-amp-openshift-templates/2.6.0.GA/amp/amp.yml -p WILDCARD_DOMAIN=amp.apps.tjpe-fef2.open.redhat.com -p WILDCARD_POLICY=Subdomain| oc create -n integr8tly-3scale -f -", "delta": "0:00:00.332350", "end": "2019-09-24 13:48:28.715639", "msg": "non-zero return code", "rc": 1, "start": "2019-09-24 13:48:28.383289", "stderr": "error: unknown parameter name \"WILDCARD_POLICY\"\nerror: no objects passed to create", "stderr_lines": ["error: unknown parameter name \"WILDCARD_POLICY\"", "error: no objects passed to create"], "stdout": "", "stdout_lines": []} PLAY RECAP ************************************************************************************************************************************************************************************************ 127.0.0.1 : ok=295 changed=148 unreachable=0 failed=1
oc v3.11.104 kubernetes v1.11.0+d4cacc0 features: Basic-Auth GSSAPI Kerberos SPNEGO
Server openshift v3.11.104 kubernetes v1.11.0+d4cacc0
* Ansible version:
ansible 2.6.18 config file = /root/integr8tly/installation/ansible.cfg configured module search path = [u'/root/integr8tly/installation/library'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /bin/ansible python version = 2.7.5 (default, Jun 11 2019, 12:19:05) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
* Project Version/Tag: release-1.5.0 ## Steps to reproduce 1. run the install playbook passing the extra-var:
ansible-playbook -i inventories/hosts playbooks/install.yml -e eval_threescale_enable_wildcard_route=true
There is no wildcardPolicy in version 2.6 of 3scale amp
wildcardPolicy
Description
Installation fails when you pass eval_threescale_enable_wildcard_route=true
Expected Behavior
3scale install step
Actual Behavior
Installation fails with:
Environment
Server openshift v3.11.104 kubernetes v1.11.0+d4cacc0
ansible 2.6.18 config file = /root/integr8tly/installation/ansible.cfg configured module search path = [u'/root/integr8tly/installation/library'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /bin/ansible python version = 2.7.5 (default, Jun 11 2019, 12:19:05) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
ansible-playbook -i inventories/hosts playbooks/install.yml -e eval_threescale_enable_wildcard_route=true