Jira (PDB-5061) Empty password causes schema exception for migrator-password
Title: Message Title Rob Browning updated an issue PuppetDB / PDB-5061 Empty password causes schema exception for migrator-password Change By: Rob Browning Fix Version/s: PDB 6.18.0 Fix Version/s: PDB 7.5.0 Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.390948.1615578764000.79144.1626134340036%40Atlassian.JIRA.
Jira (PDB-5061) Empty password causes schema exception for migrator-password
Title: Message Title Bogdan Irimie updated an issue PuppetDB / PDB-5061 Empty password causes schema exception for migrator-password Change By: Bogdan Irimie Sprint: ghost-2.06.2021, ghost-16.06.2021, ghost-30.06.2021 , ready for triage 3 Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.390948.1615578764000.69642.1625038500128%40Atlassian.JIRA.
Jira (PDB-5061) Empty password causes schema exception for migrator-password
Title: Message Title Bogdan Irimie updated an issue PuppetDB / PDB-5061 Empty password causes schema exception for migrator-password Change By: Bogdan Irimie Sprint: ghost-2.06.2021, ghost-16.06.2021 , ready for triage 3 Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.390948.1615578764000.57673.1623827820103%40Atlassian.JIRA.
Jira (PDB-5061) Empty password causes schema exception for migrator-password
Title: Message Title Bogdan Irimie updated an issue PuppetDB / PDB-5061 Empty password causes schema exception for migrator-password Change By: Bogdan Irimie Labels: requires_haha_review tsr-pdb-backlog Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.390948.1615578764000.52039.162323733%40Atlassian.JIRA.
Jira (PDB-5061) Empty password causes schema exception for migrator-password
Title: Message Title Bogdan Irimie updated an issue PuppetDB / PDB-5061 Empty password causes schema exception for migrator-password Change By: Bogdan Irimie Sprint: ghost-2.06.2021 , ready for triage 3 Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.390948.1615578764000.45497.1622619000110%40Atlassian.JIRA.
Jira (PDB-5061) Empty password causes schema exception for migrator-password
Title: Message Title Sebastian Miclea assigned an issue to Sebastian Miclea PuppetDB / PDB-5061 Empty password causes schema exception for migrator-password Change By: Sebastian Miclea Assignee: Sebastian Miclea Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.390948.1615578764000.37187.1621493580042%40Atlassian.JIRA.
Jira (PDB-5061) Empty password causes schema exception for migrator-password
Title: Message Title Bogdan Irimie updated an issue PuppetDB / PDB-5061 Empty password causes schema exception for migrator-password Change By: Bogdan Irimie Sprint: HAHA/Grooming ghost-2.06.2021 Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.390948.1615578764000.36142.1621411140032%40Atlassian.JIRA.
Jira (PDB-5061) Empty password causes schema exception for migrator-password
Title: Message Title Bogdan Irimie updated an issue PuppetDB / PDB-5061 Empty password causes schema exception for migrator-password Change By: Bogdan Irimie Story Points: 3 Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.390948.1615578764000.36141.1621411080033%40Atlassian.JIRA.
Jira (PDB-5061) Empty password causes schema exception for migrator-password
Title: Message Title Bogdan Irimie updated an issue PuppetDB / PDB-5061 Empty password causes schema exception for migrator-password Change By: Bogdan Irimie Team: HA Ghost Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.390948.1615578764000.840.1617637020031%40Atlassian.JIRA.
Jira (PDB-5061) Empty password causes schema exception for migrator-password
Title: Message Title Austin Blatt updated an issue PuppetDB / PDB-5061 Empty password causes schema exception for migrator-password Change By: Austin Blatt Labels: tsr-pdb-backlog Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.390948.1615578764000.173085.1616603880042%40Atlassian.JIRA.
Jira (PDB-5061) Empty password causes schema exception for migrator-password
Title: Message Title Austin Blatt updated an issue PuppetDB / PDB-5061 Empty password causes schema exception for migrator-password Change By: Austin Blatt {code}clojure.lang.ExceptionInfo: Value does not match schema: {:migrator-password (not (instance? java.lang.String nil))}at schema.core$validator$fn__6137.invoke(core.clj:155)at schema.core$validate.invokeStatic(core.clj:164)at schema.core$validate.invoke(core.clj:159)at puppetlabs.puppetdb.config$configure_read_db.invokeStatic(config.clj:460)at puppetlabs.puppetdb.config$configure_read_db.invoke(config.clj:442)at puppetlabs.puppetdb.config$configure_dbs.invokeStatic(config.clj:467)at puppetlabs.puppetdb.config$configure_dbs.invoke(config.clj:462)at puppetlabs.puppetdb.config$convert_config.invokeStatic(config.clj:525)at puppetlabs.puppetdb.config$convert_config.invoke(config.clj:521)at puppetlabs.puppetdb.config$process_config_BANG_.invokeStatic(config.clj:683)at puppetlabs.puppetdb.config$process_config_BANG_.invoke(config.clj:679){code}This is not broken in PE because of a convoluted set of issues. Firstly, we appear to only be using our schema validation on the read-database section and not the database section. Secondly PE always writes a {{read-database.ini}} file, which prevents the read database from getting defaulted to the database section which contains {{:migrator-password nil}}In my debugging I was using {{cond->}} to prevent the defaulting to {{nil}}{code}( -> config(update :migrator-username #(or % (:user config)))( cond-> (contains? config :password) (update :migrator-password #(or % (:password config )) {code} Add Comment
Jira (PDB-5061) Empty password causes schema exception for migrator-password
Title: Message Title Austin Blatt updated an issue PuppetDB / PDB-5061 Empty password causes schema exception for migrator-password Change By: Austin Blatt Acceptance Criteria: - When password is unset, migrator-password is not defaulted to nil- Schema validation happens on all database config sections, not just read-database- Config test that password-less database configs are valid Release Notes: Bug Fix Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.390948.1615578764000.165316.1615580040036%40Atlassian.JIRA.
Jira (PDB-5061) Empty password causes schema exception for migrator-password
Title: Message Title Austin Blatt updated an issue PuppetDB / PDB-5061 Empty password causes schema exception for migrator-password Change By: Austin Blatt {code}clojure.lang.ExceptionInfo: Value does not match schema: {:migrator-password (not (instance? java.lang.String nil))}at schema.core$validator$fn__6137.invoke(core.clj:155)at schema.core$validate.invokeStatic(core.clj:164)at schema.core$validate.invoke(core.clj:159)at puppetlabs.puppetdb.config$configure_read_db.invokeStatic(config.clj:460)at puppetlabs.puppetdb.config$configure_read_db.invoke(config.clj:442)at puppetlabs.puppetdb.config$configure_dbs.invokeStatic(config.clj:467)at puppetlabs.puppetdb.config$configure_dbs.invoke(config.clj:462)at puppetlabs.puppetdb.config$convert_config.invokeStatic(config.clj:525)at puppetlabs.puppetdb.config$convert_config.invoke(config.clj:521)at puppetlabs.puppetdb.config$process_config_BANG_.invokeStatic(config.clj:683)at puppetlabs.puppetdb.config$process_config_BANG_.invoke(config.clj:679){code}This is not broken in PE because of a convoluted set of issues. Firstly, we appear to only be using our schema validation on the read-database section and not the database section. Secondly PE always writes a {{read-database.ini}} file, which prevents the read database from getting defaulted to the database section which contains {{:migrator-password nil}} In my debugging I was using {{cond->}} to prevent the defaulting to {{nil}}{code}(cond-> (contains? config :password) (update :migrator-password #(or % (:password config{code} Add Comment
Jira (PDB-5061) Empty password causes schema exception for migrator-password
Title: Message Title Austin Blatt updated an issue PuppetDB / PDB-5061 Empty password causes schema exception for migrator-password Change By: Austin Blatt {code}clojure.lang.ExceptionInfo: Value does not match schema: {:migrator-password (not (instance? java.lang.String nil))}at schema.core$validator$fn__6137.invoke(core.clj:155)at schema.core$validate.invokeStatic(core.clj:164)at schema.core$validate.invoke(core.clj:159)at puppetlabs.puppetdb.config$configure_read_db.invokeStatic(config.clj:460)at puppetlabs.puppetdb.config$configure_read_db.invoke(config.clj:442)at puppetlabs.puppetdb.config$configure_dbs.invokeStatic(config.clj:467)at puppetlabs.puppetdb.config$configure_dbs.invoke(config.clj:462)at puppetlabs.puppetdb.config$convert_config.invokeStatic(config.clj:525)at puppetlabs.puppetdb.config$convert_config.invoke(config.clj:521)at puppetlabs.puppetdb.config$process_config_BANG_.invokeStatic(config.clj:683)at puppetlabs.puppetdb.config$process_config_BANG_.invoke(config.clj:679){code} This is not broken in PE because of a convoluted set of issues. Firstly, we appear to only be using our schema validation on the read-database section and not the database section. Secondly PE always writes a {{read-database.ini}} file, which prevents the read database from getting defaulted to the database section which contains {{:migrator-password nil}} Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Jira (PDB-5061) Empty password causes schema exception for migrator-password
Title: Message Title Austin Blatt created an issue PuppetDB / PDB-5061 Empty password causes schema exception for migrator-password Issue Type: Bug Assignee: Unassigned Created: 2021/03/12 11:52 AM Priority: Normal Reporter: Austin Blatt clojure.lang.ExceptionInfo: Value does not match schema: {:migrator-password (not (instance? java.lang.String nil))} at schema.core$validator$fn__6137.invoke(core.clj:155) at schema.core$validate.invokeStatic(core.clj:164) at schema.core$validate.invoke(core.clj:159) at puppetlabs.puppetdb.config$configure_read_db.invokeStatic(config.clj:460) at puppetlabs.puppetdb.config$configure_read_db.invoke(config.clj:442)