k8s_5.0: pod creation fails as token variable is set to empty in the kube-manager
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Invalid
|
High
|
Venkatesh Velpula |
Bug Description
for now we are adding the token manually and proceeding but this need to be taken
orchestrator :K8s
image :latest
Setup
master :nodei23
nodes : nodei24, nodei25
[root@nodei23 contrail]# kubectl get nodes
NAME STATUS ROLES AGE VERSION
nodei23 NotReady master 16m v1.9.2
nodei24 Ready <none> 16m v1.9.2
nodei25 Ready <none> 16m v1.9.2
[root@nodei23 contrail]#
[root@nodei23 contrail]# kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
default test-75c49697d7
kube-system contrail-
kube-system etcd-nodei23 1/1 Running 0 11m
kube-system kube-apiserver-
kube-system kube-controller
kube-system kube-dns-
kube-system kube-proxy-vkmw4 1/1 Running 0 16m
kube-system kube-proxy-vqt7v 1/1 Running 0 16m
kube-system kube-proxy-xcr5t 1/1 Running 0 16m
kube-system kube-scheduler-
[root@nodei23 contrail]#
[root@nodei23 contrail]# kubectl logs kube-dns-
Error from server (BadRequest): a container name must be specified for pod kube-dns-
[root@nodei23 contrail]# docker version
Client:
Version: 17.03.1-ce
API version: 1.27
Go version: go1.7.5
Git commit: c6d412e
Built: Fri Mar 24 00:36:45 2017
OS/Arch: linux/amd64
Server:
Version: 17.03.1-ce
API version: 1.27 (minimum version 1.12)
Go version: go1.7.5
Git commit: c6d412e
Built: Fri Mar 24 00:36:45 2017
OS/Arch: linux/amd64
Experimental: false
[root@nodei23 contrail]#
[root@nodei23 contrail]# kubectl version
Client Version: version.
Server Version: version.
yaml_file
=========
provider_config:
bms:
ssh_pwd: c0ntrail123
ssh_user: root
ssh_public_key: /root/.
ssh_
domainsuffix: local
instances:
bms1:
provider: bms
roles:
config:
control:
analytics:
webui:
k8s_master:
ip: 10.204.217.135
bms2:
provider: bms
roles:
vrouter:
k8s_node:
ip: 10.204.217.136
bms3:
provider: bms
roles:
vrouter:
k8s_node:
ip: 10.204.217.137
contrail_
CONTAINER_
CONTRAIL_VERSION: latest
Changed in juniperopenstack: | |
importance: | Critical → High |
description: | updated |
Changed in juniperopenstack: | |
assignee: | nobody → Sachchidanand Vaidya (vaidyasd) |
Venkatesh, Can you check if you still seeing this issue ?
Thanks
Sachin