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

After agent upgrade Solaris server's puppet service is not restarting itself.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Agent Installer
    • Labels:
      None
    • Template:
    • Agent OS:
      Solaris 11 (SPARC, i386)
    • Acceptance Criteria:
      Hide

      After the upgrade, agent service should be stopped and service should be kept prior to upgrade status. 

      Before the upgrade, if status was running, current status also should be running 

      Before the upgrade, if status was stopped, current status also should be stopped.

       

      Show
      After the upgrade, agent service should be stopped and service should be kept prior to upgrade status.  Before the upgrade, if status was running, current status also should be running  Before the upgrade, if status was stopped, current status also should be stopped.  
    • Team:
      Platform OS
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Hi,

      When we upgrade puppet agent on Solaris 11 servers, puppet service is not restarting as part of the upgrade. So it has all old information in cache and giving some unwanted errors. So customer requires to restart service manually to fix the errors.

      Reproduced customer issue
      Upgraded from 1.10.9.2 to 1.10.11 -> Puppet service not restarted after the upgrade

      Before Upgrade :
      root@sol11-10:~# /opt/puppetlabs/puppet/bin/puppet --version
      4.10.9
      root@sol11-10:~# /opt/puppetlabs/puppet/bin/facter -p |grep aio_agent
      aio_agent_build => 1.10.9.2.gd581893
      aio_agent_version => 1.10.9.2
      root@sol11-10:~#
      root@sol11-10:~#
      root@sol11-10:~# /opt/puppetlabs/puppet/bin/puppet resource service puppet
      service

      { 'puppet': ensure => 'running', enable => 'true', }

      root@sol11-10:~# svcs -a |grep -i puppet
      online 18:36:43 svc:/network/puppet:default
      root@sol11-10:~# ps -ef |grep -i puppet
      root 1414 1 0 18:36:43 ? 0:37 /opt/puppetlabs/puppet/bin/ruby /opt/puppetlabs/bin/puppet agent
      root 1678 1013 0 18:59:58 pts/1 0:00 grep -i puppet
      root 1606 1 0 18:56:42 ? 0:06 /opt/puppetlabs/puppet/bin/ruby /opt/puppetlabs/puppet/bin/mcollectived --pid=/
      root 1563 1 0 18:56:27 ? 0:00 /opt/puppetlabs/puppet/bin/pxp-agent
      root@sol11-10:~#
      root@sol11-10:~# ps -ef |grep -i puppet
      root 1414 1 0 18:36:43 ? 0:38 /opt/puppetlabs/puppet/bin/ruby /opt/puppetlabs/bin/puppet agent
      root 1859 1013 0 19:13:24 pts/1 0:00 grep -i puppet
      root 1606 1 0 18:56:42 ? 0:08 /opt/puppetlabs/puppet/bin/ruby /opt/puppetlabs/puppet/bin/mcollectived --pid=/
      root 1563 1 0 18:56:27 ? 0:00 /opt/puppetlabs/puppet/bin/pxp-agent
      root@sol11-10:~#

      After Upgrade :
      root@sol11-10:~# ps -ef |grep -i puppet
      root 1414 1 0 18:36:43 ? 0:38 /opt/puppetlabs/puppet/bin/ruby /opt/puppetlabs/bin/puppet agent
      root 1859 1013 0 19:13:24 pts/1 0:00 grep -i puppet
      root 1606 1 0 18:56:42 ? 0:08 /opt/puppetlabs/puppet/bin/ruby /opt/puppetlabs/puppet/bin/mcollectived --pid=/
      root 1563 1 0 18:56:27 ? 0:00 /opt/puppetlabs/puppet/bin/pxp-agent
      root@sol11-10:~# puppet --version
      -bash: puppet: command not found
      root@sol11-10:~# /opt/puppetlabs/puppet/bin/puppet --version
      4.10.11
      root@sol11-10:~# /opt/puppetlabs/puppet/bin/facter -p |grep -i aio_
      aio_agent_build => 1.10.12
      aio_agent_version => 1.10.12
      root@sol11-10:~# /opt/puppetlabs/puppet/bin/puppet resource service puppet
      service

      { 'puppet': ensure => 'running', enable => 'true', }

      root@sol11-10:~# date
      Sunday, June 10, 2018 07:17:35 PM PDT
      root@sol11-10:~#

      root@sol11-10:~# ps -ef |grep -i puppet

      root 1414 1 0 18:36:43 ? 0:38 /opt/puppetlabs/puppet/bin/ruby /opt/puppetlabs/bin/puppet agent
      root 1606 1 0 18:56:42 ? 0:09 /opt/puppetlabs/puppet/bin/ruby /opt/puppetlabs/puppet/bin/mcollectived --pid=/
      root 1563 1 0 18:56:27 ? 0:01 /opt/puppetlabs/puppet/bin/pxp-agent
      root@sol11-10:~#

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              karthikeyan.kanagaraj Karthikeyan Kanagaraj
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support