#2545 dist-repo not creating delta rpms
Closed: Dropped a year ago by tkopecek. Opened 3 years ago by amessina.

I see this error in the log: lots of successful Deltas generated, but no drpm in the resultant repo.
... 22:24:02: Deltas for "xlogin" (4478) generated ... 22:24:02: Old repodata doesn't exists: Cannot rename /var/tmp/koji/tasks/6358/66358/repo/repodata/ -> /var/tmp/koji/tasks/6358/66358/repo/repodata.old.210807.20201021222402.595893: No such file or directory 22:24:02: Renamed /var/tmp/koji/tasks/6358/66358/repo/.repodata/ -> /var/tmp/koji/tasks/6358/66358/repo/repodata/


Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.24

3 years ago

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.25 (was: 1.24)

3 years ago

What is the situation? Did the delta repo still existed in the moment of call? I've tried to reproduce it but without any luck.

I am trying to use the previous dist-repo as the delta-repo. It looks like the command tries to rename the previous dist-repo so it can then be references, but it doesn't work. I'm not sure why the "Cannot rename" error occurs.

The command I have been using is
koji dist-repo --noinherit --with-src --split-debuginfo --delta-rpms="$tag" --nowait "$tag" "$key"

Could it be that original repodir has some wrong permisisons on builder? As createrepo builder needs to have rw access to those dirs, maybe that when it is copying old repodata to workdir they are copied with read-only permissions?

@tkopecek sorry I am trying to find a way to get the bits worked out -- it's reproducible, but I haven't been able to check your permissions suggestion. as I don't find where it's getting the previous repo from.

Previous repo should come from builder's mountpoint /mnt/koji/repos-dist/<tag>/<repoid>

Could it be that original repodir has some wrong permisisons on builder? As createrepo builder needs to have rw access to those dirs, maybe that when it is copying old repodata to workdir they are copied with read-only permissions?

Ok, perhaps this is my issue, though everything else about my Koji instance seems to work properly. I do have /mnt/koji/repos-dist/f33-updates/13110/, for example with all the right stuff in there, but my koji-builder does not have write access to the /mnt/koji dir, accessed via NFS.

The createrepo_c command is /usr/bin/createrepo_c -vd -i /var/tmp/koji/tasks/9405/69405/repo/pkglist --deltas --oldpackagedirs /mnt/koji/repos-dist/f33-updates-mss/13110 /var/tmp/koji/tasks/9405/69405/repo

The builder has access to to oldpackagedirs but maybe isn't copying it to its local /var/tmp/koji/tasks.

I'll need to check some more.

Metadata Update from @tkopecek:
- Issue set to the milestone: None (was: 1.25)

2 years ago

Metadata Update from @tkopecek:
- Issue close_status updated to: Dropped
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata