Jira (PUP-10582) Puppet runs should fail fast when no environment can be found
Title: Message Title Nate McCurdy updated an issue Puppet / PUP-10582 Puppet runs should fail fast when no environment can be found Change By: Nate McCurdy *Puppet Version: 6.15.0* *Puppet Server Version: 6.12.0 (open source)* *OS Name/Version: CentOS 7*When running {{puppet agent -t}} against an environment that doesn't exist, the Puppet run doesn't fail quickly and instead makes the following requests in order, all of which respond with a {{404}} (except for the catalog request, which gets a {{500}} response):* {{GET /puppet/v3/node}}* {{GET /puppet/v3/file_metadatas/pluginfacts}}* {{GET /puppet/v3/file_metadata/pluginfacts}}* {{GET /puppet/v3/file_metadatas/plugins}}* {{GET /puppet/v3/file_metadata/plugins}}* {{GET /puppet/v3/file_metadatas/locales}}* {{GET /puppet/v3/file_metadata/locales}}* {{POST /puppet/v3/catalog/}}From the agent's view, that looks like this:{noformat}$ sudo puppet agent -t --environment not_a_real_envWarning: Unable to fetch my node definition, but the agent run will continue:Warning: Find /puppet/v3/node/agent.corp.net resulted in 404 with the message: {"message":"Not Found: Could not find environment 'not_a_real_env'","issue_kind":"RUNTIME_ERROR"}Info: Retrieving pluginfactsError: /File[/opt/puppetlabs/puppet/cache/facts.d]: Could not evaluate: Could not retrieve information from environment not_a_real_env source(s) puppet:///pluginfactsInfo: Retrieving pluginWarning: /File[/opt/puppetlabs/puppet/cache/lib/facter]: Skipping because of failed dependenciesWarning: /File[/opt/puppetlabs/puppet/cache/lib/facter/facter_dot_d.rb]: Skipping because of failed dependenciesWarning: /File[/opt/puppetlabs/puppet/cache/lib/facter/package_provider.rb]: Skipping because of failed dependenciesWarning: /File[/opt/puppetlabs/puppet/cache/lib/facter/pe_version.rb]: Skipping because of failed dependenciesWarning: /File[/opt/puppetlabs/puppet/cache/lib/facter/puppet_settings.rb]: Skipping because of failed dependencies...(snip 100's of lines of failed pluginsync files)...Info: Retrieving localesError: /File[/opt/puppetlabs/puppet/cache/locales]: Could not evaluate: Could not retrieve information from environment not_a_real_env source(s) puppet:///localesNotice: /File[/opt/puppetlabs/puppet/cache/locales/ja]: Dependency File[/opt/puppetlabs/puppet/cache/locales] has failures: trueWarning: /File[/opt/puppetlabs/puppet/cache/locales/ja]: Skipping because of failed dependenciesWarning: /File[/opt/puppetlabs/puppet/cache/locales/ja/puppetlabs-stdlib.po]: Skipping because of failed dependenciesWarning: /File[/opt/puppetlabs/puppet/cache/locales/ja/puppetlabs-tomcat.po]: Skipping because of failed dependenciesInfo: Loading factsError: Could not retrieve catalog from remote server: Error 500 on SERVER: Internal Server Error: java.lang.IllegalStateException: Non-zero exit code returned while running '/etc/puppetlabs/puppet/code-id.sh'. exit-code: '1', stdout: '', stderr: '/etc/puppetlabs/puppet/code-id.sh: line 19: cd: /etc/puppetlabs/code/environments/not_a_real_env: No such file or
Jira (PUP-10582) Puppet runs should fail fast when no environment can be found
Title: Message Title Nate McCurdy created an issue Puppet / PUP-10582 Puppet runs should fail fast when no environment can be found Issue Type: Bug Affects Versions: PUP 6.15.0, PUP 5.5.20 Assignee: Unassigned Created: 2020/07/09 7:27 PM Priority: Normal Reporter: Nate McCurdy Puppet Version: 6.15.0 Puppet Server Version: 6.12.0 (open source) OS Name/Version: CentOS 7 When running puppet agent -t against an environment that doesn't exist, the Puppet run doesn't fail quickly and instead makes the following requests in order, all of which respond with a 404 (except for the catalog request, which gets a 500 response): GET /puppet/v3/node GET /puppet/v3/file_metadatas/pluginfacts GET /puppet/v3/file_metadata/pluginfacts GET /puppet/v3/file_metadatas/plugins GET /puppet/v3/file_metadata/plugins GET /puppet/v3/file_metadatas/locales GET /puppet/v3/file_metadata/locales POST /puppet/v3/catalog/ From the agent's view, that looks like this: $ sudo puppet agent -t --environment not_a_real_env
Jira (PUP-10581) Puppet lookup --compile issues in PE2019.8
Title: Message Title Josh Cooper commented on PUP-10581 Re: Puppet lookup --compile issues in PE2019.8 This might be a duplicate of PUP-10580 which will be fixed in 6.17.0. 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.365394.1594311475000.104656.1594339320026%40Atlassian.JIRA.
Jira (PUP-10581) Puppet lookup --compile issues in PE2019.8
Title: Message Title Jarret Lavallee updated an issue Puppet / PUP-10581 Puppet lookup --compile issues in PE2019.8 Change By: Jarret Lavallee CS Priority: Needs Priority Reviewed 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.365394.1594311475000.104629.1594337640080%40Atlassian.JIRA.
Jira (FACT-2666) Puppet lookup CLI loads external Facts on the initiating node
Title: Message Title Jarret Lavallee updated an issue Facter / FACT-2666 Puppet lookup CLI loads external Facts on the initiating node Change By: Jarret Lavallee CS Priority: Needs Priority Reviewed 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.363107.1592385941000.104604.1594336200035%40Atlassian.JIRA.
Jira (PUP-5216) Add Password Expiration for Windows User management
Title: Message Title Enis Inan assigned an issue to Unassigned Puppet / PUP-5216 Add Password Expiration for Windows User management Change By: Enis Inan Assignee: Enis Inan 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.97351.1441830485000.104503.1594333440083%40Atlassian.JIRA.
Jira (FACT-2645) Remove Facter for JRuby on ubuntu-16.04-amd64
Title: Message Title Sara Meisburger commented on FACT-2645 Re: Remove Facter for JRuby on ubuntu-16.04-amd64 Either way, this ticket can be worked on now 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.360412.1590701406000.104351.1594326720175%40Atlassian.JIRA.
Jira (FACT-2644) Remove Facter for JRuby on el-6-x86_64
Title: Message Title Sara Meisburger commented on FACT-2644 Re: Remove Facter for JRuby on el-6-x86_64 Mihai Buzgau this can be worked on now! 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.360374.1590701217000.104350.1594326720132%40Atlassian.JIRA.
Jira (FACT-2645) Remove Facter for JRuby on ubuntu-16.04-amd64
Title: Message Title Sara Meisburger commented on FACT-2645 Re: Remove Facter for JRuby on ubuntu-16.04-amd64 Mihai Buzgau putting this on your radar. The platform, along with el-6, is being removed as a PE master only, not FOSS, so not sure if there's anything your team needs to do with this, if not feel free to close this out. 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.360412.1590701406000.104347.1594326660127%40Atlassian.JIRA.
Jira (FACT-1575) Add the ability to cache and block the output of custom facts
Title: Message Title Patrick Grant commented on FACT-1575 Re: Add the ability to cache and block the output of custom facts Any update on my above query Dorin Pleava or even Maggie Dreyer? 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.176225.1487804791000.104001.1594315980142%40Atlassian.JIRA.
Jira (PDB-4810) Audit thread pool use and try to ensure we avoid silent failures
Title: Message Title Rob Browning moved an issue PuppetDB / PDB-4810 Audit thread pool use and try to ensure we avoid silent failures Change By: Rob Browning Key: PE PDB - 29550 4810 Method Found: Needs Assessment Issue Type: Improvement Bug Project: Puppet Enterprise [Internal] PuppetDB 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
Jira (PUP-10581) Puppet lookup --compile issues in PE2019.8
Title: Message Title zendesk.jira updated an issue Puppet / PUP-10581 Puppet lookup --compile issues in PE2019.8 Change By: zendesk.jira Zendesk Ticket Count: 1 Zendesk Ticket IDs: 39917 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.365394.1594311475000.103901.1594311540045%40Atlassian.JIRA.
Jira (PUP-10581) Puppet lookup --compile issues in PE2019.8
Title: Message Title zendesk.jira updated an issue Puppet / PUP-10581 Puppet lookup --compile issues in PE2019.8 Change By: zendesk.jira Labels: jira_escalated 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.365394.1594311475000.103902.1594311540087%40Atlassian.JIRA.
Jira (PUP-10581) Puppet lookup --compile issues in PE2019.8
Title: Message Title Patrick Grant created an issue Puppet / PUP-10581 Puppet lookup --compile issues in PE2019.8 Issue Type: Bug Affects Versions: PUP 6.16.0 Assignee: Unassigned Created: 2020/07/09 9:17 AM Priority: Normal Reporter: Patrick Grant Puppet Version: 6.16 (PE 2019.8) Puppet Server Version: 6.12.0 *OS Name/Version:*RHEL 7 Customer is using the --compile flag with the `puppet lookup` command and they are receiving the following error: Error: Could not run: Could not retrieve resources from the PuppetDB at **hostname**:8140: [400 Bad Request] Malformed JSON for query: %5B%22and%22%2C%5B%22%3D%22%2C%22type%22%2C%22Host6%22%5D%2C%5B%22%3D%22%2C%22exported%22%2Ctrue%5D%2C%5B%22not%22%2C%5B%22%3D%22%2C%22certname%22%2C%22**hostname**%22%5D%5D%2C%5B%22%3D%22%2C%22tag%22%2C%22**hostname**%22%5D%5D This is a bit strange as the exported resources can be queried and returned from the db just fine. This was also working before upgrading to 2019.8 Desired Behavior: no errors relating to exported resources when using the --compile flag Actual Behavior: receiving the above 400 Bad Request] Malformed JSON
Jira (PDB-4809) Corrective change every puppet run "GRANT CONNECT ON DATABASE "pe-puppetdb" TO "pe-puppetdb"' (corrective)"
Title: Message Title Nick Walker updated an issue PuppetDB / PDB-4809 Corrective change every puppet run "GRANT CONNECT ON DATABASE "pe-puppetdb" TO "pe-puppetdb"' (corrective)" Change By: Nick Walker Team: HA Installer and Management 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.365371.1594291829000.103823.1594305960036%40Atlassian.JIRA.
Jira (PDB-4809) Corrective change every puppet run "GRANT CONNECT ON DATABASE "pe-puppetdb" TO "pe-puppetdb"' (corrective)"
Title: Message Title Margaret Lee updated an issue PuppetDB / PDB-4809 Corrective change every puppet run "GRANT CONNECT ON DATABASE "pe-puppetdb" TO "pe-puppetdb"' (corrective)" Change By: Margaret Lee Team: HA 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.365371.1594291829000.103822.1594305840088%40Atlassian.JIRA.
Jira (FACT-2707) Facter 4 unit test not fully isolated
Title: Message Title Mihai Buzgau created an issue Facter / FACT-2707 Facter 4 unit test not fully isolated Issue Type: Task Assignee: Unassigned Created: 2020/07/09 5:29 AM Priority: Normal Reporter: Mihai Buzgau It seems like the facter 4 hyper-v unit test gets the information from the OS instead of a mocked value: Failures: 1) Facts::Linux::Virtual#call_the_resolver when is hyper-v discovered with lspci returns virtual fact Failure/Error: expect(fact.call_the_resolver).to be_an_instance_of(Facter::ResolvedFact).and \ have_attributes(name: 'virtual', value: value)
Jira (FACT-2696) Add vmware fact
Title: Message Title Bogdan Irimie commented on FACT-2696 Re: Add vmware fact On vmpooler facter facterversion hypervisors facterversion => 3.14.11 hypervisors => { vmware => { version => "" } } Add Comment
Jira (PDB-4809) Corrective change every puppet run "GRANT CONNECT ON DATABASE "pe-puppetdb" TO "pe-puppetdb"' (corrective)"
Title: Message Title Elaine McCloskey created an issue PuppetDB / PDB-4809 Corrective change every puppet run "GRANT CONNECT ON DATABASE "pe-puppetdb" TO "pe-puppetdb"' (corrective)" Issue Type: Bug Assignee: Unassigned Created: 2020/07/09 3:50 AM Priority: Normal Reporter: Elaine McCloskey Puppet Version: 2019.8 Puppet Server Version: OS Name/Version: RHEL 7 Desired Behavior: The change occurs once and applies the correct configuration Actual Behavior: Every Puppet run a corrective change occurs: Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Puppet_enterprise::App_database[puppetdb]/Puppet_enterprise::Pg::Migrator_user[pe-puppetdb-migrator]/Puppet_enterprise::Psql[SET ROLE pe-puppetdb-migrator; GRANT pe-puppetdb - CONNECT - pe-puppetdb]/Pe_postgresql_psql[SET ROLE pe-puppetdb-migrator; GRANT pe-puppetdb - CONNECT - pe-puppetdb]/command: command changed to 'SET ROLE "pe-puppetdb-migrator"; GRANT CONNECT ON DATABASE "pe-puppetdb" TO "pe-puppetdb"' (corrective) This seems to be occurring as the below isn't returning the expected output here: pe-postgres=# SELECT datacl FROM pg_catalog.pg_database WHERE datname = 'pe-puppetdb';
Jira (FACT-2682) facter -p returns NUL character on stdout when called from nested ruby on windows
Title: Message Title Ciprian Badescu updated an issue Facter / FACT-2682 facter -p returns NUL character on stdout when called from nested ruby on windows Change By: Ciprian Badescu Fix Version/s: FACT 3.14.12 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.363822.1593026104000.103676.1594280760026%40Atlassian.JIRA.
Jira (FACT-2592) Update tests to use host method for cat command
Title: Message Title Ciprian Badescu updated an issue Facter / FACT-2592 Update tests to use host method for cat command Change By: Ciprian Badescu Fix Version/s: FACT 3.14.12 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.357166.158816656.103674.1594280700041%40Atlassian.JIRA.
Jira (FACT-2648) Adapt remaining acceptances tests to be run on PSWindows
Title: Message Title Ciprian Badescu updated an issue Facter / FACT-2648 Adapt remaining acceptances tests to be run on PSWindows Change By: Ciprian Badescu Fix Version/s: FACT 3.14.12 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.360531.1590752662000.103675.1594280700089%40Atlassian.JIRA.
Jira (FACT-2580) Update acceptance tests to use host methods
Title: Message Title Ciprian Badescu updated an issue Facter / FACT-2580 Update acceptance tests to use host methods Change By: Ciprian Badescu Fix Version/s: FACT 3.14.12 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.356470.1587637879000.103673.1594280640031%40Atlassian.JIRA.
Jira (PUP-10542) Generate AST for apply blocks with 0 statements
Title: Message Title Ciprian Badescu updated an issue Puppet / PUP-10542 Generate AST for apply blocks with 0 statements Change By: Ciprian Badescu Release Notes: Not Needed 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.362578.1591891584000.103651.1594280280033%40Atlassian.JIRA.
Jira (PUP-5707) Yum package provider: ensure => latest fails when RHEL channel has broken or bad duplicate errata
Title: Message Title Ciprian Badescu updated an issue Puppet / PUP-5707 Yum package provider: ensure => latest fails when RHEL channel has broken or bad duplicate errata Change By: Ciprian Badescu Fix Version/s: PUP 6.17.0 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.112226.1452700979000.103646.1594277520032%40Atlassian.JIRA.
Jira (FACT-2696) Add vmware fact
Title: Message Title Bogdan Irimie assigned an issue to Bogdan Irimie Facter / FACT-2696 Add vmware fact Change By: Bogdan Irimie Assignee: Bogdan Irimie 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.364659.1593550851000.103644.1594276080032%40Atlassian.JIRA.