Puppet dashboard not enabling inventory

465 views
Skip to first unread message

Luke

unread,
Jan 9, 2013, 9:11:11 AM1/9/13
to puppet...@googlegroups.com
Hello,

My puppet dashboard is not enabling the inventory tab / node info even though I have:

enable_inventory_service set to true

Pointing to correct port for puppetdb and server in settings.yml.

Everything is wide open in auth.conf and puppetdb is working fine.

I mean regardless of what settings are set shouldn't I at least be able to see the inventory tab if enable_inventory_service is set to true?

Using dashboard 1.2.17.

Thanks for all the help!

Luke



Luke

unread,
Jan 9, 2013, 9:13:09 AM1/9/13
to puppet...@googlegroups.com
I should point out that I restarted the dashboard service after making changes.

Luke

unread,
Jan 10, 2013, 9:40:15 AM1/10/13
to puppet...@googlegroups.com
Has anyone else successfully got the puppet dashboard working with dashboard version 1.2.17 with puppet 3?


On Wednesday, January 9, 2013 10:11:11 AM UTC-4, Luke wrote:

Stefan Heijmans

unread,
Jan 10, 2013, 4:16:30 PM1/10/13
to puppet...@googlegroups.com
>>I mean regardless of what settings are set shouldn't I at least be able to see the inventory tab if enable_inventory_service is set to true?
Yes if you mean the one on top of the screen
If you click on a node when it's not configured correctly it shows;
Inventory
Could not retrieve facts from inventory service: getaddrinfo: Name or service not known

>>Pointing to correct port for puppetdb and server in settings.yml
my inventory_server & inventory_port parameters points to <puppetmaster server> <puppetmaster port 8140>

>>Has anyone else successfully got the puppet dashboard working with dashboard version 1.2.17 with puppet 3?
Yes on rhel63 with
puppet 3.0.2
puppet dashboard 1.2.18
puppetdb 1.0.5

Luke

unread,
Jan 11, 2013, 9:44:26 AM1/11/13
to puppet...@googlegroups.com
Thank you for your reply.

I am confused as to why it is not working then. I have this set exactly like this in my settings:

enable_inventory_service: true


It is like it isn't recognizing this setting. I have updated my dashboard to the same version as you with no change.

Erik Dalén

unread,
Jan 11, 2013, 10:21:35 AM1/11/13
to puppet...@googlegroups.com

As Stefan said you need to point it to your puppet master not your puppetdb server.

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/CVP1VZP7M6EJ.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Luke

unread,
Jan 11, 2013, 10:52:25 AM1/11/13
to puppet...@googlegroups.com
I think I found the problem:

** SettingsReader - Loading settings from file config/settings.yml. Using default values for unspecified settings "ca_certificate_path", "ca_crl_path", "ca_port", "ca_server", "certificate_path", "classes_per_page", "cn_name", "custom_logo_alt_text", "custom_logo_height", "custom_logo_url", "custom_logo_width", "daily_run_history_length", "date_format", "datetime_format", "disable_legacy_report_upload_url", "enable_inventory_service", "enable_read_only_mode", "file_bucket_port", "file_bucket_server", "groups_per_page", "inventory_port", "inventory_server", "key_length", "no_longer_reporting_cutoff", "nodes_per_page", "private_key_path", "public_key_path", "reports_per_page", "use_external_node_classification", and "use_file_bucket_diffs

For whatever reason it is not using my /usr/share/puppet-dashboard/config/settings.yml. I can put whatever in for my settings and it just keeps using the defaults. I checked and made sure that puppet-dashboard is the owner of the file.

Anyway to force it to use my settings and not the defaults?

Stefan Heijmans

unread,
Jan 11, 2013, 11:08:47 AM1/11/13
to puppet...@googlegroups.com
on what OS are you, read that for instance debian uses a different location for config files

Luke

unread,
Jan 11, 2013, 12:02:41 PM1/11/13
to puppet...@googlegroups.com
Centos 6.3

Luke

unread,
Jan 11, 2013, 12:03:12 PM1/11/13
to puppet...@googlegroups.com
Should point out that SELinux, firewall etc is all turned off.

Stefan Heijmans

unread,
Jan 11, 2013, 12:26:39 PM1/11/13
to puppet...@googlegroups.com
And if you create new settings.yml from settings.yml.example. Seems like like settings_reader.rb falls back to setings.yml.example if parameters are not correct in settings.yml. http://projects.puppetlabs.com/issues/14371
Or enable inventory in settings.yml.example?

Luke

unread,
Jan 11, 2013, 2:54:50 PM1/11/13
to puppet...@googlegroups.com
Ah figured out the problem. Not sure why this caused the issue but I had copied my http conf stuff out of a template and forgot to update the ServerName with the correct name after correcting this and restarting httpd and the dashboard it corrected the issue.

Thanks for the help guys!

GRANIER Bernard (MORPHO)

unread,
Jan 14, 2013, 4:14:24 AM1/14/13
to puppet...@googlegroups.com

Hi,

 

A point about dashboard has been said in this post flow:

 

Puppet dashboard may be deprecated ?

Could someone of Puppet Lab gives some information about that ?

 

Cordialement,

 

Bernard Granier

CE Plateforme Système

bernard...@morpho.com

01 58 11 32 51

--

You received this message because you are subscribed to the Google Groups "Puppet Users" group.

To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/jwsJ-UCuQcQJ.


To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

#
" This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system."
#

Erik Dalén

unread,
Jan 14, 2013, 7:35:01 AM1/14/13
to puppet...@googlegroups.com
--
Erik Dalén

GRANIER Bernard (MORPHO)

unread,
Jan 14, 2013, 8:28:53 AM1/14/13
to puppet...@googlegroups.com

Ok thanks

 

I think that a dashboard is a great things, I will look to foreman even if inventory seems missing in foreman.

 

Cordialement,

 

Bernard Granier

CE Plateforme Système

bernard...@morpho.com

01 58 11 32 51

 

Ohad Levy

unread,
Jan 14, 2013, 1:26:37 PM1/14/13
to Puppet Users

On Mon, Jan 14, 2013 at 3:28 PM, GRANIER Bernard (MORPHO) <bernard...@morpho.com> wrote:

I think that a dashboard is a great things, I will look to foreman even if inventory seems missing in foreman.


Not sure what you mean by that - we get plenty of inventory in foreman :)

Ohad

Reply all
Reply to author
Forward
0 new messages