Page MenuHomePhabricator

No Puppet resources found on instance deployment-maps-master02 on project deployment-prep
Closed, ResolvedPublicBUG REPORT

Description

Common information

  • summary: No Puppet resources found on instance deployment-maps-master02 on project deployment-prep
  • alertname: PuppetAgentNoResources
  • instance: deployment-maps-master02
  • job: node
  • project: deployment-prep
  • severity: warning

Firing alerts


  • summary: No Puppet resources found on instance deployment-maps-master02 on project deployment-prep
  • alertname: PuppetAgentNoResources
  • instance: deployment-maps-master02
  • job: node
  • project: deployment-prep
  • severity: warning
  • Source

Event Timeline

bd808@deployment-maps-master02:~$ sudo -i puppet agent -tv
Info: Using environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Function lookup() did not find a value for the name 'profile::maps::osm_master::tegola_pass' (file: /srv/puppet_code/environments/production/modules/profile/manifests/maps/osm_master.pp, line: 2) on node deployment-maps-master02.deployment-prep.eqiad1.wikimedia.cloud
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

https://gerrit.wikimedia.org/r/plugins/gitiles/cloud/instance-puppet/+/cf5b918c64be981daafd977120f4e5b9503344e9%5E%21/#F0

diff --git a/deployment-prep/deployment-maps.yaml b/deployment-prep/deployment-maps.yaml
index 6e679c0..8119773 100644
--- a/deployment-prep/deployment-maps.yaml
+++ b/deployment-prep/deployment-maps.yaml

@@ -12,6 +12,7 @@
 profile::maps::osm_master::disable_tile_generation_timer: false
 profile::maps::osm_master::disable_waterlines_import_timer: false
 profile::maps::osm_master::enable_tile_invalidation: true
+profile::maps::osm_master::tegola_pass: T411004 placeholder to make puppet compile
 profile::maps::osm_master::use_replication_slots: true
 profile::maps::postgresql_common::maintenance_work_mem: 3GB
 profile::maps::postgresql_common::shared_buffers: 4GB

That makes puppet work again, but I think it is overriding a secret that is set elsewhere under a different hiera path.

https://gerrit.wikimedia.org/r/plugins/gitiles/cloud/instance-puppet/+/b795bb5f8a5343463464fcf19e66af14973dad01%5E%21/#F0

diff --git a/deployment-prep/deployment-maps.yaml b/deployment-prep/deployment-maps.yaml
index 8119773..6e679c0 100644
--- a/deployment-prep/deployment-maps.yaml
+++ b/deployment-prep/deployment-maps.yaml

@@ -12,7 +12,6 @@
 profile::maps::osm_master::disable_tile_generation_timer: false
 profile::maps::osm_master::disable_waterlines_import_timer: false
 profile::maps::osm_master::enable_tile_invalidation: true
-profile::maps::osm_master::tegola_pass: T411004 placeholder to make puppet compile
 profile::maps::osm_master::use_replication_slots: true
 profile::maps::postgresql_common::maintenance_work_mem: 3GB
 profile::maps::postgresql_common::shared_buffers: 4GB

https://gerrit.wikimedia.org/r/plugins/gitiles/cloud/instance-puppet/+/79abcec6a97ca22d117d5b31e515ad63e4fe8fe9%5E%21/#F0

diff --git a/deployment-prep/_.yaml b/deployment-prep/_.yaml
index 1f3ad33..444f6bc 100644
--- a/deployment-prep/_.yaml
+++ b/deployment-prep/_.yaml

@@ -688,6 +688,7 @@
 profile::maps::osm_master::osmimporter_pass: shapfiwunogdujye
 profile::maps::osm_master::osmupdater_pass: FighnaHiSluEkjue
 profile::maps::osm_master::replication_pass: JokpypNivgoackec
+profile::maps::osm_master::tegola_pass: SherbevawshocVie
 profile::maps::osm_master::tilerator_pass: SherbevawshocVie
 profile::maps::osm_master::tileratorui_pass: CreympUxwodyark1
 profile::mediawiki::jobrunner::default_php_version: '8.1'
bd808 claimed this task.
bd808 changed the subtype of this task from "Task" to "Bug Report".