Jira (PUP-9586) Failed refreshonly resources generate duplicate event

2019-04-03 Thread Melissa Stone (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Melissa Stone commented on  PUP-9586  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Failed refreshonly resources generate duplicate event   
 

  
 
 
 
 

 
 All three commits associated with this change have passed ci for the 5.5.x branch as a part of puppet-agent 5.5.12.35.gcb02e38  
 

  
 
 
 
 

 
 
 

 
 
 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 (PUP-9586) Failed refreshonly resources generate duplicate event

2019-04-03 Thread Mihai Buzgau (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9586  
 
 
  Failed refreshonly resources generate duplicate event   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 
 
Release Notes Summary: 
 this issue is a bug, as discussed in the retro last week there is no documentation needed  
 
 
Release Notes: 
 Not Needed  
 

  
 
 
 
 

 
 
 

 
 
 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 (PUP-9586) Failed refreshonly resources generate duplicate event

2019-04-01 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-9586  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Failed refreshonly resources generate duplicate event   
 

  
 
 
 
 

 
 Merged to 5.5.x in https://github.com/puppetlabs/puppet/commit/53a8a173e4ab6c217980b72fa3cd6f356c8c6a65  
 

  
 
 
 
 

 
 
 

 
 
 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 (PUP-9586) Failed refreshonly resources generate duplicate event

2019-04-01 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9586  
 
 
  Failed refreshonly resources generate duplicate event   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Sprint: 
 Coremunity Hopper Platform Core KANBAN  
 

  
 
 
 
 

 
 
 

 
 
 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 (PUP-9586) Failed refreshonly resources generate duplicate event

2019-04-01 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9586  
 
 
  Failed refreshonly resources generate duplicate event   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 

  
 
 
 
 

 
 PUP-9339 and PUP-8908 both cause an event to be added to the report when a refreshed resource fails. PUP- 8903 8908  was fixed first in 5.5.3, then PUP-9339 was fixed in 4.10.13 and merged up, but the semantic conflict wasn't resolved correctly in [https://github.com/puppetlabs/puppet/commit/c3eed15cd1c2f4bdd6bdd3cca9acffe0a9a103a1] causing a duplicate event to end up in puppetdb. The duplicate events were first released in 5.5.9.To reproduce:{code:puppet}exec { 'duplicate exec events':  command => '/usr/bin/false',  subscribe   => Notify['test1'],  refreshonly => true,}notify { 'test1':  message => 'foo'}{code}results in 2 events for the refreshed event:{code:yaml}  Exec[duplicate exec events]:title: duplicate exec eventsfile: "/Users/josh/work/puppet/manifest.pp"line: 1resource: Exec[duplicate exec events]resource_type: Execprovider_used: posixcontainment_path:- Stage[main]- Main- Exec[duplicate exec events]evaluation_time: 0.000102tags:- exec- classtime: '2019-03-28T13:59:12.868197000-07:00'failed: truefailed_to_restart: truechanged: falseout_of_sync: trueskipped: falsechange_count: 0out_of_sync_count: 2events:- audited: false  property:   previous_value:   desired_value:   historical_value:   message: 'Failed to call refresh: ''/usr/bin/false'' returned 1 instead of oneof [0]'  name: refresh  status: failure  time: '2019-03-28T13:59:12.882309000-07:00'  redacted: false  corrective_change: false- audited: false  property:   previous_value:   desired_value:   historical_value:   message: 'Failed to call refresh: ''/usr/bin/false'' returned 1 instead of oneof [0]'  name: resource_error  status: failure  time: '2019-03-28T13:59:12.88239-07:00'  redacted: false  corrective_change: falsecorrective_change: false{code}  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

   

Jira (PUP-9586) Failed refreshonly resources generate duplicate event

2019-04-01 Thread Kris Bosland (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kris Bosland assigned an issue to Kris Bosland  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9586  
 
 
  Failed refreshonly resources generate duplicate event   
 

  
 
 
 
 

 
Change By: 
 Kris Bosland  
 
 
Assignee: 
 Kris Bosland  
 

  
 
 
 
 

 
 
 

 
 
 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 (PUP-9586) Failed refreshonly resources generate duplicate event

2019-03-28 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9586  
 
 
  Failed refreshonly resources generate duplicate event   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Sprint: 
 Coremunity Hopper  
 

  
 
 
 
 

 
 
 

 
 
 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 (PUP-9586) Failed refreshonly resources generate duplicate event

2019-03-28 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9586  
 
 
  Failed refreshonly resources generate duplicate event   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Labels: 
 customer0  
 

  
 
 
 
 

 
 
 

 
 
 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 (PUP-9586) Failed refreshonly resources generate duplicate event

2019-03-28 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9586  
 
 
  Failed refreshonly resources generate duplicate event   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Issue Type: 
 Improvement 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 (PUP-9586) Failed refreshonly resources generate duplicate event

2019-03-28 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9586  
 
 
  Failed refreshonly resources generate duplicate event   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2019/03/28 2:00 PM  
 
 
Fix Versions: 
 PUP 5.5.13, PUP 6.0.8, PUP 6.4.1  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Josh Cooper  
 

  
 
 
 
 

 
 PUP-9339 and PUP-8908 both cause an event to be added to the report when a refreshed resource fails. PUP-8903 was fixed first in 5.5.3, then PUP-9339 was fixed in 4.10.13 and merged up, but the semantic conflict wasn't resolved correctly in https://github.com/puppetlabs/puppet/commit/c3eed15cd1c2f4bdd6bdd3cca9acffe0a9a103a1 causing a duplicate event to end up in puppetdb. The duplicate events were first released in 5.5.9. To reproduce:  
 
 
 
 
 exec { 'duplicate exec events':  
 
 
   command => '/usr/bin/false',  
 
 
   subscribe   => Notify['test1'],  
 
 
   refreshonly => true,