Hey all,

 I was able to setup puppetdb on my puppetmaster. I'm very happy I was able
to get that done.

And now that that's working I was hoping to get the puppetboard running.

But here's where I'm at so far:

http://puppetboard.jokefire.com/

I plan to put SSL and some basic auth on there once I get it working!

Here's what I'm seeing in the apache error logs:

[root@puppet:/etc/httpd/conf.d] #tail -f
/var/log/httpd/puppetboard_error_log
[Wed Oct 08 12:51:50 2014] [crit] [client 173.213.212.233] configuration
error:  couldn't perform authentication. AuthType not set!:
/static/js/lists.js, referer: http://puppetboard.jokefire.com/
[Wed Oct 08 12:52:21 2014] [crit] [client 173.213.212.233] configuration
error:  couldn't perform authentication. AuthType not set!:
/static/css/puppetboard.css, referer: http://puppetboard.jokefire.com/
[Wed Oct 08 12:52:21 2014] [crit] [client 173.213.212.233] configuration
error:  couldn't perform authentication. AuthType not set!:
/static/js/moment.js, referer: http://puppetboard.jokefire.com/
[Wed Oct 08 12:52:21 2014] [crit] [client 173.213.212.233] configuration
error:  couldn't perform authentication. AuthType not set!:
/static/js/timestamps.js, referer: http://puppetboard.jokefire.com/
[Wed Oct 08 12:52:21 2014] [crit] [client 173.213.212.233] configuration
error:  couldn't perform authentication. AuthType not set!:
/static/js/tables.js, referer: http://puppetboard.jokefire.com/
[Wed Oct 08 12:52:21 2014] [crit] [client 173.213.212.233] configuration
error:  couldn't perform authentication. AuthType not set!:
/static/js/lists.js, referer: http://puppetboard.jokefire.com/
[Wed Oct 08 12:52:22 2014] [crit] [client 173.213.212.233] configuration
error:  couldn't perform authentication. AuthType not set!:
/static/js/moment.js, referer: http://puppetboard.jokefire.com/
[Wed Oct 08 12:52:22 2014] [crit] [client 173.213.212.233] configuration
error:  couldn't perform authentication. AuthType not set!:
/static/js/timestamps.js, referer: http://puppetboard.jokefire.com/
[Wed Oct 08 12:52:22 2014] [crit] [client 173.213.212.233] configuration
error:  couldn't perform authentication. AuthType not set!:
/static/js/tables.js, referer: http://puppetboard.jokefire.com/
[Wed Oct 08 12:52:22 2014] [crit] [client 173.213.212.233] configuration
error:  couldn't perform authentication. AuthType not set!:
/static/js/lists.js, referer: http://puppetboard.jokefire.com/

And here's what I'm getting in my apache access logs:

