Skip to content

Superset failing to start  #20244

@alonbecker

Description

@alonbecker

On Superset 1.5.0 with unpinned dependencies on authlib, mysqlclient and pydruid I am getting the following error and superset isf failing to start:

{"@tag":"run-sh.stderr","@timestamp":"2022-06-02T04:25:16.076134894-07:00","message":" CachelibFileSystemCache.init(","source_host":"data--superset-6c8b44bb74-4r8lq","tsar_wrapped":true}
{"@tag":"run-sh.stderr","@timestamp":"2022-06-02T04:25:16.076148208-07:00","message":"TypeError: init() got an unexpected keyword argument 'hash_method'","source_host":"data--superset-6c8b44bb74-4r8lq","tsar_wrapped":true}
{"@tag":"run-sh.stderr","@timestamp":"2022-06-02T04:25:16.076165579-07:00","message":"[2022-06-02 04:25:16 -0700] [31] [INFO] Worker exiting (pid: 31)","source_host":"data--superset-6c8b44bb74-4r8lq","tsar_wrapped":true}
{"@tag":"run-sh.stderr","@timestamp":"2022-06-02T04:25:16.363703841-07:00","message":"Traceback (most recent call last):","source_host":"data--superset-6c8b44bb74-4r8lq","tsar_wrapped":true}
{"@tag":"run-sh.stderr","@timestamp":"2022-06-02T04:25:16.363816146-07:00","message":" File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 209, in run","source_host":"data--superset-6c8b44bb74-4r8lq","tsar_wrapped":true}
{"@tag":"run-sh.stderr","@timestamp":"2022-06-02T04:25:16.363838612-07:00","message":" self.sleep()","source_host":"data--superset-6c8b44bb74-4r8lq","tsar_wrapped":true}
{"@tag":"run-sh.stderr","@timestamp":"2022-06-02T04:25:16.363853892-07:00","message":" File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 357, in sleep","source_host":"data--superset-6c8b44bb74-4r8lq","tsar_wrapped":true}
{"@tag":"run-sh.stderr","@timestamp":"2022-06-02T04:25:16.363868322-07:00","message":" ready = select.select([self.PIPE[0]], [], [], 1.0)","source_host":"data--superset-6c8b44bb74-4r8lq","tsar_wrapped":true}
{"@tag":"run-sh.stderr","@timestamp":"2022-06-02T04:25:16.363883594-07:00","message":" File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 242, in handle_chld","source_host":"data--superset-6c8b44bb74-4r8lq","tsar_wrapped":true}
{"@tag":"run-sh.stderr","@timestamp":"2022-06-02T04:25:16.363898036-07:00","message":" self.reap_workers()","source_host":"data--superset-6c8b44bb74-4r8lq","tsar_wrapped":true}
{"@tag":"run-sh.stderr","@timestamp":"2022-06-02T04:25:16.363911795-07:00","message":" File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers","source_host":"data--superset-6c8b44bb74-4r8lq","tsar_wrapped":true}
{"@tag":"run-sh.stderr","@timestamp":"2022-06-02T04:25:16.363934181-07:00","message":" raise HaltServer(reason, self.WORKER_BOOT_ERROR)","source_host":"data--superset-6c8b44bb74-4r8lq","tsar_wrapped":true}
{"@tag":"run-sh.stderr","@timestamp":"2022-06-02T04:25:16.363948677-07:00","message":"gunicorn.errors.HaltServer: \u003cHaltServer 'Worker failed to boot.' 3\u003e","source_host":"data--superset-6c8b44bb74-4r8lq","tsar_wrapped":true}

I tried pinning the versions of these dependencies, but not sure that this is the issue. I am running superset on Kubernetes and a new build probably took place. The requirement.txt file that we are using for installing deps is as follows:

apache-superset==1.5.0
PyAthenaJDBC>1.0.9
PyAthena==2.7.0
pydruid==0.6.2
markupsafe==2.0.1
Authlib==0.15.5
mysqlclient==2.0.3

Any ideas what could be wrong....

Metadata

Metadata

Assignees

No one assigned

    Labels

    #bugBug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions