Skip to content

Configure backports to be able to install zfs packages

Kafka's logdir are stored on zfs volumes in production. To reproduce as far as possible the production, let's try to have the same in staging (even if with one data disk it's not really useful)

Related to T2790

Test Plan

diff origin/production/journal0.internal.staging.swh.network current/journal0.internal.staging.swh.network
*******************************************
  Apt::Pin[swh-backported-packages] =>
   parameters =>
     packages =>
      - ["libnss-myhostname", "libnss-mymachines", "libnss-resolve", "libnss-systemd", "libpam-systemd", "libsystemd-dev", "libsystemd0", "libudev-dev", "libudev1", "libudev1-udeb", "libzstd1", "systemd", "systemd-container", "systemd-coredump", "systemd-journal-remote", "systemd-sysv", "systemd-tests", "udev", "udev-udeb", "python3-typing-extensions"]
      + ["libnss-myhostname", "libnss-mymachines", "libnss-resolve", "libnss-systemd", "libpam-systemd", "libsystemd-dev", "libsystemd0", "libudev-dev", "libudev1", "libudev1-udeb", "libzstd1", "systemd", "systemd-container", "systemd-coredump", "systemd-journal-remote", "systemd-sysv", "systemd-tests", "udev", "udev-udeb", "python3-typing-extensions", "linux-image-amd64", "linux-headers-amd64", "libnvpair1linux", "libuutil1linux", "libzfs2linux", "libzpool2linux", "zfs-dkms", "zfsutils-linux", "zfs-zed"]
*******************************************
  Apt::Setting[list-backports] =>
   parameters =>
     content =>
      @@ -1,3 +1,3 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # backports
      -deb http://deb.debian.org/debian/ buster-backports main
      +deb http://deb.debian.org/debian/ buster-backports main contrib non-free
*******************************************
  Apt::Setting[list-debian-security] =>
   parameters =>
     content =>
      @@ -1,3 +1,3 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # debian-security
      -deb http://deb.debian.org/debian-security/ buster/updates main
      +deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
*******************************************
  Apt::Setting[list-debian-updates] =>
   parameters =>
     content =>
      @@ -1,3 +1,3 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # debian-updates
      -deb http://deb.debian.org/debian/ buster-updates main
      +deb http://deb.debian.org/debian/ buster-updates main contrib non-free
*******************************************
  Apt::Setting[list-debian] =>
   parameters =>
     content =>
      @@ -1,3 +1,3 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # debian
      -deb http://deb.debian.org/debian/ buster main
      +deb http://deb.debian.org/debian/ buster main contrib non-free
*******************************************
  Apt::Setting[pref-swh-backported-packages] =>
   parameters =>
     content =>
      @@ -1,5 +1,5 @@
       # This file is managed by Puppet. DO NOT EDIT.
       Explanation: Pin packages backports
      -Package: libnss-myhostname libnss-mymachines libnss-resolve libnss-systemd libpam-systemd libsystemd-dev libsystemd0 libudev-dev libudev1 libudev1-udeb libzstd1 systemd systemd-container systemd-coredump systemd-journal-remote systemd-sysv systemd-tests udev udev-udeb python3-typing-extensions
      +Package: libnss-myhostname libnss-mymachines libnss-resolve libnss-systemd libpam-systemd libsystemd-dev libsystemd0 libudev-dev libudev1 libudev1-udeb libzstd1 systemd systemd-container systemd-coredump systemd-journal-remote systemd-sysv systemd-tests udev udev-udeb python3-typing-extensions linux-image-amd64 linux-headers-amd64 libnvpair1linux libuutil1linux libzfs2linux libzpool2linux zfs-dkms zfsutils-linux zfs-zed
       Pin: release n=buster-backports
       Pin-Priority: 990
*******************************************
  Apt::Source[backports] =>
   parameters =>
     repos =>
      - main
      + main contrib non-free
*******************************************
  Apt::Source[debian-security] =>
   parameters =>
     repos =>
      - main
      + main contrib non-free
*******************************************
  Apt::Source[debian-updates] =>
   parameters =>
     repos =>
      - main
      + main contrib non-free
*******************************************
  Apt::Source[debian] =>
   parameters =>
     repos =>
      - main
      + main contrib non-free
*******************************************
  File[/etc/apt/preferences.d/swh-backported-packages.pref] =>
   parameters =>
     content =>
      @@ -1,5 +1,5 @@
       # This file is managed by Puppet. DO NOT EDIT.
       Explanation: Pin packages backports
      -Package: libnss-myhostname libnss-mymachines libnss-resolve libnss-systemd libpam-systemd libsystemd-dev libsystemd0 libudev-dev libudev1 libudev1-udeb libzstd1 systemd systemd-container systemd-coredump systemd-journal-remote systemd-sysv systemd-tests udev udev-udeb python3-typing-extensions
      +Package: libnss-myhostname libnss-mymachines libnss-resolve libnss-systemd libpam-systemd libsystemd-dev libsystemd0 libudev-dev libudev1 libudev1-udeb libzstd1 systemd systemd-container systemd-coredump systemd-journal-remote systemd-sysv systemd-tests udev udev-udeb python3-typing-extensions linux-image-amd64 linux-headers-amd64 libnvpair1linux libuutil1linux libzfs2linux libzpool2linux zfs-dkms zfsutils-linux zfs-zed
       Pin: release n=buster-backports
       Pin-Priority: 990
*******************************************
  File[/etc/apt/sources.list.d/backports.list] =>
   parameters =>
     content =>
      @@ -1,3 +1,3 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # backports
      -deb http://deb.debian.org/debian/ buster-backports main
      +deb http://deb.debian.org/debian/ buster-backports main contrib non-free
*******************************************
  File[/etc/apt/sources.list.d/debian-security.list] =>
   parameters =>
     content =>
      @@ -1,3 +1,3 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # debian-security
      -deb http://deb.debian.org/debian-security/ buster/updates main
      +deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
*******************************************
  File[/etc/apt/sources.list.d/debian-updates.list] =>
   parameters =>
     content =>
      @@ -1,3 +1,3 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # debian-updates
      -deb http://deb.debian.org/debian/ buster-updates main
      +deb http://deb.debian.org/debian/ buster-updates main contrib non-free
*******************************************
  File[/etc/apt/sources.list.d/debian.list] =>
   parameters =>
     content =>
      @@ -1,3 +1,3 @@
       # This file is managed by Puppet. DO NOT EDIT.
       # debian
      -deb http://deb.debian.org/debian/ buster main
      +deb http://deb.debian.org/debian/ buster main contrib non-free
*******************************************
*** End octocatalog-diff on journal0.internal.staging.swh.network

Migrated from D4580 (view on Phabricator)

Merge request reports