Page MenuHomePhabricator

deployment-cache-upload04/text04 Could not find data item cache::cluster in hiera no default supplied at /etc/puppet/modules/role/manifests/cache/base.pp:17
Closed, ResolvedPublic

Description

root@deployment-cache-upload04:~# puppet agent -tv
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find data item cache::cluster in any Hiera data file and no default supplied at /etc/puppet/modules/role/manifests/cache/base.pp:17 on node deployment-cache-upload04.deployment-prep.eqiad.wmflabs
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
root@deployment-cache-upload04:~#

In production that is defined under the hieradata/role/* hierarchy:

hieradata/role/common/cache/maps.yaml:2:cache::cluster: maps
hieradata/role/common/cache/misc.yaml:2:cache::cluster: misc
hieradata/role/common/cache/text.yaml:2:cache::cluster: text
hieradata/role/common/cache/upload.yaml:2:cache::cluster: upload
modules/role/manifests/cache/base.pp:17:    $cache_cluster = hiera('cache::cluster')

Event Timeline

Krenair renamed this task from deployment-cache-upload04 Could not find data item cache::cluster in hiera no default supplied at /etc/puppet/modules/role/manifests/cache/base.pp:17 to deployment-cache-upload04/text04 Could not find data item cache::cluster in hiera no default supplied at /etc/puppet/modules/role/manifests/cache/base.pp:17.May 27 2016, 5:47 PM

Probably the same issue as this one on deployment-aqs01: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find data item aqs_hosts in any Hiera data file and no default supplied at /etc/puppet/manifests/role/aqs.pp:59 on node deployment-aqs01.deployment-prep.eqiad.wmflabs