Jira (FACT-1732) Facter core dump on large integers

2017-09-27 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley commented on  FACT-1732 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Facter core dump on large integers  
 
 
 
 
 
 
 
 
 
 
I definitely want to get this resolved ASAP if it's causing issues in the larger ecoystem. In the short term that probably stll means stringification, but longer-term I do want to be able to report large numbers correctly. Do the following steps seem reasonable to you? 
1) Stringify everything suspicious. This means ruby bignums become strings on the way in to Facter, and anything greater than 2^53 becomes a string on the way out. This is probably overkill, but gets us to a solid baseline for consistent behavior and will avoid gross misbehaviors. (this is a refinement of what I proposed above, essentially). 
2) Implement bignums internally. This will fix any numeric overflows in built-in facts (resolving disk sizes as negative, for example). This will also let us remove the stringification of Ruby values that are too large for 64-bit ints. We'll have to spend some time evaluating bignum libraries and getting our chosen one building across our supported platforms, so although this is a purely internal change, it's likely to be "effort", thus a step of its own. 
3) Once we're sure the Puppet ecosystem can handle large integers, disable stringification at the output boundaries. At this point everything is correctly typed again, and we can pretend that none of this every happened. This will be a larger cross-team effort internally, and probably will involve some external documentation updates about what our various APIs accept/provide. 
As for things like GCE IDs - we should be representing them as strings anyway. They may be made entirely of "digits", but they are logically single identifiers, not numbers. This is something we'll have to fix on a fact-by-fact basis, although turning large ints into strings at the various output boundaries should avoid compatibility issues in the medium term. 
If you haven't already, can you file tickets against puppetdb and puppetserver with the issues you've seen in those projects? I will want to round up with the appropriate folks internally in order to develop a larger "bignum plan", and having tickets for the failure cases will make that much easier. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
   

Jira (FACT-1732) Facter core dump on large integers

