On Wed, 2022-07-06 at 08:05 +0000, Paul-Andre Panon wrote:
Hmm, I'm having some problem following quite how that change to uUyuni-configure.py is effecting that cloning though I'll assume it is somehow.
The issue when running bootstrap scripts via a container proxy is that the proxy doesn't cache the bootstrap folder. This PR tells Apache to use the proxy for everything in the /pub folder.
But then how does the client register through the proxy and know to use the proxy instead of the main server? Doesn't something need to change in the bootstrap script(s) so the client is aware of the proxy? Is that done by changing the HOSTNAME variable in the script from the Uyuni server to the Uyuni proxy?
Yes you need to set the HOSTNAME to the container proxy FQDN in the bootstrap script and that's it.
-----Original Message----- From: Cedric Bosdonnat firstname.lastname@example.org Sent: Tuesday, July 5, 2022 11:12 PM To: email@example.com Cc: Paul-Andre Panon firstname.lastname@example.org Subject: Re: Where is mgr-bootstrap on a containerized proxy?
There will be no mgr-bootstrap for containerized proxy and for now the bootstrap scritps are failing with it. A fix is to mirror all of the /pub folder on the proxy for containers. There is a PR for it that I tested locally:
I'll need to create some test images for Uyuni for you to test it, unless you build the images yourself ;)
On Wed, 2022-07-06 at 02:13 +0000, Paul-Andre Panon via Uyuni Users wrote:
After some brow sweat figuring out that a firewalld IP range overlap between zone sources was breaking routing for a containerized proxy, I'm ready to try to follow up with setting up some bootstrap scripts on the proxy. However I can't seem to find mgr-bootstrap to do so because it doesn't appear to be in the container host path. How does one generate bootstrap scripts on a containerized proxy?