-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
None
-
False
-
None
-
False
-
Testable
-
-
I've been moving a bunch of builds to the second volume. But it doesn't work for some builds:
$ koji -p stream set-build-volume -v koji02 kernel-4.18.0-483.el8 2024-04-23 10:52:20,857 [ERROR] koji: Fault: <Fault 1: "<class 'OSError'>: [Errno 39] Directory not empty: '/mnt/kojishare/koji/packages/kernel/4.18.0/483.el8'">
And running the same again after that fails with a different error:
$ koji -p stream set-build-volume -v koji02 kernel-4.18.0-483.el8 2024-04-23 10:52:51,693 [ERROR] koji: GenericError: Destination directory exists: /mnt/kojishare/koji/vol/koji02/packages/kernel/4.18.0/483.el8
So it looks like it started the move, but failed for whatever reason.
BTW if a build has already been moved, there's a proper message for that. So this is an actual error.
$ koji -p stream set-build-volume -v koji02 kernel-4.18.0-383.el8 Build kernel-4.18.0-383.el8 already on volume koji02
Many other builds work, so this isn't blocking. But we might want to have a look at what's going on.