local/linux/run_setup_local.sh ends in error waiting for ASB deployment configs
My deployment was on a centos7 vm.
snip ==> default: ok: [localhost] => { ==> default: "msg": [ ==> default: "oc v3.9.0-alpha.0+a0adcf4", ==> default: "kubernetes v1.8.1+0d5291c", ==> default: "features: Basic-Auth GSSAPI Kerberos SPNEGO" ==> default: ] ==> default: } snip ==> default: FAILED - RETRYING: Waiting 10 minutes for ASB deployment configs (3 retries left).
==> default: FAILED - RETRYING: Waiting 10 minutes for ASB deployment configs (2 retries left).
==> default: FAILED - RETRYING: Waiting 10 minutes for ASB deployment configs (1 retries left).
==> default: failed: [localhost] (item=asb) => {"attempts": 60, "changed": true, "cmd": ""/root/bin/oc" get deploymentconfig "asb" -o go-template='{{if eq .spec.replicas .status.availableReplicas}}good{{end}}' | grep 'good'", "delta": "0:00:00.162655", "end": "2017-12-05 01:43:03.310830", "failed": true, "item": "asb", "msg": "non-zero return code", "rc": 1, "start": "2017-12-05 01:43:03.148175", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ==> default: changed: [localhost] => (item=asb-etcd) ==> default: to retry, use: --limit @/home/vagrant/catasb/ansible/setup_local_environment.retry ==> default: ==> default: PLAY RECAP ********************************************************************* ==> default: localhost : ok=70 changed=36 unreachable=0 failed=1
Can you get the status and logs from the broker pod?
kubectl logs <broker_pod>
kubectl describe pod <broker_pod
Is asb-1-deploy the broker pod? I've included the sosreport here. sosreport.zip
[root@localhost bin]# ./oc get pods NAME READY STATUS RESTARTS AGE asb-1-deploy 0/1 Error 0 25m asb-etcd-1-6l7wm 1/1 Running 0 25m
[root@localhost bin]# ./kubectl logs asb-1-deploy --> Scaling asb-1 to 1 error: update acceptor rejected asb-1: pods for rc 'ansible-service-broker/asb-1' took longer than 600 seconds to become available
[root@localhost bin]# ./kubectl describe pod asb-1-deploy
Name: asb-1-deploy
Namespace: ansible-service-broker
Node: localhost/192.168.121.129
Start Time: Tue, 05 Dec 2017 19:04:03 +0000
Labels: openshift.io/deployer-pod-for.name=asb-1
Annotations: openshift.io/deployment-config.name=asb
openshift.io/deployment.name=asb-1
openshift.io/scc=restricted
Status: Failed
IP: 172.17.0.3
Controllers:
OPENSHIFT_DEPLOYMENT_NAME: asb-1
OPENSHIFT_DEPLOYMENT_NAMESPACE: ansible-service-broker
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from deployer-token-pnrf8 (ro)
Conditions:
Type Status
Initialized True
Ready False
PodScheduled True
Volumes:
deployer-token-pnrf8:
Type: Secret (a volume populated by a Secret)
SecretName: deployer-token-pnrf8
Optional: false
QoS Class: BestEffort
Node-Selectors:
26m 26m 1 default-scheduler Normal Scheduled Successfully assigned asb-1-deploy to localhost 26m 26m 1 kubelet, localhost Normal SuccessfulMountVolume MountVolume.SetUp succeeded for volume "deployer-token-pnrf8" 26m 26m 1 kubelet, localhost spec.containers{deployment} Normal Pulled Container image "docker.io/openshift/origin-deployer:latest" already present on machine 26m 26m 1 kubelet, localhost spec.containers{deployment} Normal Created Created container 26m 26m 1 kubelet, localhost spec.containers{deployment} Normal Started Started container