XCP Job Fails with Catalog Error Due to File Policy Blocking missing and done Extensions on ONTAP
Applies to
- ONTAP 9
- XCP NFS Migration Tool (v1.9.4P1)
- XCP catalog
Issue
- XCP copy or resume existing job fails with catalog errors when attempting to create or access certain files in the catalog directory. The following errors are observed in XCP logs:
ERROR: Error creating index: nfs3CREATE 'abc.done' in '10.x.x.x:/catalog/catalog/indexes/abc': nfs3error13: permission deniedERROR: Error reading command metadata 'abc.json' in catalog id '10.x.x.x:/catalog/catalog/indexes/abc': 'NoneType' object has no attribute 'read'
- Packet traces and debug logs show repeated NFS V3 CREATE calls for files with extensions .missing, which result in NFS3ERR_ACCES (access denied) or nfs3error13: permission denied.
- XCP Debug logs:
[root@ linux]# ./xcp copy -newid test -loglevel DEBUG source destination
- DEBUG - 25xxxxx xcp open 'abc.missing' in '10.x.x.x:/catalog/catalog/indexes/abc' Traceback (most recent call last):File "sched.pyx", line x, in sched.Engine._runTasks File "sched.pyx", line x, in sched.Task.run File "client.py", line x, in gOpennfs3.ENoent: nfs3 LOOKUP 'NEW401.missing' in '10.x.x.x:/catalog/catalog/indexes/abc': nfs3 error 2: no such file or directory- DEBUG - 25xxxxx xcp open 'abc.done' in '10.x.x.x:/catalog/catalog/indexes/abc' Traceback (most recent call last): File "sched.pyx", line x, in sched.Engine._runTasks File "sched.pyx", line x, in sched.Task.run File "client.py", line x, in gOpennfs3.ENoent: nfs3 LOOKUP 'abc.done' in '10.x.x.x:/catalog/catalog/indexes/abc': nfs3 error 2: no such file or directory
