Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-2709

Puppet Agent: fails to run on non english Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 3.6.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Windows 7 Professional 64 bits PT (Portuguese)

      Description

      Agent fails on non english Windows with the following error:

      Running Puppet agent on demand ...
      Error: Could not run: "\xE7" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to
      UTF-16LE
      Prima qualquer tecla para continuar . . .

      Trace:

      Error: Could not run: "\xE7" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to UTF-16LE
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/string.rb:11:in `encode!'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/windows/string.rb:11:in `wide_string'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/colors.rb:116:in `string_encode'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/colors.rb:111:in `Write'
      c:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/gems/1.9.1/gems/win32console-1.3.2-x86-mingw32/lib/Win32/Console/ANSI.rb:164:in `_PrintString'
      c:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/gems/1.9.1/gems/win32console-1.3.2-x86-mingw32/lib/Win32/Console/ANSI.rb:146:in `block in write'
      c:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/gems/1.9.1/gems/win32console-1.3.2-x86-mingw32/lib/Win32/Console/ANSI.rb:146:in `each'
      c:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/gems/1.9.1/gems/win32console-1.3.2-x86-mingw32/lib/Win32/Console/ANSI.rb:146:in `write'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/log/destinations.rb:147:in `puts'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/log/destinations.rb:147:in `handle'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/log.rb:170:in `block in newmessage'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/log.rb:169:in `each'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/log.rb:169:in `newmessage'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/log.rb:266:in `initialize'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/log.rb:84:in `new'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/log.rb:84:in `create'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/logging.rb:8:in `send_log'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/logging.rb:15:in `block (2 levels) in <module:Logging>'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/logging.rb:27:in `log_exception'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ssl/host.rb:331:in `rescue in wait_for_cert'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ssl/host.rb:324:in `wait_for_cert'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application/agent.rb:477:in `wait_for_certificates'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application/agent.rb:318:in `run_command'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:371:in `block (2 levels) in run'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:477:in `plugin_hook'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:371:in `block in run'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb:479:in `exit_on_fail'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:371:in `run'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line.rb:137:in `run'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line.rb:91:in `execute'
      c:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:4:in `<main>'

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mindos Armindo Silva
                QA Contact:
                John Duarte
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support