I reproduced it immediately with a local maas:
andreas@nsn7:~$ export JUJU_ENV=kvm-maas andreas@nsn7:~$ juju bootstrap --to 43nhg.maaslocal && juju api-endpoints; echo $? Launching instance WARNING picked arbitrary tools &{1.20.0-trusty-amd64 https://streams.canonical.com/juju/tools/releases/juju-1.20.0-trusty-amd64.tgz 69ad204e52ed88c2bcbb60ebcde9bc1137f6db4ceed4b9ae3807ed8392627524 8054312} - /MAAS/api/1.0/nodes/node-a24cb932-02ba-11e4-81f2-525400d76d7e/ Waiting for address Attempting to connect to 43nhg.maaslocal:22 Attempting to connect to 10.0.5.70:22 Warning: Permanently added '10.0.5.70' (ECDSA) to the list of known hosts. Logging to /var/log/cloud-init-output.log on remote host Running apt-get update Running apt-get upgrade Installing package: git Installing package: curl Installing package: cpu-checker Installing package: bridge-utils Installing package: rsyslog-gnutls Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' -o $bin/tools.tar.gz 'https://streams.canonical.com/juju/tools/releases/juju-1.20.0-trusty-amd64.tgz' Bootstrapping Juju machine agent Starting Juju machine agent (jujud-machine-0) ERROR EOF 1 andreas@nsn7:~$
After a while, api-endpoints works:
andreas@nsn7:~$ juju api-endpoints 10.0.5.70:17070 43nhg.maaslocal:17070
I reproduced it immediately with a local maas:
andreas@nsn7:~$ export JUJU_ENV=kvm-maas 0-trusty- amd64 https:/ /streams. canonical. com/juju/ tools/releases/ juju-1. 20.0-trusty- amd64.tgz 69ad204e52ed88c 2bcbb60ebcde9bc 1137f6db4ceed4b 9ae3807ed839262 7524 8054312} 1.0/nodes/ node-a24cb932- 02ba-11e4- 81f2-525400d76d 7e/ cloud-init- output. log on remote host /streams. canonical. com/juju/ tools/releases/ juju-1. 20.0-trusty- amd64.tgz'
andreas@nsn7:~$ juju bootstrap --to 43nhg.maaslocal && juju api-endpoints; echo $?
Launching instance
WARNING picked arbitrary tools &{1.20.
- /MAAS/api/
Waiting for address
Attempting to connect to 43nhg.maaslocal:22
Attempting to connect to 10.0.5.70:22
Warning: Permanently added '10.0.5.70' (ECDSA) to the list of known hosts.
Logging to /var/log/
Running apt-get update
Running apt-get upgrade
Installing package: git
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' -o $bin/tools.tar.gz 'https:/
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
ERROR EOF
1
andreas@nsn7:~$
After a while, api-endpoints works:
andreas@nsn7:~$ juju api-endpoints :17070
10.0.5.70:17070
43nhg.maaslocal