Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

conductor-server startup failed with docker-compose-postgres.yaml #115

Open
dengguojie opened this issue Sep 8, 2022 · 2 comments
Open

Comments

@dengguojie
Copy link

Describe the bug
A clear and concise description of what the bug is.

Details
Conductor version: master @2022-08-31
Persistence implementation: Postgres
Queue implementation: Postgres
Lock: Redis or Zookeeper? Redis

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://conductor.netflix.com/gettingstarted/docker.html
  2. command is : docker-compose -f docker-compose.yaml -f docker-compose-postgres.yaml up
  3. See error:
    conductor-server_1 | 4210 [main] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext [] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'queueAdminResource' defined in URL [jar:file:/app/libs/conductor-server-3.12.0-SNAPSHOT-boot.jar!/BOOT-INF/lib/conductor-rest-3.12.0-SNAPSHOT.jar!/com/netflix/conductor/rest/controllers/QueueAdminResource.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultEventQueueProcessor' defined in URL [jar:file:/app/libs/conductor-server-3.12.0-SNAPSHOT-boot.jar!/BOOT-INF/lib/conductor-core-3.12.0-SNAPSHOT.jar!/com/netflix/conductor/core/events/queue/DefaultEventQueueProcessor.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'workflowExecutor' defined in URL [jar:file:/app/libs/conductor-server-3.12.0-SNAPSHOT-boot.jar!/BOOT-INF/lib/conductor-core-3.12.0-SNAPSHOT.jar!/com/netflix/conductor/core/execution/WorkflowExecutor.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'deciderService' defined in URL [jar:file:/app/libs/conductor-server-3.12.0-SNAPSHOT-boot.jar!/BOOT-INF/lib/conductor-core-3.12.0-SNAPSHOT.jar!/com/netflix/conductor/core/execution/DeciderService.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.netflix.conductor.dao.MetadataDAO' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
    conductor-server_1 | 4216 [main] INFO org.apache.catalina.core.StandardService [] - Stopping service [Tomcat]
    conductor-server_1 | 4237 [main] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener [] -
    conductor-server_1 |
    conductor-server_1 | Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
    conductor-server_1 | 4270 [main] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter [] -
    conductor-server_1 |
    conductor-server_1 | ***************************
    conductor-server_1 | APPLICATION FAILED TO START
    conductor-server_1 | ***************************
    conductor-server_1 |
    conductor-server_1 | Description:
    conductor-server_1 |
    conductor-server_1 | Parameter 2 of constructor in com.netflix.conductor.core.execution.DeciderService required a bean of type 'com.netflix.conductor.dao.MetadataDAO' that could not be found.
    conductor-server_1 |
    conductor-server_1 |
    conductor-server_1 | Action:
    conductor-server_1 |
    conductor-server_1 | Consider defining a bean of type 'com.netflix.conductor.dao.MetadataDAO' in your configuration.
    conductor-server_1 |
    docker_conductor-server_1 exited with code 0

Expected behavior
Work well with postgresdb

Screenshots
NA

Additional context
NA

@dengguojie dengguojie changed the title conductor startup failed with docker-compose-postgres.yaml conductor-server startup failed with docker-compose-postgres.yaml Sep 8, 2022
@dengguojie
Copy link
Author

i manged to startup refer to #69, but failed with the issue as mentioned in #66

@apanicker-nflx apanicker-nflx transferred this issue from Netflix/conductor Sep 12, 2022
@manan164
Copy link
Contributor

manan164 commented Jan 3, 2023

i manged to startup refer to #69, but failed with the issue as mentioned in #66

Hi @dengguojie , I have provided resolution for that issue. Can you please check comment?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants