You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Bean (Jira)" <ji...@apache.org> on 2025/12/05 18:33:00 UTC
[jira] [Created] (NIFI-15299) Controller Service state cannot be changed under certain conditions
Mark Bean created NIFI-15299:
--------------------------------
Summary: Controller Service state cannot be changed under certain conditions
Key: NIFI-15299
URL: https://issues.apache.org/jira/browse/NIFI-15299
Project: Apache NiFi
Issue Type: Bug
Affects Versions: 2.6.0
Reporter: Mark Bean
When a controller service was previously in an Enabled state, and NiFi is restarted with the controller service now in an Invalid state, the service cannot be disabled in order to correct the validation error.
To reproduce:
* Create StandardRestrictedSSLContextService with all valid properties
* Enable the service
* Stop NiFi
* (Re)move the keystore and/or truststore file(s)
* Start NiFi
Observe: the controller service is has validation errors and is reported to be in an Invalid state. However, the service can not be edited. Disabling the service is not an option.
The only remedy is to replace the controller service (and update all referencing components to the new service.)
Proper behavior should allow the service to be disabled (and/or it should be automatically entered into a disabled state on startup if validation fails.)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)