Hmm, it was fairly straightforward to reproduce on a clean environment.
- MAAS provider (192.168.151.0/24 is the network managed by MAAS and 192.168.151.1 is MAAS)
- Juju 2.9.43-ubuntu-amd64
- landscape-dense-maas bundle from the charmstore
juju deploy landscape-dense-maas && time juju-wait -w
-> ERROR:root:landscape-server/0 failed: workload status is error
[juju debug-log -i landscape-server/0 --replay]
unit-landscape-server-0: 11:03:00 DEBUG unit.landscape-server/0.install Cannot add PPA: 'ppa:~landscape/ubuntu/self-hosted-beta'.
unit-landscape-server-0: 11:03:00 DEBUG unit.landscape-server/0.install ERROR: '~landscape' user or team does not exist.
$ juju ssh landscape-server/0 -- sudo ufw status verbose
Status: active
Logging: on (low)
Default: allow (incoming), allow (outgoing), deny (routed)
New profiles: skip
To Action From
-- ------ ----
80/tcp REJECT OUT Anywhere
443/tcp REJECT OUT Anywhere
80/tcp (v6) REJECT OUT Anywhere (v6)
443/tcp (v6) REJECT OUT Anywhere (v6)
Hmm, it was fairly straightforward to reproduce on a clean environment.
- MAAS provider (192.168.151.0/24 is the network managed by MAAS and 192.168.151.1 is MAAS) dense-maas bundle from the charmstore
- Juju 2.9.43-ubuntu-amd64
- landscape-
cat <<EOF | tee cloudinit- userdata. yaml 192.168. 151.1:8000/ 192.168. 151.1:8000/ 192.168. 151.1:8000/ 192.168. 151.1:8000/ 1,localhost, ::1,192. 168.151. 0/24 192.168. 151.1:8000/ 192.168. 151.1:8000/
apt-http-proxy: http://
apt-https-proxy: http://
juju-http-proxy: http://
juju-https-proxy: http://
juju-no-proxy: 127.0.0.
snap-http-proxy: http://
snap-https-proxy: http://
cloudinit-userdata: |
preruncmd:
- ufw default allow # don't block anything by default
- ufw reject out http # block outgoing 80/tcp connection without proxy
- ufw reject out https # block outgoing 443/tcp connection without proxy
- ufw enable
EOF
juju add-model landscape-test --config cloudinit- userdata. yaml
juju deploy landscape- dense-maas && time juju-wait -w
-> ERROR:root: landscape- server/ 0 failed: workload status is error
[juju debug-log -i landscape-server/0 --replay] server- 0: 11:03:00 DEBUG unit.landscape- server/ 0.install Cannot add PPA: 'ppa:~landscape /ubuntu/ self-hosted- beta'. server- 0: 11:03:00 DEBUG unit.landscape- server/ 0.install ERROR: '~landscape' user or team does not exist.
unit-landscape-
unit-landscape-
$ juju ssh landscape-server/0 -- sudo ufw status verbose
Status: active
Logging: on (low)
Default: allow (incoming), allow (outgoing), deny (routed)
New profiles: skip
To Action From
-- ------ ----
80/tcp REJECT OUT Anywhere
443/tcp REJECT OUT Anywhere
80/tcp (v6) REJECT OUT Anywhere (v6)
443/tcp (v6) REJECT OUT Anywhere (v6)