PuppetMaster - PuppetDB not working - PDBMigrationsPool - Connection is not available

asked 2018-05-06 15:13:25 -0500

salientdigital gravatar image

updated 2018-05-06 17:05:12 -0500

I'm trying to install Puppet OSE with PuppetDB. Followed these docs to connect and configure them both.

When I

sudo tail -f /var/log/puppetlabs/puppetdb/puppetdb.log

Here's the issue:

2018-05-06 13:10:04,068 INFO  [c.z.h.HikariDataSource] PDBMigrationsPool - Starting...
2018-05-06 13:10:04,069 INFO  [c.z.h.HikariDataSource] PDBMigrationsPool - Start completed.
2018-05-06 13:10:19,069 INFO  [c.z.h.HikariDataSource] PDBMigrationsPool - Shutdown initiated...
2018-05-06 13:10:22,791 INFO  [c.z.h.HikariDataSource] PDBMigrationsPool - Shutdown completed.
2018-05-06 13:10:22,791 ERROR [p.p.c.services] Error while attempting to create connection pool
java.sql.SQLTransientConnectionException: PDBMigrationsPool - Connection is not available, request timed out after 15000ms.
    at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:602)
    at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:195)
    at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:145)
    at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:85)
    at clojure.java.jdbc$get_connection.invokeStatic(jdbc.clj:307)
    at clojure.java.jdbc$get_connection.invoke(jdbc.clj:197)
    at puppetlabs.puppetdb.cli.services$initialize_schema.invokeStatic(services.clj:312)
    at puppetlabs.puppetdb.cli.services$initialize_schema.invoke(services.clj:306)
    at puppetlabs.puppetdb.cli.services$init_with_db$fn__36527.invoke(services.clj:345)
    at puppetlabs.puppetdb.cli.services$init_with_db.invokeStatic(services.clj:341)
    at puppetlabs.puppetdb.cli.services$init_with_db.invoke(services.clj:325)
    at puppetlabs.puppetdb.cli.services$start_puppetdb.invokeStatic(services.clj:401)
    at puppetlabs.puppetdb.cli.services$start_puppetdb.invoke(services.clj:379)
    at puppetlabs.puppetdb.cli.services$reify__36637$service_fnk__19298__auto___positional$reify__36648.start(services.clj:482)
    at puppetlabs.trapperkeeper.services$eval19100$fn__19114$G__19090__19117.invoke(services.clj:9)
    at puppetlabs.trapperkeeper.services$eval19100$fn__19114$G__19089__19121.invoke(services.clj:9)
    at puppetlabs.trapperkeeper.internal$eval19655$run_lifecycle_fn_BANG___19662$fn__19663.invoke(internal.clj:198)
    at puppetlabs.trapperkeeper.internal$eval19655$run_lifecycle_fn_BANG___19662.invoke(internal.clj:181)
    at puppetlabs.trapperkeeper.internal$eval19684$run_lifecycle_fns__19689$fn__19690.invoke(internal.clj:231)
    at puppetlabs.trapperkeeper.internal$eval19684$run_lifecycle_fns__19689.invoke(internal.clj:208)
    at puppetlabs.trapperkeeper.internal$eval20166$build_app_STAR___20175$fn$reify__20185.start(internal.clj:586)
    at puppetlabs.trapperkeeper.internal$eval20212$boot_services_for_app_STAR__STAR___20219$fn__20220$fn__20222.invoke(internal.clj:612)
    at puppetlabs.trapperkeeper.internal$eval20212$boot_services_for_app_STAR__STAR___20219$fn__20220.invoke(internal.clj:610)
    at puppetlabs.trapperkeeper.internal$eval20212$boot_services_for_app_STAR__STAR___20219.invoke(internal.clj:604)
    at clojure.core$partial$fn__4761.invoke(core.clj:2521)
    at puppetlabs.trapperkeeper.internal$eval19725$initialize_lifecycle_worker__19736$fn__19737$fn__19833$state_machine__14946__auto____19834$fn__19836.invoke(internal.clj:251)
    at puppetlabs.trapperkeeper.internal$eval19725$initialize_lifecycle_worker__19736$fn__19737$fn__19833$state_machine__14946__auto____19834.invoke(internal.clj:251)
    at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:1012)
    at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:1011)
    at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:1016)
    at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:1014)
    at clojure.core.async$ioc_alts_BANG_$fn__15114.invoke(async.clj:383)
    at clojure.core.async$do_alts$fn__15060$fn__15063.invoke(async.clj:252)
    at clojure.core.async.impl.channels.ManyToManyChannel$fn__9870$fn__9871.invoke(channels.clj:95)
    at clojure.lang.AFn.run(AFn.java:22)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker ...
(more)
edit retag flag offensive close merge delete