Downloading Data Broker logs from Cloud Manager Cloud Sync UI fails
Applies to
- Cloud Sync
- Proxy
Issue
- Downloading Data Broker logs from UI fails
- Data Broker logs : ( /opt/netapp/databroker/logs/data-broker.log)
- When proxy is present : (fatally failed due to error: Socket is closed)
[2021-05-19T09:40:47.636] [INFO] [MASTER] [0] [24639] SEND MESSAGE: {"message":{"TRANSFER":{"COPY":{"FILE":{"bytes":42250600,"items":1078} }},"relationshipId":"5exxxxxxxxx"},"messageAttributes":{"MessagesCount":"256","addresseeScanner":"60xxxxxxxxx-5","approximateReceiveCount":"1","dataBrokerId":"60xxxxxxxxx","groupId":"5sxxxxxxxxx","requestId":"b0d51371-21b9-4b73-8224-eb5c41bc2951","type":"copy","zipped":"True"}}
[2021-05-19T09:40:52.432] [INFO] [MASTER] [0] [24639] Executing command { command: '7z a ./tmp/downloadLogs/db3-19-May-2021_09-39-42-logs/60xxxxxxxxx-logs ./logs ./config/local.json', timeout: undefined }
[2021-05-19T09:40:52.433] [INFO] [MASTER] [0] [24639] uploading zip directory 60xxxxxxxxx-logs.7z to S3 db3-19-May-2021_09-39-42-logs
[2021-05-19T09:40:52.931] [ERROR] [MASTER] [0] [24639] Failed to upload data broker logs
[2021-05-19T09:40:52.993] [INFO] [MASTER] [0] [24639] Done handling download-logs message
[2021-05-19T09:40:52.994] [ERROR] [MASTER] [0] [24639] [download-logs] fatally failed due to error: Socket is closed
[2021-05-19T09:40:52.995] [INFO] [MASTER] [0] [24639] SEND MESSAGE: {"message":
{"step":"INITIALIZE","status":"FAILED","reason":"Socket is closed","name":"db3-19-May-2021_09-39-42-logs"}
,"messageAttributes":{"dataBrokerId":"60xxxxxxxxx","groupId":"5sxxxxxxxxx","requestId":"ddfa4964-xxxx-xxxx-9b82-11b70494f5ab","type":"download-logs","approximateReceiveCount":"1"}}
- Data broker endpoints are not open : ( fatally failed due to error: Inaccessible host: `s3.amazonaws.com')
[2021-05-07T01:28:13.837] [ERROR] [MASTER] [0] [5297] Failed to upload data broker logs
[2021-05-07T01:28:13.838] [INFO] [MASTER] [0] [5297] Done handling download-logs message
[2021-05-07T01:28:13.838] [ERROR] [MASTER] [0] [5297] [download-logs] fatally failed due to error: Inaccessible host: `s3.amazonaws.com'. This service may not be available in the `us-east-1' region.
[2021-05-07T01:28:13.839] [INFO] [MASTER] [0] [5297] SEND MESSAGE: {"message":{"step":"INITIALIZE","status":"FAILED","reason":"Inaccessible host: `s3.amazonaws.com'. This service may not be available in the `us-east-1'region.","name":"aws-db-1-60xxxxxxxxx-07-May-2021_01-14-18-logs"},"messageAttributes":{"dataBrokerId":"60xxxxxxxxx","groupId":"60xxxxxxxx","requestId":"ad3c949e-xxxx-xxxx-9887-8d274d586908","type":"download-logs","approximateReceiveCount":"2"}}