Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value does not match schema: {:disable-update-checking (not (instance? java.lang.String true))} #56

Closed
jurgenmehja opened this issue Mar 15, 2024 · 1 comment · Fixed by #57
Assignees
Labels
bug Something isn't working

Comments

@jurgenmehja
Copy link

Hello,
puppetdb fails to start and outputs this error:

2024-03-15 15:32:16,399 ERROR [p.t.internal] Error during service init!!!
clojure.lang.ExceptionInfo: Value does not match schema: {:disable-update-checking (not (instance? java.lang.String true))}
	at schema.core$validator$fn__1994.invoke(core.clj:155)
	at schema.core$validate.invokeStatic(core.clj:164)
	at schema.core$validate.invoke(core.clj:159)
	at puppetlabs.puppetdb.config$warn_and_validate.invokeStatic(config.clj:60)
	at puppetlabs.puppetdb.config$warn_and_validate.invoke(config.clj:55)
	at puppetlabs.puppetdb.config$validate_and_default_incoming_config.invokeStatic(config.clj:287)
	at puppetlabs.puppetdb.config$validate_and_default_incoming_config.invoke(config.clj:284)
	at puppetlabs.puppetdb.config$configure_puppetdb$fn__18774.invoke(config.clj:519)
	at clojure.core$update.invokeStatic(core.clj:6231)
	at clojure.core$update.invoke(core.clj:6223)
	at puppetlabs.puppetdb.config$configure_puppetdb.invokeStatic(config.clj:516)
	at puppetlabs.puppetdb.config$configure_puppetdb.invoke(config.clj:513)
	at puppetlabs.puppetdb.config$convert_config.invokeStatic(config.clj:536)
	at puppetlabs.puppetdb.config$convert_config.invoke(config.clj:532)
	at puppetlabs.puppetdb.config$process_config_BANG_.invokeStatic(config.clj:700)
	at puppetlabs.puppetdb.config$process_config_BANG_.invoke(config.clj:690)
	at puppetlabs.puppetdb.config$init_config_service.invokeStatic(config.clj:729)
	at puppetlabs.puppetdb.config$init_config_service.invoke(config.clj:727)
	at puppetlabs.puppetdb.config$create_defaulted_config_service$reify__18974$service_fnk__16601__auto___positional$reify__18983$fn__18984.invoke(config.clj:758)
	at puppetlabs.puppetdb.utils$call_unless_shutting_down.invokeStatic(utils.clj:379)
	at puppetlabs.puppetdb.utils$call_unless_shutting_down.invoke(utils.clj:376)
	at puppetlabs.puppetdb.config$create_defaulted_config_service$reify__18974$service_fnk__16601__auto___positional$reify__18983.init(config.clj:756)
	at puppetlabs.trapperkeeper.services$fn__16425$G__16417__16428.invoke(services.clj:7)
	at puppetlabs.trapperkeeper.services$fn__16425$G__16416__16432.invoke(services.clj:7)
	at puppetlabs.trapperkeeper.internal$fn__16939$run_lifecycle_fn_BANG___16946$fn__16947.invoke(internal.clj:196)
	at puppetlabs.trapperkeeper.internal$fn__16939$run_lifecycle_fn_BANG___16946.invoke(internal.clj:179)
	at puppetlabs.trapperkeeper.internal$fn__16968$run_lifecycle_fns__16973$fn__16974.invoke(internal.clj:229)
	at puppetlabs.trapperkeeper.internal$fn__16968$run_lifecycle_fns__16973.invoke(internal.clj:206)
	at puppetlabs.trapperkeeper.internal$fn__17597$build_app_STAR___17606$fn$reify__17618.init(internal.clj:614)
	at puppetlabs.trapperkeeper.internal$fn__17647$boot_services_for_app_STAR__STAR___17654$fn__17655$fn__17657.invoke(internal.clj:648)
	at puppetlabs.trapperkeeper.internal$fn__17647$boot_services_for_app_STAR__STAR___17654$fn__17655.invoke(internal.clj:647)
	at puppetlabs.trapperkeeper.internal$fn__17647$boot_services_for_app_STAR__STAR___17654.invoke(internal.clj:641)
	at clojure.core$partial$fn__5910.invoke(core.clj:2647)
	at puppetlabs.trapperkeeper.internal$fn__17013$initialize_lifecycle_worker__17024$fn__17025$fn__17188$state_machine__10389__auto____17213$fn__17216.invoke(internal.clj:249)
	at puppetlabs.trapperkeeper.internal$fn__17013$initialize_lifecycle_worker__17024$fn__17025$fn__17188$state_machine__10389__auto____17213.invoke(internal.clj:249)
	at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
	at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
	at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
	at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
	at clojure.core.async$ioc_alts_BANG_$fn__10618.invoke(async.clj:421)
	at clojure.core.async$do_alts$fn__10557$fn__10560.invoke(async.clj:288)
	at clojure.core.async.impl.channels.ManyToManyChannel$fn__5230$fn__5231.invoke(channels.clj:99)
	at clojure.lang.AFn.run(AFn.java:22)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at clojure.core.async.impl.concurrent$counted_thread_factory$reify__5133$fn__5134.invoke(concurrent.clj:29)
	at clojure.lang.AFn.run(AFn.java:22)
	at java.base/java.lang.Thread.run(Thread.java:840)
2024-03-15 15:32:16,402 INFO  [p.t.internal] Beginning shutdown sequence
2024-03-15 15:32:16,411 INFO  [p.p.c.services] Shutdown request received; puppetdb exiting.
2024-03-15 15:32:16,414 INFO  [p.t.s.w.jetty10-service] Shutting down web server(s).
2024-03-15 15:32:16,418 INFO  [p.t.s.s.scheduler-service] Shutting down Scheduler Service
2024-03-15 15:32:16,419 INFO  [o.q.c.QuartzScheduler] Scheduler 5229c342-8f15-4c3d-95ea-423eda913e2d_$_NON_CLUSTERED shutting down.
2024-03-15 15:32:16,420 INFO  [o.q.c.QuartzScheduler] Scheduler 5229c342-8f15-4c3d-95ea-423eda913e2d_$_NON_CLUSTERED paused.
2024-03-15 15:32:16,845 INFO  [o.q.c.QuartzScheduler] Scheduler 5229c342-8f15-4c3d-95ea-423eda913e2d_$_NON_CLUSTERED shutdown complete.
2024-03-15 15:32:16,846 INFO  [p.t.s.s.scheduler-service] Scheduler Service shutdown complete.
2024-03-15 15:32:16,850 INFO  [p.t.internal] Finished shutdown sequence
Execution error (ExceptionInfo) at schema.core/validator$fn (core.clj:155).
Value does not match schema: {:disable-update-checking (not (instance? java.lang.String true))}

I think it's related to #53 because if you put 'true' inside quotes it works flawlessly

puppetdb: {
  disable-update-checking: 'true'
}
@christianscottINTELLIFLO

I am seeing the same error and behavior. Adding the single quotes and fixing #53 allows the container to start.

@rwaffen rwaffen added the bug Something isn't working label Mar 18, 2024
@rwaffen rwaffen self-assigned this Mar 18, 2024
@rwaffen rwaffen moved this to In Progress in Crafty Overview Mar 19, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Crafty Overview Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment