Skip to content

user-data.log -- SQS queue name not found #350

@froghollow

Description

@froghollow

Following error is logged setting up the demo instance:
500Internal Server ErrorSQS queue name not found. Ensure the "search.index.update.sqs.queue.name" configuration entry is configured.+ /usr/bin/curl -s -X POST --header 'Content-Type: application/json' -d '{"partitionKeyGroupKey":{"partitionKeyGroupName":"TRADE_DT"}}' http://localhost:8080/herd-app/rest/partitionKeyGroups

Work-Around: Modify 'herd.localdb.template' ...

  1. Add SQS queue to Resources (line 149)
    "herdQueueSearchIndexUpdate" : {
      "Type" : "AWS::SQS::Queue"
    },
  1. Add psql statements to instance UserData (line 820)
    "psql -c \"DELETE FROM cnfgn WHERE cnfgn_key_nm = 'search.index.update.sqs.queue.name';\"\n", "psql -c \"INSERT INTO cnfgn VALUES ('search.index.update.sqs.queue.name','",{"Fn::GetAtt": ["herdQueueSearchIndexUpdate", "QueueName"]},"', NULL);\"\n",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions