[
https://issues.apache.org/jira/browse/NIFI-15299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18043264#comment-18043264
]
Mark Bean commented on NIFI-15299:
----------------------------------
[~pvillard] This was still an issue in 2.7.0-RC3. Was NIFI-15267 added after
RC3?
> 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)