Puppetdb dashboard is not shown in foreman

Hi,

I have a fresh installation of foreman (1.14) and puppetdb and are trying
to get puppetdb dashboard shown in foreman. Foreman detects and shows
puppetdbs version (4.4.0) but nothing else. The foreman log has the
following failure:
017-04-19 15:19:07 001789a3 [app] [I] Started GET "/pdb/dashboard/data" for
192.168.32.1 at 2017-04-19 15:19:07 +0000
2017-04-19 15:19:07 001789a3 [app] [F]
> ActionController::RoutingError (No route matches [GET]
"/pdb/dashboard/data"):
> lib/middleware/tagged_logging.rb:18:in `call'
>

I can view the puppetdbs dashboard on the server on
http://localhost:8080/pdb/dashboard and in forman

puppetdb_dashboard_address is set to 'http://localhost:8080/pdb/dashboard'

Any help?

Cheers

Hi Enemarke,

Do you have SELinux enabled in enforcing mode? If so, would you happen to be seeing an AVC denial?

Regards,

j

··· From: "enemarke" To: "Foreman Users" Sent: Wednesday, April 19, 2017 10:31:37 AM Subject: [foreman-users] puppetdb dashboard is not shown in foreman

Hi,

I have a fresh installation of foreman (1.14) and puppetdb and are trying to get puppetdb dashboard shown in foreman. Foreman detects and shows puppetdbs version (4.4.0) but nothing else. The foreman log has the following failure:
017 - 04 - 19 15 : 19 : 07 001789a3 [ app ] [ I ] Started GET “/pdb/dashboard/data” for 192.168 . 32.1 at 2017 - 04 - 19 15 : 19 : 07 + 0000
2017 - 04 - 19 15 : 19 : 07 001789a3 [ app ] [ F ]

ActionController :: RoutingError ( No route matches [ GET ] “/pdb/dashboard/data” ):
lib / middleware / tagged_logging . rb : 18 : in `call’

I can view the puppetdbs dashboard on the server on http://localhost:8080/pdb/dashboard and in forman

puppetdb_dashboard_address is set to ‘http://localhost:8080/pdb/dashboard

Any help?

Cheers


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [ mailto:foreman-users+unsubscribe@googlegroups.com | foreman-users+unsubscribe@googlegroups.com ] .
To post to this group, send email to [ mailto:foreman-users@googlegroups.com | foreman-users@googlegroups.com ] .
Visit this group at [ https://groups.google.com/group/foreman-users | https://groups.google.com/group/foreman-users ] .
For more options, visit [ https://groups.google.com/d/optout | https://groups.google.com/d/optout ] .

Hi,
Thanks for the reply.

Selinux is disabled:
[root@centos01 vagrant]# selinuxenabled
[root@centos01 vagrant]# echo $?
1

··· On Wednesday, April 19, 2017 at 9:11:48 PM UTC+2, Jason B. Nance wrote: > > Hi Enemarke, > > Do you have SELinux enabled in enforcing mode? If so, would you happen to > be seeing an AVC denial? > > Regards, > > j > > > ------------------------------ > *From: *"enemarke" <enem...@gmail.com > > *To: *"Foreman Users" <forema...@googlegroups.com > > *Sent: *Wednesday, April 19, 2017 10:31:37 AM > *Subject: *[foreman-users] puppetdb dashboard is not shown in foreman > > Hi, > > I have a fresh installation of foreman (1.14) and puppetdb and are trying > to get puppetdb dashboard shown in foreman. Foreman detects and shows > puppetdbs version (4.4.0) but nothing else. The foreman log has the > following failure: > 017-04-19 15:19:07 001789a3 [app] [I] Started GET "/pdb/dashboard/data" > for 192.168.32.1 at 2017-04-19 15:19:07 +0000 > 2017-04-19 15:19:07 001789a3 [app] [F] > > ActionController::RoutingError (No route matches [GET] > "/pdb/dashboard/data"): > > lib/middleware/tagged_logging.rb:18:in `call' > > > > > I can view the puppetdbs dashboard on the server on > http://localhost:8080/pdb/dashboard and in forman > > puppetdb_dashboard_address is set to 'http://localhost:8080/pdb/dashboard' > > Any help? > > Cheers > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-user...@googlegroups.com . > To post to this group, send email to forema...@googlegroups.com > . > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. >