Bug 1400533

Summary: Could not find fact 'search_external'
Product: [Community] RDO Reporter: Cyril Lopez <cylopez>
Component: distributionAssignee: Alan Pevec <apevec>
Status: CLOSED ERRATA QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: trunkCC: apevec, chris.brown, jschluet, markmc, srevivo
Target Milestone: ---   
Target Release: trunk   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: facter-2.4.4-4.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-22 15:36:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cyril Lopez 2016-12-01 12:50:47 UTC
Description of problem:

during the undercloud install 2016-12-01 04:26:51,874 INFO: Error: Could not run: Could not retrieve facts for nfv.cl.lab: Could not find fact 'search_external'


This following is the root cause :
/usr/share/ruby/vendor_ruby/puppet/indirector/facts/facter.rb ->
    Facter.search_external dirs

[stack@nfv /]$ rpm -qf /usr/share/ruby/vendor_ruby/puppet/indirector/facts/facter.rb

May an issue of version
puppet-4.6.2-2.el7.noarch 
[stack@nfv /]$ yum info puppet
Name        : puppet 
Arch        : noarch
Version     : 4.6.2
Release     : 2.el7
Size        : 6.6 M
Repo        : installed
From repo   : delorean-ocata-testing

Name        : facter
Version     : 1.7.6
Release     : 2.1.el7sat
Size        : 238 k 
Repo        : installed
From repo   : rhelosp-rhel-7-common

Comment 1 Jon Schlueter 2016-12-01 13:54:39 UTC
look to see which version of factor is being installed, and make sure we are not picking up older version from some other repo with higher epoch

Comment 2 Jon Schlueter 2016-12-01 13:56:44 UTC
(In reply to Jon Schlueter from comment #1)
> look to see which version of factor is being installed, and make sure we are
> not picking up older version from some other repo with higher epoch

/me not reading enough today 

Name        : facter
Version     : 1.7.6
Release     : 2.1.el7sat

should be picking up facter-2.4.4-3.el7 from cbs cloud7-openstack-common-testing

Comment 3 Alan Pevec 2016-12-02 12:51:25 UTC
RDO rebuilt with Epoch: 1

Comment 4 Alan Pevec 2016-12-02 13:08:44 UTC
Tagged openstack-common-testing

Comment 5 Christopher Brown 2017-06-22 15:36:23 UTC
This was fixed so closing as per referenced bug.