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

Solaris 11 unable to `pkg refresh` puppetlabs.com

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: puppet_agent
    • Template:
    • Team:
      Platform OS

      Description

      Not sure if this is just a transient network issue or a permanent problem but we're seeing the following failure when attempting to upgrade Solaris 11 agents with the puppet_agent module

      Debug: /Stage[main]/Puppet_agent::Osfamily::Solaris/Exec[puppet_agent copy packages]: The container Class[Puppet_agent::Osfamily::Solaris] will propagate my refresh event
            Debug: Exec[puppet_agent ensure pkg publishers are available](provider=posix): Executing 'pkg refresh puppetlabs.com'
            Debug: Executing: 'pkg refresh puppetlabs.com'
            Notice: /Stage[main]/Puppet_agent::Osfamily::Solaris/Exec[puppet_agent ensure pkg publishers are available]/returns: pkg: The image cannot be modified as it is currently in use by another package client.
            Error: /Stage[main]/Puppet_agent::Osfamily::Solaris/Exec[puppet_agent ensure pkg publishers are available]: Failed to call refresh: pkg refresh puppetlabs.com returned 7 instead of one of [0]
            Error: /Stage[main]/Puppet_agent::Osfamily::Solaris/Exec[puppet_agent ensure pkg publishers are available]: pkg refresh puppetlabs.com returned 7 instead of one of [0]
            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
      

      Example of a failing job

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                brandon.high Brandon High
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Zendesk Support