-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Users and groups are not getting created in sslnifi cluster #64
Comments
Hello @Sreenivas-Ratakonda ! I'm using I've configured ingress with |
@Sreenivas-Ratakonda . I've solved my problem. In my case, I need to configure keycloack. It was missing to configure the option Then, in your case, you need to configure
|
Hello @Sreenivas-Ratakonda . Sorry, about time to response you! |
Do you use anything to auth in your UI, exemple Keycloak, Azure, GCP or you use only users in Nifi? My CRD's config, I've used Nifi + Keycloak with OIDC. Them I have not need to configure this parameters:
So, it's my CRD's configuration of users and groups:
|
@wandersonpereira *********** With OIDC Enabled ******************** My Requirement is to make S2S with other standalone nifi instances and this nificluster. but with OIDC I am forced to use ALB as only alb can offer the sticky sessions that are needed for OIDC. Now the problem with alb is it terminated ssl at loadbalancer but i need that ssl so i have to go back to the nificluster without OIDC ********** without OIDC *************** My cluster is up and running But the problem here is : the users and groups are not synchronized to the nificluster When we create users and groups with CRDs the creation happens in 2 stages the first stage is : reconciliation and second is synchronization the synchronization is not happening in my cluster as per nifikop logs Cluster is not ready:
As per the logs when I removed the OIDC config from the Cluster, nifikop assuming the cluster is not ready yet. This is my Nificluster config:
Have you tried without any OIDC, can you check if you are also facing same Issue. |
@wandersonpereira But I am still not able to create the nifiuser and nifigroups using the CRD mentioned in the docs. Please look at the example below: For successful user creation: I have created another user using the CRD:
output: Am I missing something Over here ...? One more thing did you try to setup Site to Site with other nifi Instance. |
please have a look here: |
I was facing something similar (NiFiKop v1.8.0 / NiFi 1.24.0 here). managedAdminUsers were not getting created. Solved by setting some identity mapping keys in the nifi.properties, as indicated at the beginning of the "OpenId Connect" part of the documentation (although, no OpenId config is necessary):
After setting these keys (I think the values could be any), the nifi operator started to populate the cluster with the users and user groups from managedAdminUsers configuration. |
From nifikop created by Sreenivas-Ratakonda: Orange-OpenSource/nifikop#179
Bug Report
After setting up the sslnifi cluster I found that the managed users are not getting created, as per the docs to login in to the Nifi cluster UI we need one admin user but that user is not getting created in the nificluster.
As per the docs by default three groups gets created
managed admins, managed users, managed nodes
but for me the nifi user groups are not getting createdWhat did you do?
I have created an sslnifi cluster.
What did you expect to see?
we expected see managed users to be created but those users are not created in Nifi Cluster.
I have created an another user
bpeadmin
when I query nifikop it says user created but the user is not created in Nificluster.few Nifi user groups needs be created.
What did you see instead? Under which circumstances?
Below we can see that there are no managed users created, which are mentioned in the Nifi Cluster config.
Here it says that bpeadmin user is created but i have added authorizer file there is no bpeadmin user created in there.
Users created in the Nifi Cluster config
authorizers.xml file in one of the nodes.
Detailed view at the bpeadmin user
No Nifi Groups Found
So to summarize there is a conflict between what we see in
k get nifiusers.nifi.orange.com -n nifi
andauthorizers.xml
one says the bpeadmin user created but the other one doesn't have the the bpeadmin user in authorizers.xml** So over all the Users are not getting created in Nifi Cluster **
Environment
nifikop version:
Followed exact steps here:
https://orange-opensource.github.io/nifikop/docs/2_setup/1_getting_started
Kubernetes version information:
1.12.1
Possible Solution
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: