登陆账户密码错误
[root@master ]# kubectl -n kubesphere-system logs -l app=ks-account
I0803 06:06:08.267726 1 im.go:448] auth failed jinchen@163.com LDAP Result Code 49 “Invalid Credentials”:
I0803 06:06:18.960533 1 im.go:448] auth failed jinchen@163.com LDAP Result Code 49 “Invalid Credentials”:
I0803 06:39:25.252572 1 im.go:448] auth failed admin LDAP Result Code 49 “Invalid Credentials”:
I0803 06:39:45.084842 1 im.go:448] auth failed admin LDAP Result Code 49 “Invalid Credentials”:
I0803 06:44:23.884000 1 im.go:448] auth failed admin LDAP Result Code 49 “Invalid Credentials”:
I0803 06:44:55.792378 1 im.go:448] auth failed jinchen@163.com LDAP Result Code 49 “Invalid Credentials”:
I0803 06:48:36.156788 1 im.go:448] auth failed admin LDAP Result Code 49 “Invalid Credentials”:
I0803 06:50:52.789203 1 im.go:448] auth failed admin LDAP Result Code 49 “Invalid Credentials”:
I0803 06:52:42.712353 1 im.go:448] auth failed fuchangjie LDAP Result Code 49 “Invalid Credentials”:
I0803 07:18:44.050448 1 im.go:448] auth failed admin LDAP Result Code 49 “Invalid Credentials”:
[root@master ]# kubectl -n kubesphere-system logs -l app=ks-apigateway
2020/08/03 07:18:44 Unauthorized,no token found
E0803 07:18:44.148206 1 authenticate.go:170] signature is invalid
10.233.70.173 03/Aug/2020:07:18:44 +0000 GET /kapis/iam.kubesphere.io/v1alpha2/users/admin HTTP/1.1 401 17 0ms
2020/08/03 07:18:44 Unauthorized,signature is invalid
E0803 07:18:44.148524 1 authenticate.go:170] signature is invalid
2020/08/03 07:18:44 Unauthorized,signature is invalid
10.233.70.173 03/Aug/2020:07:18:44 +0000 GET /kapis/tenant.kubesphere.io/v1alpha2/workspaces HTTP/1.1 401 17 0ms
10.233.70.173 03/Aug/2020:07:18:44 +0000 GET /kapis/v1alpha1/configz HTTP/1.1 200 245 4ms
2020/08/03 07:18:44 Unauthorized,no token found
10.233.70.173 03/Aug/2020:07:18:44 +0000 GET /kapis/iam.kubesphere.io/v1alpha2/oauth/configs HTTP/1.1 401 17 0ms
api- gateway 和 accout 的secret设置是一样的,现在这问题怎么破,只能重新安装吗
[root@master ]# kubectl exec -n kubesphere-system ks-apigateway-64fc668896-r78cp env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=ks-apigateway-64fc668896-r78cp
JWT_SECRET=BvDXH1wSu8clZWON8wQ2TlsmUzcmFKwiSYUtHpPPXLwNqO4h9LVM00bLzNPmED5M5MCNL6gadJrxh5Yjklrw4ckx6ko9HJ6f1uw
[root@master ]# kubectl exec -n kubesphere-system ks-account-676658dc59-r9crk env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=ks-account-676658dc59-r9crk
KUBECTL_IMAGE=192.168.5.64:5000/astrolabe/kubectl:v1.0.0
JWT_SECRET=BvDXH1wSu8clZWON8wQ2TlsmUzcmFKwiSYUtHpPPXLwNqO4h9LVM00bLzNPmED5M5MCNL6gadJrxh5Yjklrw4ckx6ko9HJ6f1uw
貌似问题就在jwt 认证这里,怎么破。。。