cloud sync fails to sync with error "unknownerror"
Applies to
- Cloud sync
- SMB2
- Data broker running Ubuntu
Issue
- Cloud sync fails to scan any files once sync is started
- Clicking on View details about sync failures for the relationship shows
Failure Point : "LIST" and Failure Reason :"unknownerror"
Data Broker logs:
[ERROR] [SCANNER] [7] [172530] Received error on get cifs acl with port 30804 mnt/63xxxxxxxxxxxxxxxxxxxxx/0b2466f9-a34e-4493-86dd-5b349c1a8233_src/test1.txt TypeError: r.get is not a function ERR_BAD_REQUEST Request failed with status code 403
[WARN] [SCANNER] [7] [172530] Failed to find stats for path { entry: 'test1.txt', path: 'mnt/63xxxxxxxxxxxxxxxxxxxxx/0b2466f9-a34e-4493-86dd-5b349c1a8233_src', copyAcl: 'cifs' } TypeError: r.get is not a function
[ERROR] [ACL-SERVER] [13] [172567] Get acl error TypeError: r.get is not a function
at /opt/netapp/databroker/acl-server.js:1:7408
at Layer.handle [as handle_request] (/opt/netapp/databroker/node_modules/express/lib/router/layer.js:95:5)
at next (/opt/netapp/databroker/node_modules/express/lib/router/route.js:144:13)
at Route.dispatch (/opt/netapp/databroker/node_modules/express/lib/router/route.js:114:3)
at Layer.handle [as handle_request] (/opt/netapp/databroker/node_modules/express/lib/router/layer.js:95:5)
at /opt/netapp/databroker/node_modules/express/lib/router/index.js:284:15
at param (/opt/netapp/databroker/node_modules/express/lib/router/index.js:365:14)
at param (/opt/netapp/databroker/node_modules/express/lib/router/index.js:376:14)
at param (/opt/netapp/databroker/node_modules/express/lib/router/index.js:376:14)
at Function.process_params (/opt/netapp/databroker/node_modules/express/lib/router/index.js:421:3)
Failed logs:
[INFO] [SCANNER] [7] [172530] [63xxxxxxxxxxxxxxxxxxxxx] [LIST] FAILED source { cifs: { host: 'xxx.corp.xxxx.com', share: '/Pre-Migration testing NAS-1', version: '2.1', provider: 'cifs', username: 'nt_xxxxxxx', workgroup: 'corp' } } and target: { cifs: { host: '10.xx.xx.xx', share: '/Pre-Migration testing NAS-1', version: '2.1', provider: 'cifs', username: 'nt_xxxxxx', workgroup: 'corp' } } Error: TypeError: r.get is not a function
at L (/opt/netapp/databroker/scanner.js:1:54536)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async F (/opt/netapp/databroker/scanner.js:1:55005)
at async B (/opt/netapp/databroker/scanner.js:1:55307)
at async Promise.all (index 0)
at async Ka.U.retries (/opt/netapp/databroker/scanner.js:1:136689) {
code: undefined
}
data_broker_installer.log : ( Errors seen during installation of data broker )
Err:1 http://in.archive.ubuntu.com/ubuntu focal/main amd64 make amd64 4.2.1-1.2
Connection failed [IP: 185.125.190.36 80]
Err:16 http://in.archive.ubuntu.com/ubuntu focal/main amd64 gcc amd64 4:9.3.0-1ubuntu2
Connection failed [IP: 185.125.190.39 80]
Err:23 http://in.archive.ubuntu.com/ubuntu focal/main amd64 g++ amd64 4:9.3.0-1ubuntu2
Connection failed [IP: 91.189.91.39 80]
Post install failed:
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.