Jira (PUP-5777) Whits don't copy tags from the containers they replace

2017-01-13 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5777 
 
 
 
  Whits don't copy tags from the containers they replace  
 
 
 
 
 
 
 
 
 

Change By:
 
 Moses Mendoza 
 
 
 

Release Notes:
 
 Bug Fix 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5777) Whits don't copy tags from the containers they replace

2017-01-13 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5777 
 
 
 
  Whits don't copy tags from the containers they replace  
 
 
 
 
 
 
 
 
 

Change By:
 
 Moses Mendoza 
 
 
 

Release Notes Summary:
 
 See PUP-6741 for release notes (this is a duplicate) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5777) Whits don't copy tags from the containers they replace

2017-01-13 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5777 
 
 
 
  Whits don't copy tags from the containers they replace  
 
 
 
 
 
 
 
 
 

Change By:
 
 Moses Mendoza 
 
 
 

Fix Version/s:
 
 PUP 4.9.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 (PUP-5777) Whits don't copy tags from the containers they replace

2017-01-13 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza commented on  PUP-5777 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Whits don't copy tags from the containers they replace  
 
 
 
 
 
 
 
 
 
 
resolved with 

PUP-6741
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5777) Whits don't copy tags from the containers they replace

2016-11-23 Thread Charlie Sharpsteen (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Charlie Sharpsteen updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5777 
 
 
 
  Whits don't copy tags from the containers they replace  
 
 
 
 
 
 
 
 
 

Change By:
 
 Charlie Sharpsteen 
 
 
 

Affects Version/s:
 
 PUP 4.8.1 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5777) Whits don't copy tags from the containers they replace

2016-11-11 Thread Charlie Sharpsteen (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Charlie Sharpsteen updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5777 
 
 
 
  Whits don't copy tags from the containers they replace  
 
 
 
 
 
 
 
 
 

Change By:
 
 Charlie Sharpsteen 
 
 
 
 
 
 
 
 
 
 When the agent converts containers  (classes, defined types, etc)  into Whits, tags that were present on the containers are not copied over to the Whits. This causes events generated by contained resources to be excluded by tag filters even though the container had the appropriate tags.h2. Reproduction Case*  Install Puppet 4.3.2*  Create the following test manifest which passes a resource event to a refreshonly exec via a class:{code:puppet}class foo {  tag 'emitter'  notify{'generating event in foo':}}class receiver {  exec{'receiver exec':command => '/bin/echo received event',logoutput   => true,refreshonly => true,subscribe   => Class['foo']  }}include fooinclude receiver{code}*  Apply the manifest with {{--tags=emitter,receiver}}.h3. OutcomeAll events for Class\[foo\] are de-scheduled, even though it is tagged with emitter:{noformat}# /usr/local/bin/puppet apply --verbose --tags=emitter,receiver --client_datadir=$PWD --catalog_cache_terminus=json tag_test.ppInfo: Loading factsInfo: Loading factsInfo: Loading factsInfo: Loading factsInfo: Loading factsNotice: Compiled catalog for pe-201531-master.puppetdebug.vlan in environment production in 0.09 secondsInfo: Applying configuration version '1454105744'Notice: generating event in fooNotice: /Stage[main]/Foo/Notify[generating event in foo]/message: defined 'message' as 'generating event in foo'Info: Class[Foo]: Unscheduling all events on Class[Foo]Notice: Applied catalog in 0.16 seconds# cat catalog/$(hostname -f).json | python -c 'import sys, json; print [ c["tags"] for c in json.load(sys.stdin)["resources"] if c["title"] == "Foo" ]'[[u'class', u'foo', u'emitter']]{noformat}h3. Expected OutcomeThe refresh event is delivered to the exec via Class\[foo\]:{noformat}# /usr/local/bin/puppet apply --verbose --tags=emitter,receiver tag_test.ppInfo: Loading factsInfo: Loading factsInfo: Loading factsInfo: Loading factsInfo: Loading factsNotice: Compiled catalog for pe-201531-master.puppetdebug.vlan in environment production in 0.08 secondsInfo: Applying configuration version '1454105856'Notice: generating event in fooNotice: /Stage[main]/Foo/Notify[generating event in foo]/message: defined 'message' as 'generating event in foo'Info: Class[Foo]: Scheduling refresh of Exec[receiver exec]Notice: /Stage[main]/Receiver/Exec[receiver exec]/returns: received eventNotice: /Stage[main]/Receiver/Exec[receiver exec]: Triggered 'refresh' from 1 eventsInfo: Stage[main]: Unscheduling all events on Stage[main]Notice: Applied catalog in 0.18 seconds{noformat}h3. Root CauseWhen the agent [replaces Puppet containers (Classes, Stages, Defined Types) with Whits|https://github.com/puppetlabs/puppet/blob/4.3.2/lib/puppet/graph/relationship_graph.rb#L244-L250], tags are not copied from the container objects. 
 
 
 
 
 
 
 
 
 
 

Jira (PUP-5777) Whits don't copy tags from the containers they replace

2016-10-28 Thread Laletin Michael (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Laletin Michael commented on  PUP-5777 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Whits don't copy tags from the containers they replace  
 
 
 
 
 
 
 
 
 
 
The case is still reproducible in puppet 4.7 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5777) Whits don't copy tags from the containers they replace

2016-07-13 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg assigned an issue to Unassigned 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5777 
 
 
 
  Whits don't copy tags from the containers they replace  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kylo Ginsberg 
 
 
 

Assignee:
 
 Kylo Ginsberg 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-5777) Whits don't copy tags from the containers they replace

2016-03-04 Thread Anders Jennerberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Anders Jennerberg commented on  PUP-5777 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Whits don't copy tags from the containers they replace  
 
 
 
 
 
 
 
 
 
 
This caused a bit of a headache trying to figure out why my lighttpd didn't restart correctly (in the process of upgrading Puppet). At least it looks like the same issue, so I'll add some info here:  
The following class: 
 
 
 
 
 
 
class test { 
 
 
 
 
  concat { '/tmp/testfile': 
 
 
 
 
owner  => 'root', 
 
 
 
 
group  => 'root', 
 
 
 
 
mode   => '0644', 
 
 
 
 
notify => Exec['file updated'], 
 
 
 
 
  } 
 
 
 
 
  
 
 
 
 
  concat::fragment { 'test uptime': 
 
 
 
 
target  => '/tmp/testfile', 
 
 
  

Jira (PUP-5777) Whits don't copy tags from the containers they replace

2016-01-29 Thread Charlie Sharpsteen (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Charlie Sharpsteen created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5777 
 
 
 
  Whits don't copy tags from the containers they replace  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 4.3.2 
 
 
 

Assignee:
 
 Kylo Ginsberg 
 
 
 

Components:
 

 Catalog Application 
 
 
 

Created:
 

 2016/01/29 2:44 PM 
 
 
 

Labels:
 

 support customer 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Charlie Sharpsteen 
 
 
 
 
 
 
 
 
 
 
When the agent converts containers into Whits, tags that were present on the containers are not copied over to the Whits. This causes events generated by contained resources to be excluded by tag filters even though the container had the appropriate tags. 
Reproduction Case 
 

Install Puppet 4.3.2
 

Create the following test manifest which passes a resource event to a refreshonly exec via a class: