Hi all,
Installed puppet open source 2.7.23 and puppet dashboard.
I have agents successfully talking to the master

Puppet dashboard gui works on port 3000
I can post successfully using a rest client to 
http://ph-puppet01.mylist.com:3000/reports/upload
puppetmaster service is running, puppet-dashboard service is running, 
puppet-dashboard-workers service is running

Agents are unable to report.

Puppetmaster logs:
Apr 16 09:11:44 ph-puppet01 puppet-master[12288]: Could not find node 
'ph-puppet01.mylist.com'; cannot compile
Apr 16 09:11:44 ph-puppet01 puppet-agent[5774]: Could not retrieve catalog 
from remote server: Error 400 on SERVER: Could not find node 
'ph-puppet01.mylist.com'; cannot compile
Apr 16 09:11:44 ph-puppet01 puppet-agent[5774]: Using cached catalog
Apr 16 09:11:44 ph-puppet01 puppet-agent[5774]: Could not retrieve catalog; 
skipping run
Apr 16 09:11:44 ph-puppet01 puppet-master[12288]: Report processor failed: 
Permission denied - connect(2)


Puppetmaster puppet.conf:
[main]
    # The Puppet log directory.
    # The default value is '$vardir/log'.
    logdir = /var/log/puppet
    modulepath = /etc/puppet/modules
    # Where Puppet PID files are kept.
    # The default value is '$vardir/run'.
    rundir = /var/run/puppet

    # Where SSL certificates are kept.
    # The default value is '$confdir/ssl'.
    ssldir = $vardir/ssl
    dns_alt_names=puppet,ph-puppet01.mylist.com,puppet.mylist.com

[master]
    # Puppet-Dashboard
    reports = store, http
    reporturl = http://ph-puppet01.mylist.com:3000/reports/upload
    node_terminus = exec
    external_nodes = /usr/bin/env 
PUPPET_DASHBOARD_URL=http://localhost:3000 
/opt/puppet-dashboard/bin/external_node

[agent]
    # The file in which puppetd stores a list of the classes
    # associated with the retrieved configuratiion.  Can be loaded in
    # the separate ``puppet`` executable using the ``--loadclasses``
    # option.
    # The default value is '$confdir/classes.txt'.
    classfile = $vardir/classes.txt

    # Where puppetd caches the local configuration.  An
    # extension indicating the cache format is added automatically.
    # The default value is '$confdir/localconfig'.
    localconfig = $vardir/localconfig
    server = ph-puppet01.mylist.com
    report = true
    pluginsync = true




Agent puppet.conf:
[main]
    # The Puppet log directory.
    # The default value is '$vardir/log'.
    logdir = /var/log/puppet

    # Where Puppet PID files are kept.
    # The default value is '$vardir/run'.
    rundir = /var/run/puppet

    # Where SSL certificates are kept.
    # The default value is '$confdir/ssl'.
    ssldir = $vardir/ssl

[agent]
    # The file in which puppetd stores a list of the classes
    # associated with the retrieved configuratiion.  Can be loaded in
    # the separate ``puppet`` executable using the ``--loadclasses``
    # option.
    # The default value is '$confdir/classes.txt'.
    classfile = $vardir/classes.txt

    # Where puppetd caches the local configuration.  An
    # extension indicating the cache format is added automatically.
    # The default value is '$confdir/localconfig'.
    localconfig = $vardir/localconfig
    server = ph-puppet01.mylist.com
    report = true
    pluginsync = true




Dashboard settings.yml:
#===[ Settings ]=========================================================
#
# This file is meant for storing setting information that is never
# published or committed to a revision control system.
#
# Do not modify this "config/settings.yml.example" file directly -- you
# should copy it to "config/settings.yml" and customize it there.
#
#---[ Values ]----------------------------------------------------------

# Node name to use when contacting the puppet master.  This is the
# CN that is used in Dashboard's certificate.
cn_name: 'dashboard'

ca_crl_path: 'certs/dashboard.ca_crl.pem'

ca_certificate_path: 'certs/dashboard.ca_cert.pem'

certificate_path: 'certs/dashboard.cert.pem'

private_key_path: 'certs/dashboard.private_key.pem'

public_key_path: 'certs/dashboard.public_key.pem'

# Hostname of the certificate authority.
ca_server: 'puppet'

# Port for the certificate authority.
ca_port: 8140

# Key length for SSL certificates
key_length: 1024

# The "inventory service" allows you to connect to a puppet master to 
retrieve and node facts
enable_inventory_service: true

# Hostname of the inventory server.
inventory_server: 'ph-puppet01.mylist.com'

# Port for the inventory server.
inventory_port: 8140

# Set this to true to allow Dashboard to display diffs on files that
# are archived in the file bucket.
use_file_bucket_diffs: false

# Hostname of the file bucket server.
file_bucket_server: 'puppet'

# Port for the file bucket server.
file_bucket_port: 8140

# Amount of time in seconds since last report before a node is considered 
no longer reporting
no_longer_reporting_cutoff: 3600

# How many days of history to display on the "Daily Run Status" graph
daily_run_history_length: 30

use_external_node_classification: true

# Uncomment the following line to set a local time zone.  Run
# "rake time:zones:local" for the name of your local time zone.
#time_zone: 'Pacific Time (US & Canada)'

# Look at http://ruby-doc.org/core/classes/Time.html#M000298 for the 
strftime formatting
datetime_format: '%Y-%m-%d %H:%M %Z'
date_format: '%A, %B %e, %Y'

# Set this to the URL of an image. The image will be scaled to the 
specified dimensions.
custom_logo_url: '/images/dashboard_logo.png'
custom_logo_width: 155px
custom_logo_height: 23px
custom_logo_alt_text: 'Puppet Dashboard'

# We will be deprecating using "http://dashboard_servername/reports"; as the 
puppet master's reporturl.
# Set this to 'true' once you have changed all your puppet masters to send 
reports to
# "http://dashboard_servername/reports/upload";
disable_legacy_report_upload_url: true

# Disables the UI and controller actions for editing nodes, classes, groups 
and reports.  Report submission is still allowed
enable_read_only_mode: false

# Default number of items of each kind to display per page
nodes_per_page: 20
classes_per_page: 50
groups_per_page: 50
reports_per_page: 20

#===[ fin ]=============================================================



Looking for thoughts regarding what I didn't configure correctly to allow 
agents to report.
Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/81340083-dc5a-4852-b831-42ee0463a5e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to