Jira (PDB-4094) Investigate query unexpectedly returning 500

2020-01-09 Thread Robert Roland (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Robert Roland commented on  PDB-4094  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Investigate query unexpectedly returning 500   
 

  
 
 
 
 

 
 Okay cool - here's what happened when I ran it:  
 
 
 
 
 rroland@rroland-t470p:~$ curl -f -X POST http://localhost:8080/pdb/query/v4/nodes -H 'Content-Type:application/json' -d '{"query":["=","certname","unknowncertname"]}'  
 
 
 []  
 
 
 rroland@rroland-t470p:~$ echo $?  
 
 
 0
  
 
 
 
   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   




Jira (PDB-4094) Investigate query unexpectedly returning 500

2020-01-09 Thread Justin Stoller (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Justin Stoller commented on  PDB-4094  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Investigate query unexpectedly returning 500   
 

  
 
 
 
 

 
 No idea if this is still an issue. Scott doesn't work here anymore, btw. I think the idea was that querying for the certname field with a value that would not match would return a 500 vs an empty result set. If you're saying that no longer causes a 500 then I'm happy to see this closed as "Cannot Reproduce". I don't know if the "a node that has submitted its cert but not had it signed yet" is applicable (I don't think fact or report submission happens until after a cert is acquired).  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.276170.153728876.18857.1578613140192%40Atlassian.JIRA.


Jira (PDB-4094) Investigate query unexpectedly returning 500

2020-01-09 Thread Robert Roland (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Robert Roland commented on  PDB-4094  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Investigate query unexpectedly returning 500   
 

  
 
 
 
 

 
 Wow, this has been open for a while. Scott Garman Justin Stoller - do you know if this still an issue? The query doesn't seem to 500 - but I don't have a lot of data to work with.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.276170.153728876.18845.1578612480643%40Atlassian.JIRA.


Jira (PDB-4094) Investigate query unexpectedly returning 500

2019-11-06 Thread Robert Roland (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Robert Roland assigned an issue to Robert Roland  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 PuppetDB /  PDB-4094  
 
 
  Investigate query unexpectedly returning 500   
 

  
 
 
 
 

 
Change By: 
 Robert Roland  
 
 
Assignee: 
 Robert Roland  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.276170.153728876.22145.1573069261293%40Atlassian.JIRA.


Jira (PDB-4094) Investigate query unexpectedly returning 500

2018-09-18 Thread Justin Stoller (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Justin Stoller commented on  PDB-4094  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Investigate query unexpectedly returning 500   
 

  
 
 
 
 

 
 FWIW, Scott Garman found that behavior when searching for a node that had not had its cert signed yet. I thought it might be a bug.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDB-4094) Investigate query unexpectedly returning 500

2018-09-18 Thread Rob Browning (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rob Browning created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 PuppetDB /  PDB-4094  
 
 
  Investigate query unexpectedly returning 500   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2018/09/18 9:39 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Rob Browning  
 

  
 
 
 
 

 
 During 6.0.0 release testing, Justin Stoller saw this fail with an http status of 500: ``` reesult=`on_master "curl -f -X POST http://localhost:8080/pdb/query/v4/nodes -H 'Content-Type:application/json' -d '{\"query\":[\"=\",\"certname\",\"${agent_vm}\"]}' | /bin/jq ."` ```  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)