XCP sync fails with error "Incomplete catalog id 'catalog name' already exists; try resume" when XCP copy uses complete File path
Applies to
- XCP 1.6.3
- XCP NFS
Issue
When XCP copy uses the entire path till file name, a copy will succeed and sync operation fail with "Incomplete catalog id 'catalog name' already exists; try resume" error.
[root@xcprhel8 linux]# ./xcp copy 10.216.41.150:/test/def.txt 10.216.41.150:/test1
XCP 1.6.3; (c) 2021 NetApp, Inc.; Licensed to Netapp [NetApp Inc] until Thu Jun 17 00:15:04 2021
xcp
: WARNING: No index name has been specified, creating one with name: autoname_copy_2021-06-04_17.42.18.629040
Sending statistics...Xcp command : xcp copy 10.216.41.150:/test/def.txt 10.216.41.150:/test1
Stats : 1 scanned, 1 copied, 1 indexed
Speed : 12.5 KiB in (7.61 KiB/s), 91.2 KiB out (55.4 KiB/s)
Total Time : 1s.
STATUS : PASSED
[root@xcprhel8 linux]# ./xcp sync -id autoname_copy_2021-06-04_17.42.18.629040
XCP 1.6.3; (c) 2021 NetApp, Inc.; Licensed to Netapp [NetApp Inc] until Thu Jun 17 00:15:04 2021
xcp: Index: {source: 10.216.41.150:/test/def.txt, target: 10.216.41.150:/test1}
xcp: sync 'autoname_copy_2021-06-04_17.42.18.629040': WARNING: Incomplete index.
xcp: ERROR: Incomplete catalog id 'autoname_copy_2021-06-04_17.42.18.629040' already exists; try resume
Sending statistics...Xcp command : xcp sync -id autoname_copy_2021-06-04_17.42.18.629040
1 error
STATUS : FAILED