#10319 need read-only ostree mounts on staging composer machines
Closed: Fixed with Explanation by kevin. Opened by dustymabe.

Describe what you would like us to do:


Many moons ago I used to test out changes to the prod ostree repos on the composer machines (today I'm using compose-x86-01.iad2.fedoraproject.org) because they had a read-only mount of the ostree repos so I could safely poke around without messing anything up.

Some time ago we converted the OSTree repos to use their own netapp volume (isolated from other things) and now the read-only mounts don't exist on the stage composer machine any longer.

Basically what I need is:

  • prod ostree repo mounted read-only under /mnt/fedora_koji_prod/koji/ostree/repo
  • compose ostree repo mounted read-only under /mnt/fedora_koji_prod/koji/compose/ostree/repo

I tried to look at the ansible config for this but it wasn't very obvious what needs to be done to achieve the above goal.

When do you need this to be done by? (2021/11/11)


Would be nice to have it sometime this week so I can test out the new fedora-ostree-pruner work this weekend.


I'm more than happy to review any proposed changes here if you link me to the change request.

ok. I think it's fixed. There were several issues:

The nfs/client role didn't do mounts in staging unless datacenter was iad and mount_stg was set.
So I set mount_stg, but then datacenter on the staging comopser is 'staging' so I had to fix the conditional in nfs/client to do that.

I also cleaned up the sections in the playbook to be more clear and added some comments. Let me know if there's still any issues. ;)

Metadata Update from @kevin:
- Issue close_status updated to: Fixed with Explanation
- Issue status updated to: Closed (was: Open)

Metadata