Closed djwhatle closed 7 years ago
Bug: hello-world APB fails with "cannot get deploymentconfigs in project default"
What happened:
+ [[ provision --extra-vars {"_apb_plan_id":"default","namespace":"default"} == *\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:1000080000: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:default:apb-a28166de-8234-4efd-bc67-3e212cb077c8" 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-playbook /opt/apb/actions/provision.yml --extra-vars '{"_apb_plan_id":"default","namespace":"default"}' PLAY [hello-world-apb provision] *********************************************** TASK [ansible.kubernetes-modules : Intall latest openshift client] ************* skipping: [localhost] TASK [provision-hello-world-apb : create deployment config] ******************** fatal: [localhost]: FAILED! => {"changed": false, "error": 403, "failed": true, "msg": "Failed to retrieve requested object: User \"system:serviceaccount:default:apb-a28166de-8234-4efd-bc67-3e212cb077c8\" cannot get deploymentconfigs in project \"default\""} to retry, use: --limit @/opt/apb/actions/provision.retry PLAY RECAP ********************************************************************* localhost : ok=0 changed=0 unreachable=0 failed=1
What you expected to happen:
How to reproduce it:
Fixed this by pulling latest tag rather than canary.
What happened:
What you expected to happen:
How to reproduce it: