Member since
10-17-2024
4
Posts
2
Kudos Received
0
Solutions
11-27-2024
11:22 AM
Running the restart shell script inside container did it for me! Thanks for the help @MattWho!
... View more
11-01-2024
06:26 AM
We have a Nifi cluster with 3 nodes running in docker containers that are always processing something. I included keys in the truststore.jks file of each node and for the changes have effect, I need to restart each node at a time, so that Nifi could still be running and we don't lose any data . There a way to restart them safely? ChatGPT said that it's possible to execute inside the container the command nifi.sh stop, but I don't know if this will cause data loss.
... View more
Labels:
- Labels:
-
Apache NiFi
10-22-2024
12:55 PM
1 Kudo
@MattWho I exported the keystore content of all 3 Nifi nodes and imported them into the Nifi Registry truststore, and also did the other way around, exported the Nifi Registry keystore to the Nifi truststore, but it keeps returning the same thing in the logs. When I made the first configs of Registry, I created self signed keystore and truststore and it was probably done the same way for Nifi. I don't know if this could be the cause of this problem...
... View more
10-17-2024
10:45 AM
1 Kudo
Both Nifi and Nifi Registry services are configured to use LDAP, the user authentication in both of them are working just fine. The communication between Nifi and Registry is made by calling IP and Port and I use the same addresses to access their UI and login with my LDAP user. But when I try to start version control in one of the Nifi access groups it can connects to the Nifi Registry but returns "No available buckets" even with the buckets already been created in Nifi Registry. This is the Registry logs when I use the "Start version control" option inside Nifi and it can't find the buckets: 2024-10-17 17:39:54,289 DEBUG [NiFi Registry Web Server-15] o.a.n.r.w.s.a.IdentityFilter Attempting to extract user credentials using X509IdentityProvider
2024-10-17 17:39:54,290 DEBUG [NiFi Registry Web Server-15] o.a.n.r.w.s.a.x.X509CertificateExtractor No client certificate found in request.
2024-10-17 17:39:54,290 DEBUG [NiFi Registry Web Server-15] o.a.n.r.w.s.a.IdentityFilter Attempting to extract user credentials using JwtIdentityProvider
2024-10-17 17:39:54,290 DEBUG [NiFi Registry Web Server-15] o.a.n.r.s.a.BearerAuthIdentityProvider HTTP Bearer Auth credentials not present. Not attempting to extract credentials for authentication.
2024-10-17 17:39:54,290 DEBUG [NiFi Registry Web Server-15] o.a.n.r.w.s.a.AnonymousIdentityFilter Set SecurityContextHolder to anonymous SecurityContext
2024-10-17 17:39:54,293 DEBUG [NiFi Registry Web Server-15] o.a.n.r.w.s.a.ResourceAuthorizationFilter Request filter authorization check is not required for this HTTP Method on this resource. Allowing request to proceed. An additional authorization check might be performed downstream of this filter.
2024-10-17 17:39:54,685 DEBUG [NiFi Registry Web Server-15] o.a.n.r.s.a.r.ProxyChainAuthorizable Requested resource is /buckets
2024-10-17 17:39:54,788 DEBUG [NiFi Registry Web Server-15] o.a.n.r.s.a.r.ProxyChainAuthorizable Requested resource is /buckets/bd21e50a-67b3-4d1e-9336-5b9324dd8440
2024-10-17 17:39:54,825 DEBUG [NiFi Registry Web Server-15] o.a.n.r.s.a.r.PublicCheckingAuthorizable Requested resource is /buckets/bd21e50a-67b3-4d1e-9336-5b9324dd8440
2024-10-17 17:39:54,860 DEBUG [NiFi Registry Web Server-15] o.a.n.r.s.a.r.PublicCheckingAuthorizable Delegating to inheriting authorizable for /buckets/bd21e50a-67b3-4d1e-9336-5b9324dd8440
2024-10-17 17:39:54,920 DEBUG [NiFi Registry Web Server-15] o.a.n.r.s.a.r.ProxyChainAuthorizable Requested resource is /buckets/f7c12415-4d95-4b5a-a213-1f12d615cc8f
2024-10-17 17:39:55,053 DEBUG [NiFi Registry Web Server-15] o.a.n.r.s.a.r.PublicCheckingAuthorizable Requested resource is /buckets/f7c12415-4d95-4b5a-a213-1f12d615cc8f
2024-10-17 17:39:55,055 DEBUG [NiFi Registry Web Server-15] o.a.n.r.s.a.r.PublicCheckingAuthorizable Delegating to inheriting authorizable for /buckets/f7c12415-4d95-4b5a-a213-1f12d615cc8f Nifi has 3 nodes configured in it and I created one user for each one inside Registry and granted all possible permissions to them: Even ChatGPT wasn't able to resolve this issue... I don't know what I must do to make this works.
... View more
Labels:
- Labels:
-
Apache NiFi
-
NiFi Registry