Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

PowerFlex: Collecting get_info logs from Gateways fails with - Error The logs file in node x.x.x.x wasnt found executing command .LogCollectionCommand

Summary: Collecting get_info logs from Gateway fails when the filesystem on which /tmp resides is created with ftype=0

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

Getinfo log collection from the Gateway will fail with below error.

* scaleio.log from Gateway *

[executor-4] INFO  c.e.s.s.i.s.i.c.LIANodeConnection - downloadInfo called on UnknownSystemNode[nodeName=4640301440918548081,nodeIPs=[192.168.180.x, 192.168.190.x],credentials=<null>].
[executor-4] INFO  c.e.s.s.i.s.i.c.LIANodeConnection - getLogFilePathByUniqueFlowId called on UnknownSystemNode[nodeName=4640301440918548081,nodeIPs=[192.168.180.x, 192.168.190.x],credentials=<null>]. uniqueFlowId: getInfoDump
[executor-4] ERROR c.e.s.s.d.i.c.LogCollectionCommand - Error The logs file in node 192.168.180.x,192.168.190.x wasnt found executing command .LogCollectionCommand (retry) : com.emc.s3g.scaleio.im.services.installation.connectors.LIANodeConnection.getLogs(LIANodeConnection.java:1850)    
com.emc.s3g.scaleio.im.services.installation.connectors.LIANodeConnection.downloadInfo(LIANodeConnection.java:1522)    


Login to the ScaleIO node on which the get_info log collection in failing.
In trace logs, LIA is not able to find any relevant files under the directory. though the getinfo file was created.

# ls -l
total 50508
-rw-------. 1 root root 51717813 Oct 16 03:57 getInfoDump.tgz
# date
Fri Oct 16 03:57:01 CDT 2020

* /opt/emc/scaleio/lia/logs/trc.0 logs from LIA folder or node 192.168.180.x **
7f17ac10bdb0:liaNet_RecvRequest:00351: 10 minutes since last login
7f17ac10bdb0:liaNet_RecvRequest:01112: GET LOG FILES START
7f17ac10bdb0:liaCmd_GetLogFilesHelper:01239: Number of files 0 <<<-----------
7f17ac10bdb0:liaNet_RecvRequest:01145: GET LOG FILES END

Cause

Lia code uses "Directory Entry" in order to locate the getInfoDump.tgz created as part of the collection. LIA uses a certain function called "readdir()" in order to get the content of the directory.
Once "readdir()" is called by LIA it expects to get the field "d_type". This field indicates if "getInfoDump.tgz" is a regular file ("DT_REG").
Not all Filesystem support d_type

In case if the filesystem created does not support "d_type", then the returned value once the "readdir()" function is called will be: "DT_UNKNOWN" and LIA will find 0 number of files in the directory.

If you have an XFS filesystem created please run the below command to check the ftype.

Resolution

This is fixed in PowerFlex v3.6
 
Workaround
Ensure the filesystem created where /tmp resides should be Btrfs, ext2, ext3, and ext4.
For XFS filesystem, ensure the filesystem is created with "ftype=1"

Article Properties


Affected Product

PowerFlex Software, VxFlex Product Family

Product

PowerFlex rack, VxFlex Ready Nodes, VxFlex Product Family, VxFlex Ready Node, VxFlex Ready Node R640, VxFlex Ready Node R740xd

Last Published Date

11 Jan 2023

Version

6

Article Type

Solution