Open rgolangh opened 6 years ago
The yum repo functionality is not built into Lago core, it is part of lago-ost-plugin.
We could add generic NFS-over-sock to Lago, and that can be useful for various things, but we need to ensure it is available on all platforms that Lago targets (AFAIK EL7 and FC24-27 ATM)
Having said that, I don't think the bottleneck is in the repo->VM transfer of packages. If anywhere, its probably in the repo construction process. I'd actually prefer if the internal repo remains an HTTP server because that provides better emulation for how end users consume packages.
This is possibly a duplicate of #92
To make the deployment faster and more performent we can share the lago host rpm-directory with the guest, by passing the network usage needed to perform installations.
This proposal may have 2 steps: 1) replace the internal http server for rpms with something more performant till NFS-over-vsock is ready and then 2) drop the http service, share the host rpm dir with all the guests, and mount it on the guests, tweak their local repository to point to the local filesystem.
NFS-over-vsock https://vmsplice.net/~stefan/stefanha-connectathon-2016.pdf