java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Deployed PE on behalf of one of your new large enterprise customers, but hit an issue with Trapper Keeper. Steps to reproduce: 1) Build and Patch RHEL7.2 server 2) Set correct partition sizes and other pre-reqs for PE 2016.2 3) Run installer as per instructions (choose all-in-one install) 4) Everything looks good, but puppet server won't start with an exception in trapperkeeper. Exception: {code} Jul 15 17:30:04 ericcartman java: Exception in thread "main" java.lang.RuntimeException: Service ':FileSyncStorageService' not found Jul 15 17:30:04 ericcartman java: at puppetlabs.trapperkeeper.internal$handle_prismatic_exception_BANG_.invoke(internal.clj:98) Jul 15 17:30:04 ericcartman java: at puppetlabs.trapperkeeper.internal$instantiate$fn__13793.invoke(internal.clj:139) Jul 15 17:30:04 ericcartman java: at puppetlabs.trapperkeeper.internal$instantiate.invoke(internal.clj:136) Jul 15 17:30:04 ericcartman java: at puppetlabs.trapperkeeper.internal$eval14328$build_app_STAR___14337$fn__14338.invoke(internal.clj:542) Jul 15 17:30:04 ericcartman java: at puppetlabs.trapperkeeper.internal$eval14328$build_app_STAR___14337.invoke(internal.clj:510) Jul 15 17:30:04 ericcartman java: at puppetlabs.trapperkeeper.internal$eval14430$boot_services_STAR___14439$fn__14440$fn__14441.invoke(internal.clj:610) Jul 15 17:30:04 ericcartman java: at puppetlabs.trapperkeeper.internal$eval14430$boot_services_STAR___14439$fn__14440.invoke(internal.clj:609) Jul 15 17:30:04 ericcartman java: at puppetlabs.trapperkeeper.internal$eval14430$boot_services_STAR___14439.invoke(internal.clj:604) Jul 15 17:30:04 ericcartman java: at puppetlabs.trapperkeeper.core$eval15252$boot_with_cli_data__15259$fn__15260.invoke(core.clj:130) Jul 15 17:30:04 ericcartman java: at puppetlabs.trapperkeeper.core$eval15252$boot_with_cli_data__15259.invoke(core.clj:95) Jul 15 17:30:04 ericcartman java: at puppetlabs.trapperkeeper.core$eval15281$run__15286$fn__15287.invoke(core.clj:151) Jul 15 17:30:04 ericcartman java: at puppetlabs.trapperkeeper.core$eval15281$run__15286.invoke(core.clj:145) Jul 15 17:30:04 ericcartman java: at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:173) Jul 15 17:30:04 ericcartman java: at clojure.lang.RestFn.invoke(RestFn.java:457) Jul 15 17:30:04 ericcartman java: at clojure.lang.Var.invoke(Var.java:394) Jul 15 17:30:04 ericcartman java: at clojure.lang.AFn.applyToHelper(AFn.java:165) Jul 15 17:30:04 ericcartman java: at clojure.lang.Var.applyTo(Var.java:700) Jul 15 17:30:04 ericcartman java: at clojure.core$apply.invoke(core.clj:630) Jul 15 17:30:04 ericcartman java: at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7) Jul 15 17:30:04 ericcartman java: at clojure.lang.RestFn.invoke(RestFn.java:457) Jul 15 17:30:04 ericcartman java: at clojure.lang.Var.invoke(Var.java:394) Jul 15 17:30:04 ericcartman java: at clojure.lang.AFn.applyToHelper(AFn.java:165) Jul 15 17:30:04 ericcartman java: at clojure.lang.Var.applyTo(Var.java:700) Jul 15 17:30:04 ericcartman java: at clojure.core$apply.invoke(core.clj:630) Jul 15 17:30:04 ericcartman java: at clojure.main$main_opt.invoke(main.clj:316) Jul 15 17:30:04 ericcartman java: at clojure.main$main.doInvoke(main.clj:421) Jul 15 17:30:04 ericcartman java: at clojure.lang.RestFn.invoke(RestFn.java:512) Jul 15 17:30:04 ericcartman java: at clojure.lang.Var.invoke(Var.java:409) Jul 15 17:30:04 ericcartman java: at clojure.lang.AFn.applyToHelper(AFn.java:178) Jul 15 17:30:04 ericcartman java: at clojure.lang.Var.applyTo(Var.java:700) Jul 15 17:30:04 ericcartman java: at clojure.main.main(main.java:37) {code}
    via by Calvin Hartwell,
  • After automated puppetserver upgrade from v2.1 to v2.2, the puppetserver service would not start, with the following complaints found in /var/log/puppetlabs/puppetserver/puppetserver.log: {code} 2015-12-09 11:48:10,343 INFO [main] [o.e.j.u.log] Logging initialized @10554ms 2015-12-09 11:48:17,460 ERROR [main] [p.t.internal] Error during app buildup! java.lang.RuntimeException: Service ':AuthorizationService' not found at puppetlabs.trapperkeeper.internal$handle_prismatic_exception_BANG_.invoke(internal.clj:70) ~[na:na] at puppetlabs.trapperkeeper.internal$instantiate$fn__5589.invoke(internal.clj:111) ~[na:na] at puppetlabs.trapperkeeper.internal$instantiate.invoke(internal.clj:108) ~[na:na] at puppetlabs.trapperkeeper.internal$build_app_STAR_.invoke(internal.clj:426) ~[na:na] at puppetlabs.trapperkeeper.internal$boot_services_STAR_$fn__5789.invoke(internal.clj:463) ~[na:na] at puppetlabs.trapperkeeper.internal$boot_services_STAR_.invoke(internal.clj:462) [na:na] at puppetlabs.trapperkeeper.core$boot_with_cli_data.invoke(core.clj:113) [na:na] at puppetlabs.trapperkeeper.core$run.invoke(core.clj:144) [na:na] at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:159) [na:na] at clojure.lang.RestFn.invoke(RestFn.java:457) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:394) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:165) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:700) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:624) [puppet-server-release.jar:na] at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7) [puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:457) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:394) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:165) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:700) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:624) [puppet-server-release.jar:na] at clojure.main$main_opt.invoke(main.clj:315) [puppet-server-release.jar:na] at clojure.main$main.doInvoke(main.clj:420) [puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:512) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:409) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:178) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:700) [puppet-server-release.jar:na] at clojure.main.main(main.java:37) [puppet-server-release.jar:na] 2015-12-09 11:48:17,475 INFO [Thread-1] [p.t.internal] Shutting down due to JVM shutdown hook. 2015-12-09 11:48:17,476 INFO [Thread-1] [p.t.internal] Beginning shutdown sequence 2015-12-09 11:48:17,476 INFO [Thread-1] [p.t.internal] Finished shutdown sequence {code} Upon learning of Puppetserver 2.2 deprecating previous auth.conf implementation, this was resolved by adding the following line to /etc/puppetlabs/puppetserver/bootstrap.cfg, which previously had been modified to support an external CA: {code} puppetlabs.trapperkeeper.services.authorization.authorization-service/authorization-service {code} The bootstrap.cfg file was modified per [Puppet's own documentation|https://docs.puppetlabs.com/puppetserver/latest/configuration.html#service-bootstrapping] to support an external CA, yet having this file modified appears to have prevented rpm from making a required edit to bootstrap.cfg to enable the new authorization service, causing Puppet Server to fail after the upgrade.
    via by Benjamin West,
  • After automated puppetserver upgrade from v2.1 to v2.2, the puppetserver service would not start, with the following complaints found in /var/log/puppetlabs/puppetserver/puppetserver.log: {code} 2015-12-09 11:48:10,343 INFO [main] [o.e.j.u.log] Logging initialized @10554ms 2015-12-09 11:48:17,460 ERROR [main] [p.t.internal] Error during app buildup! java.lang.RuntimeException: Service ':AuthorizationService' not found at puppetlabs.trapperkeeper.internal$handle_prismatic_exception_BANG_.invoke(internal.clj:70) ~[na:na] at puppetlabs.trapperkeeper.internal$instantiate$fn__5589.invoke(internal.clj:111) ~[na:na] at puppetlabs.trapperkeeper.internal$instantiate.invoke(internal.clj:108) ~[na:na] at puppetlabs.trapperkeeper.internal$build_app_STAR_.invoke(internal.clj:426) ~[na:na] at puppetlabs.trapperkeeper.internal$boot_services_STAR_$fn__5789.invoke(internal.clj:463) ~[na:na] at puppetlabs.trapperkeeper.internal$boot_services_STAR_.invoke(internal.clj:462) [na:na] at puppetlabs.trapperkeeper.core$boot_with_cli_data.invoke(core.clj:113) [na:na] at puppetlabs.trapperkeeper.core$run.invoke(core.clj:144) [na:na] at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:159) [na:na] at clojure.lang.RestFn.invoke(RestFn.java:457) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:394) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:165) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:700) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:624) [puppet-server-release.jar:na] at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7) [puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:457) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:394) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:165) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:700) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:624) [puppet-server-release.jar:na] at clojure.main$main_opt.invoke(main.clj:315) [puppet-server-release.jar:na] at clojure.main$main.doInvoke(main.clj:420) [puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:512) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:409) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:178) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:700) [puppet-server-release.jar:na] at clojure.main.main(main.java:37) [puppet-server-release.jar:na] 2015-12-09 11:48:17,475 INFO [Thread-1] [p.t.internal] Shutting down due to JVM shutdown hook. 2015-12-09 11:48:17,476 INFO [Thread-1] [p.t.internal] Beginning shutdown sequence 2015-12-09 11:48:17,476 INFO [Thread-1] [p.t.internal] Finished shutdown sequence {code} Upon learning of Puppetserver 2.2 deprecating previous auth.conf implementation, this was resolved by adding the following line to /etc/puppetlabs/puppetserver/bootstrap.cfg, which previously had been modified to support an external CA: {code} puppetlabs.trapperkeeper.services.authorization.authorization-service/authorization-service {code} The bootstrap.cfg file was modified per [Puppet's own documentation|https://docs.puppetlabs.com/puppetserver/latest/configuration.html#service-bootstrapping] to support an external CA, yet having this file modified appears to have prevented rpm from making a required edit to bootstrap.cfg to enable the new authorization service, causing Puppet Server to fail after the upgrade.
    via by Benjamin West,
    • java.lang.RuntimeException: Service ':FileSyncStorageService' not found at puppetlabs.trapperkeeper.internal$handle_prismatic_exception_BANG_.invoke(internal.clj:98) at puppetlabs.trapperkeeper.internal$instantiate$fn__13793.invoke(internal.clj:139) at puppetlabs.trapperkeeper.internal$instantiate.invoke(internal.clj:136) at puppetlabs.trapperkeeper.internal$eval14328$build_app_STAR___14337$fn__14338.invoke(internal.clj:542) at puppetlabs.trapperkeeper.internal$eval14328$build_app_STAR___14337.invoke(internal.clj:510) at puppetlabs.trapperkeeper.internal$eval14430$boot_services_STAR___14439$fn__14440$fn__14441.invoke(internal.clj:610) at puppetlabs.trapperkeeper.internal$eval14430$boot_services_STAR___14439$fn__14440.invoke(internal.clj:609) at puppetlabs.trapperkeeper.internal$eval14430$boot_services_STAR___14439.invoke(internal.clj:604) at puppetlabs.trapperkeeper.core$eval15252$boot_with_cli_data__15259$fn__15260.invoke(core.clj:130) at puppetlabs.trapperkeeper.core$eval15252$boot_with_cli_data__15259.invoke(core.clj:95) at puppetlabs.trapperkeeper.core$eval15281$run__15286$fn__15287.invoke(core.clj:151) at puppetlabs.trapperkeeper.core$eval15281$run__15286.invoke(core.clj:145) at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:173) at clojure.lang.RestFn.invoke(RestFn.java:457) at clojure.lang.Var.invoke(Var.java:394) at clojure.lang.AFn.applyToHelper(AFn.java:165) at clojure.lang.Var.applyTo(Var.java:700) at clojure.core$apply.invoke(core.clj:630) at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7) at clojure.lang.RestFn.invoke(RestFn.java:457) at clojure.lang.Var.invoke(Var.java:394) at clojure.lang.AFn.applyToHelper(AFn.java:165) at clojure.lang.Var.applyTo(Var.java:700) at clojure.core$apply.invoke(core.clj:630) at clojure.main$main_opt.invoke(main.clj:316) at clojure.main$main.doInvoke(main.clj:421) at clojure.lang.RestFn.invoke(RestFn.java:512) at clojure.lang.Var.invoke(Var.java:409) at clojure.lang.AFn.applyToHelper(AFn.java:178) at clojure.lang.Var.applyTo(Var.java:700) at clojure.main.main(main.java:37)
    No Bugmate found.