golemfactory / ray-on-golem

GNU General Public License v3.0
6 stars 4 forks source link

subsequent `ray up` calls on the same webserver instance don't update the allocation (stack?) #190

Open shadeofblue opened 9 months ago

shadeofblue commented 9 months ago

steps to reproduce:

  1. define yaml with a total budget of e.g. 5000
  2. ray up
  3. fails as expected with
    node1: Failed to create activity: golem.managers.base.ManagerException: Insufficient funds to make allocation.
    Top up your account or release all existing allocations to unlock the funds via `yagna payment release-allocations
  4. update the yaml to e.g. 1 (assuming you do have 1 GLM in your wallet)
  5. ray up
  6. fails unexpectedly with:
    node2: Failed to create activity: golem.managers.base.ManagerException: Insufficient funds to make allocation.
    Top up your account or release all existing allocations to unlock the funds via `yagna payment release-allocations`
  7. DON'T update the yaml ;)
  8. stop the server with ray-on-golem stop
  9. ray up
  10. now it starts correctly

Logfile:

webserver_debug.log.1.log

mateuszsrebrny commented 8 months ago

Uses refactor from #194