Closed dimitraz closed 6 years ago
@dimitraz jenkins job can't gather logs from apb-test pod, because it fails a few seconds after it starts. I fetched the logs manually:
PLAY [Test keycloak-apb] *******************************************************
--
|
| TASK [ansible.kubernetes-modules : Install latest openshift client] ************
| skipping: [localhost]
|
| TASK [ansibleplaybookbundle.asb-modules : debug] *******************************
| skipping: [localhost]
|
| TASK [Create project for namespace] ********************************************
| ok: [localhost]
|
| TASK [include_role : provision-keycloak-apb] ***********************************
|
| TASK [provision-keycloak-apb : include_tasks] **********************************
| fatal: [localhost]: FAILED! => {"msg": "The conditional check '_apb_plan_id == 'sharedInstance'' failed. The error was: error while evaluating conditional (_apb_plan_id == 'sharedInstance'): '_apb_plan_id' is undefined\n\nThe error appears to have been in '/opt/ansible/roles/provision-keycloak-apb/tasks/main.yml': line 2, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n- block:\n - include_tasks: provision-postgres.yml\n ^ here\n"}
|
| PLAY RECAP *********************************************************************
| localhost : ok=1 changed=0 unreachable=0 failed=1
Does this test pass locally?
Update Sorry, I noticed later that this PR is still WIP, my question is probably irrelevant.
@psturc thanks! closing now, as this isn't needed anymore
_apb_provision_creds
orasb_encode_binding
generated secrets causes the ansible service broker to crash