Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Eric Sorenson updated an issue Puppet / PUP-4420 Executable external facts broken in 4.0.0: not executable on agent Change By: Eric Sorenson Release Notes: BugFix Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Eric Thompson assigned an issue to Eric Thompson Puppet / PUP-4420 Executable external facts broken in 4.0.0: not executable on agent Change By: Eric Thompson Assignee: QA EricThompson Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Eric Thompson commented on PUP-4420 Re: Executable external facts broken in 4.0.0: not executable on agent validated via acceptance test in PR Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Steve Barlow updated an issue Puppet / PUP-4420 Executable external facts broken in 4.0.0: not executable on agent Change By: Steve Barlow Sprint: Client2015-05-13 ,Client2015-05-27 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Josh Cooper commented on PUP-4420 Re: Executable external facts broken in 4.0.0: not executable on agent Merged in 9a73150 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Josh Cooper assigned an issue to Unassigned Puppet / PUP-4420 Executable external facts broken in 4.0.0: not executable on agent Change By: Josh Cooper Assignee: JoshCooper Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Kylo Ginsberg assigned an issue to QA Puppet / PUP-4420 Executable external facts broken in 4.0.0: not executable on agent Change By: Kylo Ginsberg Status: Readyfor CI Test Assignee: QA Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Josh Cooper assigned an issue to Josh Cooper Puppet / PUP-4420 Executable external facts broken in 4.0.0: not executable on agent Change By: Josh Cooper Assignee: JoshCooper Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title William Hopper commented on PUP-4420 Re: Executable external facts broken in 4.0.0: not executable on agent I've got an acceptance test up in the PR with the proposed changes, but I'm running into several walls actually testing: Facter 2.4.3 external facts paths If you install a puppet-agent package from one of the PC1 repos on yum.puppetlabs.com, you'll end up with Facter 2.4.3 as your default Facter. 2.4.3 still erroneously looks in /opt/puppetlabs/facter/facts.d for external facts, while puppet's pluginfactdest is /opt/puppetlabs/puppet/cache/facts.d. In this state, the agent will never find its external facts, and so running the new acceptance test will simply fail. Running acceptance against a modified Puppet inside of puppet-agent I'm not sure what the best way to run acceptance locally against Puppet is in AIO land. My current workflow has been to build puppet-agent packages via Vanagon with the modified code and install them manually on vmpooler hosts. You can then tell beaker to run against those without provisioning VMs. However, I'm not sure if the results I'm seeing using this method accurately portray what we'll see in CI. Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Eric Thompson updated an issue Puppet / PUP-4420 Executable external facts broken in 4.0.0: not executable on agent Change By: Eric Thompson Whileinvestigating3.x-4.xcompatibilityforSERVER-526Itriedtouseanexecutableexternalfact,butthisdidnotworkin4.0.0(itworkedin3.7.5).Thefileisnolongerexecutableontheagentside,sotheagentrunspitsoutawarningsayingthefactfilewasparsedbutreturnedanemptydataset.WhenlookingattheHTTPtrafficformyexecutableexternalfactfile,Iseethefile_metadataresponsedoesinfactspecifyadifferentmodebetween3.7.5and4.0.0.Belowyou'llfindtherequest+responsefortheexternalfact-noticethe{{mode}}isdifferentintheresponses.{code:title=3.7.5}REQUESTGET/production/file_metadatas/pluginfacts?links=managerecurse=trueignore=.svnignore=CVSignore=.gitchecksum_type=md5HTTP/1.1Accept:pson,msgpack,yaml,b64_zlib_yaml,rawAccept-Encoding:identityUser-Agent:RubyHost:localhost:8666RESPONSEHTTP/1.1200OKX-Puppet-Version:3.7.5Content-Type:text/psonServer:WEBrick/1.3.1(Ruby/1.9.3/2014-11-13)OpenSSL/0.9.8zaDate:Tue,14Apr201523:49:29GMTContent-Length:696Connection:Keep-Alive[{document_type:FileMetadata,data:{path:\/Users\/nwolfe\/workspace\/puppetlabs\/conf\/master\/v3\/conf\/modules\/tmpfiles\/facts.d,relative_path:.,links:manage,owner:501,group:20,mode:493,checksum:{type:ctime,value:{ctime}2015-04-1416:31:21-0700},type:directory,destination:null},metadata:{api_version:1}},{document_type:FileMetadata,data:{path:\/Users\/nwolfe\/workspace\/puppetlabs\/conf\/master\/v3\/conf\/modules\/tmpfiles\/facts.d,relative_path:external_fact_date,links:manage,owner:501,group:20,mode:493,checksum:{type:md5,value:{md5}abec184c543c4dadfa4bf4e70c0b3000},type:file,destination:null},metadata:{api_version:1}}]{code}{code:title=4.0.0}REQUESTGET/puppet/v3/file_metadatas/pluginfacts?environment=productionlinks=followrecurse=trueignore=.svnignore=CVSignore=.gitchecksum_type=md5HTTP/1.1Accept:pson,msgpack,yaml,binaryX-Puppet-Version:4.0.0Accept-Encoding:gzip;q=1.0,deflate;q=0.6,identity;q=0.3User-Agent:RubyHost:localhost:8666RESPONSEHTTP/1.1200OKX-Puppet-Version:4.0.0Content-Type:text/psonServer:WEBrick/1.3.1(Ruby/1.9.3/2014-11-13)OpenSSL/0.9.8zaDate:Tue,14Apr201523:56:14GMTContent-Length:606Connection:Keep-Alive[{path:\/Users\/nwolfe\/workspace\/puppetlabs\/conf\/master\/v4\/code\/environments\/production\/modules\/tmpfiles\/facts.d,relative_path:.,links:follow,owner:501,group:20,mode:420,checksum:{type:ctime,value:{ctime}2015-04-1416:31:21-0700},type:directory,destination:null},{path:\/Users\/nwolfe\/workspace\/puppetlabs\/conf\/master\/v4\/code\/environments\/production\/modules\/tmpfiles\/facts.d,relative_path:external_fact_date,links:follow,owner:501,group:20,mode:420,checksum:{type:md5,value:{md5}abec184c543c4dadfa4bf4e70c0b3000},type:file,destination:null}]{code}Icameacrosssometicketsthatmayberelated:*PUP-3935*PUP-2705Iverifiedthisbehaviorinournewly-released4.0.0packages(PC1). h3.QArisk:high(regression)severity:highprobability:hightestlayer:acceptance
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Eric Thompson updated an issue Puppet / PUP-4420 Executable external facts broken in 4.0.0: not executable on agent Change By: Eric Thompson Whileinvestigating3.x-4.xcompatibilityforSERVER-526Itriedtouseanexecutableexternalfact,butthisdidnotworkin4.0.0(itworkedin3.7.5).Thefileisnolongerexecutableontheagentside,sotheagentrunspitsoutawarningsayingthefactfilewasparsedbutreturnedanemptydataset.WhenlookingattheHTTPtrafficformyexecutableexternalfactfile,Iseethefile_metadataresponsedoesinfactspecifyadifferentmodebetween3.7.5and4.0.0.Belowyou'llfindtherequest+responsefortheexternalfact-noticethe{{mode}}isdifferentintheresponses.{code:title=3.7.5}REQUESTGET/production/file_metadatas/pluginfacts?links=managerecurse=trueignore=.svnignore=CVSignore=.gitchecksum_type=md5HTTP/1.1Accept:pson,msgpack,yaml,b64_zlib_yaml,rawAccept-Encoding:identityUser-Agent:RubyHost:localhost:8666RESPONSEHTTP/1.1200OKX-Puppet-Version:3.7.5Content-Type:text/psonServer:WEBrick/1.3.1(Ruby/1.9.3/2014-11-13)OpenSSL/0.9.8zaDate:Tue,14Apr201523:49:29GMTContent-Length:696Connection:Keep-Alive[{document_type:FileMetadata,data:{path:\/Users\/nwolfe\/workspace\/puppetlabs\/conf\/master\/v3\/conf\/modules\/tmpfiles\/facts.d,relative_path:.,links:manage,owner:501,group:20,mode:493,checksum:{type:ctime,value:{ctime}2015-04-1416:31:21-0700},type:directory,destination:null},metadata:{api_version:1}},{document_type:FileMetadata,data:{path:\/Users\/nwolfe\/workspace\/puppetlabs\/conf\/master\/v3\/conf\/modules\/tmpfiles\/facts.d,relative_path:external_fact_date,links:manage,owner:501,group:20,mode:493,checksum:{type:md5,value:{md5}abec184c543c4dadfa4bf4e70c0b3000},type:file,destination:null},metadata:{api_version:1}}]{code}{code:title=4.0.0}REQUESTGET/puppet/v3/file_metadatas/pluginfacts?environment=productionlinks=followrecurse=trueignore=.svnignore=CVSignore=.gitchecksum_type=md5HTTP/1.1Accept:pson,msgpack,yaml,binaryX-Puppet-Version:4.0.0Accept-Encoding:gzip;q=1.0,deflate;q=0.6,identity;q=0.3User-Agent:RubyHost:localhost:8666RESPONSEHTTP/1.1200OKX-Puppet-Version:4.0.0Content-Type:text/psonServer:WEBrick/1.3.1(Ruby/1.9.3/2014-11-13)OpenSSL/0.9.8zaDate:Tue,14Apr201523:56:14GMTContent-Length:606Connection:Keep-Alive[{path:\/Users\/nwolfe\/workspace\/puppetlabs\/conf\/master\/v4\/code\/environments\/production\/modules\/tmpfiles\/facts.d,relative_path:.,links:follow,owner:501,group:20,mode:420,checksum:{type:ctime,value:{ctime}2015-04-1416:31:21-0700},type:directory,destination:null},{path:\/Users\/nwolfe\/workspace\/puppetlabs\/conf\/master\/v4\/code\/environments\/production\/modules\/tmpfiles\/facts.d,relative_path:external_fact_date,links:follow,owner:501,group:20,mode:420,checksum:{type:md5,value:{md5}abec184c543c4dadfa4bf4e70c0b3000},type:file,destination:null}]{code}Icameacrosssometicketsthatmayberelated:*PUP-3935*PUP-2705Iverifiedthisbehaviorinournewly-released4.0.0packages(PC1).
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Eric Thompson updated an issue Puppet / PUP-4420 Executable external facts broken in 4.0.0: not executable on agent Change By: Eric Thompson QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title William Hopper assigned an issue to William Hopper Puppet / PUP-4420 Executable external facts broken in 4.0.0: not executable on agent Change By: William Hopper Assignee: WilliamHopper Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Josh Cooper updated an issue Puppet / PUP-4420 Executable external facts broken in 4.0.0: not executable on agent Change By: Josh Cooper Story Points: 3 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Josh Cooper commented on PUP-4420 Re: Executable external facts broken in 4.0.0: not executable on agent Since we've regressed on this at least twice, assigning 3 story points to include writing an acceptance test. Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Josh Cooper updated an issue Puppet / PUP-4420 Executable external facts broken in 4.0.0: not executable on agent Change By: Josh Cooper Sprint: Client2015-05-13 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Josh Cooper commented on PUP-4420 Re: Executable external facts broken in 4.0.0: not executable on agent The regression was introduced in https://github.com/puppetlabs/puppet/commit/a52294ffbc3c53fdc60c3a5f6f46562f874f3de7. Changing the line back to: @source_permissions_ignore = source_permissions == :ignore and the master correctly includes the mode in the file_metadatas response, note mode: 484 below (which is octal for 0744): [{\path\:\/Users/josh/.puppetlabs/etc/code/modules/external/facts.d\,\relative_path\:\.\,\links\:\follow\,\owner\:501,\group\:20,\mode\:493,\checksum\:{\type\:\ctime\,\value\:\{ctime}2015-04-20 22:34:47 -0700\},\type\:\directory\,\destination\:null},{\path\:\/Users/josh/.puppetlabs/etc/code/modules/external/facts.d\,\relative_path\:\foo.sh\,\links\:\follow\,\owner\:501,\group\:20,\mode\:484,\checksum\:{\type\:\md5\,\value\:\{md5}932b918d00515a14f0068d8b5a39c2f6\},\type\:\file\,\destination\:null}] Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d)
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Steve Barlow updated an issue Puppet / PUP-4420 Executable external facts broken in 4.0.0: not executable on agent Change By: Steve Barlow Scrum Team: ClientPlatform Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Nate Wolfe created an issue Puppet / PUP-4420 Executable external facts broken in 4.0.0: not executable on agent Issue Type: Bug Affects Versions: PUP 4.0.0 Assignee: Unassigned Components: Platform Created: 2015/04/15 6:11 PM Fix Versions: PUP 4.0.1 Priority: Normal Reporter: Nate Wolfe While investigating 3.x-4.x compatibility for SERVER-526 I tried to use an executable external fact, but this did not work in 4.0.0 (it worked in 3.7.5). The file is no longer executable on the agent side, so the agent run spits out a warning saying the fact file was parsed but returned an empty data set. When looking at the HTTP traffic for my executable external fact file, I see the file_metadata response does in fact specify a different mode between 3.7.5 and 4.0.0. Below you'll
Jira (PUP-4420) Executable external facts broken in 4.0.0: not executable on agent
Title: Message Title Nate Wolfe commented on PUP-4420 Re: Executable external facts broken in 4.0.0: not executable on agent Ping Josh Cooper Kylo Ginsberg just because I talked to you guys about this in person. Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.