Is your feature request related to a problem? Please describe
in this issue https://github.com/threefoldtech/zos/issues/2349 as the VM crashed many times, zos deleted this zmachine workload. And when the user called zos.deployment.get, the workload disappeared.
Describe the solution you'd like
as a suggestion besides using zos.deployment.changes, if zos decides to delete or stop this workload, we might keep this workload in the deployment with a state error, so the user can see that he has a failing workload. Otherwise, he most probably forgets that he has this workload.
Is your feature request related to a problem? Please describe
in this issue https://github.com/threefoldtech/zos/issues/2349 as the VM crashed many times, zos deleted this zmachine workload. And when the user called
zos.deployment.get
, the workload disappeared.Describe the solution you'd like
as a suggestion besides using
zos.deployment.changes
, if zos decides to delete or stop this workload, we might keep this workload in the deployment with a state error, so the user can see that he has a failing workload. Otherwise, he most probably forgets that he has this workload.