[root@puppet:/etc/httpd/conf.d] #tail -f
/var/log/httpd/puppetboard_access_log
173.213.212.233 - - [08/Oct/2014:12:52:21 -0400] "GET / HTTP/1.1" 500 1034
"-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101
Firefox/32.0"
173.213.212.233 - - [08/Oct/2014:12:52:21 -0400] "GET
/static/css/puppetboard.css HTTP/1.1" 500 405 "
http://puppetboard.jokefire.com/"; "Mozilla/5.0 (Macintosh; Intel Mac OS X
10.9; rv:32.0) Gecko/20100101 Firefox/32.0"
173.213.212.233 - - [08/Oct/2014:12:52:21 -0400] "GET /static/js/moment.js
HTTP/1.1" 500 405 "http://puppetboard.jokefire.com/"; "Mozilla/5.0
(Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0"
173.213.212.233 - - [08/Oct/2014:12:52:21 -0400] "GET
/static/js/timestamps.js HTTP/1.1" 500 405 "http://puppetboard.jokefire.com/";
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101
Firefox/32.0"
173.213.212.233 - - [08/Oct/2014:12:52:21 -0400] "GET /static/js/tables.js
HTTP/1.1" 500 405 "http://puppetboard.jokefire.com/"; "Mozilla/5.0
(Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0"
173.213.212.233 - - [08/Oct/2014:12:52:21 -0400] "GET /static/js/lists.js
HTTP/1.1" 500 405 "http://puppetboard.jokefire.com/"; "Mozilla/5.0
(Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0"
173.213.212.233 - - [08/Oct/2014:12:52:22 -0400] "GET /static/js/moment.js
HTTP/1.1" 500 405 "http://puppetboard.jokefire.com/"; "Mozilla/5.0
(Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0"
173.213.212.233 - - [08/Oct/2014:12:52:22 -0400] "GET
/static/js/timestamps.js HTTP/1.1" 500 405 "http://puppetboard.jokefire.com/";
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101
Firefox/32.0"
173.213.212.233 - - [08/Oct/2014:12:52:22 -0400] "GET /static/js/tables.js
HTTP/1.1" 500 405 "http://puppetboard.jokefire.com/"; "Mozilla/5.0
(Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0"
173.213.212.233 - - [08/Oct/2014:12:52:22 -0400] "GET /static/js/lists.js
HTTP/1.1" 500 405 "http://puppetboard.jokefire.com/"; "Mozilla/5.0
(Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0"


Here's my apache vhost setup:

<VirtualHost *:80>
    ServerName puppetboard.jokefire.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.6/site-packages/puppetboard/static

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


And here are the permissions on those files and directories:

[root@puppet:/etc/httpd/conf.d] #ls -l /var/www/puppetboard/wsgi.py
-rw-r--r--. 1 apache apache 207 Oct  8 12:10 /var/www/puppetboard/wsgi.py

[root@puppet:/etc/httpd/conf.d] #ls -ld /var/www/puppetboard
drwxr-xr-x. 2 apache apache 4096 Oct  8 12:52 /var/www/puppetboard

[root@puppet:/etc/httpd/conf.d] #ls -ld
/usr/lib/python2.6/site-packages/puppetboard/static
drwxr-xr-x. 4 root root 4096 Oct  8 12:47
/usr/lib/python2.6/site-packages/puppetboard/static

And as you can see from the puppetdb logs it's chugging along fine:

[root@puppet:/etc/httpd/conf.d] #tail -f /var/log/puppetdb/puppetdb.log

2014-10-08 13:01:46,745 INFO  [c.p.p.command]
[da1bf5dc-cd15-4655-bd6b-ce593cf3b82c] [replace facts] monitor.mydomain.com

2014-10-08 13:01:48,390 INFO  [c.p.p.command]
[14591b81-3143-4e0c-bab4-9c9704b4154c] [replace catalog]
monitor.mydomain.com

2014-10-08 13:01:53,843 INFO  [c.p.p.command]
[cc21cae0-604d-4e82-9e5a-20f0e82119d6] [replace facts] ldap02.mydomain.com

2014-10-08 13:01:55,561 INFO  [c.p.p.command]
[66d3fb54-7fce-4bee-b476-e5394604cbb5] [replace catalog] ldap02.mydomain.com

2014-10-08 13:02:05,926 INFO  [c.p.p.command]
[c83c0c2e-a059-45a6-9387-8e8e376eff11] [replace facts] monitor.mydomain.com

2014-10-08 13:02:07,701 INFO  [c.p.p.command]
[75cbb0bd-c1c8-4568-b76e-ec30b919ffc2] [replace catalog]
monitor.mydomain.com

2014-10-08 13:02:15,191 INFO  [c.p.p.command]
[445fc847-3cac-422f-9db1-60564ec94e02] [replace facts] ldap02.mydomain.com

2014-10-08 13:02:16,712 INFO  [c.p.p.command]
[36727000-0d46-4144-a3b9-365cea6b42e3] [replace catalog] ldap02.mydomain.com

2014-10-08 13:02:24,614 INFO  [c.p.p.command]
[b97e1cf7-5b83-474c-b3bd-faafded3501c] [replace facts] monitor.mydomain.com

2014-10-08 13:02:26,857 INFO  [c.p.p.command]
[35d1a4f5-b4a8-4dab-99db-2a9a1c2648a0] [replace catalog]
monitor.mydomain.com

2014-10-08 13:02:36,968 INFO  [c.p.p.command]
[0efa1d3e-7252-4336-9e39-98bd8fbeccd5] [replace facts] ldap02.mydomain.com

2014-10-08 13:02:38,235 INFO  [c.p.p.command]
[bf6a874f-bc2c-4a7a-b5ad-8044dceae9ce] [replace catalog] ldap02.mydomain.com


I'd appreciate any advice you may have!


Thanks

Tim




-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

-- 
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/CAOZy0en%2B59ACu65nuRu813iiB3V-HPD9AzhOJ%2Bxb617nDTMBCg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to