Skip to content

[Bug]: Worker is not listed in UI #19

@luckkmaxx

Description

@luckkmaxx

Description

Hi, I cant run any service because there are no workers.
It seems my default worker is not able to finish initialization.

Steps to Reproduce

docker compose up -d
login and try to add some service or go to fleet section.
No worker online.

Expected Behavior

List the worker

Deployment Method

Docker Compose

CashPilot Version

latest

Architecture

amd64 (x86_64)

Relevant Logs

~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "<frozen importlib._bootstrap>", line 1406, in _gcd_import

  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 938, in _load_unlocked

  File "<frozen importlib._bootstrap_external>", line 759, in exec_module

  File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed

  File "/app/app/worker_api.py", line 30, in <module>

    from app import fleet_key, orchestrator

ImportError: cannot import name 'fleet_key' from 'app' (/app/app/__init__.py)

Checks

  • I am using the latest version of CashPilot
  • I searched existing issues and this is not a duplicate

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions