You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a garm instance with multiple pools for multiple cloud backends. Today one of my clouds (openstack) died and garm could not create or delete any instances on my openstack.
Garm now tried constantly to delete the runners it still had in it's list, which lead to high cpu load and many many errors in the logs.
Also I got database locks.
garm-prod-6bd95c77fd-wrc55 garm 2025-01-28T17:38:51.686397993+01:00 time=2025-01-28T16:38:51.686Z level=ERROR
msg="failed to update runner status" error="database is locked\nupdating instance\[ngithub.com/cloudbase/garm/database/sql.(*sqlDatabase).UpdateInstance](http://ngithub.com/cloudbase/garm/database/sql.(*sqlDatabase).UpdateInstance)\n\t/tmp/git_cache/garm_repo/database/sql/instances.go:245\[ngithub.com/cloudbase/garm/runner/pool.(*basePoolManager).setInstanceStatus]
I also tried to delete the 'lost' runners with --force, but due to the database locks I had try this multiple times until they were successfully deleted. After force deleteing the runners the cpu load went down and the database locks disappeared.
Hi,
I have a garm instance with multiple pools for multiple cloud backends. Today one of my clouds (openstack) died and garm could not create or delete any instances on my openstack.
Garm now tried constantly to delete the runners it still had in it's list, which lead to high cpu load and many many errors in the logs.
Also I got database locks.
erros from the log:
and
I also tried to delete the 'lost' runners with --force, but due to the database locks I had try this multiple times until they were successfully deleted. After force deleteing the runners the cpu load went down and the database locks disappeared.
Michael Kuhnt [email protected] Mercedes-Benz Tech Innovation GmbH (ProviderInformation)
The text was updated successfully, but these errors were encountered: