I’m currently having major issues in enrolling a router - hosted in EKS - to a controller - also hosted in EKS. I have deployed the ziti-controller (v 0.28.0) and ziti-console (2.6.9) and want to deploy and enroll a ziti-router (v 0.28.0) also in the same EKS cluster. But as soon as I’m deploying the router with helm I get the following error from helm
Error: INSTALLATION FAILED: failed post-install: job failed: BackoffLimitExceeded
and when I check the post install job I see the following logs:
INFO: identity secret does not exist, attempting router enrollment
+ echo 'INFO: identity secret does not exist, attempting router enrollment'
+ mkdir -v /tmp/ziti-router-identity
mkdir: created directory '/tmp/ziti-router-identity'
+ ziti router enroll /etc/ziti/config/ziti-router.yaml --jwt /etc/ziti/config/enrollment.jwt --verbose
[ 0.000] DEBUG ziti/ziti/util.LogReleaseVersionCheck: ZITI_CHECK_VERSION is not 'true'. skipping version check
[ 0.024] DEBUG edge/router/enroll.(*RestEnroller).Enroll: JWT parsed
[ 5.167] FATAL ziti/ziti/router.enrollGw: enrollment failure: (enrollment failed recieved HTTP status [400 Bad Request]: {"error":{"cause":{"code":"UNHANDLED","message":"csrPem must not be null or empty"},"code":"COULD_NOT_PROCESS_CSR","message":"The supplied csr could not be processed","requestId":"hgdPnBbm-"},"meta":{"apiEnrollmentVersion":"0.0.1","apiVersion":"0.0.1"}}
)
In the ziti-controller I have no logs about this issue whatsoever, except when I run it in verbose mode I get:
[ 31.990] DEBUG fabric/events.(*entityChangeEventDispatcher).processPreviousTxEvents: {txId=[16]} cleaning up entity change events for tx
**[ 91.232] DEBUG edge/controller/model.(*identityStatusMap).HasEdgeRouterConnection: {identityId=[SvnegBbTv]} reporting identity from active ER conn pool: not found**
[ 95.497] DEBUG fabric/events.(*entityChangeEventDispatcher).flushLoop: cleaning up entity change events
[ 95.497] DEBUG fabric/events.(*entityChangeEventDispatcher).processPreviousTxEvents: {txId=[18]} cleaning up entity change events for tx
I also tried to use controller and router versions v0.28.4 but still no luck.
Could you help me out here ?
BR
Jan