Jira (FACT-2417) Facter throws noisy "No resolver for external facts file" warning on custom fact files

2020-04-23 Thread Austin Boyd (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Austin Boyd updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2417  
 
 
  Facter throws noisy "No resolver for external facts file" warning on custom fact files   
 

  
 
 
 
 

 
Change By: 
 Austin Boyd  
 
 
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.347810.1582829875000.45292.1587651360050%40Atlassian.JIRA.


Jira (FACT-2417) Facter throws noisy "No resolver for external facts file" warning on custom fact files

2020-04-23 Thread Austin Boyd (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Austin Boyd updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2417  
 
 
  Facter throws noisy "No resolver for external facts file" warning on custom fact files   
 

  
 
 
 
 

 
Change By: 
 Austin Boyd  
 
 
Zendesk Ticket Count: 
 1  
 
 
Zendesk Ticket IDs: 
 38956  
 

  
 
 
 
 

 
 
 

 
 
 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.347810.1582829875000.45294.1587651360139%40Atlassian.JIRA.


Jira (FACT-2417) Facter throws noisy "No resolver for external facts file" warning on custom fact files

2020-03-03 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2417  
 
 
  Facter throws noisy "No resolver for external facts file" warning on custom fact files   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 
 
Fix Version/s: 
 FACT 3.14.9  
 

  
 
 
 
 

 
 
 

 
 
 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.347810.1582829875000.2208.1583231460026%40Atlassian.JIRA.


Jira (FACT-2417) Facter throws noisy "No resolver for external facts file" warning on custom fact files

2020-02-28 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau assigned an issue to Ciprian Badescu  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2417  
 
 
  Facter throws noisy "No resolver for external facts file" warning on custom fact files   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 
 
Assignee: 
 Ciprian Badescu  
 

  
 
 
 
 

 
 
 

 
 
 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.347810.1582829875000.24.1582887960179%40Atlassian.JIRA.


Jira (FACT-2417) Facter throws noisy "No resolver for external facts file" warning on custom fact files

2020-02-28 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2417  
 
 
  Facter throws noisy "No resolver for external facts file" warning on custom fact files   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 
 
Team: 
 Night's Watch  
 

  
 
 
 
 

 
 
 

 
 
 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.347810.1582829875000.22.1582887960078%40Atlassian.JIRA.


Jira (FACT-2417) Facter throws noisy "No resolver for external facts file" warning on custom fact files

2020-02-28 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2417  
 
 
  Facter throws noisy "No resolver for external facts file" warning on custom fact files   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 
 
Sprint: 
 NW - 2020-03-04  
 

  
 
 
 
 

 
 
 

 
 
 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.347810.1582829875000.23.1582887960135%40Atlassian.JIRA.


Jira (FACT-2417) Facter throws noisy "No resolver for external facts file" warning on custom fact files

2020-02-28 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2417  
 
 
  Facter throws noisy "No resolver for external facts file" warning on custom fact files   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Story Points: 
 1  
 

  
 
 
 
 

 
 
 

 
 
 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.347810.1582829875000.25.1582887960184%40Atlassian.JIRA.


Jira (FACT-2417) Facter throws noisy "No resolver for external facts file" warning on custom fact files

2020-02-27 Thread Jory Osterptak (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jory Osterptak updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2417  
 
 
  Facter throws noisy "No resolver for external facts file" warning on custom fact files   
 

  
 
 
 
 

 
Change By: 
 Jory Osterptak  
 

  
 
 
 
 

 
 *Puppet Version: 6.13.0* *Puppet Server Version: 6.9.0* *OS Name/Version: RHEL7*After upgrading to version 6.13.0 of puppet-agent (which includes facter 3.14.8) we have started seeing a "No resolver for external facts file \{filename}" warning message for every file in our custom facts directory (/opt/puppetlabs/facter/facts.d), both when running puppet agent -t, as well as running facter directly.{noformat}$ puppet agent -tWarning: Facter: skipping file "/opt/puppetlabs/facter/facts.d/customfact.rb": No resolver for external facts file /opt/puppetlabs/facter/facts.d/customfact.rb...Info: Using configured environment 'development'Info: Retrieving pluginfactsInfo: Retrieving pluginInfo: Retrieving localesInfo: Loading factsWarning: Facter: skipping file "/opt/puppetlabs/facter/facts.d/customfact.rb": No resolver for external facts file /opt/puppetlabs/facter/facts.d/customfact.rb...Info: Caching catalog for myserver.my.domainInfo: Applying configuration version '1582828949' {noformat}{noformat} $ facter hostname2020-02-27 13:56:50.591690 WARN  puppetlabs.facter - skipping file "/opt/puppetlabs/facter/facts.d/customfact.rb": No resolver for external facts file /opt/puppetlabs/facter/facts.d/customfact.rbmyserver{noformat}   All files in our facts.d directory have .rb extensions and 644 permissions (non-executable)Further research indicates that this does not occur in puppet-agent 6.12.0 with facter 3.14.7, as the message at the time was a debug message "checking execution on \{filename}"...It looks like the relevant change was made [here.|https://github.com/puppetlabs/facter/commit/6ffb0965e8df2546fc66a686fbd719a7f441420e]We can prevent facter from attempting to load external facts by setting no-external=true in facter.conf, but this does not have any impact on the output of our puppet runs (likely due to using the facter API?)*Desired Behavior:*I would prefer to revert to the previous behavior where our custom facts load successfully without the noisy warning messages. I would prefer not to adjust our verbosity to avoid missing real warnings.It seems to me that facter should only attempt to load the external facts if the files are executable?*Actual Behavior:*The warnings cause our puppet runs to be unnecessarily noisy.  
 

  
 
 
 
 

 
 
 

   

Jira (FACT-2417) Facter throws noisy "No resolver for external facts file" warning on custom fact files

2020-02-27 Thread Jory Osterptak (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jory Osterptak updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2417  
 
 
  Facter throws noisy "No resolver for external facts file" warning on custom fact files   
 

  
 
 
 
 

 
Change By: 
 Jory Osterptak  
 

  
 
 
 
 

 
 *Puppet Version: 6.13.0* *Puppet Server Version: 6.9.0* *OS Name/Version: RHEL7*After upgrading to version 6.13.0 of puppet-agent (which includes facter 3.14.8) we have started seeing a "No resolver for external facts file \{filename}" warning message for every file in our custom facts directory (/opt/puppetlabs/facter/facts.d), both when running puppet agent -t, as well as running facter directly.{noformat}$ puppet agent -tWarning: Facter: skipping file "/opt/puppetlabs/facter/facts.d/customfact.rb": No resolver for external facts file /opt/puppetlabs/facter/facts.d/customfact.rb...Info: Using configured environment 'development'Info: Retrieving pluginfactsInfo: Retrieving pluginInfo: Retrieving localesInfo: Loading factsWarning: Facter: skipping file "/opt/puppetlabs/facter/facts.d/customfact.rb": No resolver for external facts file /opt/puppetlabs/facter/facts.d/customfact.rb...Info: Caching catalog for myserver.my.domainInfo: Applying configuration version '1582828949'$ facter hostname2020-02-27 13:56:50.591690 WARN  puppetlabs.facter - skipping file "/opt/puppetlabs/facter/facts.d/customfact.rb": No resolver for external facts file /opt/puppetlabs/facter/facts.d/customfact.rbmyserver{noformat} All files in our facts.d directory have .rb extensions and 644 permissions (non-executable)Further research indicates that this does not occur in puppet-agent 6.12 .0  with facter 3.14.7, as the message at the time was a debug message "checking execution on \{filename}"...It looks like the relevant change was made [here.|https://github.com/puppetlabs/facter/commit/6ffb0965e8df2546fc66a686fbd719a7f441420e]We can prevent facter from attempting to load external facts by setting no-external=true in facter.conf, but this does not have any impact on the output of our puppet runs (likely due to using the facter API?)*Desired Behavior:*I would prefer to revert to the previous behavior where our custom facts load successfully without the noisy warning messages. I would prefer not to adjust our verbosity to avoid missing real warnings.It seems to me that facter should only attempt to load the external facts if the files are executable?*Actual Behavior:*The warnings cause our puppet runs to be unnecessarily noisy. Thanks for your attention.  
 

  
 
 
 
 

 
 
 

  

Jira (FACT-2417) Facter throws noisy "No resolver for external facts file" warning on custom fact files

2020-02-27 Thread Jory Osterptak (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jory Osterptak created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2417  
 
 
  Facter throws noisy "No resolver for external facts file" warning on custom fact files   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Affects Versions: 
 FACT 3.14.8  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2020/02/27 10:57 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Jory Osterptak  
 

  
 
 
 
 

 
 Puppet Version: 6.13.0 Puppet Server Version: 6.9.0 OS Name/Version: RHEL7 After upgrading to version 6.13.0 of puppet-agent (which includes facter 3.14.8) we have started seeing a "No resolver for external facts file {filename}" warning message for every file in our custom facts directory (/opt/puppetlabs/facter/facts.d), both when running puppet agent -t, as well as running facter directly.  
 
 
 
 
 $ puppet agent -t  
 
 
 Warning: Facter: skipping file "/opt/puppetlabs/facter/facts.d/customfact.rb": No resolver for external facts file /opt/puppetlabs/facter/facts.d/customfact.rb  
 
 
 ...  
 
 
 Info: Using configured environment 'development'