SUSE / rmt

RPM repository mirroring tool and registration proxy for SUSE Customer Center.
Other
37 stars 46 forks source link

rmt-cli mirror error while moving directory: Invalid argument @ apply2files #1049

Open jankarpisek opened 8 months ago

jankarpisek commented 8 months ago

Dear community, I'm struggling with the following issue:

rmt-cli mirror repos 4624

I, [2023-11-16T15:01:48.470501 #218] INFO -- : Mirroring repository SLE-Module-Basesystem15-SP3-Updates to /usr/share/rmt/public/repo/SUSE/Updates/SLE-Module-Basesystem/15-SP3/ppc64le/update/ I, [2023-11-16T15:01:49.828818 #218] INFO -- : → repomd.xml I, [2023-11-16T15:01:50.478678 #218] INFO -- : → repomd.xml.asc I, [2023-11-16T15:01:51.141150 #218] INFO -- : → repomd.xml.key I, [2023-11-16T15:01:52.440535 #218] INFO -- : → f7288f96cdd41d7b9854d846a0f1f93db9faa8e6c40ec43a9a113f0a14279922-primary.xml.gz I, [2023-11-16T15:01:52.479662 #218] INFO -- : → e4b566246820ee56a37e10355ab8ce4fa74ce9c9892c48fa466834ed624864c5-filelists.xml.gz I, [2023-11-16T15:01:52.553026 #218] INFO -- : → dd5c1571c50f57cab4f199abdcd5e18fb973f5216e1280d28966f6ad75a522ab-other.xml.gz I, [2023-11-16T15:01:52.557602 #218] INFO -- : → 8911e7ecffbf36c346010962728d899e2f7174ce7f1eb449fff4d7a710ef2785-deltainfo.xml.gz I, [2023-11-16T15:01:52.561233 #218] INFO -- : → 51843e4d901f2e4476ae87e39c5a0a036f79536c7651f32c9850e40d79992dcb-susedata.xml.gz I, [2023-11-16T15:01:52.568195 #218] INFO -- : → a2d2c52028a2d94f9c093fb9088d6f566abbe50e6ffc5b7344fffc2345627299-updateinfo.xml.gz W, [2023-11-16T15:02:07.362513 #218] WARN -- : The following errors occurred while mirroring: W, [2023-11-16T15:02:07.362599 #218] WARN -- : Repository 'SLE-Module-Basesystem15-SP3-Updates' (4624): Error while moving directory /tmp/d20231116-218-10yspsy/repodata to /usr/share/rmt/public/repo/SUSE/Updates/SLE-Module-Basesystem/15-SP3/ppc64le/update/repodata: Invalid argument @ apply2files - /usr/share/rmt/public/repo/SUSE/Updates/SLE-Module-Basesystem/15-SP3/ppc64le/update/repodata. W, [2023-11-16T15:02:07.362627 #218] WARN -- : Mirroring completed with errors. The command exited with errors.

jankarpisek commented 8 months ago

I confirm I have permissions to create a file in /usr/share/rmt/public/repo/SUSE/Updates/SLE-Module-Basesystem/15-SP3/ppc64le/update/repodata from the container. Also, rmt-cli was able to pass one file when I cleaned it, but very old, not the current one:As View from the target location: -rw-r--r-- 1 nobody nobody 10143226 Jan 12 2023 dd5c1571c50f57cab4f199abdcd5e18fb973f5216e1280d28966f6ad75a522ab-other.xml.gz -rw-r--r-- 1 nobody nobody 0 Nov 16 17:30 test