Created
June 14, 2017 00:56
-
-
Save jwmatthews/519bf2b77af28e37f73c17b2fa25ef0b 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 exec asb-4137035260-55tl4 -it /bin/bash | |
bash-4.2$ cat /etc/ansible-service-broker/config.yaml | |
registry: | |
name: dockerhub | |
url: docker.io | |
user: REMOVED | |
pass: REMOVED | |
org: ansibleplaybookbundle | |
dao: | |
etcd_host: etcd | |
etcd_port: 2379 | |
log: | |
logfile: /var/log/ansible-service-broker/asb.log | |
stdout: true | |
level: debug | |
color: true | |
openshift: {} | |
broker: | |
devbroker: False | |
launchapbonbind: false | |
$ oc project demo | |
ocNow using project "demo" on server "https://172.17.0.1:8443". | |
$ oc get pods | |
NAME READY STATUS RESTARTS AGE | |
apb-311c6160-385a-4184-8f62-dacb9449d564 1/1 Running 0 43s | |
postgresql-1-deploy 0/1 ContainerCreating 0 3s | |
$ oc logs -f apb-311c6160-385a-4184-8f62-dacb9449d564 | |
Openshift cluster credentials not provided. Assuming the broker is running inside an Openshift cluster | |
Attempting to login with a service account... | |
Logged into "https://kubernetes.default:443" as "system:serviceaccount:demo:apb-311c6160-385a-4184-8f62-dacb9449d564" using the token provided. | |
You have one project on this server: "demo" | |
Using project "demo". | |
Welcome! See 'oc help' to get started. | |
PLAY [Deploy rhscl-postgresql-apb to openshift] ******************************** | |
TASK [ansible.kubernetes-modules : Intall latest openshift client] ************* | |
skipping: [localhost] | |
TASK [rhscl-postgresql-apb-openshift : create namespace] *********************** | |
ok: [localhost] | |
TASK [rhscl-postgresql-apb-openshift : set volume state to present] ************ | |
changed: [localhost] | |
TASK [rhscl-postgresql-apb-openshift : set service state to present] *********** | |
changed: [localhost] | |
TASK [rhscl-postgresql-apb-openshift : scale deployment down] ****************** | |
skipping: [localhost] | |
TASK [rhscl-postgresql-apb-openshift : set deployment config state to present] *** | |
changed: [localhost] | |
TASK [rhscl-postgresql-apb-openshift : delete replication controller] ********** | |
skipping: [localhost] | |
TASK [rhscl-postgresql-apb-openshift : Wait for postgres to come up] *********** | |
ok: [localhost] | |
TASK [rhscl-postgresql-apb-openshift : encode bind credentials] **************** | |
changed: [localhost] | |
TASK [rhscl-postgresql-apb-openshift : debug] ********************************** | |
ok: [localhost] => { | |
"changed": false, | |
"msg": "<BIND_CREDENTIALS>eyJQT1NUR1JFU1FMX0hPU1QiOiAicG9zdGdyZXNxbCIsICJQT1NUR1JFU1FMX1BPUlQiOiAiNTQzMiIsICJQT1NUR1JFU1FMX1VTRVIiOiAiYWRtaW4iLCAiUE9TVEdSRVNRTF9QQVNTV09SRCI6ICJhZG1pbiIsICJQT1NUR1JFU1FMX0RBVEFCQVNFIjogImFkbWluIn0K</BIND_CREDENTIALS>" | |
} | |
PLAY RECAP ********************************************************************* | |
localhost : ok=7 changed=4 unreachable=0 failed=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment