Viewing ScaleAFM application logs

Procedure to view ScaleAFM application logs.

Procedure

  1. Issue the following command to view the ScaleAFM application logs:
    podlog spectrum-discover-scaleafmdatamover
  2. Any failures that occur while the files are processed for copying by ScaleAFM Data Mover application, are logged in the application log file. A sample error log from the ScaleAFM Data Mover application when a file (object) does not exist in the vault. The vault is configured with the source Cloud Object Storage data source, while the application is processing the Copy policy.
    2020-09-30 15:07:47,032 - __main__ - ERROR - Failed queuing the file 'vault1/1ws3711.txt' during AFM data transfer

    This error log occurs when the IBM Storage Scale AFM Fileset name entered in the policy definition, does not exist on the IBM Storage Scale filesystem that is configured as datasource in the destination IBM Storage Scale connection:

    2020-09-30 15:02:12,549 - __main__ - ERROR - An exception occurred while processing message: Fileset 'DAAA_ICOS123' not found in file system 'fs1'
  3. Run the following command to view policy engine pod logs:
    podlog spectrum-discover-policyengine

    A sample policy engine pod log error from the ScaleAFM Data Mover application when a Copying policy is processed and when a file is not found on the specified 'source_connection':

    2020-09-30 15:07:47,080 - policy.policyapiservice - ERROR - [policy_id: DAAA_Pol1]: Agent reported 'status: failed' for fkey: 'vault11ws3711.txt'
    , path: 'vault1/1ws3711.txt', reason: 'Failed queuing the file 'vault1/1ws3711.txt' during AFM data transfer', errno: 'ENOENT'
    

    A sample error log from the policy engine pod logs, when the IBM Storage Scale AFM Fileset name entered in the policy definition, does not exist on the IBM Storage Scale filesystem. The IBM Storage Scale filesystem is configured as datasource in the destination IBM Storage Scale connection:

    2020-09-30 15:02:13,100 - policy.policyapiservice - ERROR - [policy_id: DAAA_InvFileset]: Agent reported 'status: failed' for fkey: 'vault1analyt
    ics_results1.txt', path: 'vault1/analytics_results1.txt', reason: 'An exception occurred while processing message: Fileset 'DAAA_ICOS123' not fou
    nd in file system 'fs1'', errno: 'EIO'