Page MenuHomePhabricator

labpuppetmaster logs 'cannot collect exported resources without storeconfigs being set'
Open, NormalPublic

Description

I've found looking at other things that the labpuppetmaster logs a lot of those:

Apr 16 17:18:50 labpuppetmaster1001 puppet-master[6749]: You cannot collect exported resources without storeconfigs being set; the export is ignored at /etc/puppet/modules/monitoring/manifests/exported_nagios_service.pp:26:5

Here some stats:

# zgrep -c 'You cannot collect exported resources without storeconfigs' syslog.*.gz
syslog.2.gz:97408
syslog.3.gz:99309
syslog.4.gz:98667
syslog.5.gz:96937
syslog.6.gz:98238
syslog.7.gz:99629

Event Timeline

Volans created this task.Apr 16 2019, 5:20 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 16 2019, 5:20 PM
colewhite triaged this task as Normal priority.Apr 16 2019, 6:08 PM
bd808 added a subscriber: bd808.Apr 18 2019, 4:18 AM

I'm pretty sure this is expected. We don't have puppetdb or another exported resource collector system on this puppetmaster. Doing so in the multi-tenant environment of Cloud VPS projects has a potential to leak/corrupt data as far as I understand it. A puppet manifest can still include a resource export statement (@@whatever{}) and apply on the target host, but trigger this warning on the puppetmaster. Anything that tries to collect exported resources (Whatever <<| |>>) will receive an empty response.