Jira (FACT-2489) no resolver for external facts file error for os-specific facts

37 views
Skip to first unread message

Thomas Kishel (Jira)

unread,
Mar 24, 2020, 1:55:04 PM3/24/20
to puppe...@googlegroups.com
Thomas Kishel created an issue
 
Facter / Bug FACT-2489
no resolver for external facts file error for os-specific facts
Issue Type: Bug Bug
Affects Versions: FACT 3.14.9
Assignee: Unassigned
Created: 2020/03/24 10:54 AM
Priority: Normal Normal
Reporter: Thomas Kishel

Puppet: 6.14
Facter: 3.14.9
OS: Linux and Windows

After upgrading to PE 2019.5 which includes Facter 3.14.9, puppet runs throw errors when attempting to resolve os-specific facts on the "wrong" os.

PS C:\WINDOWS\system32> puppet agent -t
Info: Using configured environment 'development'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
puppet : Warning: Facter: skipping file "C:/ProgramData/PuppetLabs/puppet/cache/facts.d\example.cfg.sh": No resolver for external facts file
C:/ProgramData/PuppetLabs/puppet/cache/facts.d\example.cfg.sh
At line:1 char:1
+ puppet agent -t
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Warning:...example.cfg.sh:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
 
Warning: Facter: skipping file "C:/ProgramData/PuppetLabs/puppet/cache/facts.d\el8_example.cfg.sh": No resolver for external facts file
C:/ProgramData/PuppetLabs/puppet/cache/facts.d\el8_example.cfg.sh
Warning: Facter: skipping file "C:/ProgramData/PuppetLabs/puppet/cache/facts.d\el8_misc_example_custom_facts.sh": No resolver for external facts file
C:/ProgramData/PuppetLabs/puppet/cache/facts.d\el8_misc_example_custom_facts.sh
Warning: Facter: skipping file "C:/ProgramData/PuppetLabs/puppet/cache/facts.d\el8_random_config_files_exist.sh": No resolver for external facts file
C:/ProgramData/PuppetLabs/puppet/cache/facts.d\el8_random_config_files_exist.sh
Warning: Facter: skipping file "C:/ProgramData/PuppetLabs/puppet/cache/facts.d\misc_linux_example_custom_facts.sh": No resolver for external facts file
C:/ProgramData/PuppetLabs/puppet/cache/facts.d\misc_linux_example_custom_facts.sh
Warning: Facter: skipping file "C:/ProgramData/PuppetLabs/puppet/cache/facts.d\random_config_files_exist.sh": No resolver for external facts file
C:/ProgramData/PuppetLabs/puppet/cache/facts.d\random_config_files_exist.sh
Warning: Facter: skipping file "C:/ProgramData/PuppetLabs/puppet/cache/facts.d\vas_enabled.sh": No resolver for external facts file
C:/ProgramData/PuppetLabs/puppet/cache/facts.d\vas_enabled.sh
Error: Facter: error while resolving custom fact "wintel_flexera_version": The system cannot find the file specified.
Info: Caching catalog for zzzwin16.amer.example.com
Info: Applying configuration version '4cf8238e4'
Info: 'DEVELOPMENT' compile master 'agent.example.com'
Notice: Applied catalog in 0.06 seconds

[root@pe-201950-master ~]# puppet agent -t
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Warning: Facter: skipping file "/opt/puppetlabs/puppet/cache/facts.d/smbinstalled.ps1": No resolver for external facts file /opt/puppetlabs/puppet/cache/facts.d/smbinstalled.ps1
Info: Caching catalog for pe-201950-master.example.com
Info: Applying configuration version '1585065354'
Notice: Applied catalog in 46.46 seconds

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Thomas Kishel (Jira)

unread,
Mar 24, 2020, 1:57:03 PM3/24/20
to puppe...@googlegroups.com
Thomas Kishel commented on Bug FACT-2489
 
Re: no resolver for external facts file error for os-specific facts

From Slack:

It warns because puppetLabs/puppet/cache/facts.d is not a default external fact directory, this could be a different issue though.

Because this is probably the cached fact of the original fact that lies in puppetLabs/facter/facts.d which is a default directory.

Puppet automatically adds a bunch of its own directories to facter.

The "cache" dir is where Puppet downloads facts during a pluginsync

Probably that warning should be downgraded across the board

Thomas Kishel (Jira)

unread,
Mar 24, 2020, 2:22:03 PM3/24/20
to puppe...@googlegroups.com

Ciprian Badescu (Jira)

unread,
Mar 25, 2020, 5:24:03 AM3/25/20
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Mar 25, 2020, 5:43:03 AM3/25/20
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Mar 25, 2020, 5:43:04 AM3/25/20
to puppe...@googlegroups.com

Ciprian Badescu (Jira)

unread,
Mar 26, 2020, 11:07:04 AM3/26/20
to puppe...@googlegroups.com
Ciprian Badescu commented on Bug FACT-2489
 
Re: no resolver for external facts file error for os-specific facts

PR is ready for logging issue.
The facter error is caused by `Error: Facter: error while resolving custom fact "wintel_flexera_version": The system cannot find the file specified.` and it seems unrelated

Thomas Kishel (Jira)

unread,
Mar 27, 2020, 1:07:03 PM3/27/20
to puppe...@googlegroups.com

Yes, wintel_flexera_version can be ignored.

 

This changes the statistics the the PE Console Overview, which some users depend on for status. 

How could we deliver just this fix?

 

Ciprian Badescu (Jira)

unread,
Mar 27, 2020, 2:16:03 PM3/27/20
to puppe...@googlegroups.com

not easy to get only this fix, but the correction should be available in the latest puppet5 nightly and the next puppet6 nightly.

Gabriel Nagy (Jira)

unread,
Apr 23, 2020, 8:31:03 AM4/23/20
to puppe...@googlegroups.com
Gabriel Nagy updated an issue
 
Change By: Gabriel Nagy
Release Notes Summary: Before this delivery fix , for each external facts file from user specified external facts directory that was not resolved a warning was logged. As it is usual to have, for example, external facts files for different OSs in the same directory, this will lead to not usefull useful warnings on Windows that Linux fact facts cannot be solved resolved and the other way around .

After this delivery, The fix lowers the respective message is severity of the logged as messages to debug only .

Gabriel Nagy (Jira)

unread,
Apr 23, 2020, 8:31:03 AM4/23/20
to puppe...@googlegroups.com
Gabriel Nagy updated an issue
Change By: Gabriel Nagy
Fix Version/s: FACT 3.14.10
Fix Version/s: FACT 3.11.13

Austin Boyd (Jira)

unread,
Apr 23, 2020, 10:15:03 AM4/23/20
to puppe...@googlegroups.com

Austin Boyd (Jira)

unread,
Apr 23, 2020, 10:16:04 AM4/23/20
to puppe...@googlegroups.com
Austin Boyd updated an issue
Change By: Austin Boyd
Zendesk Ticket Count: 1
Zendesk Ticket IDs: 38956

Claire Cadman (Jira)

unread,
Apr 28, 2020, 8:59:03 AM4/28/20
to puppe...@googlegroups.com
Claire Cadman updated an issue
Change By: Claire Cadman
Labels: doc_reviewed jira_escalated
Reply all
Reply to author
Forward
0 new messages