Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4860

LAVA upgrade to 2023.10

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • CIAT

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            clabbe Corentin Labbe
            clabbe Corentin Labbe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: