Created
September 1, 2017 08:41
-
-
Save aidenkeating/1638eedd9e188d65333c9123a17f0d74 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ╰─$ oc logs apb-3870c59c-33ab-4eef-920b-8f0ee40e0461 | |
| + [[ provision --extra-vars {"ADMIN_NAME":"admin","ADMIN_PASSWORD":"admin","_apb_plan_id":"default","namespace":"project1"} == *\s\2\i\/\a\s\s\e\m\b\l\e* ]] | |
| + ACTION=provision | |
| + shift | |
| + playbooks=/opt/apb/actions | |
| + CREDS=/var/tmp/bind-creds | |
| + whoami | |
| + '[' -w /etc/passwd ']' | |
| ++ id -u | |
| + echo 'apb:x:1000090000:0:apb user:/opt/apb:/sbin/nologin' | |
| + oc-login.sh | |
| Attempting to login with a service account... | |
| Logged into "https://kubernetes.default:443" as "system:serviceaccount:project1:apb-3870c59c-33ab-4eef-920b-8f0ee40e0461" using the token provided. | |
| You don't have any projects. Contact your system administrator to request a project. | |
| Welcome! See 'oc help' to get started. | |
| + [[ -e /opt/apb/actions/provision.yaml ]] | |
| + [[ -e /opt/apb/actions/provision.yml ]] | |
| + ANSIBLE_ROLES_PATH=/etc/ansible/roles:/opt/ansible/roles | |
| + ansible-playbook /opt/apb/actions/provision.yml --extra-vars '{"ADMIN_NAME":"admin","ADMIN_PASSWORD":"admin","_apb_plan_id":"default","namespace":"project1"}' | |
| [WARNING]: provided hosts list is empty, only localhost is available | |
| PLAY [keycloak-apb playbook to provision the application] ********************** | |
| TASK [ansible.kubernetes-modules : Intall latest openshift client] ************* | |
| skipping: [localhost] | |
| TASK [ansibleplaybookbundle.asb-modules : debug] ******************************* | |
| skipping: [localhost] | |
| TASK [provision-keycloak-apb : create deployment config] *********************** | |
| fatal: [localhost]: FAILED! => {"changed": false, "error": 403, "failed": true, "msg": "Failed to retrieve requested object: User \"system:serviceaccount:project1:apb-3870c59c-33ab-4eef-920b-8f0ee40e0461\" cannot get deploymentconfigs in project \"project1\""} | |
| to retry, use: --limit @/opt/apb/actions/provision.retry | |
| PLAY RECAP ********************************************************************* | |
| localhost : ok=0 changed=0 unreachable=0 failed=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment