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

AIX package installation is not checking state of the package

    Details

    • Type: Bug
    • Status: Needs Information
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Template:
    • Team:
      Platform OS
    • CS Priority:
      Major
    • CS Frequency:
      2 - 5-25% of Customers
    • CS Severity:
      3 - Serious
    • CS Business Value:
      3 - $$$$
    • CS Impact:
      AIX customers usually have a high number of systems and agent should ensure that packages are in a consistent state.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Hi, 

      When we installing packages on AIX servers, We are only checking package name and version. We are not checking the package state. If the package is broken or inconsistent state, the puppet is not reporting any error. Puppet thinks the package is installed and good shape. So it is leaving the customer to check manually about the issue. 

       

      One of our customer package was installed but it was inconsistent, puppet didn't check the status of that package. 

      For example: 

      Broken state:-

       

      [root@tstspap221:/root]# /usr/sbin/installp -L -d /nfs/infra/veritas/sw/VOM/VRTSsfmh_7.3.1.200_AIX.bff

      VRTSsfmh:VRTSsfmh:7.3.1.200::I:?:::::N:Veritas Infoscale Operations Manager Managed Host::::0::

      [root@tstspap221:/root]# /usr/bin/lslpp -Lc VRTSsfmh

      #Package Name:Fileset:Level:State:PTF Id:Fix State:Type:Description:Destination Dir.:Uninstaller:Message Catalog:Message Set:Message Number:Parent:Automatic:EFIX Locked:Install Path:Build Date

      VRTSsfmh:VRTSsfmh:7.3.1.200: : :?: :Veritas Infoscale Operations Manager Managed Host: : : : : : :0:0:/:

      [root@tstspap221:/root]#

      [root@tstspap221:/root]#

       

       

      Successful installation:-

       

      [root@qatcdex143:/root]# lslpp -Lcq VRTSsfmh

      VRTSsfmh:VRTSsfmh:7.3.1.200: : :C: :Veritas Infoscale Operations Manager Managed Host: : : : : : :0:0:/:

      [root@qatcdex143:/root]# /usr/sbin/installp -L -d /nfs/infra/veritas/sw/VOM/VRTSsfmh_7.3.1.200_AIX.bff

      VRTSsfmh:VRTSsfmh:7.3.1.200::I:C:::::N:Veritas Infoscale Operations Manager Managed Host::::0::

      [root@qatcdex143:/root]#

       

      State codes:
      A – Applied.
      B – Broken.
      C – Committed.
      E – EFIX Locked.
      O – Obsolete. (partially migrated to newer version)
      ? – Inconsistent State...Run lppchk -v.

       

      Can we add install_option for AIX provider ? Currently AIX provider will not support install_option attribute. 

       

      Expected Result,

       

      If broken package or incosistent pacakge , Puppet will raise error and report failed change. 

       

       

       

       

       

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                branan Branan Riley
                Reporter:
                karthikeyan.kanagaraj Karthikeyan Kanagaraj
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: