s390x platform: Error getting kubernetes client [open /var/run/secrets/kubernetes.io/serviceaccount

22 views
Skip to first unread message

rishi.in...@gmail.com

unread,
Oct 21, 2016, 5:00:26 PM10/21/16
to Deis Users List
I have mostly created s390x compatible Docker images and compiled Helm classic on this platform.  When I try to deploy the workflow I am getting following errors on 3 pods - not sure how to get around it.

/================================================================/
root:/localbox/rishi/deis# kubectl --namespace=deis get pods
NAME                                     READY     STATUS             RESTARTS   AGE
deis-builder-925871579-ufoi0             0/1       CrashLoopBackOff   27         1d
deis-controller-121201537-9qkul          1/1       Running            20         1d
deis-database-2346481533-eitx9           1/1       Running            20         1d
deis-logger-1750174080-f4qsa             1/1       Running            7          1d
deis-logger-fluentd-hl3n6                1/1       Running            5          1d
deis-logger-redis-4282343581-gppt4       1/1       Running            5          1d
deis-minio-4284334528-z5lyf              1/1       Running            5          1d
deis-monitor-grafana-947410455-pyc4d     1/1       Running            6          1d
deis-monitor-influxdb-802438432-0bdyz    1/1       Running            6          1d
deis-monitor-telegraf-18kvf              0/1       CrashLoopBackOff   20         1d
deis-nsqd-2528936859-ecooh               1/1       Running            5          1d
deis-registry-4098254024-k5fhg           1/1       Running            8          1d
deis-registry-proxy-gnztp                1/1       Running            17         1d
deis-router-1833288991-bq080             0/1       Error              29         1d
deis-workflow-manager-3855316227-kddh8   0/1       Error              29         1d

root@lozlnxk:/localbox/rishi/deis# kubectl get secrets --all-namespaces
NAMESPACE   NAME                       TYPE      DATA      AGE
deis        builder-key-auth           Opaque    1         1d
deis        builder-ssh-private-keys   Opaque    3         1d
deis        database-creds             Opaque    2         1d
deis        deis-router-dhparam        Opaque    1         1d
deis        django-secret-key          Opaque    1         1d
deis        logger-redis-creds         Opaque    1         1d
deis        objectstorage-keyfile      Opaque    2         1d
/================================================================/

I *think* Errors and CrashLoopBackoffs are related to this error:

root:/localbox/rishi/deis/gopath/src/github.com/influxdata/telegraf# kubectl logs --namespace=deis deis-builder-925871579-ufoi0
2016/10/21 13:05:10 Error getting kubernetes client [open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory]

There are broader issues with "telegraf" component primarily related to lack of s390x implementation of "gopsutil" component.  I plan to get back to it later - can I get away without using it as it seems like related to graphs/ui?

Any pointer on debugging serviceaccount errors?

Thanks.

Reply all
Reply to author
Forward
0 new messages