Skip to main content
NetApp Knowledge Base

Data Broker logs downloads from Cloud Sync UI fails due to 7zip package not installed

Views:
305
Visibility:
Public
Votes:
1
Category:
cloud-sync
Specialty:
bluexp
Last Updated:

Applies to

Cloud Sync

Issue

  • Data Broker log download from Cloud Sync UI fails.
  • Data Broker logs show 7z command execution fails since 7zip package is missing
[INFO] [MASTER] [0] [14671] Handle download-logs message: { receiveTimeStamp: 1647843907879, lastVisibilityTimeoutChange: 1647843907879, body: { name: 'Data-Broker-Azure-CGC-11ed2db3-0e3f-4207-ae8b-f1022a6a7267-21-March-2022_06-25-07-logs' }, receiptHandle: 'AQEBuJDY2mOE1xs03jngCZY44e2xUTIn03BFc66uIeVKjqFjF2wFl Vc0hdSODCzQDqhjXizdzOd4sqHggTszbJJn4Fa8tEHu3vFSv77k7kJzx0eo4dvCRmJKSU9GbGvVKH4uLcSyWT5R0Mj/L Hathwm5xXh6mrQCKwzAu w731PrszdHmInFArcd2xXfsZmb02vZon/MeF3sSorJPqW1Ri89 CSFMEZnStHr3dOSyw1sujUi/beitfXxtdgLYREKSnzBmTbvt7mcBb wz4WQJRuCh8J 2p93maMmv1nWsBBIO8UjL5tBuuAMjyDqXkVS9P St1/alHuc5Ztmao9omPtS62on7km9cHKpbWgFEp8P NU noYICqo/2uxEngntwxNrPF8wtTBsMes5WFwqqgjhmA1S76A6rzUy3EtW5HWTWbtPv5oeYgk1N4 sXOvaZn', attributes: { dataBrokerId: '62xxxxxxxxxxxxxxxx', groupId: '622fffffffffffffffffffff', requestId: '78c954d7-00ae-4c6d-beeb-3801fd1130de', type: 'download-logs', approximateReceiveCount: '1' } }
 
[INFO] [MASTER] [0] [14671] Creating zip directory request : { tempDirectory: './tmp/downloadLogs/Data-Broker-Azure-11ed2db3-0e3f-4207-ae8b-f1022a6a7267-21-March-2022_06-25-07-logs', zipName: '62xxxxxxxxxxxxxxxx-logs', content: [ './logs', './config/local.json' ] }
 
[INFO] [MASTER] [0] [14671] Executing command { command: '7z a ./tmp/downloadLogs/Data-Broker-Azure-11ed2db3-0e3f-4207-ae8b-f1022a6a7267-21-March-2022_06-25-07-logs/62xxxxxxxxxxxxxxxx-logs ./logs ./config/local.json', timeout: undefined }
 
[ERROR] [MASTER] [0] [14671] Failed to execute command Error: Command failed: 7z a ./tmp/downloadLogs/Data-Broker-Azure-11ed2db3-0e3f-4207-ae8b-f1022a6a7267-21-March-2022_06-25-07-logs/62xxxxxxxxxxxxxxxx-logs ./logs ./config/local.json
/bin/sh: 7z: command not found
at ChildProcess.exithandler (child_process.js:383:12)
at ChildProcess.emit (events.js:400:28)
at ChildProcess.emit (domain.js:475:12)
at maybeClose (internal/child_process.js:1058:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:400:28)
at Socket.emit (domain.js:475:12)
at Pipe.<anonymous> (net.js:686:12) {
killed: false,
code: 127,
signal: null,
cmd: '7z a ./tmp/downloadLogs/Data-Broker-Azure-11ed2db3-0e3f-4207-ae8b-f1022a6a7267-21-March-2022_06-25-07-logs/62xxxxxxxxxxxxxxxx-logs ./logs ./config/local.json'
}
 
[ERROR] [MASTER] [0] [14671] Failed to upload data broker logs Error: /bin/sh: 7z: command not found
at /opt/netapp/databroker/app.js:1:35343
at ChildProcess.exithandler (child_process.js:390:5)
at ChildProcess.emit (events.js:400:28)
at ChildProcess.emit (domain.js:475:12)
at maybeClose (internal/child_process.js:1058:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:400:28)
at Socket.emit (domain.js:475:12)
at Pipe.<anonymous> (net.js:686:12)
 
[INFO] [MASTER] [0] [14671] Done handling download-logs message
 
[ERROR] [MASTER] [0] [14671] [download-logs] fatally failed due to error: /bin/sh: 7z: command not found
 

 

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.