[prev in list] [next in list] [prev in thread] [next in thread]
List: centos-devel
Subject: Re: [CentOS-devel] centos-ci - new kube version broken
From: Jan Chaloupka <jchaloup () redhat ! com>
Date: 2016-03-16 15:21:39
Message-ID: 56E97A03.8020304 () redhat ! com
[Download RAW message or body]
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@centos.org
> https://lists.centos.org/mailman/listinfo/centos-devel
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
https://lists.centos.org/mailman/listinfo/centos-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic