[CentOS-devel] centos-ci - new kube version broken
Jan Chaloupka
jchaloup at redhat.comWed Mar 16 15:21:39 UTC 2016
- Previous message: [CentOS-devel] centos-ci - new kube version broken
- Next message: [CentOS-devel] Audio production SIG
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 03/16/2016 03:54 PM, Dusty Mabe wrote: > The version is: kubernetes-client.x86_64 0:1.2.0-0.6.alpha1.git8632732.el7 > > The error looks something like: > > ``` > 1458139640 - [ERROR] - cli/main.py - cmd: ['/host/usr/bin/kubectl', 'create', '-f', u'build/artifacts/kubernetes/.hello-apache-pod.json', u'--namespace=default'] failed: > > Error from server: error when creating "build/artifacts/kubernetes/.hello-apache-pod.json": pods "helloapache" is forbidden: service account default/default was not found, retry after the service account is created > ``` Actually, you are missing kubeconfig. If you edit /etc/kubernetes/apiserver and remove ServiceAccount from KUBE_ADMISSION_CONTROL it will work. Or use --kubeconfig with a location of the apiserver config when running kubectl. > A full log is at [1]. This looks similar to this fedora bug [2]. > > - Dusty > > > [1] https://ci.centos.org/job/atomicapp-test-kubernetes-pr/24/consoleText > [2] https://bugzilla.redhat.com/show_bug.cgi?id=1315472 > _______________________________________________ > CentOS-devel mailing list > CentOS-devel at centos.org > https://lists.centos.org/mailman/listinfo/centos-devel
- Previous message: [CentOS-devel] centos-ci - new kube version broken
- Next message: [CentOS-devel] Audio production SIG
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS-devel mailing list