question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error running Atlas backend quickstart

See original GitHub issue

I am following the instructions provided in: https://github.com/lyft/amundsen/blob/master/docs/installation.md to bootstrap a default version of Amundsen using Docker, with the Atlas backend. After downloading the repository with submodules and running the command:

docker-compose -f docker-amundsen-atlas.yml up

Everything seems fine in the logs:

Starting amundsensearch   ... done
Starting amundsenmetadata ... done
Starting atlas            ... done
Starting amundsenfrontend ... done
Attaching to amundsenmetadata, atlas, amundsensearch, amundsenfrontend
amundsenmetadata    | 2020-07-30T16:50:01+0000.048 [INFO] __init__.create_app:81 (1:MainThread) - Created app with config name metadata_service.config.LocalConfig
amundsenmetadata    | 2020-07-30T16:50:01+0000.049 [INFO] __init__.create_app:82 (1:MainThread) - Using backend metadata_service.proxy.atlas_proxy.AtlasProxy
amundsensearch      | 2020-07-30T16:50:00+0000.935 [INFO] __init__.create_app:80 (1:MainThread) - Creating app with config name search_service.config.LocalConfig
amundsensearch      | 2020-07-30T16:50:00+0000.935 [INFO] __init__.create_app:81 (1:MainThread) - Created app with config name search_service.config.LocalConfig
amundsensearch      |  * Serving Flask app "search_service" (lazy loading)
amundsensearch      |  * Environment: production
amundsensearch      |    WARNING: Do not use the development server in a production environment.
amundsensearch      |    Use a production WSGI server instead.
amundsensearch      |  * Debug mode: off
amundsensearch      | 2020-07-30T16:50:01+0000.012 [INFO] _internal._log:122 (1:MainThread) -  * Running on http://0.0.0.0:5001/ (Press CTRL+C to quit)
amundsenmetadata    |  * Serving Flask app "metadata_service" (lazy loading)
amundsenmetadata    |  * Environment: production
amundsenmetadata    |    WARNING: Do not use the development server in a production environment.
amundsenmetadata    |    Use a production WSGI server instead.
amundsenmetadata    |  * Debug mode: on
amundsenmetadata    | 2020-07-30T16:50:01+0000.217 [INFO] _internal._log:122 (1:MainThread) -  * Running on http://0.0.0.0:5002/ (Press CTRL+C to quit)
amundsenmetadata    | 2020-07-30T16:50:01+0000.218 [INFO] _internal._log:122 (1:MainThread) -  * Restarting with stat
amundsenmetadata    | 2020-07-30T16:50:01+0000.641 [INFO] __init__.create_app:81 (7:MainThread) - Created app with config name metadata_service.config.LocalConfig
amundsenmetadata    | 2020-07-30T16:50:01+0000.641 [INFO] __init__.create_app:82 (7:MainThread) - Using backend metadata_service.proxy.atlas_proxy.AtlasProxy
amundsenmetadata    | 2020-07-30T16:50:01+0000.769 [WARNING] _internal._log:122 (7:MainThread) -  * Debugger is active!
amundsenmetadata    | 2020-07-30T16:50:01+0000.770 [INFO] _internal._log:122 (7:MainThread) -  * Debugger PIN: 249-832-049
amundsenfrontend    | Registering post_exec action_log entry_point: logging_action_log = amundsen_application.log.action_log_callback:logging_action_log
amundsenfrontend    | 2020-07-30T16:50:01+0000.943 [INFO] __init__.create_app:58 (1:MainThread) - Created app with config name amundsen_application.config.LocalConfig
amundsenfrontend    | 2020-07-30T16:50:01+0000.943 [INFO] __init__.create_app:59 (1:MainThread) - Using metadata service at http://amundsenmetadata:5002
amundsenfrontend    | 2020-07-30T16:50:01+0000.943 [INFO] __init__.create_app:60 (1:MainThread) - Using search service at http://amundsensearch:5001
amundsenfrontend    |  * Serving Flask app "amundsen_application" (lazy loading)
amundsenfrontend    |  * Environment: production
amundsenfrontend    |    WARNING: Do not use the development server in a production environment.
amundsenfrontend    |    Use a production WSGI server instead.
amundsenfrontend    |  * Debug mode: off
amundsenfrontend    | 2020-07-30T16:50:01+0000.980 [INFO] _internal._log:113 (1:MainThread) -  * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
atlas               | The Server is no longer running with pid 726
atlas               | configured for local hbase.
atlas               | hbase started.
atlas               | configured for local solr.
atlas               | solr started.
atlas               | setting up solr collections...
atlas               | starting atlas on host localhost
atlas               | starting atlas on port 21000

However, when I try to access the UI I get the following error:

