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

Gitlab support (#135) #141

Merged
merged 9 commits into from
Jun 6, 2023
Merged

Gitlab support (#135) #141

merged 9 commits into from
Jun 6, 2023

Conversation

kosmoz
Copy link
Member

@kosmoz kosmoz commented Jun 1, 2023

No description provided.

@kosmoz kosmoz self-assigned this Jun 1, 2023
@kosmoz kosmoz linked an issue Jun 1, 2023 that may be closed by this pull request
@kosmoz kosmoz force-pushed the 135-gitlab-support branch 2 times, most recently from 4f5540d to 5eb575b Compare June 5, 2023 12:56
@kosmoz kosmoz marked this pull request as ready for review June 5, 2023 12:56
@kosmoz kosmoz requested a review from pmig June 5, 2023 12:56
Copy link
Member

@pmig pmig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

During initial installation following error occurred:

.. although the installation of Gitlab was successful

2023-06-05T21:46:37.788+02:00 [ReconcilerExecutor-gitlabreconciler-184] ERROR i.j.o.p.e.ReconciliationDispatcher - Error during event processing ExecutionScope{ resource id: ResourceID{name='gitlab', namespace='gitlab'}, version: 134039} failed. 
io.javaoperatorsdk.operator.AggregatedOperatorException: Exception(s) during workflow execution. Details:
 - eu.glasskube.operator.apps.gitlab.dependent.GitlabPostgresCluster -> java.util.NoSuchElementException: No value present
	at java.base/java.util.Optional.orElseThrow(Optional.java:377)
	at eu.glasskube.operator.apps.gitlab.dependent.GitlabPostgresCluster$desired$lambda$2$$inlined$requireSecondaryResource$1.invoke(Context.kt:32)
	at eu.glasskube.operator.apps.gitlab.dependent.GitlabPostgresCluster$desired$lambda$2$$inlined$requireSecondaryResource$1.invoke(Context.kt:32)
	at eu.glasskube.operator.api.reconciler.LazyContextDelegate$value$2.invoke(Context.kt:15)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at eu.glasskube.operator.api.reconciler.LazyContextDelegate.getValue(Context.kt:15)
	at eu.glasskube.operator.api.reconciler.LazyContextDelegate.getValue(Context.kt:16)
	at eu.glasskube.operator.apps.gitlab.dependent.GitlabPostgresCluster.desired$lambda$2$lambda$0(GitlabPostgresCluster.kt:46)
	at eu.glasskube.operator.apps.gitlab.dependent.GitlabPostgresCluster.desired(GitlabPostgresCluster.kt:64)
	at eu.glasskube.operator.apps.gitlab.dependent.GitlabPostgresCluster.desired(GitlabPostgresCluster.kt:33)
	at io.javaoperatorsdk.operator.processing.dependent.AbstractDependentResource.reconcile(AbstractDependentResource.java:59)
	at io.javaoperatorsdk.operator.processing.dependent.SingleDependentResourceReconciler.reconcile(SingleDependentResourceReconciler.java:19)
	at io.javaoperatorsdk.operator.processing.dependent.AbstractDependentResource.reconcile(AbstractDependentResource.java:52)
	at io.javaoperatorsdk.operator.processing.dependent.workflow.WorkflowReconcileExecutor$NodeReconcileExecutor.doRun(WorkflowReconcileExecutor.java:124)
	at io.javaoperatorsdk.operator.processing.dependent.workflow.NodeExecutor.run(NodeExecutor.java:22)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)

	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:92)
	at io.javaoperatorsdk.operator.processing.Controller$1.execute(Controller.java:133)
	at io.javaoperatorsdk.operator.processing.Controller$1.execute(Controller.java:96)
	at io.javaoperatorsdk.operator.api.monitoring.Metrics.timeControllerExecution(Metrics.java:219)
	at io.javaoperatorsdk.operator.processing.Controller.reconcile(Controller.java:95)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.reconcileExecution(ReconciliationDispatcher.java:139)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleReconcile(ReconciliationDispatcher.java:119)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleDispatch(ReconciliationDispatcher.java:89)
	at io.javaoperatorsdk.operator.processing.event.ReconciliationDispatcher.handleExecution(ReconciliationDispatcher.java:62)
	at io.javaoperatorsdk.operator.processing.event.EventProcessor$ReconcilerExecutor.run(EventProcessor.java:414)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)

@kosmoz
Copy link
Member Author

kosmoz commented Jun 6, 2023

During initial installation following error occurred:

.. although the installation of Gitlab was successful

Thanks! It should be fixed now.

@kosmoz kosmoz requested a review from pmig June 6, 2023 09:22
@pmig pmig merged commit 9548d9a into main Jun 6, 2023
@pmig pmig deleted the 135-gitlab-support branch June 6, 2023 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitLab support
2 participants