2017-09-27 Thread Trevor Vaughan (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Trevor Vaughan commented on  FACT-1732 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Facter core dump on large integers  
 
 
 
 
 
 
 
 
 
 
Branan Riley To your point about disk sizes...the default mountpoints fact returns both available_bytes and size_bytes as Integers. The disks fact also returns size_bytes as an Integer. 
If you have a representative disk with over 8 PB of space (not completely out of the question) then these facts will crash the system. 
My previous math was wrong - Ruby's max hits 4 Exabytes which is stretching it for current technologies, but the _javascript_ limit of 2^53-1 is not. 
Other items of note (default Facter) 
 

gce.instance.id => 4073115147758271314 (no idea how this is not crashing things, perhaps the hash burial is saving it)
 

gce.project.numericProjectId => 1064768239454 (no idea how big this might get)
 
 
My point is that you just don't know what any of this is going to be. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1732) Facter core dump on large integers

2017-09-27 Thread Trevor Vaughan (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Trevor Vaughan commented on  FACT-1732 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Facter core dump on large integers  
 
 
 
 
 
 
 
 
 
 
Branan Riley Things just got a lot more hairy with this particular issue - to put a fine point on it this could cause cascading failures across the entire puppet infrastructure from a single node's facts 
 

If you want to know exactly why we're grabbing kernel.shmall, we are using it to calculate the default number of shared memory pages in libvirt per optimization documentation that we found at some point
 

PuppetDB cannot handle this Integer and is spewing errors into /opt/puppetlabs/server/data/puppetdb/stockpile/discard without ever cleaning them up (we had 7.8G which filled our root partition) 
 

This was PuppetDB 4.3.0
 
 
 

Puppet Server 2.7.2 works properly, even with the facter error
 

Puppet Server 2.8.0 crashes completely and will not process catalogs
 
 
Given the fact that a number that can be readily plucked from the running system now crashes numerous components, I think that facter needs to either convert the value to a string on exception (should be easy), or should do something else to prevent a cascading environment failure. It needs to be in facter because it's the only gatekeeper to the system as a whole for a 'fail-fast' solution. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
  

Jira (FACT-1732) Facter core dump on large integers

2017-09-27 Thread Trevor Vaughan (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Trevor Vaughan updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1732 
 
 
 
  Facter core dump on large integers  
 
 
 
 
 
 
 
 
 

Change By:
 
 Trevor Vaughan 
 
 
 

Priority:
 
 Major Critical 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3695) Package GC spends a lot of time when there's probably very little to clean up

2017-09-27 Thread Nick Walker (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nick Walker updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-3695 
 
 
 
  Package GC spends a lot of time when there's probably very little to clean up  
 
 
 
 
 
 
 
 
 

Change By:
 
 Nick Walker 
 
 
 
 
 
 
 
 
 
 h1.  The ProblemIn our own PE install, we see that package GC spends 3-4 minutes every hour.  Since package GC rarely needs to clean up anything it should not run with every GC interval.    !Package_GC_Slowness.png|thumbnail!h1.  The solutionI don't see a way to make the query any faster.  Here's a query plan: https://explain.depesz.com/s/WjzVSo, I suspect the solution is just to run different parts of GC at different times instead of lumping them all together.  That's PDB-2428.  h1.  Workaround https://forge.puppet.com/npwalker/puppetdb_gc.   
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3695) Package GC spends a lot of time when there's probably very little to clean up

2017-09-27 Thread Nick Walker (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nick Walker updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-3695 
 
 
 
  Package GC spends a lot of time when there's probably very little to clean up  
 
 
 
 
 
 
 
 
 

Change By:
 
 Nick Walker 
 
 
 

CS Priority:
 
 Needs Priority 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3695) Package GC spends a lot of time when there's probably very little to clean up

2017-09-27 Thread Nick Walker (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nick Walker created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-3695 
 
 
 
  Package GC spends a lot of time when there's probably very little to clean up  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Attachments:
 

 Package_GC_Slowness.png 
 
 
 

Created:
 

 2017/09/27 7:39 PM 
 
 
 

Labels:
 

 tcse 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Nick Walker 
 
 
 
 
 
 
 
 
 
 
The Problem 
In our own PE install, we see that package GC spends 3-4 minutes every hour. Since package GC rarely needs to clean up anything it should not run with every GC interval.   
The solution 
I don't see a way to make the query any faster. Here's a query plan:  
https://explain.depesz.com/s/WjzV 
So, I suspect the solution is just to run different parts of GC at different times instead of lumping them all together. That's PDB-2428.  
Workaround  
https://forge.puppet.com/npwalker/puppetdb_gc.  
 
 
 
 
 
 
 
 

Jira (FACT-1765) Facter should not output a warning for a missing dmidecode component on Power Linux machines

2017-09-27 Thread Kenn Hussey (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kenn Hussey updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1765 
 
 
 
  Facter should not output a warning for a missing dmidecode component on Power Linux machines  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kenn Hussey 
 
 
 

Flagged:
 
 Impediment 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3692) PDB migration error due to facts deduplication and null values

2017-09-27 Thread Kenn Hussey (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kenn Hussey updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-3692 
 
 
 
  PDB migration error due to facts deduplication and null values  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kenn Hussey 
 
 
 

Flagged:
 
 Impediment 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3693) Prepare PupppetDB 5.1.1 release for Platform 5.3.1 (2017-09-29)

2017-09-27 Thread Molly Waggett (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Molly Waggett commented on  PDB-3693 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Prepare PupppetDB 5.1.1 release for Platform 5.3.1 (2017-09-29)  
 
 
 
 
 
 
 
 
 
 
Russell Mull Rob Browning Jeff Yarnell plase create an RE ticket for this release. If you're not going to follow the workflow in winston (which I admit may be out of date), at least please give RE a heads up when you are planning for a release. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3694) (DO NOT MERGE) Empty commit to test PR pipelines

2017-09-27 Thread gepetto-bot (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 gepetto-bot created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-3694 
 
 
 
  (DO NOT MERGE) Empty commit to test PR pipelines  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2017/09/27 5:14 PM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 gepetto-bot 
 
 
 
 
 
 
 
 
 
 
testin' jenkins fix 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   

Jira (PDB-3693) Prepare PupppetDB 5.1.1 release for Platform 5.3.1 (2017-09-29)

2017-09-27 Thread Jeff Yarnell (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jeff Yarnell updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-3693 
 
 
 
  Prepare PupppetDB 5.1.1 release for Platform 5.3.1 (2017-09-29)  
 
 
 
 
 
 
 
 
 

Change By:
 
 Jeff Yarnell 
 
 
 

Sprint:
 
 Hopper Data Platform 2017-10-04 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3693) Prepare PupppetDB 5.1.1 release for Platform 5.3.1 (2017-09-29)

2017-09-27 Thread Jeff Yarnell (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jeff Yarnell updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-3693 
 
 
 
  Prepare PupppetDB 5.1.1 release for Platform 5.3.1 (2017-09-29)  
 
 
 
 
 
 
 
 
 

Change By:
 
 Jeff Yarnell 
 
 
 
 
 
 
 
 
 
 Create PuppetDB  5.1.1  release for inclusion with Platform 5. 4 3 . 0 1  release . As of 20-Sep, the release 'Ready for Hardening' date is Nov 8,  (ready to ship  2017 -09-29) .     See Platform Release Central [https://confluence.puppetlabs.com/display/PM/Platform+Release+Central] 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3693) Prepare PupppetDB 5.1.1 release for Platform 5.3.1 (2017-09-29)

2017-09-27 Thread Jeff Yarnell (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jeff Yarnell created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-3693 
 
 
 
  Prepare PupppetDB 5.1.1 release for Platform 5.3.1 (2017-09-29)  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Task 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2017/09/27 4:41 PM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Jeff Yarnell 
 
 
 
 
 
 
 
 
 
 
Create PuppetDB release for inclusion with Platform 5.4.0 release. As of 20-Sep, the release 'Ready for Hardening' date is Nov 8, 2017.  
See Platform Release Central https://confluence.puppetlabs.com/display/PM/Platform+Release+Central 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 

Jira (PDB-3692) PDB migration error due to facts deduplication and null values

2017-09-27 Thread Russell Mull (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Russell Mull commented on  PDB-3692 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: PDB migration error due to facts deduplication and null values  
 
 
 
 
 
 
 
 
 
 
yeah, should be fine.  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3692) PDB migration error due to facts deduplication and null values

2017-09-27 Thread Kenn Hussey (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kenn Hussey moved an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-3692 
 
 
 
  PDB migration error due to facts deduplication and null values  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kenn Hussey 
 
 
 

Fix Version/s:
 
 PE Hoyt 
 
 
 

Fix Version/s:
 
 PDB 5.1.1 
 
 
 

Component/s:
 
 PuppetDB 
 
 
 

Key:
 
 PE PDB - 22465 3692 
 
 
 

Project:
 
 Puppet Enterprise [Internal] PuppetDB 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this 

Jira (PUP-7940) Support task diagnostics in a plan

2017-09-27 Thread Eric Sorenson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Sorenson updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7940 
 
 
 
  Support task diagnostics in a plan  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Sorenson 
 
 
 

Sprint:
 
 Tasks Kanban 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-7940) Support task diagnostics in a plan

2017-09-27 Thread Eric Sorenson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Sorenson commented on  PUP-7940 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Support task diagnostics in a plan  
 
 
 
 
 
 
 
 
 
 
I don't think this needs to be done for the next release. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-7967) Add a file_upload() function

2017-09-27 Thread John Duarte (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Duarte assigned an issue to Unassigned 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7967 
 
 
 
  Add a file_upload() function   
 
 
 
 
 
 
 
 
 

Change By:
 
 John Duarte 
 
 
 

Assignee:
 
 John Duarte 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-7967) Add a file_upload() function

2017-09-27 Thread John Duarte (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Duarte commented on  PUP-7967 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Add a file_upload() function   
 
 
 
 
 
 
 
 
 
 
This fails functional review with bolt at SHA 0da2522defbe64a4e0eeb4a1673de40ef38fe6d9 and puppet at SHA 5db46ddc15e32a6d9ff2281ff0ee35d955bf6c9e. 
Steps to recreate 
Create module with plan using the file_upload function 
 
 
 
 
 
 
mkdir -p /tmp/modules/test/{plans,files} 
 
 
 
 
cat << EOF > /tmp/modules/test/plans/my_plan.pp 
 
 
 
 
plan test::my_plan(\$nodes, \$dest) { 
 
 
 
 
  \$nodes_array = \$nodes.split(',') 
 
 
 
 
  file_upload(find_file('test/hostname.sh'), \$dest, \$nodes_array ) 
 
 
 
 
} 
 
 
 
 
EOF 
 
 
 
 
cat << EOF > /tmp/modules/test/files/hostname.sh 
 
 
 
 
#!/bin/sh 
 
 
 
 
hostname -f 

Jira (PUP-7979) Add a run_command() function

2017-09-27 Thread John Duarte (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Duarte assigned an issue to Unassigned 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7979 
 
 
 
  Add a run_command() function  
 
 
 
 
 
 
 
 
 

Change By:
 
 John Duarte 
 
 
 

Assignee:
 
 John Duarte 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-7980) Add a run_script() function to enable this bolt feature from the language

2017-09-27 Thread John Duarte (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Duarte assigned an issue to Unassigned 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7980 
 
 
 
  Add a run_script() function to enable this bolt feature from the language  
 
 
 
 
 
 
 
 
 

Change By:
 
 John Duarte 
 
 
 

Assignee:
 
 John Duarte 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-7979) Add a run_command() function

2017-09-27 Thread John Duarte (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Duarte commented on  PUP-7979 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Add a run_command() function  
 
 
 
 
 
 
 
 
 
 
This fails functional review with bolt at SHA 0da2522defbe64a4e0eeb4a1673de40ef38fe6d9 and puppet at SHA 5db46ddc15e32a6d9ff2281ff0ee35d955bf6c9e. 
Steps to recreate 
Create module with plan using the run_command function 
 
 
 
 
 
 
mkdir -p /tmp/modules/test/{plans,files} 
 
 
 
 
cat << EOF > /tmp/modules/test/plans/my_plan.pp 
 
 
 
 
plan test::my_plan(\$nodes) { 
 
 
 
 
  \$nodes_array = \$nodes.split(',') 
 
 
 
 
  run_command('hostname -f', \$nodes_array ) 
 
 
 
 
} 
 
 
 
 
EOF 
 
 
 
 
cat << EOF > /tmp/modules/test/files/hostname.sh 
 
 
 
 
#!/bin/sh 
 
 
 
 
hostname -f 
 
   

Jira (PUP-7980) Add a run_script() function to enable this bolt feature from the language

2017-09-27 Thread John Duarte (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Duarte commented on  PUP-7980 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Add a run_script() function to enable this bolt feature from the language  
 
 
 
 
 
 
 
 
 
 
This fails functional review with bolt at SHA 0da2522defbe64a4e0eeb4a1673de40ef38fe6d9 and puppet at SHA 5db46ddc15e32a6d9ff2281ff0ee35d955bf6c9e. 
Steps to recreate 
Create module with plan using the run_script function 
 
 
 
 
 
 
mkdir -p /tmp/modules/test/{plans,files} 
 
 
 
 
cat << EOF > /tmp/modules/test/plans/my_plan.pp 
 
 
 
 
plan test::my_plan(\$nodes) { 
 
 
 
 
  \$nodes_array = \$nodes.split(',') 
 
 
 
 
  run_script(find_file('test/hostname.sh'), \$nodes_array ) 
 
 
 
 
} 
 
 
 
 
EOF 
 
 
 
 
cat << EOF > /tmp/modules/test/files/hostname.sh 
 
 
 
 
#!/bin/sh 
 
 
 
 
hostname -f 
  

Jira (PDB-3684) PDB performance issues with large structured facts

2017-09-27 Thread Jeff Yarnell (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jeff Yarnell updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-3684 
 
 
 
  PDB performance issues with large structured facts  
 
 
 
 
 
 
 
 
 

Change By:
 
 Jeff Yarnell 
 
 
 

Sprint:
 
 Data Platform 2017-10-18 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6986) Service provider fails when hasstatus => false and the output of 'ps -ef' happens to contains non-ASCII chars

2017-09-27 Thread Adrien Thebo (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Adrien Thebo assigned an issue to Unassigned 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6986 
 
 
 
  Service provider fails when hasstatus => false and the output of 'ps -ef' happens to contains non-ASCII chars   
 
 
 
 
 
 
 
 
 

Change By:
 
 Adrien Thebo 
 
 
 

Assignee:
 
 Adrien Thebo 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-8000) Puppet lookup should be aware of node classification class parameters

2017-09-27 Thread Past Haus (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Past Haus created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-8000 
 
 
 
  Puppet lookup should be aware of node classification class parameters  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Improvement 
 
 
 

Assignee:
 
 Thomas Hallgren 
 
 
 

Attachments:
 

 Screen Shot 2017-09-27 at 1.17.28 PM.png 
 
 
 

Components:
 

 Hiera & Lookup 
 
 
 

Created:
 

 2017/09/27 1:21 PM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Past Haus 
 
 
 
 
 
 
 
 
 
 
Currently puppet lookup will do a lookup based on hiera backends and report back what the value for a given key is. In PE, this falls short because there may be class parameters applied at the node classifier level. Puppet lookup should take the node classifier into account when returning the lookup, as it will trump any other value. 
For example, in the attached screenshot I have set java_args on the orchestrator profile in the classifier to include Xms of 128m. 
When running puppet lookup puppet_enterprise::profile::orchestrator::java_args I would expect to see a return of a hash with a key of "Xms" and a value of "128m", but lookup returns the empty string. 
 
 
 
 
 
 

Jira (PUP-7999) Puppet Lookup should be easily used as a library in other applications

2017-09-27 Thread Past Haus (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Past Haus created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7999 
 
 
 
  Puppet Lookup should be easily used as a library in other applications  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Improvement 
 
 
 

Affects Versions:
 

 PUP 5.0.0 
 
 
 

Assignee:
 
 Thomas Hallgren 
 
 
 

Components:
 

 Hiera & Lookup 
 
 
 

Created:
 

 2017/09/27 1:12 PM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Past Haus 
 
 
 
 
 
 
 
 
 
 
Currently in PE, the pe_infrastructure and pe_manager modules end up recreated a large amount of the puppet lookup application logic to do lookups without shelling out to puppet (which would be expensive). It would be far better if puppet itself exposed the lookup as an easy to use method for other applications. Ideally, if I knew the node name, environment name, and a list of keys to lookup, I should be able to invoke the method to retrieve those lookups. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 

Jira (FACT-1764) Error message with zpool_vesion fact when zfs service is installed bt not running

2017-09-27 Thread Lucien Weller (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Lucien Weller updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1764 
 
 
 
  Error message with zpool_vesion fact when zfs service is installed bt not running  
 
 
 
 
 
 
 
 
 

Change By:
 
 Lucien Weller 
 
 
 
 
 
 
 
 
 
 When zfs-fuse is installed but zfs service not running, facter reports the following error message:{code}connect: Aucun fichier ou dossier de ce typePlease make sure that the zfs-fuse daemon is running.internal error: failed to initialize ZFS library{code}The reason is similar to issue FACT-473 reported earlier and fixed in between. This issue is specially annoying on Fedora, as zfs-fuse is installed a dependency of libvirt also if zfs is not in use. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1764) Error message with zpool_vesion fact when zfs service is installed bt not running

2017-09-27 Thread Lucien Weller (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Lucien Weller updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1764 
 
 
 
  Error message with zpool_vesion fact when zfs service is installed bt not running  
 
 
 
 
 
 
 
 
 

Change By:
 
 Lucien Weller 
 
 
 

Environment:
 
 When zfs-fuse is installed but zfs service not running, facter reports the following error message:{code}connect: Aucun fichier ou dossier de ce typePlease make sure that the zfs-fuse daemon is running.internal error: failed to initialize ZFS library{code}The reason is similar to issue FACT-473 reported earlier and fixed in between. This issue is specially annoying on Fedora, as zfs-fuse is installed a dependency of libvirt also if zfs is not in use. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-2398) PuppetDB should enable emergency deletion of historical data

2017-09-27 Thread Nick Walker (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nick Walker updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-2398 
 
 
 
  PuppetDB should enable emergency deletion of historical data  
 
 
 
 
 
 
 
 
 

Change By:
 
 Nick Walker 
 
 
 
 
 
 
 
 
 
 When a disk fills up on a database server, it is useful to have an option for reducing the disk space used without deleting data used by catalog compilation or requiring an increase in disk space. Disk increases can be infeasible or may require a long change cycle during which the Puppet infrastructure is inoperative.h2. Historical ContextIn PuppetDB 2.x disk usage could be reduced in an emergency by truncating the reports table, which is often the largest table in the database by several orders of magnitude. This would return large amounts of space to the operating system, enabling further maintenance operations, while keeping exported resources intact for catalog compilation:{noformat}# PE 3.8.x# sudo -u pe-postgres /opt/puppet/bin/psql -d pe-puppetdbcould not change directory to "/root"psql (9.2.14)Type "help" for help.pe-puppetdb=# SELECT count(*) FROM catalog_resources WHERE exported = true; count--- 5(1 row)pe-puppetdb=# TRUNCATE TABLE reports CASCADE;NOTICE:  truncate cascades to table "resource_events"NOTICE:  truncate cascades to table "latest_reports"TRUNCATE TABLEpe-puppetdb=# SELECT count(*) FROM catalog_resources WHERE exported = true; count--- 5(1 row){noformat}In 2015.3.x, the TRUNCATE operation now cascades beyond the tables related to reporting and wipes out exported resources, which negatively impacts catalog compilation:{noformat}# PE 2015.x# sudo -u pe-postgres /opt/puppetlabs/server/bin/psql -d pe-puppetdbcould not change directory to "/root": Permission deniedpsql (9.4.5)Type "help" for help.pe-puppetdb=# SELECT count(*) FROM catalog_resources WHERE exported = true; count--- 6(1 row)pe-puppetdb=# TRUNCATE TABLE reports CASCADE;NOTICE:  truncate cascades to table "certnames"NOTICE:  truncate cascades to table "resource_events"NOTICE:  truncate cascades to table "factsets"NOTICE:  truncate cascades to table "catalogs"NOTICE:  truncate cascades to table "facts"NOTICE:  truncate cascades to table "catalog_resources"TRUNCATE TABLEpe-puppetdb=# SELECT count(*) FROM catalog_resources WHERE exported = true; count--- 0(1 row){noformat}h2. Desired FunctionalityPuppetDB should allow for emergency removal of historical data without impacting catalog compilation or requiring changes to disk space allocation.h1.  Workaround  / Proposed Implementation {code} # cat /tmp/emergency_delete.sql echo " BEGIN TRANSACTION;ALTER TABLE certnames DROP CONSTRAINT IF EXISTS certnames_reports_id_fkey;UPDATE certnames SET latest_report_id = NULL;TRUNCATE TABLE reports CASCADE;ALTER TABLE certnames ADD CONSTRAINT "certnames_reports_id_fkey" FOREIGN KEY (latest_report_id) REFERENCES reports(id) ON DELETE SET NULL;COMMIT TRANSACTION; " > /tmp/emergency_delete.sql {code}{code}# su - pe-postgres -s /bin/bash -c "/opt/puppetlabs/server/bin/psql -d pe-puppetdb -f /tmp/emergency_delete.sql"BEGINALTER TABLEUPDATE 1psql:/tmp/emergency_delete.sql:7: NOTICE:  truncate cascades to table "resource_events"TRUNCATE TABLEALTER TABLECOMMIT{code} 
 
 
 
 
 

Jira (PDB-2487) Allow for a "resource-events-ttl" to reduce the number of days of events that are stored

2017-09-27 Thread Nick Walker (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nick Walker updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-2487 
 
 
 
  Allow for a "resource-events-ttl" to reduce the number of days of events that are stored  
 
 
 
 
 
 
 
 
 

Change By:
 
 Nick Walker 
 
 
 
 
 
 
 
 
 
 Currently we store report-ttl days of events in the resource_events table in the puppetdb database.  Some customers have performance issues using the API endpoints that read from resource_events that could be mitigated or resolved by reducing the number of days of events that are stored in that table.  In cases where customers would like to store more reports like 30-60 days of reports they may not desire storing that many days of events as events tend to be more useful for watching things that changed recently.  I would be good to have an option to seperate these concerns and allow customers to tune in production for their own preferences.  Side note: I'm not tied to the name "resource-events-ttl" I just figured people would know what I meant by reading that.   Delete Query: {code}DELETE FROM resource_events WHERE timestamp < NOW() - INTERVAL '1 days';{code} Bash code: {code}echo "DELETE FROM resource_events WHERE timestamp < NOW() - INTERVAL '1 days';" > /tmp/delete_resource_events.sqlsu - pe-postgres -s /bin/bash -c "/opt/puppetlabs/server/bin/psql -d pe-puppetdb -f /tmp/delete_resource_events.sql"{code} h1.  Another thoughtIf implemented would resource-events-ttl have it's own GC API command or would it just fall under report-ttl?  It could probably just be under the report-ttl but should run before the delete from reports does.   
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
 

Jira (FACT-1763) Facter acceptance tests fail on POWER Linux machines

2017-09-27 Thread Enis Inan (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Enis Inan commented on  FACT-1763 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Facter acceptance tests fail on POWER Linux machines  
 
 
 
 
 
 
 
 
 
 
This should be fixed by FACT-1765 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-2487) Allow for a "resource-events-ttl" to reduce the number of days of events that are stored

2017-09-27 Thread Nick Walker (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nick Walker updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-2487 
 
 
 
  Allow for a "resource-events-ttl" to reduce the number of days of events that are stored  
 
 
 
 
 
 
 
 
 

Change By:
 
 Nick Walker 
 
 
 
 
 
 
 
 
 
 Currently we store report-ttl days of events in the resource_events table in the puppetdb database.  Some customers have performance issues using the API endpoints that read from resource_events that could be mitigated or resolved by reducing the number of days of events that are stored in that table.  In cases where customers would like to store more reports like 30-60 days of reports they may not desire storing that many days of events as events tend to be more useful for watching things that changed recently.  I would be good to have an option to seperate these concerns and allow customers to tune in production for their own preferences.  Side note: I'm not tied to the name "resource-events-ttl" I just figured people would know what I meant by reading that.  {code}DELETE FROM resource_events WHERE timestamp < NOW() - INTERVAL ' 4 1  days';{code}h1.  Another thoughtIf implemented would resource-events-ttl have it's own GC API command or would it just fall under report-ttl?  It could probably just be under the report-ttl but should run before the delete from reports does.   
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 

Jira (FACT-1765) Facter should not output a warning for a missing dmidecode component on Power Linux machines

2017-09-27 Thread Kenn Hussey (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kenn Hussey updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1765 
 
 
 
  Facter should not output a warning for a missing dmidecode component on Power Linux machines  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kenn Hussey 
 
 
 

Flagged:
 
 Impediment 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1755) Bump facter version to 3.9.2

2017-09-27 Thread Kenn Hussey (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kenn Hussey updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1755 
 
 
 
  Bump facter version to 3.9.2  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kenn Hussey 
 
 
 

Summary:
 
 Bump facter version to 3.9. 1 2 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1765) Facter should not output a warning for a missing dmidecode component on Power Linux machines

2017-09-27 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1765 
 
 
 
  Facter should not output a warning for a missing dmidecode component on Power Linux machines  
 
 
 
 
 
 
 
 
 

Change By:
 
 Branan Riley 
 
 
 

Fix Version/s:
 
 FACT 3.9.z 
 
 
 

Fix Version/s:
 
 FACT 3.9.2 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-3263) Architecture Parameter for Package Resource

2017-09-27 Thread Casey Williams (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Casey Williams updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-3263 
 
 
 
  Architecture Parameter for Package Resource  
 
 
 
 
 
 
 
 
 

Change By:
 
 Casey Williams 
 
 
 

Comment:
 
 A comment with security level 'Developers' was removed. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3691) Update 5.1.x puppetserver-version to 5.1.0

2017-09-27 Thread Rob Browning (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Rob Browning updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-3691 
 
 
 
  Update 5.1.x puppetserver-version to 5.1.0  
 
 
 
 
 
 
 
 
 

Change By:
 
 Rob Browning 
 
 
 

Summary:
 
 Update 5.1.x  clj  puppetserver - parent version  to  match puppetserver  5.1. x 0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3691) Update 5.1.x clj-parent to match puppetserver 5.1.x

2017-09-27 Thread Rob Browning (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Rob Browning created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-3691 
 
 
 
  Update 5.1.x clj-parent to match puppetserver 5.1.x  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2017/09/27 10:01 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Rob Browning 
 
 
 
 
 
 
 
 
 
 
5.1.x is still testing against puppetserver 5.0.0, and we also want to fix this before Morgan overhauls the pipelines. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 

Jira (PDB-3691) Update 5.1.x clj-parent to match puppetserver 5.1.x

2017-09-27 Thread Rob Browning (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Rob Browning assigned an issue to Rob Browning 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-3691 
 
 
 
  Update 5.1.x clj-parent to match puppetserver 5.1.x  
 
 
 
 
 
 
 
 
 

Change By:
 
 Rob Browning 
 
 
 

Assignee:
 
 Rob Browning 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1765) Facter should not output a warning for a missing dmidecode component on Power Linux machines

2017-09-27 Thread Enis Inan (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Enis Inan updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1765 
 
 
 
  Facter should not output a warning for a missing dmidecode component on Power Linux machines  
 
 
 
 
 
 
 
 
 

Change By:
 
 Enis Inan 
 
 
 

Sprint:
 
 Platform OS  Grooming  2017-10-03 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (FACT-1763) Facter acceptance tests fail on POWER Linux machines

2017-09-27 Thread Enis Inan (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Enis Inan commented on  FACT-1763 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Facter acceptance tests fail on POWER Linux machines  
 
 
 
 
 
 
 
 
 
 
Update: https://jenkins-master-prod-1.delivery.puppetlabs.net/view/puppet-agent/view/1.10.x/view/Non-Standard/job/platform_puppet-agent_intn-van-sys_suite-secondary-puppet-1.10.x/29/ 
Looks like the changes here failed the Puppet acceptance tests. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-7998) Add an Error data type to puppet

2017-09-27 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg assigned an issue to Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7998 
 
 
 
  Add an Error data type to puppet  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Assignee:
 
 Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-7998) Add an Error data type to puppet

2017-09-27 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7998 
 
 
 
  Add an Error data type to puppet  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Improvement 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2017/09/27 7:52 AM 
 
 
 

Fix Versions:
 

 PUP 5.4.0 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Henrik Lindberg 
 
 
 
 
 
 
 
 
 
 
It is of value to describe a value as being an Error[kind, issue_code] - a kind of exceptional result that can be returned from functions and passed around. 
An error type is parameterised with a "kind" discriminator - a missing parameter means "all kinds". A "kind" is a string that should follow certain conventions, but is not required to. It is typically a string on the form authority/name where authority is something like "puppetlabs" or "puppet", or the loose notion of "author" (the authority that controls what is valid as a kind-name). The type parameter can be given as Variant[String, Regexp, Type[Enum], Type[Pattern], Type[Any] ], where a given String is the same as an Enum with that single value, and Regexp }}is the same as {{Pattern with that single regexp). An Error[Any] is the same as Error. 
The issue code type parameter is of the same type as kind, but here it is expected that than an issue code (without structure) is used. 
As an example, the type Error[Any, "SYNTAX_ERROR"] would match all error objects from any authority using an issue code of "SYNTAX_ERROR". An Error[/^puppet/] would match all errors with "puppet..." as the authority. 
An error instance is described by: 
 

Jira (PUP-7997) add loading tasks and plans from an "init" named element to name it after containing module

2017-09-27 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7997 
 
 
 
  add loading tasks and plans from an "init" named element to name it after containing module  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Improvement 
 
 
 

Assignee:
 
 Thomas Hallgren 
 
 
 

Created:
 

 2017/09/27 7:24 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Henrik Lindberg 
 
 
 
 
 
 
 
 
 
 
In order to enable introducing tasks and plans named the same as the module they are contained in, the standard "puppet way" is to use the special name "init" (as in "tasks/init.sh" for a task, and "plans/init.pp" for a plan) to define a task/plan with the name of the module it is contained in. 
For a plan, the contained plan must be named after the module - for example, in a module "foo", its "plans/init.pp" file must contain the definition plan foo(). 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

   

Jira (PUP-7793) Puppet agent replacing transactionstore.yaml on first run after boot

2017-09-27 Thread Craig Gomes (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Craig Gomes updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7793 
 
 
 
  Puppet agent replacing transactionstore.yaml on first run after boot  
 
 
 
 
 
 
 
 
 

Change By:
 
 Craig Gomes 
 
 
 

Sprint:
 
 Windows Kanban 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6429) Provide a way to install SSL certs on Windows machines

2017-09-27 Thread Craig Gomes (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Craig Gomes updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6429 
 
 
 
  Provide a way to install SSL certs on Windows machines   
 
 
 
 
 
 
 
 
 

Change By:
 
 Craig Gomes 
 
 
 

Sprint:
 
 Windows Kanban 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6355) Review page: Troubleshooting Puppet for Windows

2017-09-27 Thread Craig Gomes (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Craig Gomes updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6355 
 
 
 
  Review page: Troubleshooting Puppet for Windows   
 
 
 
 
 
 
 
 
 

Change By:
 
 Craig Gomes 
 
 
 

Sprint:
 
 Windows Kanban 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-7894) Scheduled Task v2 - Create windows/taskscheduler2

2017-09-27 Thread Craig Gomes (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Craig Gomes updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7894 
 
 
 
  Scheduled Task v2 - Create windows/taskscheduler2  
 
 
 
 
 
 
 
 
 

Change By:
 
 Craig Gomes 
 
 
 

Sprint:
 
 Windows Kanban 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-7994) run_task crashes with bad message when passed a string that doesn't represent a task

2017-09-27 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg assigned an issue to Unassigned 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7994 
 
 
 
  run_task crashes with bad message when passed a string that doesn't represent a task  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Assignee:
 
 Henrik Lindberg 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-7996) Avoid loading manifests, puppet types and providers when running tasks.

2017-09-27 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg assigned an issue to Unassigned 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7996 
 
 
 
  Avoid loading manifests, puppet types and providers when running tasks.  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Assignee:
 
 Henrik Lindberg 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-7994) run_task crashes with bad message when passed a string that doesn't represent a task

2017-09-27 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren assigned an issue to Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7994 
 
 
 
  run_task crashes with bad message when passed a string that doesn't represent a task  
 
 
 
 
 
 
 
 
 

Change By:
 
 Thomas Hallgren 
 
 
 

Assignee:
 
 Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-7994) run_task crashes with bad message when passed a string that doesn't represent a task

2017-09-27 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren assigned an issue to Henrik Lindberg 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7994 
 
 
 
  run_task crashes with bad message when passed a string that doesn't represent a task  
 
 
 
 
 
 
 
 
 

Change By:
 
 Thomas Hallgren 
 
 
 

Assignee:
 
 Thomas Hallgren Henrik Lindberg 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-7996) Avoid loading manifests, puppet types and providers when running tasks.

2017-09-27 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren assigned an issue to Henrik Lindberg 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7996 
 
 
 
  Avoid loading manifests, puppet types and providers when running tasks.  
 
 
 
 
 
 
 
 
 

Change By:
 
 Thomas Hallgren 
 
 
 

Assignee:
 
 Thomas Hallgren Henrik Lindberg 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3684) PDB performance issues with large structured facts

2017-09-27 Thread Martin Ewings (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Martin Ewings updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 PuppetDB /  PDB-3684 
 
 
 
  PDB performance issues with large structured facts  
 
 
 
 
 
 
 
 
 

Change By:
 
 Martin Ewings 
 
 
 

Method Found:
 
 Customer Feedback 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-7996) Avoid loading manifests, puppet types and providers when running tasks.

2017-09-27 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren assigned an issue to Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7996 
 
 
 
  Avoid loading manifests, puppet types and providers when running tasks.  
 
 
 
 
 
 
 
 
 

Change By:
 
 Thomas Hallgren 
 
 
 

Assignee:
 
 Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-7996) Avoid loading manifests, puppet types and providers when running tasks.

2017-09-27 Thread Thomas Hallgren (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Hallgren created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7996 
 
 
 
  Avoid loading manifests, puppet types and providers when running tasks.  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Improvement 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2017/09/27 1:47 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Thomas Hallgren 
 
 
 
 
 
 
 
 
 
 
Automatic loading of manifests under the 'manifests' folder and loading of puppet types under 'lib/puppet/type' must be avoided when running with --tasks enabled. 
This means that the Runtime3TypeLoader should be disabled completely and that the predefined puppet types should be removed from the StaticLoader 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
  

Jira (PUP-7988) resources/group/should_create test fails on fedora-26-64a

2017-09-27 Thread Enis Inan (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Enis Inan commented on  PUP-7988 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: resources/group/should_create test fails on fedora-26-64a  
 
 
 
 
 
 
 
 
 
 
Ran this locally using the following command: 
 
 
 
 
 
 
rake ci:test:aio SHA=820b18621b1f4b80105bd58162397fded6d7fa92 TEST_TARGET=fedora26-64a
 
 
 
 
 
 
 
with the result: 
 
 
 
 
 
 
  Test Suite: tests @ 2017-09-26 22:32:40 -0700 
 
 
 
 
  
 
 
 
 
  - Host Configuration Summary - 
 
 
 
 
  
 
 
 
 
  
 
 
 
 
  - Test Case Summary for suite 'tests' - 
 
 
 
 
   Total Suite Time: 4809.56 seconds 
 
 
 
 
  Average Test Time: 14.19 seconds 
 
 
  

Jira (PUP-7988) resources/group/should_create test fails on fedora-26-64a

2017-09-27 Thread Enis Inan (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Enis Inan updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7988 
 
 
 
  resources/group/should_create test fails on fedora-26-64a  
 
 
 
 
 
 
 
 
 

Change By:
 
 Enis Inan 
 
 
 

Labels:
 
 transient 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.