[
https://issues.apache.org/jira/browse/NIFI-16078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18095408#comment-18095408
]
ASF subversion and git services commented on NIFI-16078:
--------------------------------------------------------
Commit 9df359acd4b6f50ca9cf363c18c8472c3364041b in nifi's branch
refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=9df359acd4b ]
NIFI-16078 Fixed StandardHashiCorpVaultClientService for non-token
Authentication (#11396)
Signed-off-by: David Handermann <[email protected]>
> Error with StandardHashiCorpVaultClientService
> ----------------------------------------------
>
> Key: NIFI-16078
> URL: https://issues.apache.org/jira/browse/NIFI-16078
> Project: Apache NiFi
> Issue Type: Bug
> Components: Docker
> Affects Versions: 2.10.0
> Reporter: Koldo
> Assignee: Pierre Villard
> Priority: Critical
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Hello,
> I was using the Docker version of apache/nifi:2.7.0 and had configured the
> StandardHashiCorpVaultClientService as follows:
> Vault Authentication: KUBERNETES
> SSL Context Service: StandardSSLContextService
> vault.kubernetes.kubernetes-path: kubernetes
> vault.kubernetes.service-account-token-file:
> /var/run/secrets/kubernetes.io/serviceaccount/token
> I had also configured the StandardSSLContextService with:
> Keystore Filename: /usr/lib/jvm/jdk/lib/security/cacerts
> Keystore Type: JKS
> Truststore Filename: /usr/lib/jvm/jdk/lib/security/cacerts
> Truststore Type: JKS
> , and it was working correctly. When I tried to update to version 2.10.0, I
> received the following error:
> ````
> 13:00:55 UTC
> ERROR
> StandardHashiCorpVaultClientService[id=de4d6636-019a-1000-af8c-6377419f5538]
> Failed to invoke @OnEnabled method:
> org.apache.nifi.reporting.InitializationException: Failed to initialise
> HashiCorp Vault client
> - Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException:
> No bean named “clientHttpRequestFactoryWrapper” available
> ````
>
> I’ve tried deploying the latest version and I’m still getting this error, but
> if I deploy version 2.9.0 it works correctly. I’ve seen that you’ve made this
> change:
> But the StandardSSLContextService states:
> ```
> Supports Controller Service
> * SSLContextService 2.10.0 from org.apache.nifi -
> nifi-standard-services-api-nar
> * SSLContextProvider 2.10.0 from org.apache.nifi -
> nifi-standard-services-api-nar
> ```
> Do you know where my error might be? Or is it a bug in the code?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)