Uploaded image for project: 'Puppet Enterprise'
  1. Puppet Enterprise
  2. ENTERPRISE-1226

Ruby Gem issue generates unexpected UTF-8 parsing Xen facts

    XMLWordPrintable

Details

    • Bug
    • Status: Needs Information
    • Major
    • Resolution: Unresolved
    • PE 2018.1.5, PE 2019.0.0, PE 2019.0.1
    • None
    • Console
    • None
    • Complete an SDP onboarding ticket
    • Monolithic
    • RHEL 7 (x86_64)
    • Needs Assessment
    • Needs Assessment

    Description

      Customer installing either 2018.1.5 or 2019.0 on AWS encountered same issue with RHEL.  Is this a virtual fact that shouldn't appear except with HyperV, kvm or VMware zones?

       

      “puppet agent –test –debug --trace”:

      Debug: Facter: resolving Xen facts.

      Error: Failed to apply catalog: Could not render to json: source sequence is illegal/malformed utf-8

      /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/multi_json-1.13.1/lib/multi_json/adapters/json_common.rb:19:in `to_json'

      /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/multi_json-1.13.1/lib/multi_json/adapters/json_common.rb:19:in `dump'

      /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/multi_json-1.13.1/lib/multi_json/adapter.rb:25:in `dump'

      /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/multi_json-1.13.1/lib/multi_json.rb:139:in `dump'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/json.rb:70:in `dump'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/format_support.rb:100:in `to_json'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/format.rb:65:in `render'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/format_support.rb:106:in `render'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer/fact_handler.rb:43:in `facts_for_uploading'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:140:in `block in get_facts'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:519:in `block in thinmark'

      /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:518:in `thinmark'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:139:in `get_facts'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:332:in `run_internal'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:237:in `block in run'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:211:in `run'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/agent.rb:59:in `block (5 levels) in run'

      /opt/puppetlabs/puppet/lib/ruby/2.4.0/timeout.rb:76:in `timeout'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/agent.rb:58:in `block (4 levels) in run'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/agent/locker.rb:21:in `lock'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/agent.rb:52:in `block (3 levels) in run'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/agent.rb:130:in `with_client'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/agent.rb:49:in `block (2 levels) in run'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/agent.rb:87:in `run_in_fork'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/agent.rb:48:in `block in run'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:179:in `controlled_run'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/agent.rb:46:in `run'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/agent.rb:372:in `onetime'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/agent.rb:350:in `run_command'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `block in run'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:667:in `exit_on_fail'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `run'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:136:in `run'

      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:73:in `execute'

      /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'

      Debug: Dynamically-bound server lookup failed, falling back to report_server setting

      Debug: Dynamically-bound port lookup failed; falling back to report_port setting

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bill.diamond Bill Diamond
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Zendesk Support