codius/codiusd

Don't update DB if pod fails to launch

Closed this issue · 2 comments

njlie commented

If a manifest with a faulty image is uploaded, the DB is still updated and lists the associated hash with running: true.

Maybe we should be checking all the images that Codiusd thinks are running and make sure that they're also running in hyperd. That would solve this issue and also any problem where the pod you uploaded died and codiusd thinks that it's still running

Maybe we should be checking all the images that Codiusd thinks are running and make sure that they're also running in hyperd.

It would also detect manually removed pods as well which would be good.