Cannot pass "Running machine configuration script..."

Hello, I am a new user, trying to follow the instructions below,

https://technology.amis.nl/platform/kubernetes/charmed-kubernetes-on-kvm-using-maas-and-juju/

I get stuck at a certain stage and could not find any useful info on net, I hope someone may help.
Its waiting here;

~$  juju bootstrap maas maas-controller  
Creating Juju controller "maas-controller" on maas/default
Looking for packaged Juju agent version 2.8.10 for amd64
Launching controller instance(s) on maas/default...
 - b3d6by (arch=amd64 mem=3.5G cores=1)
Installing Juju agent on bootstrap instance
Fetching Juju Dashboard 0.3.0
Waiting for address
Attempting to connect to 10.20.81.1:22
Connected to 10.20.81.1
Running machine configuration script...

attaching a view from screen if it helps, thanks for any guidance.

Ok tried the following with debug,

juju bootstrap maas maas-controller
–config bootstrap-timeout=900 --debug
–bootstrap-series=bionic
–constraints tags=juju-controller \

Still same:

01:43:28 INFO cmd bootstrap.go:716 Fetching Juju Dashboard 0.3.0
01:46:48 DEBUG juju.cloudconfig.instancecfg instancecfg.go:963 Setting numa ctl preference to false
Waiting for address
01:46:48 DEBUG juju.provider.maas maas2instance.go:89 “fair-louse” has addresses [“local-cloud:10.20.81.3@undefined(id:-1)”]
Attempting to connect to 10.20.81.3:22
01:46:48 DEBUG juju.provider.common bootstrap.go:626 connection attempt for 10.20.81.3 failed: ssh: connect to host 10.20.81.3 port 22: Connection refused
01:46:53 DEBUG juju.provider.common bootstrap.go:626 connection attempt for 10.20.81.3 failed: ssh: connect to host 10.20.81.3 port 22: Connection refused
01:46:58 DEBUG juju.provider.common bootstrap.go:626 connection attempt for 10.20.81.3 failed: ssh: connect to host 10.20.81.3 port 22: Connection refused
01:46:58 DEBUG juju.provider.maas maas2instance.go:89 “fair-louse” has addresses [“local-cloud:10.20.81.3@undefined(id:-1)”]
01:47:04 DEBUG juju.provider.common bootstrap.go:626 connection attempt for 10.20.81.3 failed: /var/lib/juju/nonce.txt does not exist
01:47:08 DEBUG juju.provider.maas maas2instance.go:89 “fair-louse” has addresses [“local-cloud:10.20.81.3@undefined(id:-1)”]
01:47:10 DEBUG juju.provider.common bootstrap.go:626 connection attempt for 10.20.81.3 failed: /var/lib/juju/nonce.txt does not exist
01:47:15 DEBUG juju.provider.common bootstrap.go:626 connection attempt for 10.20.81.3 failed: /var/lib/juju/nonce.txt does not exist
01:47:19 DEBUG juju.provider.maas maas2instance.go:89 “fair-louse” has addresses [“local-cloud:10.20.81.3@undefined(id:-1)”]
01:47:21 DEBUG juju.provider.common bootstrap.go:626 connection attempt for 10.20.81.3 failed: /var/lib/juju/nonce.txt does not exist
01:47:27 DEBUG juju.provider.common bootstrap.go:626 connection attempt for 10.20.81.3 failed: /var/lib/juju/nonce.txt does not exist
01:47:28 DEBUG juju.provider.maas maas2instance.go:89 “fair-louse” has addresses [“local-cloud:10.20.81.3@undefined(id:-1)”]
01:47:33 DEBUG juju.provider.common bootstrap.go:626 connection attempt for 10.20.81.3 failed: /var/lib/juju/nonce.txt does not exist
01:47:38 DEBUG juju.provider.maas maas2instance.go:89 “fair-louse” has addresses [“local-cloud:10.20.81.3@undefined(id:-1)”]
01:47:39 INFO cmd bootstrap.go:394 Connected to 10.20.81.3
01:47:39 INFO juju.cloudconfig userdatacfg_unix.go:573 Fetching agent: curl -sSfw 'agent binaries from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ’ --retry 10 -o $bin/tools.tar.gz <[https://streams.canonical.com/juju/tools/agent/2.8.10/juju-2.8.10-ubuntu-amd64.tgz]>
01:47:39 INFO cmd bootstrap.go:464 Running machine configuration script…

Problem solved, some configuration mistake on my side.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.