2018-11-23 08:48:09 |
Daniel Haupt |
description |
Hi,
when I run several rally jobs at the same time (I have 10 jobs running every 5 minutes), I often get following error:
(sqlite3.OperationalError) database is locked [SQL: u'UPDATE tasks SET updated_at=?, status=? WHERE tasks.id = ?'] [parameters: ('2018-11-23 07:38:04.244077', 'validating', 2512)] (Background on this error at: http://sqlalche.me/e/e3q8)
Looks like Rally can't connect to its DB.
Make sure that connection string in rally.conf is proper:
sqlite:////opt/rally/db/rally.sqlite
Of course, the connection string in rally.conf is fine. A next run of the failed rally job will succeed. |
Hi,
when I run several rally jobs at the same time (I have 10 jobs running every 5 minutes), I often get following error:
(sqlite3.OperationalError) database is locked [SQL: u'UPDATE tasks SET updated_at=?, status=? WHERE tasks.id = ?'] [parameters: ('2018-11-23 07:38:04.244077', 'validating', 2512)] (Background on this error at: http://sqlalche.me/e/e3q8)
Looks like Rally can't connect to its DB.
Make sure that connection string in rally.conf is proper:
sqlite:////opt/rally/db/rally.sqlite
Of course, the connection string in rally.conf is fine. A next run of the failed rally job will succeed.
I am using rally 1.2.1 (https://github.com/openstack/rally/releases/tag/1.2.1) |
|