Jira (PDB-5549) PuppetDB 7.11.1: /pdb/admin/v1/archive returns 257 bytes
Title: Message Title Sebastian Döring created an issue PuppetDB / PDB-5549 PuppetDB 7.11.1: /pdb/admin/v1/archive returns 257 bytes Issue Type: Bug Affects Versions: PDB 7.11.0 Assignee: Unassigned Components: PuppetDB \ API Created: 2022/10/11 2:03 AM Priority: Normal Reporter: Sebastian Döring On our puppetdb instance with around ~3000 nodes the puppetdb export stopped working. The behaviour occurs with both the puppetdb cli gem (puppet db export ) and when accessing the api directly: root@issopuppet7dbmwbsproda01:~# curl -X GET http://localhost:8080/pdb/admin/v1/archive -o puppetdb-export.tgz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 258 100 258 0 0 2015 0 --:--:-- --:--
Jira (PDB-5549) PuppetDB 7.11.1: /pdb/admin/v1/archive returns 257 bytes
Title: Message Title Sebastian Döring commented on PDB-5549 Re: PuppetDB 7.11.1: /pdb/admin/v1/archive returns 257 bytes I enabled in /etc/puppetlabs/puppetdb/logback.xml, but my untrained eyes don't notice anything suspicious or obviously wrong: 2022-10-11T15:57:20.799+02:00 INFO [p.p.export] Export triggered for PuppetDB 2022-10-11T15:57:20.801+02:00 DEBUG [o.e.j.s.HttpOutput] write(array HeapByteBuffer@238840f2[p=0,l=10,c=1024,r=10]={<<<\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xFf>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00}) 2022-10-11T15:57:20.801+02:00 DEBUG [o.e.j.s.HttpOutput] write(array) s=OPEN,api=BLOCKING,sc=false,e=null aggregated !flush HeapByteBuffer@397d38c0[p=0,l=10,c=32768, r=10]={<<<\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xFf>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00} 2022-10-11T15:57:20.819+02:00 INFO [p.p.query-eng] PDBQuery:935142ef-95d8-44d2-abf3-92266305ccec:{"ast":["from","nodes-with-fact-expiration"],"origin":null} 2022-10-11T15:57:20.856+02:00 DEBUG [p.p.q.engine] Attempting to drop unused joins from query 2022-10-11T15:57:20.864+02:00 INFO [p.p.query-eng] PDBQuery:935142ef-95d8-44d2-abf3-92266305ccec:{"origin":null,"params":[],"sql":"WITH inactive_nodes AS (SELECT certname FROM certnames WHERE (deactivated IS NOT NULL AND deactivated >'2022-04-14T13:57:20.859Z') OR (expired IS NOT NULL and expired > '2022-04-14T13:57:20.859Z')), not_active_nodes AS (SELECT certname FROM certnames WHERE (deactivated IS NOT NULL OR expired IS NOT NULL)) SELECT reports.corrective_change AS \"latest_report_corrective_change\", certnames.deactivated AS \"deactivated\", certnames.expired AS \"expired\", reports_environment.environment AS \"report_environment\", certnames.certname AS \"ce
Jira (HI-635) Test against Ruby 3.2 preview 1
Title: Message Title Josh Cooper commented on HI-635 Re: Test against Ruby 3.2 preview 1 Passed in https://github.com/puppetlabs/hiera/actions/runs/3220916000 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.470546.1665162935000.44766.1665501900044%40Atlassian.JIRA.
Jira (HI-635) Test against Ruby 3.2 preview 1
Title: Message Title Josh Cooper updated an issue Hiera / HI-635 Test against Ruby 3.2 preview 1 Change By: Josh Cooper Release Notes: Not Needed Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.470546.1665162935000.44769.1665501960149%40Atlassian.JIRA.
Jira (HI-635) Test against Ruby 3.2 preview 1
Title: Message Title Josh Cooper updated an issue Hiera / HI-635 Test against Ruby 3.2 preview 1 Change By: Josh Cooper Fix Version/s: HI 3.11.0 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.470546.1665162935000.44768.1665501960097%40Atlassian.JIRA.
Jira (PUP-11406) Update tests for Ruby 3.1
Title: Message Title Aria Li updated an issue Puppet / PUP-11406 Update tests for Ruby 3.1 Change By: Aria Li Sprint: Phoenix 2022-10- 26 12 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.428591.164140314.45126.1665509340048%40Atlassian.JIRA.
Jira (PUP-11635) dnfmodule provider fails, preventing updating catalog
Title: Message Title Vadym Chepkov commented on PUP-11635 Re: dnfmodule provider fails, preventing updating catalog I tested on puppet 7 and it works fine, I guess the problem is confined to puppet 6 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.470041.1664551063000.45128.1665509580043%40Atlassian.JIRA.
Jira (FACT-3153) Test against Ruby 3.2 on Windows
Title: Message Title Michael Hashizume updated an issue Facter / FACT-3153 Test against Ruby 3.2 on Windows Change By: Michael Hashizume Summary: Test against Ruby 3.2 preview 2 on Windows Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.470006.1664472016000.45183.1665514020043%40Atlassian.JIRA.
Jira (PDB-4937) Add a default statement timeout to user queries
Title: Message Title Alvin Rodis updated an issue PuppetDB / PDB-4937 Add a default statement timeout to user queries Change By: Alvin Rodis Labels: jira_escalated Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.375530.1603302604000.45211.1665516780050%40Atlassian.JIRA.
Jira (PDB-4937) Add a default statement timeout to user queries
Title: Message Title Charlie Sharpsteen updated an issue PuppetDB / PDB-4937 Add a default statement timeout to user queries Change By: Charlie Sharpsteen Zendesk Ticket Count: 1 Zendesk Ticket IDs: 49787 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.375530.1603302604000.45212.1665516780225%40Atlassian.JIRA.
Jira (PDB-4937) Add a default statement timeout to user queries
Title: Message Title Charlie Sharpsteen commented on PDB-4937 Re: Add a default statement timeout to user queries Re-opening this one. We've got a ticket where a user is reporting queries that persist for 1 day or longer and end up blocking other PuppetDB activities by holding locks. The root cause of this behavior is likely some other issue, but a default timeout for queries is a first line of defense that would help to blunt the impact. Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.375530.1603302604000.45217.1665516900284%40Atlassian.JIRA.
Jira (PUP-11633) Test against 3.2 preview 2
Title: Message Title Josh Cooper updated an issue Puppet / PUP-11633 Test against 3.2 preview 2 Change By: Josh Cooper Summary: Test against 3.2 preview 1 2 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.470005.1664471908000.45218.1665518520051%40Atlassian.JIRA.
Jira (PUP-11633) Test against 3.2 preview 2
Title: Message Title Josh Cooper updated an issue Puppet / PUP-11633 Test against 3.2 preview 2 Change By: Josh Cooper Run rspec tests against ruby 3.2 preview 1 2 in the github action for linux and windows. Blocked on PUP-11406 and PUP-11634 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.470005.1664471908000.45219.1665518520126%40Atlassian.JIRA.
Jira (FACT-3159) ArgumentError with install.rb
Title: Message Title Morgan Rhodes updated an issue Facter / FACT-3159 ArgumentError with install.rb Change By: Morgan Rhodes Team: Phoenix Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.470565.1665237625000.45220.1665518760038%40Atlassian.JIRA.
Jira (FACT-3159) ArgumentError with install.rb
Title: Message Title Morgan Rhodes updated an issue Facter / FACT-3159 ArgumentError with install.rb Change By: Morgan Rhodes Sprint: Phoenix 2022-10-26 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.470565.1665237625000.45221.1665518760110%40Atlassian.JIRA.
Jira (FACT-3159) ArgumentError with install.rb
Title: Message Title Morgan Rhodes updated an issue Facter / FACT-3159 ArgumentError with install.rb Change By: Morgan Rhodes Story Points: 1 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.470565.1665237625000.45222.1665518820030%40Atlassian.JIRA.
Jira (PUP-11649) Drop support for ruby < 2.7
Title: Message Title Morgan Rhodes commented on PUP-11649 Re: Drop support for ruby < 2.7 We need a puppet-agent branch so we have somewhere to land 8.x changes. This is a good time to go in and clean up monkeypatches or ruby version checks. Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.470537.1665159191000.45229.1665519120030%40Atlassian.JIRA.
Jira (FACT-3157) Facter 3 command very slow with -p option for single-facts
Title: Message Title Morgan Rhodes updated an issue Facter / FACT-3157 Facter 3 command very slow with -p option for single-facts Change By: Morgan Rhodes Team: Comply EMEA Phoenix Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.470531.1665150179000.45234.1665519600110%40Atlassian.JIRA.
Jira (FACT-3157) Facter 3 command very slow with -p option for single-facts
Title: Message Title Morgan Rhodes commented on FACT-3157 Re: Facter 3 command very slow with -p option for single-facts Hi otheus ! Facter3 is going to be EOL soon, could you check and see if you're seeing the same behavior with facter 4? Thanks! Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.470531.1665150179000.45235.1665519660030%40Atlassian.JIRA.
Jira (FACT-3156) confine iterable/block incorrectly lowercases the value
Title: Message Title Morgan Rhodes updated an issue Facter / FACT-3156 confine iterable/block incorrectly lowercases the value Change By: Morgan Rhodes Team: Phoenix Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.470512.1665091544000.45237.1665519840109%40Atlassian.JIRA.
Jira (FACT-3156) confine iterable/block incorrectly lowercases the value
Title: Message Title Morgan Rhodes updated an issue Facter / FACT-3156 confine iterable/block incorrectly lowercases the value Change By: Morgan Rhodes Labels: needs-validation Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.470512.1665091544000.45238.1665519900029%40Atlassian.JIRA.
Jira (FACT-3155) Remove timecop from spec tests
Title: Message Title Morgan Rhodes updated an issue Facter / FACT-3155 Remove timecop from spec tests Change By: Morgan Rhodes Epic Link: PA-4664 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.470510.1665091007000.45239.1665519960026%40Atlassian.JIRA.
Jira (FACT-3155) Remove timecop from spec tests
Title: Message Title Morgan Rhodes updated an issue Facter / FACT-3155 Remove timecop from spec tests Change By: Morgan Rhodes Story Points: 3 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.470510.1665091007000.45240.1665520020027%40Atlassian.JIRA.
Jira (PUP-11649) Drop support for ruby < 2.7
Title: Message Title Josh Cooper commented on PUP-11649 Re: Drop support for ruby < 2.7 Check these call sites too: $ git grep RUBY_VERSION lib lib/puppet.rb:if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new("2.5.0") lib/puppet.rb: raise LoadError, "Puppet #{Puppet.version} requires Ruby 2.5.0 or greater, found Ruby #{RUBY_VERSION.dup}." lib/puppet.rb:Puppet::OLDEST_RECOMMENDED_RUBY_VERSION = '2.5.0' lib/puppet.rb: if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new(Puppet::OLDEST_RECOMMENDED_RUBY_VERSION) lib/puppet.rb:Puppet.deprecation_warning(_("Support for ruby version %{version} is deprecated and will be removed in a future release. See https://puppet.com/docs/puppet/latest/system_requirements.html for a list of supported ruby versions.") % { version: RUBY_VERSION }) lib/puppet/application.rb: 'ruby_version' => RUBY_VERSION, lib/puppet/defaults.rb: :default => "Puppet/#{Puppet.version} Ruby/#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL} (#{RUBY_PLATFORM})", lib/puppet/util.rb: if RUBY_VERSION >= "2.6" lib/puppet/util/monkey_patches.rb:if RUBY_VERSION.to_f < 3.0