Skip to content

NiFi cluster stuck in 'CONNECTING' state, preventing user administration #605

@krystian-blaszczyk

Description

@krystian-blaszczyk

Type of question

Implementation Assistance

Support question

My NiFi cluster, deployed with the NiFiKop operator, is perpetually stuck in a GracefulUpscaleRunning state, with the Action Step perpetually showing CONNECTING. This prevents the operator from finalizing cluster configuration, specifically user administration. As a result, even though OIDC authentication succeeds, I cannot access the user interface and receive the error message "Unable to view the user interface. Contact the system administrator." when I try to log in with my OIDC-authenticated account.

Observed Behavior

  1. The nifi-cluster resource's State is ClusterRunning. However, the cluster is stuck in an administrative task.
  2. Both Node 0 and Node 1 are stuck in a graceful upscale process.
  • Status.Nodes State.0.Graceful Action State.Action State: GracefulUpscaleRunning
  • Status.Nodes State.0.Graceful Action State.Action Step: CONNECTING
  • Status.Nodes State.1.Graceful Action State.Action State: GracefulUpscaleRequired
  1. The nifi-cluster.test NifiUser resource has no status, indicating the operator has not yet configured it with the NiFi cluster.
  2. Upon inspecting the nifi-app.log of the NiFi pod, I can see that the clustering process is successfully completing. A cluster coordinator is elected, and both Node 0 and Node 1 successfully join the cluster, with their state changing to CONNECTED.
  3. The logs also show that the nifi-cluster-controller user, created by the operator, is successfully making API calls to /nifi-api/controller/cluster with a 200 OK status code. This confirms that the operator can communicate with the NiFi API.
  4. Despite the cluster's internal readiness, the operator's main reconciliation loop remains blocked, awaiting the completion of the CONNECTING task before it can proceed with managed user configuration.

My Nifi Cluster Configuration is:

nifi-cluster.yaml
nifi-rbac.yaml
istio-passthrough.yaml

NiFiKop version

v1.14.2

Golang version

No response

Kubernetes version

Client Version: v1.33.4+k3s1
Kustomize Version: v5.6.0
Server Version: v1.33.4+k3s1

NiFi version

2.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions