You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2025/12/06 17:58:00 UTC

[jira] [Commented] (NIFI-15299) Controller Service state cannot be changed under certain conditions

    [ https://issues.apache.org/jira/browse/NIFI-15299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18043262#comment-18043262 ] 

Pierre Villard commented on NIFI-15299:
---------------------------------------

[~markbean] - I cannot reproduce with what we have in main. I believe this is fixed with the changes made in NIFI-15267. So I believe this will be fixed in 2.7.0.

> 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
>            Priority: Major
>
> 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)