Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • lava lava
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 96
    • Issues 96
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 65
    • Merge requests 65
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • lava
  • lavalava
  • Issues
  • #557

Closed
Open
Created Aug 04, 2022 by Antonio Terceiro@terceiroOwner

lava-dispacher uninstallable on Ubuntu 22.04

I don't really have a solution for this, but I'm writing this issue to keep it documented somewhere. To fix #467 (closed) (docker device sharing broken with cgroups v2), I had to make lava-dispatcher use either cgroups v1 and the existing code we had to support that, or cgroups v2 plus some extra packages to make it work. This was originally aligned with Debian, because the Debian 10 kernel defaults to cgroups v1, and the Debian 11 kernel defaults to cgroups v2.

So the dependencies in lava-dispatcher express the cases where its known to work:

         base-files (<< 11.1) | python3-bpfcc (>= 0.21),
         base-files (<< 11.1) | linux-headers-amd64 | linux-headers-arm64,
         base-files (<< 11.1) | bpftool,

either Debian < 11, or for Debian >= 11, we need python3-bpfcc (>= 0.21), kernel headers, and bpftool for the cgroups v2 support. The kernel headers and for bpftools can be satisfied on Ubuntu by linux-headers-generic and linux-tools-common.

python3-bpfcc >= 0.21, however, seems to not be available anywhere in Ubuntu, 0.18 being the latest version even though 0.21 has been in Debian test since 2021-10-11 (thus way before the release of Ubuntu 22.04).

Edited Aug 04, 2022 by Antonio Terceiro
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking