Staging instance, all changes can be removed at any time

Skip to content

Add default kafka1.staging configuration

Antoine R. Dumont requested to merge staging_configure_kafka1 into production

It's now working [1] thanks to the work of @olasd fixing the default zookeeper and broker configuration. It's only adding the basic kafka role to the new node. It's not touching the current staging cluster.

[1]

octo-diff on kafka1.staging
$ $SWH_PUPPET_ENVIRONMENT_HOME/bin/octocatalog-diff --to staging_configure_kafka1 kafka1.internal.staging.swh.network
...
******************************************
  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/ bullseye-backports main
      +deb http://deb.debian.org/debian/ bullseye-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/ bullseye-security main
      +deb http://deb.debian.org/debian-security/ bullseye-security 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/ bullseye-updates main
      +deb http://deb.debian.org/debian/ bullseye-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/ bullseye main
      +deb http://deb.debian.org/debian/ bullseye main contrib non-free
*******************************************
  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
*******************************************
+ Concat::Fragment[/etc/network/interfaces_header] =>
   parameters =>
     "content": "# This file is controlled by Puppet module trepasi-debnet.\n# DO...
     "order": 10,
     "target": "/etc/network/interfaces"
*******************************************
+ Concat::Fragment[bond0_stanza] =>
   parameters =>
     "content": "# interface bond0 configuration\nauto bond0\niface bond0 inet ma...
     "order": 35,
     "target": "/etc/network/interfaces"
*******************************************
+ Concat::Fragment[lo_stanza] =>
   parameters =>
     "content": "# loopback device\nauto lo\niface lo inet loopback\n",
     "order": 20,
     "target": "/etc/network/interfaces"
*******************************************
+ Concat::Fragment[vlan1300_stanza] =>
   parameters =>
     "content": "# interface vlan1300 configuration\nauto vlan1300\niface vlan130...
     "order": 45,
     "target": "/etc/network/interfaces"
*******************************************
+ Concat::Fragment[vlan443_stanza] =>
   parameters =>
     "content": "# interface vlan443 configuration\nauto vlan443\niface vlan443 i...
     "order": 45,
     "target": "/etc/network/interfaces"
*******************************************
+ Concat[/etc/network/interfaces] =>
   parameters =>
     "backup": "puppet",
     "ensure": "present",
     "ensure_newline": true,
     "force": false,
     "format": "plain",
     "group": "root",
     "mode": "0644",
     "order": "numeric",
     "owner": "root",
     "path": "/etc/network/interfaces",
     "replace": true,
     "show_diff": true,
     "warn": false
*******************************************
+ Concat_file[/etc/network/interfaces] =>
   parameters =>
     "backup": "puppet",
     "ensure_newline": true,
     "force": false,
     "format": "plain",
     "group": "root",
     "mode": "0644",
     "order": "numeric",
     "owner": "root",
     "replace": true,
     "show_diff": true,
     "tag": "_etc_network_interfaces"
*******************************************
+ Concat_fragment[/etc/network/interfaces_header] =>
   parameters =>
     "content": "# This file is controlled by Puppet module trepasi-debnet.\n# DO...
     "order": 10,
     "tag": "_etc_network_interfaces",
     "target": "/etc/network/interfaces"
*******************************************
+ Concat_fragment[bond0_stanza] =>
   parameters =>
     "content": "# interface bond0 configuration\nauto bond0\niface bond0 inet ma...
     "order": 35,
     "tag": "_etc_network_interfaces",
     "target": "/etc/network/interfaces"
*******************************************
+ Concat_fragment[lo_stanza] =>
   parameters =>
     "content": "# loopback device\nauto lo\niface lo inet loopback\n",
     "order": 20,
     "tag": "_etc_network_interfaces",
     "target": "/etc/network/interfaces"
*******************************************
+ Concat_fragment[vlan1300_stanza] =>
   parameters =>
     "content": "# interface vlan1300 configuration\nauto vlan1300\niface vlan130...
     "order": 45,
     "tag": "_etc_network_interfaces",
     "target": "/etc/network/interfaces"
*******************************************
+ Concat_fragment[vlan443_stanza] =>
   parameters =>
     "content": "# interface vlan443 configuration\nauto vlan443\niface vlan443 i...
     "order": 45,
     "tag": "_etc_network_interfaces",
     "target": "/etc/network/interfaces"
