Guillaume Coré
2019-05-04 5991a9da63a6f810807626cbcf67c90afb309874
Agile integration enterprise workload: switch project for now

Be stateful, try to fix this error:

TASK [ocp4-workload-agile-integration-enterprise : Grant ocp user with ability to install operator in that users Fuse Online project] ***
Saturday 04 May 2019 16:43:59 +0000 (0:00:02.158) 0:38:55.202 **********
fatal: [clientvm.e4e9.internal]: FAILED! => {"changed": true, "msg": "non-zero return code", "rc": 1, "stderr": "Shared connection to ec2-18-218-176-214.us-east-2.compute.amazonaws.com closed.\r\n", "stderr_lines": ["Shared connection to ec2-18-218-176-214.us-east-2.compute.amazonaws.com closed."], "stdout": "Grant permission to create Syndesis to user admin\r\nerror: the project \"postflightcheck\" specified in your config does not exist.\r\n", "stdout_lines": ["Grant permission to create Syndesis to user admin", "error: the project \"postflightcheck\" specified in your config does not exist."]}
1 files modified
3 ■■■■■ changed files
ansible/roles/ocp4-workload-agile-integration-enterprise/tasks/workload.yml 3 ●●●●● patch | view | raw | blame | history
ansible/roles/ocp4-workload-agile-integration-enterprise/tasks/workload.yml
@@ -69,6 +69,9 @@
- name: Deploy PostgreSQL Seed job
  shell: "oc process -n {{ enterprise_services_project_name }} -f {{ transfer_dir }}/files/postgresql-seed.yaml | oc apply -n {{ enterprise_services_project_name }} -f-"
- name: Change to Fuse Online Project
  shell: "oc project {{ fuse_online_project_name }}"
- name: Register a new CRD for Fuse Online
  script: "{{ role_path }}/files/install_ocp.sh -p={{ fuse_online_project_name }} --setup"