Here is the output and log file:
Output:
[root@foreman ~]# /etc/puppet/node.rb foreman.quicksand.identix.com
During the fact upload the server responded with: 403 Forbidden. Error is
ignored and the execution continues.
{
"error": {"message":"Access denied","details":"Missing one of the
required permissions: upload_facts"}
}
Error retrieving node foreman.quicksand.identix.com: Net::HTTPForbidden
Check Foreman's /var/log/foreman/production.log for more information.
/var/log/foreman/production.log file:
2016-10-14 09:09:14 2ac200ec [app] [I] Processing by
HostsController#externalNodes as YML
2016-10-14 09:09:14 2ac200ec [app] [I] Parameters:
{"name"=>"foreman.quicksand.identix.com"}
2016-10-14 09:09:14 2ac200ec [app] [W] No smart proxy server found on
["foreman.quicksand.identix.com", "puppet", "puppet.quicksand.identix.com"]
and is not in trusted_puppetmaster_hosts
2016-10-14 09:09:14 2ac200ec [app] [I] Redirected to
https://foreman.quicksand.identix.com/users/login
2016-10-14 09:09:14 2ac200ec [app] [I] Filter chain halted as
#<Proc:0x000000053e3230@/usr/share/foreman/app/controllers/concerns/foreman/controller/smart_proxy_auth.rb:14>
rendered or redirected
2016-10-14 09:09:14 2ac200ec [app] [I] Completed 403 Forbidden in 7ms
(ActiveRecord: 0.4ms)
On Thursday, October 13, 2016 at 4:35:10 PM UTC-5, Andrew Enstad wrote:
>
> Anyone else having issues with the install of Foreman 1.13?
>
> I have a Centos7 server that I have been trying to install Foreman 1.13,
> but it errors out when it tries to do the initial Puppet Run.
>
> Output from the foreman-installer:
>
> Running "puppet agent -t"...
> Warning: Unable to fetch my node definition, but the agent run will
> continue:
> Warning: Error 400 on SERVER: Failed to find <hostname> via exec:
> Execution of '/etc/puppet/node.rb <hostname>' returned 1:
> Info: Retrieving pluginfacts
> Info: Retrieving plugin
> Info: Loading facts
> Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
> Failed when searching for node <hostname>: Failed to find
> foreman.quicksand.identix.com via exec: Execution of
> '/etc/puppet/node.rb <hostname>' returned 1:
> Warning: Not using cache on failed catalog
> Error: Could not retrieve catalog; skipping run
> ERR: The puppet agent command has failed has failed.
>
> Output from /var/log/foreman/production.log:
>
> Oct 13 16:22:39 foreman puppet-master[7211]: Starting Puppet master
> version 3.8.7
> Oct 13 16:22:39 foreman puppet-master[7226]: The environment must be
> purely alphanumeric, not ''
> Oct 13 16:22:56 foreman puppet-master[7226]: Failed to find <hostname> via
> exec: Execution of '/etc/puppet/node.rb <hostname>' returned 1:
> Oct 13 16:22:56 foreman puppet-agent[7261]: Unable to fetch my node
> definition, but the agent run will continue:
> Oct 13 16:22:56 foreman puppet-agent[7261]: Error 400 on SERVER: Failed to
> find <hostname> via exec: Execution of '/etc/puppet/node.rb <hostname>'
> returned 1:
> Oct 13 16:22:56 foreman puppet-agent[7261]: Retrieving pluginfacts
> Oct 13 16:22:56 foreman puppet-agent[7261]: Retrieving plugin
> Oct 13 16:22:57 foreman puppet-agent[7261]: Loading facts
> Oct 13 16:22:59 foreman puppet-master[7226]: Failed when searching for
> node <hostname>: Failed to find <hostname> via exec: Execution of
> '/etc/puppet/node.rb <hostname>' returned 1:
> Oct 13 16:22:59 foreman puppet-master[7226]: Failed when searching for
> node <hostname>: Failed to find <hostname> via exec: Execution of
> '/etc/puppet/node.rb <hostname>' returned 1:
> Oct 13 16:22:59 foreman puppet-agent[7261]: Could not retrieve catalog
> from remote server: Error 400 on SERVER: Failed when searching for
> node <hostname>: Failed to find <hostname> via exec: Execution of
> '/etc/puppet/node.rb <hostname>' returned 1:
> Oct 13 16:22:59 foreman puppet-agent[7261]: Not using cache on failed
> catalog
> Oct 13 16:22:59 foreman puppet-agent[7261]: Could not retrieve catalog;
> skipping run
>
>
>
--
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.