Project

General

Profile

Bug #7099

Updated by Dominic Cleal about 10 years ago

Import from Foreman-Proxy failed.  

 I have installed the following software packages on a Ubuntu 12.04 LTS 64bit: 

 ii    foreman                            1.5.1-1                             Systems management web interface 
 ii    foreman-mysql                      1.2.2+ubuntu1                       metapackage providing MySQL dependencies for Foreman 
 ii    foreman-proxy                      1.5.1-1                             RESTful proxies for DNS, DHCP, TFTP, and Puppet 
 ii    foreman-sqlite3                    1.5.1-1                             metapackage providing sqlite dependencies for Foreman 
 ii    puppet                             3.6.0-1puppetlabs1                  Centralized configuration management - agent startup and compatibility scripts 
 ii    puppet-common                      3.6.0-1puppetlabs1                  Centralized configuration management 
 ii    puppetmaster-common                3.6.0-1puppetlabs1                  Puppet master common scripts 
 ii    puppetmaster-passenger             3.6.0-1puppetlabs1                  Centralised configuration management - master setup to run under mod passenger 

 puppet.conf: 

 <pre> 
 [main] 
 logdir=/var/log/puppet 
 vardir=/var/lib/puppet 
 ssldir=/var/lib/puppet/ssl 
 rundir=/var/run/puppet 
 factpath=$vardir/lib/facter 
 templatedir=$confdir/templates 
 pluginsync=true 
 report=true 
 reports=log, foreman 

 [master] 
 # These are needed when the puppetmaster is run by passenger 
 # and can safely be removed if webrick is used. 
 ssl_client_header = SSL_CLIENT_S_DN 
 ssl_client_verify_header = SSL_CLIENT_VERIFY 
 external_nodes = /etc/puppet/external_node.rb 
 node_terminus    = exec 
 modulepath = etc/puppet/environments/$environment/modules 
 </pre> 

 


 /var/log/foreman-proxy/foreman-proxy.log: 

 I, [2014-08-15T09:54:17.106751 #2320]    INFO -- : Initializing from Puppet config file: /etc/puppet/puppet.conf 
 W, [2014-08-15T09:54:17.122250 #2320]    WARN -- : No environments found - falling back to defaults (production - /etc/puppet/modules) 
 I, [2014-08-15T09:54:17.237796 #2320]    INFO -- : Initializing from Puppet config file: /etc/puppet/puppet.conf 
 W, [2014-08-15T09:54:17.249576 #2320]    WARN -- : No environments found - falling back to defaults (production - /etc/puppet/modules) 
 I, [2014-08-15T09:54:17.249694 #2320]    INFO -- : Initializing from Puppet config file: /etc/puppet/puppet.conf 
 I, [2014-08-15T09:54:17.285022 #2320]    INFO -- : Initializing from Puppet config file: /etc/puppet/puppet.conf 

 Please help! 

Back