juju bootstrap failed with "discarding API open error"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
New
|
Undecided
|
Unassigned |
Bug Description
#tail –f command.log
[DEBUG • 07-16 08:52:15] • cloudinstall.
Problem during bootstrap: '{'output': 'Bootstrapping environment "maas"
Starting new instance for initial state server
Launching instance
WARNING no architecture was specified, acquiring an arbitrary node
- /MAAS/api/
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to perfumed-
Attempting to connect to perfumed-
Attempting to connect to 192.168.11.29:22
Logging to /var/log/
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
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 \' --retry 10 -o $bin/tools.tar.gz <[https:/
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap agent installed
WARNING discarding API open error: unable to connect to "wss://
ERROR unable to connect to "wss://
', 'status': 1}'
[DEBUG • 07-16 08:52:15] • cloudinstall.utils • (utils.py, global_exchandler, 63)]
Traceback (most recent call last):
File "/usr/share/
super().run()
File "/usr/lib/
self.
File "/usr/share/
self.
File "/usr/share/
raise Exception("Problem with juju bootstrap.")
Exception: Problem with juju bootstrap.
On MAAS node:
ubuntu@
tcp 0 0 127.0.0.1:33323 127.0.0.1:17070 ESTABLISHED
tcp 0 0 127.0.0.1:33350 127.0.0.1:17070 ESTABLISHED
tcp6 0 0 :::17070 :::* LISTEN
tcp6 0 0 127.0.0.1:17070 127.0.0.1:33323 ESTABLISHED
tcp6 0 0 127.0.0.1:17070 127.0.0.1:33350 ESTABLISHED
tags: | added: bootstrap maas-provider |
tags: | added: cloud-installer |
IS this server behind enterprises firewall proxy? Also please paste your environment.yaml file and the bundle or command you are trying to run as part of bootstrap.