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

Ensure -dynamodb.url is set when calling NewTableClient() in aws mode #1492

Conversation

pracucci
Copy link
Contributor

@pracucci pracucci commented Jul 7, 2019

Loki depends on Cortex. When loki is started without -dynamodb.url (or a properly configured config file) it panics in NewTableClient() (aws is the default mode). This PR fixes it.

Fixes grafana/loki#714.

Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci pracucci force-pushed the fix-new-table-client-on-missing-dynamo-url branch from 7984867 to a02dfe4 Compare July 7, 2019 12:45
Copy link
Contributor

@bboreham bboreham left a comment

Choose a reason for hiding this comment

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

Thanks!

@marco-m
Copy link

marco-m commented Jul 9, 2019

@pracucci I am impressed by how thoroughly you root-cause fixed grafana/loki#714. Kudos.

@csmarchbanks csmarchbanks merged commit 1b36b43 into cortexproject:master Jul 9, 2019
@csmarchbanks
Copy link
Contributor

Thanks!

@pracucci pracucci deleted the fix-new-table-client-on-missing-dynamo-url branch August 21, 2019 15:19
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.

Docker container crash on boot
4 participants