Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Vault: Reconciliation Errors on Kubernetes versions below 1.27 #267

Closed
2 tasks done
kosmoz opened this issue Aug 24, 2023 · 2 comments · Fixed by #268
Closed
2 tasks done

[Bug]: Vault: Reconciliation Errors on Kubernetes versions below 1.27 #267

kosmoz opened this issue Aug 24, 2023 · 2 comments · Fixed by #268
Assignees
Labels
apps/vault bug Something isn't working

Comments

@kosmoz
Copy link
Member

kosmoz commented Aug 24, 2023

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've included steps to reproduce the behavior

Glasskube Version

v0.10.11

Kubernetes Version

v1.26.4

Host OS and its Version

No response

Steps to reproduce

  1. Deploy Vault

Expected behaviour

No error

Actual behaviour

2023-08-24T14:06:17.259Z [ReconcilerExecutor-vaultreconciler-237] ERROR i.j.o.p.e.ReconciliationDispatcher - Error during event processing ExecutionScope{ resource id: ResourceID{name='redacted', namespace='redacted'}, version: 8966444451} failed. 
io.javaoperatorsdk.operator.AggregatedOperatorException: Exception(s) during workflow execution. Details:
 - eu.glasskube.operator.apps.vault.dependent.VaultStatefulSet -> java.lang.NullPointerException

	at io.javaoperatorsdk.operator.processing.dependent.workflow.WorkflowResult.throwAggregateExceptionIfErrorsPresent(WorkflowResult.java:41)
	at io.javaoperatorsdk.operator.processing.dependent.workflow.WorkflowReconcileResult.throwAggregateExceptionIfErrorsPresent(WorkflowReconcileResult.java:9)
	at io.javaoperatorsdk.operator.processing.dependent.workflow.DefaultWorkflow.reconcile(DefaultWorkflow.java:95)
	at io.javaoperatorsdk.operator.processing.Controller$1.execute(Controller.java:147)
	at io.javaoperatorsdk.operator.processing.Controller$1.execute(Controller.java:110)
	at io.javaoperatorsdk.operator.api.monitoring.Metrics.timeControllerExecution(Metrics.java:219)
	at io.javaoperatorsdk.operator.processing.Controller.reconcile(Controller.java:109)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.reconcileExecution(ReconciliationDispatcher.java:140)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleReconcile(ReconciliationDispatcher.java:121)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleDispatch(ReconciliationDispatcher.java:91)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleExecution(ReconciliationDispatcher.java:64)
	at io.javaoperatorsdk.operator.processing.event.EventProcessor$ReconcilerExecutor.run(EventProcessor.java:409)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

Additional Information

No response

@kosmoz kosmoz added bug Something isn't working apps/vault labels Aug 24, 2023
@kosmoz kosmoz self-assigned this Aug 24, 2023
@kosmoz
Copy link
Member Author

kosmoz commented Aug 24, 2023

Caused by persistentVolumeClaimRetentionPolicy (1.27 beta feature). We will remove this from the stateful set.

@kosmoz
Copy link
Member Author

kosmoz commented Aug 24, 2023

Note: to actually fix this issue, the StatefulSet must be deleted and recreated because persistentVolumeClaimRetentionPolicy is still in the managed fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apps/vault bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant