Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-5942

puppet_agent : Solaris 10 upgrades from Puppet 5 fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: puppet_agent 1.4.1
    • Fix Version/s: puppet_agent 1.5.0
    • Component/s: puppet_agent
    • Labels:
      None
    • Template:
      MODULES Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version: 1.4.1
      Puppet Version: Puppet 5+
      OS Name/Version: Solaris 10

      Solaris 10 upgrades starting with a Puppet 5 package (and upgrading to a later Puppet 5 package) fail. Running puppet agent -t --debug to trigger an upgrade:

      ...
      Debug: Class[Puppet_agent::Osfamily::Solaris]: The container Stage[main] will propagate my refresh event
      Debug: Class[Puppet_agent::Osfamily::Solaris]: The container Class[Puppet_agent::Prepare] will propagate my refresh event
      Debug: Class[Puppet_agent::Prepare]: The container Stage[main] will propagate my refresh event
      Debug: Class[Puppet_agent::Prepare]: The container Class[Puppet_agent] will propagate my refresh event
      Debug: /Package[puppet-agent]: Provider sun does not support features virtual_packages; not managing attribute allow_virtual
      Debug: Loaded state in 0.04 seconds
      Debug: Loaded transaction store file in 0.04 seconds
      Debug: Prefetching sun resources for package
      Debug: Executing: '/usr/bin/pkginfo -l'
      Debug: Executing: '/usr/sbin/pkgrm -a /opt/puppetlabs/packages/solaris-noask -n puppet-agent'
      Error: Could not convert change ensure to string: No such file or directory @ rb_sysopen - /opt/puppetlabs/puppet/lib/ruby/gems/2.4.0/gems/fast_gettext-1.1.0/lib/fast_gettext/vendor/empty.mo
      Debug: Storing state
      Debug: Stored state in 0.04 seconds
      Error: No such file or directory @ rb_sysopen - /opt/puppetlabs/puppet/lib/ruby/gems/2.4.0/gems/fast_gettext-1.1.0/lib/fast_gettext/vendor/empty.mo
      Debug: Storing state
      Debug: Stored state in 0.02 seconds
      Debug: Dynamically-bound server lookup failed, falling back to report_server setting
      Debug: Dynamically-bound port lookup failed; falling back to report_port setting
      Debug: Failed to load library 'msgpack' for feature 'msgpack': cannot load such file -- msgpack
      Debug: Puppet::Network::Format[msgpack]: feature msgpack is missing
      Debug: report supports formats: json pson yaml
      Debug: Failed to load library 'msgpack' for feature 'msgpack': cannot load such file -- msgpack
      Debug: Puppet::Network::Format[msgpack]: feature msgpack is missing
      Debug: report supports formats: json pson yaml
      Debug: Failed to load library 'msgpack' for feature 'msgpack': cannot load such file -- msgpack
      Debug: Puppet::Network::Format[msgpack]: feature msgpack is missing
      Debug: report supports formats: json pson yaml
      Debug: Using cached connection for https://ir232mf0wud6gsq.delivery.puppetlabs.net:8140
      Debug: Caching connection for https://ir232mf0wud6gsq.delivery.puppetlabs.net:8140
      Debug: Closing connection for https://ir232mf0wud6gsq.delivery.puppetlabs.net:8140
      Error: No such file or directory @ rb_sysopen - /opt/puppetlabs/puppet/lib/ruby/gems/2.4.0/gems/fast_gettext-1.1.0/lib/fast_gettext/vendor/empty.mo
      

      Desired Behavior:

      Upgrade should succeed.

      Actual Behavior:

      Upgrade attempt uninstalls puppet-agent, then fails. Puppet needs to be manually reinstalled on agent.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              michael.smith Michael Smith
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support