amundsenfrontend    | 2020-07-30T16:51:09+0000.594 [INFO] _internal._log:113 (1:Thread-1) - 172.18.0.1 - - [30/Jul/2020 16:51:09] "GET / HTTP/1.1" 200 -
amundsenfrontend    | 2020-07-30T16:51:10+0000.086 [ERROR] v0.current_user:47 (1:Thread-2) - Encountered exception: AUTH_USER_METHOD is not configured
amundsenfrontend    | Traceback (most recent call last):
amundsenfrontend    |   File "/usr/local/lib/python3.7/site-packages/amundsen_frontend-2.2.0-py3.7.egg/amundsen_application/api/v0.py", line 28, in current_user
amundsenfrontend    |     raise Exception('AUTH_USER_METHOD is not configured')
amundsenfrontend    | Exception: AUTH_USER_METHOD is not configured
amundsenfrontend    | 2020-07-30T16:51:10+0000.087 [INFO] _internal._log:113 (1:Thread-2) - 172.18.0.1 - - [30/Jul/2020 16:51:10] "GET /api/auth_user HTTP/1.1" 500 -
amundsenfrontend    | 2020-07-30T16:51:10+0000.092 [ERROR] v0.get_bookmark:517 (1:Thread-3) - Encountered exception: AUTH_USER_METHOD is not configured
amundsenfrontend    | Traceback (most recent call last):
amundsenfrontend    |   File "/usr/local/lib/python3.7/site-packages/amundsen_frontend-2.2.0-py3.7.egg/amundsen_application/api/metadata/v0.py", line 491, in get_bookmark
amundsenfrontend    |     raise Exception('AUTH_USER_METHOD is not configured')
amundsenfrontend    | Exception: AUTH_USER_METHOD is not configured
amundsenfrontend    | 2020-07-30T16:51:10+0000.094 [INFO] _internal._log:113 (1:Thread-3) - 172.18.0.1 - - [30/Jul/2020 16:51:10] "GET /api/metadata/v0/user/bookmark HTTP/1.1" 500 -
amundsenfrontend    | 2020-07-30T16:51:10+0000.103 [DEBUG] connectionpool._new_conn:205 (1:Thread-4) - Starting new HTTP connection (1): amundsenmetadata:5002
amundsenfrontend    | 2020-07-30T16:51:10+0000.108 [DEBUG] connectionpool._new_conn:205 (1:Thread-5) - Starting new HTTP connection (1): amundsenmetadata:5002
amundsenfrontend    | 2020-07-30T16:51:10+0000.121 [DEBUG] connectionpool._new_conn:205 (1:Thread-6) - Starting new HTTP connection (1): amundsenmetadata:5002
amundsenmetadata    | 2020-07-30T16:51:10+0000.829 [DEBUG] retry.from_int:230 (7:Thread-3) - Converted retries value: 5 -> Retry(total=5, connect=None, read=None, redirect=None, status=None)
amundsenmetadata    | 2020-07-30T16:51:10+0000.829 [DEBUG] base.create:294 (7:Thread-3) - Adding a new resource to the collection SearchBasicCollection with the data {'data': {'typeName': 'Table', 'sortBy': 'popularityScore', 'sortOrder': 'DESCENDING', 'excludeDeletedEntities': True, 'limit': 4}}
amundsenmetadata    | 2020-07-30T16:51:10+0000.830 [DEBUG] base.inflate:261 (7:Thread-2) - Trying to fetch collection from server - 
amundsenmetadata    | 2020-07-30T16:51:10+0000.831 [INFO] _internal._log:122 (7:Thread-4) - 172.18.0.5 - - [30/Jul/2020 16:51:10] "GET /latest_updated_ts HTTP/1.1" 204 -

I am using the current master branch.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ealtunacommented, Aug 3, 2020

@feng-tao @mgorsk1 it works now. Thank you for your help!

1reaction
feng-taocommented, Jul 31, 2020

@mgorsk1’s fix is merged, @ealtuna please pull the master and give it a try. Feel free to reopen if the issue persists.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create Stack fails with the Create Project Failure #18 - GitHub
If I've let AWS quickstart to create a project on MongoDB Atlas then it was working fine.
Read more >
hadoop - Apache Atlas quickstart - kafka error - Stack Overflow
EC2 with ssl. Getting this error after running $ATLAS_HOME/bin/quick_start.py https://$componentPrivateDNSRecord:21443 with correct user/pass
Read more >
Quick Start — Node.js - MongoDB
This guide shows you how to create an application that uses the MongoDB Node.js driver to connect to a MongoDB cluster hosted on...
Read more >
No sample data added to Apache Atlas Server
Hi, I have created HDP on AWS But Atlas web UI is not working. ... I would recommend truncating the database and then...
Read more >
MongoDB Atlas on the AWS Cloud
This Quick Start uses MongoDB Atlas CloudFormation resource types and automatically registers them in the AWS Region of your choice. Once it's running,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found