I seem to have managed this by adding tfm- in front of the plugin prefix 
and 2 packagenames in the answersfile.

Please fix.

Op vrijdag 7 oktober 2016 02:38:34 UTC+2 schreef [email protected]:
>
> On a default CentOS 7 install with the right repo's enables, EPEL and SCLO 
> I get the following, according to search on a package using yum the 
> package-names in the installer are wrong.
>
> Any idea how to fix this ?
>
> On Fedora this went fine.
>
>  Execution of '/usr/bin/yum -d 0 -e 0 -y list rubygem-foreman_memcache' 
> returned 1: Error: No matching Packages to list
>  
> /Stage[main]/Foreman::Plugin::Memcache/Foreman::Plugin[memcache]/Package[rubygem-foreman_memcache]/ensure:
>  
> change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 
> -y list rubygem-foreman_memcache' returned 1: Error: No matching Packages 
> to list
>  Execution of '/usr/bin/yum -d 0 -e 0 -y list rubygem-foreman-tasks' 
> returned 1: Error: No matching Packages to list
>  
> /Stage[main]/Foreman::Plugin::Tasks/Foreman::Plugin[tasks]/Package[rubygem-foreman-tasks]/ensure:
>  
> change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 
> -y list rubygem-foreman-tasks' returned 1: Error: No matching Packages to 
> list
>  Execution of '/usr/bin/yum -d 0 -e 0 -y list 
> rubygem-foreman_default_hostgroup' returned 1: Error: No matching Packages 
> to list
>  
> /Stage[main]/Foreman::Plugin::Default_hostgroup/Foreman::Plugin[default_hostgroup]/Package[rubygem-foreman_default_hostgroup]/ensure:
>  
> change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 
> -y list rubygem-foreman_default_hostgroup' returned 1: Error: No matching 
> Packages to list
>  Execution of '/usr/bin/yum -d 0 -e 0 -y list rubygem-foreman_bootdisk' 
> returned 1: Error: No matching Packages to list
>  
> /Stage[main]/Foreman::Plugin::Bootdisk/Foreman::Plugin[bootdisk]/Package[rubygem-foreman_bootdisk]/ensure:
>  
> change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 
> -y list rubygem-foreman_bootdisk' returned 1: Error: No matching Packages 
> to list
>  Execution of '/usr/bin/yum -d 0 -e 0 -y list rubygem-puppetdb_foreman' 
> returned 1: Error: No matching Packages to list
>  
> /Stage[main]/Foreman::Plugin::Puppetdb/Foreman::Plugin[puppetdb]/Package[rubygem-puppetdb_foreman]/ensure:
>  
> change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 
> -y list rubygem-puppetdb_foreman' returned 1: Error: No matching Packages 
> to list
>  Execution of '/usr/bin/yum -d 0 -e 0 -y list rubygem-foreman_cockpit' 
> returned 1: Error: No matching Packages to list
>  
> /Stage[main]/Foreman::Plugin::Cockpit/Foreman::Plugin[cockpit]/Package[rubygem-foreman_cockpit]/ensure:
>  
> change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 
> -y list rubygem-foreman_cockpit' returned 1: Error: No matching Packages to 
> list
>  Execution of '/usr/bin/yum -d 0 -e 0 -y list rubygem-foreman_setup' 
> returned 1: Error: No matching Packages to list
>  
> /Stage[main]/Foreman::Plugin::Setup/Foreman::Plugin[setup]/Package[rubygem-foreman_setup]/ensure:
>  
> change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 
> -y list rubygem-foreman_setup' returned 1: Error: No matching Packages to 
> list
>  Execution of '/usr/bin/yum -d 0 -e 0 -y list rubygem-foreman_discovery' 
> returned 1: Error: No matching Packages to list
>  
> /Stage[main]/Foreman::Plugin::Discovery/Foreman::Plugin[discovery]/Package[rubygem-foreman_discovery]/ensure:
>  
> change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 
> -y list rubygem-foreman_discovery' returned 1: Error: No matching Packages 
> to list
>  Execution of '/usr/bin/yum -d 0 -e 0 -y list 
> rubygem-foreman_remote_execution' returned 1: Error: No matching Packages 
> to list
>  
> /Stage[main]/Foreman::Plugin::Remote_execution/Foreman::Plugin[remote_execution]/Package[rubygem-foreman_remote_execution]/ensure:
>  
> change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 
> -y list rubygem-foreman_remote_execution' returned 1: Error: No matching 
> Packages to list
>  Execution of '/usr/bin/yum -d 0 -e 0 -y list 
> rubygem-foreman_dhcp_browser' returned 1: Error: No matching Packages to 
> list
>  
> /Stage[main]/Foreman::Plugin::Dhcp_browser/Foreman::Plugin[dhcp_browser]/Package[rubygem-foreman_dhcp_browser]/ensure:
>  
> change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 
> -y list rubygem-foreman_dhcp_browser' returned 1: Error: No matching 
> Packages to list
> Installing             Done                                               
> [100%] [.....................................................]
>   Something went wrong! Check the log for ERROR-level output
>   * Foreman is running at https://foreman-01.....
>       Initial credentials are admin / ............
>   * Foreman Proxy is running at https://foreman-01........:8443
>   * Puppetmaster is running at port 8140
>   The full log is at /var/log/foreman-installer/foreman.log
> [root@foreman-01 ~]# yum clean all
> Loaded plugins: fastestmirror
> Cleaning repos: base centos-sclo-rh centos-sclo-sclo epel extras foreman 
> foreman-plugins updates
> Cleaning up everything
> Cleaning up list of fastest mirrors
> [root@foreman-01 ~]# yum search foreman dhcp
> Loaded plugins: fastestmirror
> base                                                                          
>                                    
> | 3.6 kB  00:00:00
> centos-sclo-rh                                                                
>                                    
> | 2.9 kB  00:00:00
> centos-sclo-sclo                                                              
>                                    
> | 2.9 kB  00:00:00
> epel/x86_64/metalink                                                          
>                                    
> |  15 kB  00:00:00
> epel                                                                          
>                                    
> | 4.3 kB  00:00:00
> extras                                                                        
>                                    
> | 3.4 kB  00:00:00
> foreman                                                                       
>                                    
> | 2.9 kB  00:00:00
> foreman-plugins                                                               
>                                    
> | 2.9 kB  00:00:00
> updates                                                                       
>                                    
> | 3.4 kB  00:00:00
> (1/11): 
> base/7/x86_64/group_gz                                                        
>                            
> | 155 kB  00:00:00
> (2/11): 
> epel/x86_64/group_gz                                                          
>                            
> | 170 kB  00:00:00
> (3/11): 
> centos-sclo-sclo/x86_64/primary_db                                            
>                            
> | 117 kB  00:00:00
> (4/11): 
> base/7/x86_64/primary_db                                                      
>                            
> | 5.3 MB  00:00:01
> (5/11): 
> centos-sclo-rh/x86_64/primary_db                                              
>                            
> | 1.8 MB  00:00:01
> (6/11): 
> extras/7/x86_64/primary_db                                                    
>                            
> | 165 kB  00:00:00
> (7/11): 
> updates/7/x86_64/primary_db                                                   
>                            
> | 7.8 MB  00:00:00
> (8/11): 
> foreman-plugins/x86_64/primary_db                                             
>                            
> |  78 kB  00:00:00
> (9/11): 
> foreman/x86_64/primary_db                                                     
>                            
> | 144 kB  00:00:00
> (10/11): 
> epel/x86_64/updateinfo                                                        
>                           
> | 623 kB  00:00:01
> (11/11): 
> epel/x86_64/primary_db                                                        
>                           
> | 4.2 MB  00:00:02
> Determining fastest mirrors
>  * base: mirror.i3d.net
>  * epel: ftp.nluug.nl
>  * extras: ftp.nluug.nl
>  * updates: mirror.nl.leaseweb.net
> ====================================================== N/S matched: 
> foreman, dhcp ======================================================
> foreman-proxy.noarch : Restful Proxy for DNS, DHCP, TFTP, PuppetCA and 
> Puppet
> rubygem-smart_proxy_dhcp_infoblox.noarch : Infoblox DHCP provider plugin 
> for Foreman's smart proxy
> tfm-rubygem-foreman_dhcp_browser.noarch : DHCP browser plugin for Foreman
> tfm-rubygem-foreman_dhcp_browser-doc.noarch : Documentation for 
> rubygem-foreman_dhcp_browser
>
>   Full name and summary matches only, use "search all" for everything.
> [root@foreman-01 ~]#
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to