IBM Support

IJ18134: "CP: CANNOT STAT" ERROR CAPTURED IN DOCKER SCAN LOG WHEN NO SWIDTAG SIGNATURE IS FOUND

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The "docker_scan.sh" script has a defect resulting with error
    messsages being captured in the "docker_scan.log". When a Docker
     image does not have any .SWIDTAG signature file inside, the
    following information is returned:
    
    ---
    20190801_010101: - new container found 12a34567b89c with image
    id {z987654321y0} ()
    20190801_010101: - copying files from
    /var/opt/BESClient/LMT/CIT/docker/images/z987654321y0 to
    /var/opt/BESClient/LMT/CIT/docker/containers/12a34567b89c
    
    cp: cannot stat
    '/var/opt/BESClient/LMT/CIT/docker/images/z987654321y0/*': No
    such file or directory
    ---
    
    As it is possible for a system to have no .SWIDTAG signature,
    the Docker scan script should be improved to use more meaningful
    messages.
    
    TS001926594
    

Local fix

  • No workaround.
    

Problem summary

  • ****************************************************************
    
    * ERROR DESCRIPTION:
    *
    * The "docker_scan.sh" script has a defect resulting with error
    *
    * messsages being captured in the "docker_scan.log". When a Dock
    *
    *  image does not have any .SWIDTAG signature file inside, the
    *
    * following information is returned:
    *
    *
    *
    * ---
    *
    * 20190801_010101: - new container found 12a34567b89c with image
    *
    * id {z987654321y0} ()
    *
    * 20190801_010101: - copying files from
    *
    * /var/opt/BESClient/LMT/CIT/docker/images/z987654321y0 to
    *
    * /var/opt/BESClient/LMT/CIT/docker/containers/12a34567b89c
    *
    *
    *
    * cp: cannot stat
    *
    * '/var/opt/BESClient/LMT/CIT/docker/images/z987654321y0/*': No
    *
    * such file or directory
    *
    * ---
    *
    *
    *
    * As it is possible for a system to have no .SWIDTAG signature,
    *
    * the Docker scan script should be improved to use more meaningf
    *
    * messages.
    *
    *
    *
    * TS001926594
    *
    * **************************************************************
    *
    * EXPECTED RESULTS:
    * The issue does not occure.
    ****************************************************************
    * RECOMMENDATION: Apply appropriate update when available.
    ****************************************************************
    

Problem conclusion

  • The fix for this APAR is contained in the following maintenance
    packages:
     | Update | ILMT 9.2.17
    ****************************************************************
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ18134

  • Reported component name

    LIC METRIC TOOL

  • Reported component ID

    5724LMTEM

  • Reported release

    920

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-08-06

  • Closed date

    2019-09-05

  • Last modified date

    2019-09-05

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    LIC METRIC TOOL

  • Fixed component ID

    5724LMTEM

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JFY","label":"IBM License Metric Tool"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"920","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
05 September 2019