Skip to content

Adapt the prometheus rabbitmq plugin for bullseye

On bullseye (11), it's installed along the rabbitmq-server >= 3.8. We need to adapt the profile to install it correctly.

Related to T3615

Test Plan

octo-diff (didn't succeed to test on vagrant :()

  • met
diff origin/production/met.internal.softwareheritage.org current/met.internal.softwareheritage.org
*******************************************
- File[/etc/default/prometheus-rabbitmq-exporter]
*******************************************
- Package[prometheus-rabbitmq-exporter]
*******************************************
  Profile::Prometheus::Export_scrape_config[rabbitmq] =>
   parameters =>
     target =>
      - 192.168.100.110:9419
      + 192.168.100.110:15692
*******************************************
+ Rabbitmq_plugin[rabbitmq_prometheus] =>
   parameters =>
     "ensure": "present"
*******************************************
- Service[prometheus-rabbitmq-exporter]
*******************************************
*** End octocatalog-diff on met.internal.softwareheritage.org
  • saatchi
*** Running octocatalog-diff on host saatchi.internal.softwareheritage.org
I, [2021-10-06T17:46:28.503284 #3426083]  INFO -- : Catalogs compiled for saatchi.internal.softwareheritage.org
I, [2021-10-06T17:46:28.806850 #3426083]  INFO -- : Diffs computed for saatchi.internal.softwareheritage.org
I, [2021-10-06T17:46:28.806889 #3426083]  INFO -- : No differences
*** End octocatalog-diff on saatchi.internal.softwareheritage.org

Migrated from D6367 (view on Phabricator)

Merge request reports