I know this is a bit of thread-necromancy, but I see the same behavior here - vSphere 7.0U2 + Juju 2.9.18
I have two networks defined:
primary-network: nv-22-jujuinternal
external-network: nv-23-jujuexternal
nv-22 is 10.50.22.0/24
nv-23 is 10.50.23.0/24
Both networks are routable and my client browser can hit IP’s in either subnet. There are no firewalls between either of these subnets, the subnet that vCenter is running on, or the subnet that I’m attempting to access the service from.
Both primary-network: nv-22-jujuinternal
and external-network: nv-23-jujuexternal
are configured as such in the controller bootstrap.yaml
and in my model-config
yaml which I’m passing prior to running juju deploy
in a model.
When deploying juju-gui, I can see from status that “Public address” is showing as an address which is on the primary-network (nv-22)
Unit Workload Agent Machine Public address Ports Message
juju-gui/2* unknown idle 2 10.50.22.30 80/tcp,443/tcp
If I go to that address in a browser on http:// or https:// then I eventually get an ERR_CONNECTION_TIMED_OUT
response, however if I go to vCenter and grab the IP that was provided via DHCP on the external-network then the Juju GUI loads up.
I see the same behavior with landscape-scalable too
Unit Workload Agent Machine Public address Ports Message
haproxy/0* active idle 0 10.50.22.31 80/tcp,443/tcp Unit is ready
landscape-server/0* active idle 1 10.50.22.32
postgresql/0* active idle 2 10.50.22.33 5432/tcp Live master (10.19)
rabbitmq-server/0* active idle 3 10.50.22.34 5672/tcp Unit is ready
Machine State DNS Inst id Series AZ Message
0 started 10.50.22.31 juju-dee5d2-0 bionic poweredOn
1 started 10.50.22.32 juju-dee5d2-1 bionic poweredOn
2 started 10.50.22.33 juju-dee5d2-2 bionic poweredOn
3 started 10.50.22.34 juju-dee5d2-3 bionic poweredOn
haproxy is listening on 80/443 on the ‘external-network’ address and responds when attempting access
https://10.50.23.21/new-standalone-user
but juju status haproxy
shows the public address as being the DHCP assigned address from the primary-network
App Version Status Scale Charm Store Channel Rev OS Message
haproxy active 1 haproxy charmstore stable 61 ubuntu Unit is ready
Unit Workload Agent Machine Public address Ports Message
haproxy/0* active idle 0 10.50.22.31 80/tcp,443/tcp Unit is ready
Machine State DNS Inst id Series AZ Message
0 started 10.50.22.31 juju-dee5d2-0 bionic poweredOn
According to this here document I should be able to run juju status haproxy
and use the IP address that it provides, but this has so far been false and I can only access 80 and 443 by going to vCenter and getting the external-network
assigned address.
My Juju experience can be counted in minutes on one hand at this point, and it’s very possible that I’m just doing something wrong or missing a step, but from what I understand so far this isn’t expected or desired behavior?
Any advice would be most appreciated
Thx
stu