Hi,

I am trying to configure puppetboard in my environment. We are using 
opensource puppet.

Have a Seperate Puppet master, Postgres, puppetDB+puppetboard.

ERROR
=================================
Internal Server Error

This error usually occurs because:

   - We were unable to reach PuppetDB;
   - The query to be executed was malformed resulting in an incorrectly 
   encoded request.

Please have a look at the log output for further information.


Below is what I am doing.

Installed puppetboard using "pip install pythonboard"

settings.py
cat settings.py
PUPPETDB_HOST = 'sjc-it-pdb001.mydomain.com'
PUPPETDB_PORT = 8080
#PUPPETDB_SSL_VERIFY = /etc/puppetdb/ssl/ca.pem
#PUPPETDB_KEY = /etc/puppetdb/ssl/private.pem
#PUPPETDB_CERT = /etc/puppetdb/ssl/public.pem
PUPPETDB_TIMEOUT = 20
DEV_LISTEN_HOST = '127.0.0.1'
DEV_LISTEN_PORT = 5000
UNRESPONSIVE_HOURS = 2
ENABLE_QUERY = True
LOGLEVEL = 'info'

Apache Configuration File
=============================
<VirtualHost *:80>
    ServerName sjc-it-pdb001.mydomain.com
    WSGIDaemonProcess puppetboard user=apache group=apache threads=5
    WSGIScriptAlias / /var/www/puppetboard/wsgi.py
    ErrorLog /var/log/httpd/puppetboard.error.log
    CustomLog /var/log/httpd/puppetboard.access.log combined

    Alias /static /usr/lib/python2.7/site-packages/puppetboard/static
    <Directory /usr/lib/python2.7/site-packages/puppetboard/static>
        Satisfy Any
        Allow from all
    </Directory>

    <Directory /usr/lib/python2.7/site-packages/puppetboard>
        WSGIProcessGroup puppetboard
        WSGIApplicationGroup %{GLOBAL}
        Require all granted
    </Directory>
</VirtualHost>


-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/513d02c8-b2bd-40d5-9569-6abd6273dc8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to