Hi Wyatt,

Returned 200 with the version: 4.4.0

[root@master puppetdb]# curl -v 
http://master.dexter.com.br:8080/pdb/meta/v1/version
* About to connect() to master.dexter.com.br port 8080 (#0)
*   Trying 10.10.0.117...
* Connected to master.dexter.com.br (10.10.0.117) port 8080 (#0)
> GET /pdb/meta/v1/version HTTP/1.1
> User-Agent: curl/7.29.0
> Host: master.dexter.com.br:8080
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Thu, 20 Jul 2017 18:21:07 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 25
< Server: Jetty(9.2.z-SNAPSHOT)
<
{
  "version" : "4.4.0"
* Connection #0 to host master.dexter.com.br left intact


In the log /var/log/puppetlabs/puppetdb/puppetdb.log:

We are unable to create the recommended pg_trgm indexes due to
the extension not being installed correctly.  Run the command:

    CREATE EXTENSION pg_trgm;

as the database super user on the PuppetDB database to correct
this, then restart PuppetDB.

Can this impact the viewing of my PuppetDB?




Em quinta-feira, 20 de julho de 2017 15:13:38 UTC-3, Wyatt Alt escreveu:
>
> That's the behavior I'd expect -- I believe the issue is you're just not 
> hitting an endpoint. If you're trying to verify that the service is up 
> and running, the way we typically do that is with 
>
> curl http://localhost:8080/pdb/meta/v1/version 
>
> which should return a blob with a version number. 
>
> Wyatt 
>
>
> On 07/20/2017 08:28 AM, Alexandre Monteiro wrote: 
> > Hi folks, 
> > 
> > I'm installing PuppetDB on my desktop. All configuration of 
> > puppetserver, postgre is OK .. but occurring return 302 in my curl 
> > test. I read many forums and it still did not work .. 
> > Here is the error: 
> > 
> > # curl -v http://localhost:8080 
> > * About to connect() to localhost port 8080 (#0) 
> > *   Trying 127.0.0.1... 
> > * Connected to localhost (127.0.0.1) port 8080 (#0) 
> > > GET / HTTP/1.1 
> > > User-Agent: curl/7.29.0 
> > > Host: localhost:8080 
> > > Accept: */* 
> > > 
> > < HTTP/1.1 302 Found 
> > < Date: Thu, 20 Jul 2017 15:27:18 GMT 
> > < Location: /pdb/dashboard/index.html 
> > < Content-Length: 0 
> > < Server: Jetty(9.2.z-SNAPSHOT) 
> > < 
> > * Connection #0 to host localhost left intact 
> > 
> > Has anyone seen this yet? 
> > 
> > Tks!! 
> > 
> > -- 
> > 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] <javascript:> 
> > <mailto:[email protected] <javascript:>>. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/puppet-users/809eaf77-52b8-4451-be17-5556b8416943%40googlegroups.com
>  
> > <
> https://groups.google.com/d/msgid/puppet-users/809eaf77-52b8-4451-be17-5556b8416943%40googlegroups.com?utm_medium=email&utm_source=footer>.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>
>

-- 
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/70798eb8-e204-483d-8f3d-ce24c6e4d082%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to