Trying to setup an conductor instance using a standalone redis db, I'm able to create workflows, start workers polling without any issues. But when I schedule a workflow none of the workers are getting triggered. BTW when I use the exact same config with a MYSQL db they are getting triggered.
Any suggestions?
conductor.jetty.server.enabled=true
conductor.grpc.server.enabled=false
environment=prod
STACK=prod
#
db=redis
workflow.dynomite.cluster.hosts=app-redis-1.XXXXXXXX.XXX:6379:us-east-1e
workflow.dynomite.cluster.name=conductor
workflow.namespace.prefix=conductor
workflow.namespace.queue.prefix=conductor
queues.dynomite.threads=10
workflow.dynomite.connection.maxConnsPerHost=31
queues.dynomite.nonQuorum.port=6379
#
workflow.elasticsearch.instanceType=external
workflow.elasticsearch.url=app-es-2.XXXXXXXX.XXX:9300
workflow.elasticsearch.index.name=conductor
loadSample=false
I've added a redis monitor log, when I start a workflow.
What I see is a few things:
1) I see the new workflow & task being added to the redis DB (i.e MESSAGE._deciderQueue, WORKFLOW_DEF_TO_WORKFLOWS, PENDING_WORKFLOWS, etc.)
2) I see a few "GET" for WORKFLOW, TASK. etc.
3) I'm also seeing the POLLING Request getting SET.
But that's it, nothing else.
NOTE: I do see a bunch of request for QUEUE with a suffix of ".c" that dont exist in the DB
@johnlongo just faced the same issue myself. You need to specify following properties in your config or via system property:
EC2_AVAILABILITY_ZONE=us-east-1e
EC2_REGION=us-east-1
They should match region in workflow.dynomite.cluster.hosts
Otherwise default values will be used (us-east-1c) and DynoQueue won't work.
@kishorebanala this is a faq candidate.
Most helpful comment
@kishorebanala this is a faq candidate.