-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
LAVA 2023.06 is out and bring lot of performance improvment.
But we should take care that current version lacked 2 DB migration which handled by a "django auto migrate", but need to be handled by the upgrade.
LAVA-docker need to handle that.
Upgrade procedure:
Major problem that could be encountered: The migration script hack fail to apply
=> A backup is necessary (as always )
=> After start, verification of logs will be necessary (to ensure upgrade is ok)
Before upgrade, some cleaning could help reduce the backup size:
LAVA has currently history up to 4 year, perhaps some part could be cleaned.
Cleaning old healthcheck:
lava-server manage jobs rm --submitter lava-health --older-than 30d
Cleaning old jobs:
lava-server manage jobs rm --submitter kernel-ci --older-than 700d
Compress jobs output:
lava-server manage jobs compress --older-than 1h
compressing jobs has no drawbacks
The upgrade path is:
- backup via backup.sh
- checkout lava-docker: branch agl-2023.10 (master + aglrefhw, pi4, rcar )
- copy old boards.yaml to boards.yaml and backup to lava-master/backup/
- Generate output via ./lavalab-gen.py
- build it in output/xxx/ via docker-compose build --no-cache
- docker-compose up