Jira (PDB-5333) Allow retrieving the pdb version without a db query
Title: Message Title Austin Blatt updated an issue PuppetDB / PDB-5333 Allow retrieving the pdb version without a db query Change By: Austin Blatt Acceptance Criteria: * Add a versioned endpoint that can returns the PuppetDB version (in json) without querying the database.* tests Story Points: 2 This should go in {{6.x}} and {{main}} unlike the rest of the work in this Epic. 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
Jira (PDB-5337) Perform basic performance tests after adding workspaces
Title: Message Title Rob Browning updated an issue PuppetDB / PDB-5337 Perform basic performance tests after adding workspaces Change By: Rob Browning Sprint: HAHA/Grooming 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.420126.1634665592000.158474.1634665680077%40Atlassian.JIRA.
Jira (PDB-5337) Perform basic performance tests after adding workspaces
Title: Message Title Rob Browning created an issue PuppetDB / PDB-5337 Perform basic performance tests after adding workspaces Issue Type: Improvement Assignee: Unassigned Components: PuppetDB Created: 2021/10/19 10:46 AM Priority: Normal Reporter: Rob Browning 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
Jira (PDB-5326) Add database storage for workspaces
Title: Message Title Austin Blatt updated an issue PuppetDB / PDB-5326 Add database storage for workspaces Change By: Austin Blatt Acceptance Criteria: * New migration to add workspaces and workspace_memberships tables* Ensure proper primary key/foreign key constraints* Add a migration schema diff testDoesn't need* A migration test with data because the tables are totally new. Story Points: 3 Create new tables for storing workspace information. We will need to store workspace uuid's with their {{producer_timestamp}}'s (in the {{workspaces}} table. And a table of {{certname}}, {{workspace_uuid}} membership pairs in {{workspace_memberships}}Q: Will this be on {{6.x}} and {{main}}, or just {{main}}?A: {{main}} to reduce LTS risk Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Jira (PDB-5336) Create migration 75 schema diff test
Title: Message Title Austin Blatt created an issue PuppetDB / PDB-5336 Create migration 75 schema diff test Issue Type: Task Assignee: Unassigned Created: 2021/10/19 10:34 AM Priority: Normal Reporter: Austin Blatt Migration 75 has a migration test, but not a schema-diff test. Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Jira (PDB-5335) Add workspace support to the benchmark command
Title: Message Title Rob Browning updated an issue PuppetDB / PDB-5335 Add workspace support to the benchmark command Change By: Rob Browning Sprint: HAHA/Grooming 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.420119.163466270.158408.1634662800128%40Atlassian.JIRA.
Jira (PDB-5335) Add workspace support to the benchmark command
Title: Message Title Rob Browning created an issue PuppetDB / PDB-5335 Add workspace support to the benchmark command Issue Type: Improvement Assignee: Unassigned Components: PuppetDB Created: 2021/10/19 9:58 AM Priority: Normal Reporter: Rob Browning 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
Jira (PUP-11323) Puppet agent runs in environment specified on CLI when not in an agent specified environment
Title: Message Title Josh Cooper commented on PUP-11323 Re: Puppet agent runs in environment specified on CLI when not in an agent specified environment Just confirming that the agent is working as intended. We changed how this process works to fix several customer reported issues where agent runs sometimes fail when the environment changes. We now optimize for the case where the environment doesn't change. If you're running puppet agent -t and the agent is allowed to select its own environment, then it will usually only pluginsync once. The number of times depends on what facts the agent already has at the start of the run and whether classification is based on those facts. If you're running puppet agent -t but the agent is NOT allowed to switch environments, then it may pluginsync twice. 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.419818.1634552014000.158395.1634662500248%40Atlassian.JIRA.
Jira (PDB-5310) Add r10k to the open source Puppet Server
Title: Message Title Andrei Filipovici commented on PDB-5310 Re: Add r10k to the open source Puppet Server Documentation available at: https://confluence.puppetlabs.com/display/ETR/Open+source+R10K+deployment 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.418586.1633508862000.158202.1634655300037%40Atlassian.JIRA.
Jira (FACT-3078) custom-dir is silently skipped if it is not absolute path
Title: Message Title Ciprian Badescu commented on FACT-3078 Re: custom-dir is silently skipped if it is not absolute path external-dir works with both absolute and relative path, but custom-dir only with absolute path # more *fact/* :: custom-fact/mycustomfact.rb :: Facter.add('mycustomfact') do setcode do '54321' end end :: external-fact/myfact.txt :: myexternalfact=12345 # facter --external-dir external-fact/ --custom-dir custom-fact/ mycustomfact myexternalfact
Jira (FACT-3078) custom-dir is silently skipped if it is not absolute path
Title: Message Title Ciprian Badescu updated an issue Facter / FACT-3078 custom-dir is silently skipped if it is not absolute path Change By: Ciprian Badescu Labels: needs_repro 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.418606.1633517118000.158174.1634654040121%40Atlassian.JIRA.
Jira (PUP-11323) Puppet agent runs in environment specified on CLI when not in an agent specified environment
Title: Message Title Ciprian Badescu commented on PUP-11323 Re: Puppet agent runs in environment specified on CLI when not in an agent specified environment Yes, in this specific case we pluginsync twice compared to the alternative used in previous version to initially classify the node based on puppetdb facts (which could have other problems e.g. on initial puppet run) Josh Cooper, any opinion on this? 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.419818.1634552014000.158143.163464924%40Atlassian.JIRA.
Jira (PUP-11323) Puppet agent runs in environment specified on CLI when not in an agent specified environment
Title: Message Title Elaine McCloskey commented on PUP-11323 Re: Puppet agent runs in environment specified on CLI when not in an agent specified environment Hi Ciprian Badescu, thanks for confirming this was by design. I don't forsee it causing issues since it seems like it's only affecting puppet runs when the environment is specified on the command and I don't think many customers run puppet this way. It is a change in behaviour between minor versions and running pluginsync twice doesn't seem as efficient as the previous method of immediately determining the correct server-side environment. 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.419818.1634552014000.158113.1634647860027%40Atlassian.JIRA.
Jira (FACT-3079) Caching not working for some custom facts
Title: Message Title Ciprian Badescu updated an issue Facter / FACT-3079 Caching not working for some custom facts Change By: Ciprian Badescu Labels: needs_repro 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.418624.1633530707000.158104.1634647260030%40Atlassian.JIRA.
Jira (FACT-3079) Caching not working for some custom facts
Title: Message Title Ciprian Badescu commented on FACT-3079 Re: Caching not working for some custom facts Reproduced this bellow: # cat /etc/puppetlabs/facter/facter.conf facts : { ttls : [ { "yum" : 6 hours }, ] } fact-groups : { yum : ["yum_package_updates", "yum_has_updates", "yum_updates"], } # date Tue Oct 19 12:30:48 UTC 2021 # ls -l /opt/puppetlabs/facter/cache/cached_facts/yum -rw-r--r-- 1 root root 6959 Oct 19 12:29 /opt/puppetlabs/facter/cache/cached_facts/yum
Jira (PDB-5314) Extract old catalog from PDB
Title: Message Title Sebastian Miclea commented on PDB-5314 Re: Extract old catalog from PDB Get facts for one node: http://localhost:8080/pdb/query/v4/facts?query=["=", "certname", "host-1"] Get facts for one node in environment http://localhost:8080/pdb/query/v4/environments/production/facts?query=["=", "certname", "host-1"] Get latest catalog for one node in environment: http://localhost:8080/pdb/query/v4/catalogs?query=["and", ["=","certname","host-1"],["=", "environment", "production"]]_by=[{"field": "producer_timestamp", "order": "desc"}]=1 Add Comment
Jira (PUP-11323) Puppet agent runs in environment specified on CLI when not in an agent specified environment
Title: Message Title Ciprian Badescu commented on PUP-11323 Re: Puppet agent runs in environment specified on CLI when not in an agent specified environment Elaine McCloskey, it will do pluginsync twice in this specific case, first for testing environment and a second time for production. It is like that by design. Is it causes any trouble? 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.419818.1634552014000.158028.1634636460023%40Atlassian.JIRA.
Jira (PUP-11323) Puppet agent runs in environment specified on CLI when not in an agent specified environment
Title: Message Title Elaine McCloskey commented on PUP-11323 Re: Puppet agent runs in environment specified on CLI when not in an agent specified environment Hi Ciprian Badescu, I had missed that message among the output. The behaviour is still different from 6.24 and it makes changes before reverting them when running in production. Notice: /File[/opt/puppetlabs/puppet/cache/lib/puppet/util/ini_file]/ensure: removed Notice: /File[/opt/puppetlabs/puppet/cache/lib/puppet/util/ini_file.rb]/ensure: removed Notice: /File[/opt/puppetlabs/puppet/cache/lib/puppet/util/postgresql_validator.rb]/ensure: removed Notice: /File[/opt/puppetlabs/puppet/cache/lib/puppet/util/setting_value.rb]/ensure: removed Notice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/bodeco]/ensure: removed Notice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/chocolatey]/ensure: removed Notice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/puppetlabs/registry.rb]/ensure: removed Notice: /File[/opt/puppetlabs/puppet/cache/lib/pwsh]/ensure: removed Notice: /File[/opt/puppetlabs/puppet/cache/lib/pwsh.rb]/ensure: removed Notice: /File[/opt/puppetlabs/puppet/cache/lib/ruby-pwsh.rb]/ensure: removed Notice:
Jira (PUP-11323) Puppet agent runs in environment specified on CLI when not in an agent specified environment
Title: Message Title Ciprian Badescu commented on PUP-11323 Re: Puppet agent runs in environment specified on CLI when not in an agent specified environment Elaine McCloskey, the run starts with 'testing' environment, but later on the environment is changed to production: Notice: Local environment: 'testing' doesn't match server specified environment 'production', restarting agent run with environment 'production' MARCIN BOJKO , can you also check for the above message or provide logs? 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.419818.1634552014000.157955.1634631420032%40Atlassian.JIRA.
Jira (PUP-7362) Fail fast if there are no facts for a node
Title: Message Title Ciprian Badescu commented on PUP-7362 Re: Fail fast if there are no facts for a node I think that in ENC case, failing if there are no facts it will not allow lookup action while this might be a valid user scenario. Thoughts? 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.180850.1489674907000.157932.1634628300031%40Atlassian.JIRA.
Jira (PUP-11323) Puppet agent runs in environment specified on CLI when not in an agent specified environment
Title: Message Title MARCIN BOJKO commented on PUP-11323 Re: Puppet agent runs in environment specified on CLI when not in an agent specified environment Same behavior on Windows - puppet agent stops reacting on ENC environment settings and goes with default one. — version: config: puppet: 6.25.0 application: run_mode: agent initial_environment: production converged_environment: production resources: changed: 0 corrective_change: 0 failed: 0 failed_to_restart: 0 out_of_sync: 0 restarted: 0 scheduled: 0 skipped: 0 total: 0 time: fact_generation: 4.15452779869 plugin_sync: 5.89601320198 startup_time: 1.261798 total: 13.344219 last_run: 1634548638 changes: total: 0 events: failure: 0 success: 0 total: 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.419818.1634552014000.157931.163462542%40Atlassian.JIRA.