#5419 Mount prod lookaside cache read-only in staging
Closed: Fixed None Opened 7 years ago by ralph.

For modularity, we want to be able to do rebuilds of rpms in new buildroots, to build modules.

One of the problems we have is that we have to manually sync over the lookaside cache for those packages from prod to staging (since staging koji talks to staging dist-git to build the srpms).

Could we mount the prod lookaside cache as read-only on pkgs01.stg (kind of like how we mount the prod koji storage as read-only in staging).

This is ntap-phx2-c01-fedora01-nfs.storage.phx2.redhat.com:/fedora_sourcecache at /srv/cache/lookaside

If we do this, we will no longer be able to test new package uploads with 'fedpkg new-sources' in staging, since the storage is read-only.

Perhaps instead then, could we mount the readonly prod storage at /srv/cache/lookaside_prod. We could then symlink it into place to test module builds, and then remove the symlink to test package uploading.


And low, it did come to pass:

ntap-phx2-c01-fedora01-nfs.storage.phx2.redhat.com:/fedora_sourcecache 2.3T 1.2T 1.2T 50% /srv/cache/lookaside_prod

I didn't see this resolution but I stumbled on the mount on pkgs01.stg today.

Thanks so much for doing this (and so quickly!)

Login to comment on this ticket.

Metadata