*******************************************
+ Debnet::Iface::Loopback[lo] =>
   parameters =>
     "allows": [],
     "auto": true,
     "aux_ops": {
     },
     "downs": [],
     "family": "inet",
     "ifname": "lo",
     "order": 0,
     "post_downs": [],
     "pr_ups": [],
     "ups": []
*******************************************
+ Debnet::Iface[bond0] =>
   parameters =>
     "allows": [],
     "auto": true,
     "aux_ops": {
       "mtu": "9000",
       "bond-miimon": 100,
       "bond-mode": "802.3ad",
       "bond-xmit_hash_policy": "layer3+4",
       "bond-slaves": "ens2f0np0 ens2f1np1",
       "bond-lacp-rate": 1
     },
     "downs": [],
     "family": "inet",
     "ifname": "bond0",
     "method": "manual",
     "order": -15,
     "post_downs": [],
     "pr_ups": [],
     "routes": {
     },
     "ups": []
*******************************************
+ Debnet::Iface[lo] =>
   parameters =>
     "allows": [],
     "auto": true,
     "aux_ops": {
     },
     "downs": [],
     "family": "inet",
     "ifname": "lo",
     "method": "loopback",
     "order": 0,
     "post_downs": [],
     "pr_ups": [],
     "routes": {
     },
     "ups": []
*******************************************
+ Debnet::Iface[vlan1300] =>
   parameters =>
     "address": "128.93.166.41",
     "allows": [],
     "auto": true,
     "aux_ops": {
       "vlan-raw-device": "bond0"
     },
     "downs": [],
     "family": "inet",
     "gateway": "128.93.166.62",
     "ifname": "vlan1300",
     "method": "static",
     "mtu": "1500",
     "netmask": 26,
     "order": 5,
     "post_downs": [],
     "pr_ups": [],
     "routes": {
     },
     "ups": []
*******************************************
+ Debnet::Iface[vlan443] =>
   parameters =>
     "address": "192.168.130.201",
     "allows": [],
     "auto": true,
     "aux_ops": {
       "vlan-raw-device": "bond0"
     },
     "downs": [
       "ip route del default via 192.168.120.1 dev vlan443 table private",
       "ip route del 192.168.100.0/24 src 192.168.130.201 dev vlan443 table priva...
       "ip rule del from 192.168.130.201 table private",
       "ip route del 192.168.200.0/21 via 192.168.100.1",
       "ip route del 192.168.101.0/24 via 192.168.100.1",
       "ip route flush cache"
     ],
     "family": "inet",
     "ifname": "vlan443",
     "method": "static",
     "mtu": "9000",
     "netmask": 24,
     "order": 5,
     "post_downs": [],
     "pr_ups": [],
     "routes": {
     },
     "ups": [
       "ip route add 192.168.101.0/24 via 192.168.100.1",
       "ip route add 192.168.200.0/21 via 192.168.100.1",
       "ip rule add from 192.168.130.201 table private",
       "ip route add 192.168.100.0/24 src 192.168.130.201 dev vlan443 table priva...
       "ip route add default via 192.168.120.1 dev vlan443 table private",
       "ip route flush cache"
     ]
*******************************************
  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/ bullseye-backports main
      +deb http://deb.debian.org/debian/ bullseye-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/ bullseye-security main
      +deb http://deb.debian.org/debian-security/ bullseye-security 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/ bullseye-updates main
      +deb http://deb.debian.org/debian/ bullseye-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/ bullseye main
      +deb http://deb.debian.org/debian/ bullseye main contrib non-free
*******************************************
+ File_line[private route table] =>
   parameters =>
     "ensure": "present",
     "line": "42 private",
     "path": "/etc/iproute2/rt_tables"
*******************************************
+ Package[ifenslave] =>
   parameters =>
     "ensure": "present"
*******************************************
+ Package[intel-microcode] =>
   parameters =>
     "ensure": "present"
*******************************************
+ Package[iproute2] =>
   parameters =>
     "ensure": "installed"
*******************************************
+ Package[vlan] =>
   parameters =>
     "ensure": "present"
*******************************************
*** End octocatalog-diff on kafka1.internal.staging.swh.network

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

Edited by Antoine R. Dumont

Merge request reports

Loading