This is quite the problem. We rely on hostnames that are assigned to builds. For ceph-deploy builds, these hostnames are
like:
- gitbuilder-cdep-rpm
- gitbuilder-cdep-deb
- tala
- mira
This approach is very broken. If we have concurrent builds, the script in ceph-deploy removes data assuming it is the only host that will ever build for ceph-deploy synchronously.
If we are building ceph packages at the same time in, say, a mira host, the build script for ceph-deploy might execute things like these:
rm -rf debian-repo
rm -rf dist
rm -f *.changes *.dsc *.gz *.diff
For now, the "solution" is to just add a host that has a hostname that works for this broken logic.
The actual fix is to work towards ephemeral hosts for the build, which will need significant hours dedicated to it.