PuppetDB failing to start up with bizarre complaint

25 views
Skip to first unread message

Peter Berghold

unread,
May 22, 2019, 3:33:11 PM5/22/19
to puppet...@googlegroups.com
Using the puppetlabs/puppetdb module to manage PuppetDB I'm seeing way to much red text and PuppetDB is not "refreshing" meaning restarting. It is failing with an error message 
 java.lang.IllegalArgumentException: Specified bootstrap config file does not exist: '/etc/puppetlabs/puppetdb/bootstrap.cfg'

and yet the file is really there and contains:

# This file is used by the application framework (trapperkeeper) to
# determine what services should be loaded at boot time.
# For more info, see:
#  https://github.com/puppetlabs/trapperkeeper/wiki/Bootstrapping

# Web Server
puppetlabs.trapperkeeper.services.webserver.jetty9-service/jetty9-service

# Webrouting
puppetlabs.trapperkeeper.services.webrouting.webrouting-service/webrouting-service

# TK status
puppetlabs.trapperkeeper.services.metrics.metrics-service/metrics-webservice
puppetlabs.trapperkeeper.services.status.status-service/status-service
puppetlabs.trapperkeeper.services.scheduler.scheduler-service/scheduler-service

# PuppetDB Services
puppetlabs.puppetdb.cli.services/puppetdb-service
puppetlabs.puppetdb.command/command-service
puppetlabs.puppetdb.pdb-routing/maint-mode-service
puppetlabs.puppetdb.pdb-routing/pdb-routing-service
puppetlabs.puppetdb.config/config-service

# NREPL
puppetlabs.trapperkeeper.services.nrepl.nrepl-service/nrepl-service

# Dashboard redirect: remove to disable
puppetlabs.puppetdb.dashboard/dashboard-redirect-service

so... what is really going on here? 
-- 

Peter L. Berghold                       Salty....@gmail.com

http://devops.berghold.net


jcbollinger

unread,
May 23, 2019, 8:46:39 AM5/23/19
to Puppet Users


On Wednesday, May 22, 2019 at 2:33:11 PM UTC-5, Salty Old Cowdawg wrote:
Using the puppetlabs/puppetdb module to manage PuppetDB I'm seeing way to much red text and PuppetDB is not "refreshing" meaning restarting. It is failing with an error message 
 java.lang.IllegalArgumentException: Specified bootstrap config file does not exist: '/etc/puppetlabs/puppetdb/bootstrap.cfg'

and yet the file is really there and contains:

If PuppetDB complains that a file does not exist then what it has actually detected is very likely something slightly different: that it cannot open that file.  That can happen when the file exists if there is an access control problem, which is very likely your situation.  Check the ownership and mode of the file in question.  If you are running SELinux in enforcing mode, then also check your system log or specialized SELinux monitoring tools for signs that access has been denied by that mechanism.


John

Reply all
Reply to author
Forward
0 new messages