Skip to main content
NetApp Knowledge Base

AutoSupport manifest is reporting collection of files as truncated or skipped in ONTAP 9

Views:
12,123
Visibility:
Public
Votes:
6
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • ONTAP 9
  • AutoSupport

Issue

  • In certain scenarios, AutoSupport data can be truncated during collection or during transmission (delivery).
  • Truncation can occur if the content is too large to fit within the size budget constraints for specific AutoSupport subsystems or within the overall AutoSupport payload size during transmission
  • Truncation can potentially hinder proactive and reactive support capabilities if certain content in an AutoSupport message is found to be missing.

Cause

  1. The collection of data for an AutoSupport subsystem has surpassed the allotted time or size limit set per your ONTAP version
    • Each subsystem within ONTAP contributes to the overall collection of AutoSupport content
    • To ensure AutoSupport's data collection is optimal and efficient, each subsystem has a collection size and time budget to prevent any one subsystem from spending too much time on any one log or file.
  2. The overall AutoSupport message delivery size has exceeded the maximum size for the transport method being used (SMTP or HTTPS)
    • The default SMTP delivery size budget is 5 MB
    • The default HTTPS delivery size budget is 50 MB

Solution

How to determine which AutoSupport data is being truncated
  1. Run the system node autosupport manifest show command for a full list of affected files due to truncation:

::> autosupport manifest show -node * -status *-limit
                   AutoSupport    Collected
Node      Sequence Body Filename  Size        Status    Error
--------- -------- -------------- ----------- --------- -----------
node-01    14
                  rdb_dump.txt   1KB collection-truncated-file-size-limit  This log file's contents are truncated.
                  cluster_ha.xml 730KB collection-truncated-file-size-limit  This log file's contents are truncated.

  1. To review a specific AutoSupport message, specify the message's sequence number:

::> autosupport manifest show -seq-num 14 -fields prio-num,body-file,subsys,status,error,size-collected -subsys mhost -node local
node    seq-num prio-num subsys body-file    size-collected status                          error
------- ------- -------- ------ ------------ -------------- ------------------------------- -----
node-01 14      39       mhost  rdb_dump.txt 1KB            collection-truncated-size-limit ""
node-01 14      40       mhost  cluster_ha.xml 730B         collection-truncated-size-limit ""

The manifest information of the AutoSupport message will include one of the following error collection codes:

  • collection-truncated-size-limit
  • collection-skipped-size-limit
  • collection-truncated-time-limit
  • collection-skipped-time-limit
  • delivery-skipped-size-limit

​​​​Expected behavior

  • Some files (e.g. log files) have individual size budgets for AutoSupport collection.
  • If a file collection is truncated because of a file-specific limit, the manifest status for this condition is collection-truncated-file-size-limit.
    • This truncation is expected behavior and can be ignored.
      • Budgets for specific files are hard-coded and not configurable.
"delivery-skipped-size-limit" error

AutoSupport transport protocol is SMTP

  • Change the AutoSupport transport to HTTPS (recommended by NetApp)
    • If AutoSupport is currently configured to use SMTP as the transport, modify the -transport parameter (Protocol to Contact Support) to use HTTPS instead of SMTP.
      • With the HTTPS transport protocol, the overall AutoSupport message size can be much larger (default: 50 MB) and the connection with NetApp is encrypted and secure.
      • Ensure that outbound communication from the node-mgmt and cluster-mgmt LIFs can connect to TCP port 443 at the destination: support.netapp.com.
      • If you have configured an HTTP proxy for your environment, confirm that the proxy is reachable, instead. 
  • If the AutoSupport transport cannot be changed to HTTPS, increase the SMTP maximum size to a limit that is supported by your SMTP servers

AutoSupport transport protocol is HTTPS

"collection-truncated-*" and "collection-skipped-*" errors
  • Make note of the AutoSupport subsystems and data files that are affected
  • If you consistently see subsystem content truncation, contact NetApp Support:

Please contact NetApp Technical Support or log into the NetApp Support Site to create a technical case. Reference this article for further assistance.

Additional Information

Notes:

  • Not all files will be truncated if the subsystem size limit is breached.
  • Binary files (7z, tgz, tar) that exceed the subsystem limits are not truncated -- they are entirely skipped from the AutoSupport message.
  • Only the ASCII files (text, XML) are truncated.
Specific AutoSupport subsystem considerations
  • splog_latest 
    • The following files might truncate due to file-specific size budgets, error: collection-truncated-file-size-limit:
      • sp-latest-system-event-log.txt
      • sp-latest-syslog.txt
      • sp-latest-statistics.txt
      • sp-downcontroller-syslog.txt
      • sp-downcontroller-statistics.txt
  • Example: the content sp-latest-system-event-log.txt is set to a maximum of 71,680 bytes in ONTAP.

 

  • log_files
    • The following files are typically truncated due to file-specific budgets, i.e. collection-truncated-file-size-limit:
      • command-history.gz
      • mgwd.gz
      • secd.gz
    • These are logs that are constantly being updated and rotated.
      • These logs are collected in daily MANAGEMENT LOG AutoSupports messages
      • This is expected behavior.
      • The logs in multiple AutoSupport messages can be viewed and filtered, if needed.

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.