[caasp-beta] Antw: kubeconfig download error with DEX internal server error , Login error

Martin Weiss Martin.Weiss at suse.com
Fri Nov 24 01:37:52 MST 2017


Hi Rushi,

I mean on the velum node. So below it seems that this is k8s-master - what do you see with "docker ps" on the admin node (velum host)?

Thanks
Martin



>Hi Martin,
 
You mean admin node (velum ) or the master host. Anyways, I checked both hosts and I see haproxy is running as a container in all 3 nodes  (LVSUSEKUB4 is my master host IP: 10.48.164.143 and the rest of other 2 IP’s minion hosts IP address (10.48.164.142, 10.48.164.141) ?
 
 
lvsusekub4:~ # kubectl get pods -o wide --all-namespaces |grep haproxy
2017-11-24 03:17:29.461307 I | proto: duplicate proto type registered: google.protobuf.Any
2017-11-24 03:17:29.461405 I | proto: duplicate proto type registered: google.protobuf.Duration
2017-11-24 03:17:29.461438 I | proto: duplicate proto type registered: google.protobuf.Timestamp
kube-system   haproxy-1200eade45cd435ea9b5cad239a496ad.infra.caasp.local   1/1	   Running   0          9m        10.48.164.143   1200eade45cd435ea9b5cad239a496ad.infra.caasp.local
kube-system   haproxy-230ed2652a254f88aa30f1cf97c48b80.infra.caasp.local   1/1	   Running   0          9m        10.48.164.142   230ed2652a254f88aa30f1cf97c48b80.infra.caasp.local
kube-system   haproxy-76b19a46b902429b9a98735a5f607436.infra.caasp.local   1/1	   Running   0          9m        10.48.164.141   76b19a46b902429b9a98735a5f607436.infra.caasp.local
 
 
 
and also the /etc/hosts entry has the hostname for 127.0.0.1
 
#-- start Salt-CaaSP managed hosts - DO NOT MODIFY --
### service names ###
127.0.0.1 api api.infra.caasp.local lvsusekub4.pal.sap.corp
 
 
 
Best Regards,
 
Rushi.
I MAY BE ONLY ONE PERSON, BUT I CAN BE ONE PERSON WHO MAKES A DIFFERENCE
 
 
From: Martin Weiss <Martin.Weiss at suse.com>
Date: Wednesday, November 22, 2017 at 12:16 AM
To: "caasp-beta at lists.suse.com" <caasp-beta at lists.suse.com>, Rushi NS <rushi.ns at sap.com>
Subject: Re: Antw: [caasp-beta] kubeconfig download error with DEX internal server error , Login error
 
Hi Rushi,
 
I have learned that the entry in the hosts file is correct as this is pointing to haproxy that should also be running on the admin host.
Could you verify if the admin host has haproxy running and verify if there are specific errors in the dashboard.log?
 
Thanks
Martin


> 
Hi Martin
 
Thank you. Yes I did , I used load balancer IP (lvsusekub8.pal.sap.corp) whichi s  out of the cluster node address. The host I’ve specified is not velum ip, not master ip and  not any of worker ip’s.
 
 
Yes I do have the same entry  as you said in my /etc/hosts file
 
(FYI: lvsusekub2.pal.sap.corp is my API server FQDN)
 
Here is my /etc/hosts file
 
#-- start Salt-CaaSP managed hosts - DO NOT MODIFY --
### service names ###
127.0.0.1 api api.infra.caasp.local lvsusekub2.pal.sap.corp
 
 
 
 
Best Regards,
 
Rushi.
I MAY BE ONLY ONE PERSON, BUT I CAN BE ONE PERSON WHO MAKES A DIFFERENCE
 
 
From:Martin Weiss <Martin.Weiss at suse.com>
Date: Tuesday, November 21, 2017 at 3:18 AM
To: "caasp-beta at lists.suse.com" <caasp-beta at lists.suse.com>, Rushi NS <rushi.ns at sap.com>
Subject: Antw: [caasp-beta] kubeconfig download error with DEX internal server error , Login error
 
Hi Rushi,
 
did you specify a specific external FQDN for the API?
 
Could you check if you have a similar strange entry in the /etc/hosts file on the admin with
127.0.0.1 api ... <fqdn for exernal api>?
 
--> this was blocking my velum to contact the API on a master and due to that I could not download the kube-config..
 
Martin



 
 
Hello Team,
 
 
    I built the cluster with latest SUSE CAASP 2.0 and was  getting errors with dex authentication  when downloading  kubeconfig file from velum webinterface.
 
Did anyone experience this error. I did multiple setups (multi master and single master) but both clusters have the same error.
 
  My initial thought of this error with multi master setup  (I have setup with multi master first ), however even with single master I got the same error, so not sure if this a bug  but I can’t download kubeconfig file from velum. 
    
I got this error
 
--------
“internal server error , Login error”
    ------
    
 
    My login to velum works fine with the same credentials, however for download kubeconfig file the authentication is failing .
 
    Let me know if anyone experience the same.
    
    Best Regards,
	 
    Rushi.
    I MAY BE ONLY ONE PERSON, BUT I CAN BE ONE PERSON WHO MAKES A DIFFERENCE
 
 
_______________________________________________
caasp-beta mailing list
caasp-beta at lists.suse.com
http://lists.suse.com/mailman/listinfo/caasp-beta
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.suse.com/pipermail/caasp-beta/attachments/20171124/9f341829/attachment.htm>


More information about the caasp-beta mailing list