On Fri, Jul 22, 2011 at 10:27 PM, Khoury Brazil <khoury.bra...@gmail.com> wrote: > Hi All, > > Puppet-dashboard appears to be having some trouble. Under inventory, it says: > "Could not retrieve facts from inventory service: Permission denied - > certs/dashboard.private_key.pem" > > When I run: > curl -k -H "Accept: yaml" https://puppet:8140/production/facts/host.domain > I get the expected dump of facts. > > Versions: > puppet-dashboard is 1.1.0 (using passenger) > puppet-master is 2.7.1 > > Went with an extremely loose config on test: > Puppet Master: > auth.conf: > path /facts > method find, search > auth any > allow * > > puppet.conf: > # Reporting > reporturl = http://puppetdashboard.domain/reports/upload > # Testing, to be changed to DB for prod > facts_terminus = yaml > > > Puppet Dashboard: > settings.yml: > # 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: 'puppet' > # Port for the inventory server. > inventory_port: 8140 > > Any ideas? I'm stumped at this point. It almost seems like the > dashboard isn't asking for inventory at all. I've restarted all > services with no change, on both the master and dashboard hosts. >
>From the "Permission denied - certs/dashboard.private_key.pem" message, it looks like the user as which Dashboard is running is unable to read its certs directory. Did you maybe run the cert-related rake tasks as root, when Dashboard runs as another user? Make sure that directory is readable by the appropriate user. > Thanks, > Khoury > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.