Hello,
I just installed Juju controller on a MAAS environement, which is behind a proxy
the MAAS can deploy machines without problems as I setted the proxy in the WebUI
when I wanted to deploy juju controller, it got in timeout because the machine cannot access the Internet to get Juju agent
so came the solution of this config file :
default-series: bionic
> apt-http-proxy: "`http://1.20.1.1:3128`"
> apt-https-proxy: "http://1.20.1.1:3128"
> apt-ftp-proxy: "ftp://1.20.1.1:3128"
> http-proxy: "http://1.20.1.1:3128"
> https-proxy: "http://1.20.1.1:3128"
> ftp-proxy: "ftp://1.20.1.1:3128"
> no-proxy: "1.10.90.1,127.0.0.1,1.10.90.28"
cloudinit-userdata: |
ca-certs:
trusted:
- |
-----BEGIN CERTIFICATE-----
WONDERFUL CERTIFICATE
-----END CERTIFICATE-----
indentation is okay in my file
I had to specify proxy’s CA certificate to have wget and apt work on the juju’s controller
So i deployed my controller :
`
juju bootstrap my-maas --to alive-tetra.maas --config=config.yaml my-controller
`
and it deploy like it should
but then, when I type “juju gui”, here is the error :
ERROR Juju GUI is not available: GET https://1.10.90.39:17070/gui/13ec88f7-5877-41db-84ce-63dd89976c34/: Get https://1.10.90.39:17070/gui/13ec88f7-5877-41db-84ce-63dd89976c34/: x509: certificate signed by unknown authority
the port 17070 is listening in “netstat -laputen”
I added manually the CA certificate in “1.10.90.39” (I thought it will already be there with my config file, but nope)
I can’t find anything on this error, I must be missing something
Thank you for your help