If it can't find index2.json it should then fall back to index.json which
does remove: https://streams.canonical.com/juju/gui/streams/v1/index.json
Which is listed as 'trying legacy' above, which looks like it did succeed.
We shouldn't need mirrors.sjson, which is why I imagine it is giving the
failure only at TRACE level because it is one that we can recover from.
If you need to set APT proxies and plain HTTP proxies then you also need to
set those for Juju and not just for MAAS. We don't use the APT proxy for
regular HTTP because often they are actually enabled differently (many apt
caching proxies *refuse* regular http traffic, etc.)
You can set them in clouds.yaml with something like:
clouds:
mymaas:
type: maas
auth-types: [oauth1]
endpoint: http://<hostname>/MAAS
config:
apt-http-proxy: http://10.0.0.1:3142
apt-https-proxy: http://10.0.0.1:3142
http-proxy:...
https-proxy:...
You can also use:
juju bootstrap --no-gui
If you don't want to download the Javascript GUI.
On Wed, May 3, 2017 at 8:43 AM, fab an ice <email address hidden>
wrote:
If it can't find index2.json it should then fall back to index.json which /streams. canonical. com/juju/ gui/streams/ v1/index. json
does remove:
https:/
Which is listed as 'trying legacy' above, which looks like it did succeed.
We shouldn't need mirrors.sjson, which is why I imagine it is giving the
failure only at TRACE level because it is one that we can recover from.
If you need to set APT proxies and plain HTTP proxies then you also need to
set those for Juju and not just for MAAS. We don't use the APT proxy for
regular HTTP because often they are actually enabled differently (many apt
caching proxies *refuse* regular http traffic, etc.)
You can set them in clouds.yaml with something like: http-proxy: http:// 10.0.0. 1:3142 https-proxy: http:// 10.0.0. 1:3142 proxy:. .. proxy:. ..
clouds:
mymaas:
type: maas
auth-types: [oauth1]
endpoint: http://<hostname>/MAAS
config:
apt-
apt-
http-
https-
You can also use:
juju bootstrap --no-gui
If you don't want to download the Javascript GUI.
On Wed, May 3, 2017 at 8:43 AM, fab an ice <email address hidden>
wrote:
> 08:36:16 TRACE juju.environs. simplestreams simplestreams. go:487 fetchData /streams. canonical. com/juju/ gui/streams/ v1/index2. sjson": /streams. canonical. com/juju/ gui/streams/ v1/ simplestreams simplestreams. go:433 looking /streams. canonical. com/ streams/ v1/index2. sjson simplestreams simplestreams. go:436 v1/index2. sjson not accessed, actual error: invalid URL " /streams. canonical. com/juju/ gui/streams/ v1/index2. sjson" not found simplestreams simplestreams. go:437 v1/index2. sjson not accessed, trying legacy index path: v1/index. sjson simplestreams simplestreams. go:487 fetchData /streams. canonical. com/juju/ gui/streams/ v1/ /streams. canonical. gui/streams/ v1/mirrors. sjson" not found /streams. canonical. com/ streams/ v1/index2. sjson /streams. canonical. com/ streams/ v1/index2. sjson 168.5:10080. .. connected. /bugs.launchpad .net/bugs/ 1681278 /bugs.launchpad .net/juju/ +bug/1681278/ +subscriptions
> failed for "https:/
> cannot find URL "https:/
> index2.sjson" not found
> 08:36:16 TRACE juju.environs.
> for data index using URL https:/
> juju/gui/
> 08:36:16 TRACE juju.environs.
> streams/
> https:/
> 08:36:16 TRACE juju.environs.
> streams/
> streams/
> 08:36:16 TRACE juju.environs.
> failed for "https:/
> mirrors.sjson": cannot find URL "https:/
> com/juju/
>
>
> sysadmin@MAAS:~$ wget https:/
> juju/gui/
> --2017-05-03 08:42:25-- https:/
> juju/gui/
> Connecting to 192.168.
> Proxy request sent, awaiting response... 404 Not Found
> 2017-05-03 08:42:26 ERROR 404: Not Found.
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https:/
>
> Title:
> bootstrap failure on MAAS
>
> To manage notifications about this bug go to:
> https:/
>