k8s_5.0:Ingress: haproxy doesn't run with tls enabled as the node ip is taken as kubernetes_api_serve ip
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
Fix Released
|
Critical
|
Andrey Pavlov | |||
Trunk |
Fix Released
|
Critical
|
Andrey Pavlov |
Bug Description
Only with tls enabled we see this issue and this both with single and multi(control and data)interfaces .
orchestrator :k8s
provisioing : Ansible deployer
Build :ocata-
Setup
=====
[root@nodec19 ~]# kubectl get nodes
NAME STATUS ROLES AGE VERSION
nodec19 NotReady master 2d v1.9.2
nodei16 Ready <none> 2d v1.9.2
nodei18 Ready <none> 2d v1.9.2
[root@nodei18 /]# cat /etc/contrail/
[KUBERNETES]
kubernetes_
kubernetes_
kubernetes_
logs for the vrouter agent(contrail-
=======
05/09/2018 14:00:17 MSG Updating haproxy for Loadbalancer-ID fadcadae-
05/09/2018 14:01:04 ERROR Error in getting secrets ctest-namespace
Traceback (most recent call last):
File "/usr/lib/
data = json['data']
KeyError: 'data'
05/09/2018 14:01:04 ERROR <type 'exceptions.
05/09/2018 14:01:04 ERROR Mapping key not found.
05/09/2018 14:01:04 ERROR data
05/09/2018 14:01:04 ERROR Exception in Createing haproxy config for Loadbalancer-ID fadcadae-
Traceback (most recent call last):
File "/usr/lib/
haproxy_
File "/usr/lib/
provider, haproxy_config, lbaas_auth_conf, dir_name)
File "/usr/lib/
update_
File "/usr/lib/
pem_file_name = tls.create_
AttributeError: 'NoneType' object has no attribute 'create_pem_file'
05/09/2018 14:01:04 ERROR <type 'exceptions.
05/09/2018 14:01:04 ERROR Attribute not found.
05/09/2018 14:01:04 ERROR 'NoneType' object has no attribute 'create_pem_file'
Changed in juniperopenstack: | |
milestone: | none → r5.0.1 |
kubernetes_ api_server is populated with wrong ip in /etc/contrail/ contrail- lbaas-auth. conf. ansible- deployer is not setting the KUBERNETES_ API_SERVER value properly.
It seems contrail-
Thanks,
Yuvaraja