Jira (BOLT-1535) Error with bolt when running Concat module against windows machines
Title: Message Title David Swan updated an issue Puppet Task Runner / BOLT-1535 Error with bolt when running Concat module against windows machines Change By: David Swan We have recently been seeing an error appear whenever we apply certain manifests on a windows machine via Bolt. Originally we felt that this may be originating from a puppet agent change however we now feel that it is likely originating from bolt, more information on the investigations into Puppet Agent can be found in [https://tickets.puppetlabs.com/browse/PA-3065|https://cdn1.evernote.com/ion/dist/ce/]. I have made multiple applications of a select manifest against the windows machines using bolt via litmus, bolt directly and through logging onto the machine and applying it manually. When applying the manifest via bolt in either way the result is an exit code of 1, while applying it manually gives an exit code of 0. I have attached screenshots of the results of each run onto this ticket and will paste the output below: When run locally{noformat}Administrator@wooden-debacle /cygdrive/c/tmp $ '../Program Files/Puppet Labs/Puppet/bin/puppet.bat' apply /tmp/manifest_20200129_56833_19lr8ku.pp --detailed-exitcodesNotice: Compiled catalog for wooden-debacle.delivery.puppetlabs.net in environment production in 0.11 secondsError: /Stage[main]/Main/Concat[c:/concat_test/file]/Concat_file[c:/concat_test/file]: Failed to generate additional resources using 'eval_generate': Duplicate key 'one' found with values 'foo' and bar'. Use 'force' attribute to merge keys. Notice: Applied catalog in 0.02 secondsAdministrator@wooden-debacle /cygdrive/c/tmp $ echo $? 0{noformat}When run via litmus{ code:java noformat } 1) force merge of file when run should not force applies manifest twice with stderr check On host `wooden-debacle.delivery.puppetlabs.net' Failure/Error: expect(apply_manifest(pp, catch_failures: true).stderr).to match("Duplicate key 'one' found with values 'foo' and bar'. Use 'force' attribute to merge keys.") RuntimeError: apply manifest failed ` puppet apply /tmp/manifest_20200129_56833_cptso6.pp --detailed-exitcodes` with exit code 1 (expected: [0, 2]) == Start output of failed Puppet apply == puppet.bat : Error: /Stage[main]/Main/Concat[c:/concat_test/file]/Concat_file[c:/concat_test/file]: Failed to generate additional resources using 'eval_generate': Duplicate key 'one' found with values 'foo' and bar'. Use 'force' attribute to merge keys. + CategoryInfo : NotSpecified: (Error: /...merge keys.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError Notice: Compiled catalog for wooden-debacle.delivery.puppetlabs.net in environment production in 0.10 seconds Notice: Applied catalog in 0.02 seconds == End output of failed Puppet apply == # ./.bundle/gems/ruby/2.5.0/gems/puppet_litmus-0.14.0/lib/puppet_litmus/puppet_helpers.rb:278:in `report_puppet_apply_error' #
Jira (BOLT-1535) Error with bolt when running Concat module against windows machines
Title: Message Title David Swan updated an issue Puppet Task Runner / BOLT-1535 Error with bolt when running Concat module against windows machines Change By: David Swan We have recently been seeing an error appear whenever we apply certain manifests on a windows machine via Bolt. Originally we felt that this may be originating from a puppet agent change however we now feel that it is likely originating from bolt, more information on the investigations into Puppet Agent can be found in [https://tickets.puppetlabs.com/browse/PA-3065|https://cdn1.evernote.com/ion/dist/ce/]. I have made multiple applications of a select manifest against the windows machines using bolt via litmus, bolt directly and through logging onto the machine and applying it manually. When applying the manifest via bolt in either way the result is an exit code of 1, while applying it manually gives an exit code of 0. I have attached screenshots of the results of each run onto this ticket and will paste the output below: When run locally{ code:java noformat } {code:ruby} Administrator@wooden-debacle /cygdrive/c/tmp $ '../Program Files/Puppet Labs/Puppet/bin/puppet.bat' apply /tmp/manifest_20200129_56833_19lr8ku.pp --detailed-exitcodesNotice: Compiled catalog for wooden-debacle.delivery.puppetlabs.net in environment production in 0.11 secondsError: /Stage[main]/Main/Concat[c:/concat_test/file]/Concat_file[c:/concat_test/file]: Failed to generate additional resources using 'eval_generate': Duplicate key 'one' found with values 'foo' and bar'. Use 'force' attribute to merge keys. Notice: Applied catalog in 0.02 secondsAdministrator@wooden-debacle /cygdrive/c/tmp $ echo $? 0 { code noformat } When run via litmus{code:java}1) force merge of file when run should not force applies manifest twice with stderr check On host `wooden-debacle.delivery.puppetlabs.net' Failure/Error: expect(apply_manifest(pp, catch_failures: true).stderr).to match("Duplicate key 'one' found with values 'foo' and bar'. Use 'force' attribute to merge keys.") RuntimeError: apply manifest failed ` puppet apply /tmp/manifest_20200129_56833_cptso6.pp --detailed-exitcodes` with exit code 1 (expected: [0, 2]) == Start output of failed Puppet apply == puppet.bat : Error: /Stage[main]/Main/Concat[c:/concat_test/file]/Concat_file[c:/concat_test/file]: Failed to generate additional resources using 'eval_generate': Duplicate key 'one' found with values 'foo' and bar'. Use 'force' attribute to merge keys. + CategoryInfo : NotSpecified: (Error: /...merge keys.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError Notice: Compiled catalog for wooden-debacle.delivery.puppetlabs.net in environment production in 0.10 seconds Notice: Applied catalog in 0.02 seconds == End output of failed Puppet apply == # ./.bundle/gems/ruby/2.5.0/gems/puppet_litmus-0.14.0/lib/puppet_litmus/puppet_helpers.rb:278:in `report_puppet_apply_error' # ./.bundle/gems/ruby/2.5.0/gems/puppet_litmus-0.14.0/lib/puppet_litmus/puppet_helpers.rb:79:in
Jira (BOLT-1535) Error with bolt when running Concat module against windows machines
Title: Message Title David Swan updated an issue Puppet Task Runner / BOLT-1535 Error with bolt when running Concat module against windows machines Change By: David Swan We have recently been seeing an error appear whenever we apply certain manifests on a windows machine via Bolt. Originally we felt that this may be originating from a puppet agent change however we now feel that it is likely originating from bolt, more information on the investigations into Puppet Agent can be found in [https://tickets.puppetlabs.com/browse/PA-3065|https://cdn1.evernote.com/ion/dist/ce/]. I have made multiple applications of a select manifest against the windows machines using bolt via litmus, bolt directly and through logging onto the machine and applying it manually. When applying the manifest via bolt in either way the result is an exit code of 1, while applying it manually gives an exit code of 0. I have attached screenshots of the results of each run onto this ticket and will paste the output below: When run locally{code:java} {code:ruby} Administrator@wooden-debacle /cygdrive/c/tmp $ '../Program Files/Puppet Labs/Puppet/bin/puppet.bat' apply /tmp/manifest_20200129_56833_19lr8ku.pp --detailed-exitcodes Notice: Compiled catalog for wooden-debacle.delivery.puppetlabs.net in environment production in 0.11 seconds Error: /Stage[main]/Main/Concat[c:/concat_test/file]/Concat_file[c:/concat_test/file]: Failed to generate additional resources using 'eval_generate': Duplicate key 'one' found with values 'foo' and bar'. Use 'force' attribute to merge keys. Notice: Applied catalog in 0.02 secondsAdministrator@wooden-debacle /cygdrive/c/tmp $ echo $? 0 {code} When run via litmus{code:java}1) force merge of file when run should not force applies manifest twice with stderr check On host `wooden-debacle.delivery.puppetlabs.net' Failure/Error: expect(apply_manifest(pp, catch_failures: true).stderr).to match("Duplicate key 'one' found with values 'foo' and bar'. Use 'force' attribute to merge keys.") RuntimeError: apply manifest failed ` puppet apply /tmp/manifest_20200129_56833_cptso6.pp --detailed-exitcodes` with exit code 1 (expected: [0, 2]) == Start output of failed Puppet apply == puppet.bat : Error: /Stage[main]/Main/Concat[c:/concat_test/file]/Concat_file[c:/concat_test/file]: Failed to generate additional resources using 'eval_generate': Duplicate key 'one' found with values 'foo' and bar'. Use 'force' attribute to merge keys. + CategoryInfo : NotSpecified: (Error: /...merge keys.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError Notice: Compiled catalog for wooden-debacle.delivery.puppetlabs.net in environment production in 0.10 seconds Notice: Applied catalog in 0.02 seconds == End output of failed Puppet apply == # ./.bundle/gems/ruby/2.5.0/gems/puppet_litmus-0.14.0/lib/puppet_litmus/puppet_helpers.rb:278:in `report_puppet_apply_error' # ./.bundle/gems/ruby/2.5.0/gems/puppet_litmus-0.14.0/lib/puppet_litmus/puppet_helpers.rb:79:in `apply_manifest' #
Jira (BOLT-1535) Error with bolt when running Concat module against windows machines
Title: Message Title David Swan updated an issue Puppet Task Runner / BOLT-1535 Error with bolt when running Concat module against windows machines Change By: David Swan We have recently been seeing an error appear whenever we apply certain manifests on a windows machine via Bolt. Originally we felt that this may be originating from a puppet agent change however we now feel that it is likely originating from bolt, more information on the investigations into Puppet Agent can be found in [https://tickets.puppetlabs.com/browse/PA-3065|https://cdn1.evernote.com/ion/dist/ce/]. I have made multiple applications of a select manifest against the windows machines using bolt via litmus, bolt directly and through logging onto the machine and applying it manually. When applying the manifest via bolt in either way the result is an exit code of 1, while applying it manually gives an exit code of 0. I have attached screenshots of the results of each run onto thisticket and will paste the output below: When run locally {code:java} Administrator@wooden-debacle /cygdrive/c/tmp $ '../Program Files/Puppet Labs/Puppet/bin/puppet.bat' apply /tmp/manifest_20200129_56833_19lr8ku.pp --detailed-exitcodes Notice: Compiled catalog for wooden-debacle.delivery.puppetlabs.net in environment production in 0.11 seconds Error: /Stage[main]/Main/Concat[c:/concat_test/file]/Concat_file[c:/concat_test/file]: Failed to generate additional resources using 'eval_generate': Duplicate key 'one' found with values 'foo' and bar'. Use 'force' attribute to merge keys. Notice: Applied catalog in 0.02 secondsAdministrator@wooden-debacle /cygdrive/c/tmp $ echo $? 0{code} When run via litmus {code:java} 1) force merge of file when run should not force applies manifest twice with stderr check On host `wooden-debacle.delivery.puppetlabs.net' Failure/Error: expect(apply_manifest(pp, catch_failures: true).stderr).to match("Duplicate key 'one' found with values 'foo' and bar'. Use 'force' attribute to merge keys.") RuntimeError: apply manifest failed ` puppet apply /tmp/manifest_20200129_56833_cptso6.pp --detailed-exitcodes` with exit code 1 (expected: [0, 2]) == Start output of failed Puppet apply == puppet.bat : Error: /Stage[main]/Main/Concat[c:/concat_test/file]/Concat_file[c:/concat_test/file]: Failed to generate additional resources using 'eval_generate': Duplicate key 'one' found with values 'foo' and bar'. Use 'force' attribute to merge keys. + CategoryInfo : NotSpecified: (Error: /...merge keys.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError Notice: Compiled catalog for wooden-debacle.delivery.puppetlabs.net in environment production in 0.10 seconds Notice: Applied catalog in 0.02 seconds == End output of failed Puppet apply == # ./.bundle/gems/ruby/2.5.0/gems/puppet_litmus-0.14.0/lib/puppet_litmus/puppet_helpers.rb:278:in `report_puppet_apply_error' # ./.bundle/gems/ruby/2.5.0/gems/puppet_litmus-0.14.0/lib/puppet_litmus/puppet_helpers.rb:79:in `apply_manifest' #
Jira (BOLT-1535) Error with bolt when running Concat module against windows machines
Title: Message Title David Swan created an issue Puppet Task Runner / BOLT-1535 Error with bolt when running Concat module against windows machines Issue Type: Task Assignee: Unassigned Attachments: Screen Shot 2020-01-29 at 4.33.58 PM.png, Screen Shot 2020-01-29 at 4.34.19 PM.png, Screen Shot 2020-01-29 at 4.36.25 PM.png Created: 2020/01/30 1:36 AM Priority: Normal Reporter: David Swan We have recently been seeing an error appear whenever we apply certain manifests on a windows machine via Bolt. Originally we felt that this may be originating from a puppet agent change however we now feel that it is likely originating from bolt, more information on the investigations into Puppet Agent can be found in https://tickets.puppetlabs.com/browse/PA-3065. I have made multiple applications of a select manifest against the windows machines using bolt via litmus, bolt directly and through logging onto the machine and applying it manually. When applying the manifest via bolt in either way the result is an exit code of 1, while applying it manually gives an exit code of 0. I have attached screenshots of the results of each run onto this ticket and will paste the output below: When run locally Administrator@wooden-debacle /cygdrive/c/tmp $ '../Program Files/Puppet Labs/Puppet/bin/puppet.bat' apply /tmp/manifest_20200129_56833_19lr8ku.pp --detailed-exitcodes Notice: Compiled catalog for wooden-debacle.delivery.puppetlabs.net in environment production in 0.11 seconds Error: /Stage[main]/Main/Concat[c:/concat_test/file]/Concat_file[c:/concat_test/file]: Failed to generate additional resources using 'eval_generate': Duplicate key 'one' found with values
Jira (PUP-9324) Puppet agent run output to differentiate between corrective and intentional change
Title: Message Title David Swan commented on PUP-9324 Re: Puppet agent run output to differentiate between corrective and intentional change Melissa Stone Have been running the agent against all of our modules and it's been going great except for one thing. We are getting consistent failures on are task modules on all windows machines when run on 2018.1. We are getting the error, ``` bash: /cygdrive/c/Program Files/Puppet Labs/Puppet/sys/ruby/bin/bolt.bat: No such file or directory ``` Was wondering if you could think of any reason we may be seeing this. Sorry to be a bother. 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-7624) Log Messages no longer register certain characters in the UTF-8 format
Title: Message Title David Swan created an issue Puppet / PUP-7624 Log Messages no longer register certain characters in the UTF-8 format Issue Type: Bug Assignee: Unassigned Attachments: Screen Shot 2017-06-05 at 12.35.57 PM.png Created: 2017/06/06 2:35 AM Priority: Normal Reporter: David Swan Log messages created and displayed by puppet are no longer displaying certain characters in the UTF-8 format. Common symbols such as '@' and '#' are displayed fine but any character not native to the english language seems to be replaced with a variation of '\u {4E07} '. The characters are shown and stored correctly when set as such, and the problem seems to be unique to information generated by puppet itself and after further attention it seems as though this problem originates from the puppet language itself. Please view the attached file for an example of a set of reports where this problem has occurred. Add Comment