Skip to content

Add rancher abilities to saam

Antoine R. Dumont requested to merge make-saam-rancher-agent into production

Next step would be to register saam to the production cluster.

swh-octodiff saam
*** Running octocatalog-diff on host saam.internal.softwareheritage.org
I, [2024-01-22T15:20:37.120954 #22195]  INFO -- : Catalogs compiled for saam.internal.softwareheritage.org
I, [2024-01-22T15:20:37.452450 #22195]  INFO -- : Diffs computed for saam.internal.softwareheritage.org
diff origin/production/saam.internal.softwareheritage.org current/saam.internal.softwareheritage.org
*******************************************
+ Augeas[kmod::setting kmod::option zfs_arc_max zfs] =>
   parameters =>
     "changes": [
       "set options[. = 'zfs'] zfs",
       "set options[. = 'zfs']/zfs_arc_max 101327760384"
     ],
     "incl": "/etc/modprobe.d/zfs.conf",
     "lens": "Modprobe.lns"
*******************************************
+ Exec[enforce-sysctl-value-fs.inotify.max_user_instances] =>
   parameters =>
     "command": "/sbin/sysctl -w fs.inotify.max_user_instances=8192",
     "unless": "/usr/bin/test \"$(/sbin/sysctl -n fs.inotify.max_user_instances)\...
*******************************************
+ Exec[enforce-sysctl-value-vm.max_map_count] =>
   parameters =>
     "command": "/sbin/sysctl -w vm.max_map_count=2097152",
     "unless": "/usr/bin/test \"$(/sbin/sysctl -n vm.max_map_count)\" = 2097152"
*******************************************
+ Exec[sysctl-fs.inotify.max_user_instances] =>
   parameters =>
     "command": "sysctl -p /etc/sysctl.d/fs.inotify.max_user_instances.conf",
     "path": [
       "/usr/sbin",
       "/sbin",
       "/usr/bin",
       "/bin"
     ],
     "refreshonly": true
*******************************************
+ Exec[sysctl-vm.max_map_count] =>
   parameters =>
     "command": "sysctl -p /etc/sysctl.d/vm.max_map_count.conf",
     "path": [
       "/usr/sbin",
       "/sbin",
       "/usr/bin",
       "/bin"
     ],
     "refreshonly": true
*******************************************
+ Exec[update-sysctl.conf-fs.inotify.max_user_instances] =>
   parameters =>
     "command": "sed -i -e 's#^fs.inotify.max_user_instances *=.*#fs.inotify.max_...
     "onlyif": "grep -E '^fs.inotify.max_user_instances *=' /etc/sysctl.conf",
     "path": [
       "/usr/sbin",
       "/sbin",
       "/usr/bin",
       "/bin"
     ],
     "refreshonly": true
*******************************************
+ Exec[update-sysctl.conf-vm.max_map_count] =>
   parameters =>
     "command": "sed -i -e 's#^vm.max_map_count *=.*#vm.max_map_count = 2097152#'...
     "onlyif": "grep -E '^vm.max_map_count *=' /etc/sysctl.conf",
     "path": [
       "/usr/sbin",
       "/sbin",
       "/usr/bin",
       "/bin"
     ],
     "refreshonly": true
*******************************************
+ File[/etc/modprobe.d/aliases.conf] =>
   parameters =>
     "ensure": "file",
     "group": "root",
     "mode": "0644",
     "owner": "root"
*******************************************
+ File[/etc/modprobe.d/blacklist.conf] =>
   parameters =>
     "ensure": "file",
     "group": "root",
     "mode": "0644",
     "owner": "root"
*******************************************
+ File[/etc/modprobe.d/modprobe.conf] =>
   parameters =>
     "ensure": "file",
     "group": "root",
     "mode": "0644",
     "owner": "root"
*******************************************
+ File[/etc/modprobe.d/zfs.conf] =>
   parameters =>
     "ensure": "file",
     "group": "root",
     "mode": "0644",
     "owner": "root"
*******************************************
+ File[/etc/modprobe.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "mode": "0755",
     "owner": "root"
*******************************************
+ File[/etc/rancher/rke2/config.yaml.d/50-snapshotter.yaml] =>
   parameters =>
     "content": "# File managed by puppet - modifications will be lost\nsnapshott...
     "group": "root",
     "mode": "0644",
     "owner": "root"
*******************************************
+ File[/etc/rancher/rke2/config.yaml.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "mode": "0755",
     "owner": "root"
*******************************************
+ File[/etc/rancher/rke2] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "mode": "0755",
     "owner": "root"
*******************************************
+ File[/etc/rancher] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "mode": "0755",
     "owner": "root"
*******************************************
+ File[/etc/sysctl.d/99-sysctl.conf] =>
   parameters =>
     "ensure": "link",
     "group": "root",
     "owner": "root",
     "target": "../sysctl.conf"
*******************************************
+ File[/etc/sysctl.d/fs.inotify.max_user_instances.conf] =>
   parameters =>
     "content": "fs.inotify.max_user_instances = 8192\n",
     "group": "root",
     "mode": "0644",
     "notify": [
       "Exec[sysctl-fs.inotify.max_user_instances]",
       "Exec[update-sysctl.conf-fs.inotify.max_user_instances]"
     ],
     "owner": "root"
*******************************************
+ File[/etc/sysctl.d/vm.max_map_count.conf] =>
   parameters =>
     "content": "vm.max_map_count = 2097152\n",
     "group": "root",
     "mode": "0644",
     "notify": [
       "Exec[sysctl-vm.max_map_count]",
       "Exec[update-sysctl.conf-vm.max_map_count]"
     ],
     "owner": "root"
*******************************************
+ File[/etc/sysctl.d] =>
   parameters =>
     "ensure": "directory",
     "group": "root",
     "mode": "0755",
     "owner": "root",
     "purge": false,
     "recurse": false
*******************************************
+ Kmod::Option[zfs_arc_max] =>
   parameters =>
     "ensure": "present",
     "file": "/etc/modprobe.d/zfs.conf",
     "module": "zfs",
     "option": "zfs_arc_max",
     "value": 101327760384
*******************************************
+ Kmod::Setting[kmod::option zfs_arc_max] =>
   parameters =>
     "category": "options",
     "ensure": "present",
     "file": "/etc/modprobe.d/zfs.conf",
     "module": "zfs",
     "option": "zfs_arc_max",
     "value": 101327760384
*******************************************
+ Package[zfs-dkms] =>
   parameters =>
     "ensure": "installed"
*******************************************
+ Sysctl[fs.inotify.max_user_instances] =>
   parameters =>
     "enforce": true,
     "suffix": ".conf",
     "value": 8192
*******************************************
+ Sysctl[vm.max_map_count] =>
   parameters =>
     "enforce": true,
     "suffix": ".conf",
     "value": 2097152
*******************************************
+ Zfs[data/kubelet] =>
   parameters =>
     "atime": "off",
     "compression": "zstd",
     "ensure": "present",
     "mountpoint": "/var/lib/kubelet"
*******************************************
+ Zfs[data/rancher] =>
   parameters =>
     "atime": "off",
     "compression": "zstd",
     "ensure": "present",
     "mountpoint": "/var/lib/rancher"
*******************************************
+ Zfs[data/volumes] =>
   parameters =>
     "atime": "off",
     "compression": "zstd",
     "ensure": "present",
     "mountpoint": "/srv/kubernetes/volumes"
*******************************************
+ Zpool[data] =>
   parameters =>
     "ensure": "present"
*******************************************
*** End octocatalog-diff on saam.internal.softwareheritage.org

Refs. swh/infra/sysadm-environment#5214 (closed)

Edited by Antoine R. Dumont

Merge request reports

Loading