kube-HPC / hkube

🐟 High Performance Computing over Kubernetes - Core Repo 🎣
http://hkube.io
MIT License
305 stars 20 forks source link

Starting worker has no init state #1965

Closed Adir111 closed 1 month ago

Adir111 commented 1 month ago

HKube micro-service Worker

Describe the bug When a worker is starting, it has no state. During this period, the workers table shows "Creating" or "Job Creating," and the init count is not updating. The counters in the workers table are counted based on the worker's state. This means the worker should be in the 'init' state for the count to be updated.

Expected behavior The init count should be updated according to the workers that are being created.

To Reproduce Steps to reproduce the behavior:

  1. Go to HKube Dashboard.
  2. Create a new worker.
  3. Click on Administration, then on Workers.
  4. The new worker will be displayed, but the init count will be 0.

Additional context The data for the workers counters is handled according to their states. You can find the stats in etcd, under discovery in task-executor, and then in actual->stats. You will see it listed as 'redundant' count since there is no state (the code treats a lack of state as redundant).

Adir111 commented 1 month ago

not relevant. Init state is given when Wrapper is being created. When worker is starting, it has no state - but being handled as 'Creating'. Issue closed.