Open Barteus opened 11 months ago
It seems like juju is not changing the config file because the setting is blank and it thinks there's no value there. I would suggest both steps in this order until this bug is fixed:
1) Change the juju config in landscape client to remove the proxy settings 2) Change the file manually
Since the juju proxy config is zeroed out, there will be nothing for the charm override in landscape client.
Actually here's a better solution use " "
instead of ""
. It'll force juju to ovewrite the landscape config since " "
evaluates to True
. In order to actually fix this bug, we need to differentiate between "keep defaults" (don't override anything) and yes override with "". So I think that checking if None
vs. ""
will suffice for the actual bugfix, but for right now as a workaround use " "
I have computers registered in Landscape, but the juju status of landscape clients is still broken.
Do we have an estimated time when this bug will be fixed?
I deploy landscape on top of MAAS. The environment is behind proxy and I cannot access local resources when using proxy (this behaviour cannot be changed)
Versions MAAS - 3.4/candidate landscape - latest/stable juju - 3.1.6
JUJU model config is:
I used bundle to deploy (the grafana issue is expected, but landscape-client issue is not expected):
The result for the landscape-client is "Registration failed!".
When I change the landscape-client configuration file by removing the HTTP and HTTPS proxy settings, restart the service and it works correctly. Unfortunately, charms override this configuration on every check, and I get Registration failed again.
I need a way to use charms and juju to deploy the bundle and have the landscape clients register properly in "proxy" environment.