Replies: 1 comment 2 replies
-
It looks like the errors above are from your workload pod, not the VolSync pod? Are you saying when the VolSync source job runs, your workload loses access to the files? Could you provide more info about the following:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
We have Apache nifi running on a custom Kubernetes environment.
In a GR setup, where nifi is running in 2 locations.
Nifi has PVC mounted into the container, we're trying to move the data from one location to another.
It is failing in this custom Kubernetes environment; we realized that the roles and SCC cannot be applied here as this is not and openshift platform. This environment has a PodSecurityPolicy instead of SecurityContextConstraint.
when the source job runs,
java.io.FileNotFoundException: /opt/nifi/data/state_directory/partition-0/1.journal (Permission denied) at java.base/java.io.FileOutputStream.open0(Native Method) at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293) at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:235) at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:184) at org.wali.MinimalLockingWriteAheadLog$Partition.rollover(MinimalLockingWriteAheadLog.java:788) at org.wali.MinimalLockingWriteAheadLog.checkpoint(MinimalLockingWriteAheadLog.java:534)
the UI throws UncheckedIOException
java.io.UncheckedIOException: Set Verification Key State Failed at org.apache.nifi.web.security.jwt.key.service.StandardVerificationKeyService.setVerificationKey(StandardVerificationKeyService.java:142) at</p>
This error is only thrown when the source job runs, nifi container and UI becomes accessible in the window between the source job terminates and respawns. In that gap the pod gives below output
id
groups
We have tested this in an openshift environment, and it works as expected on an it.
In the openshift environment the same command gives the expected output, and UI is accessible when the source job is running.
@JohnStrunk Can you please advise on how to proceed.
Beta Was this translation helpful? Give feedback.
All reactions