I am struggeling quite a bit with juju deploy to my MaaS cloud. I have two networks for which
network infrastructure is the management network with PXE boot etc.
network computing is where I want to run the services I deploy with Juju - like hello-juju
No matter what I am trying, the public-address of the hello-juju app is always ending up in network infrastructure whereas I want it to be in computing. I’ve read felt like the whole documentation and tried things like:
juju deploy hello-juju --bind computing
deployed e.g. charmed-kubernetes with an overlay to endpoints like “”: computing
tested with Juju version 2.9, 2.8.1
using MaaS version 3.0 beta
Noteworthy to say, that when I login to a machine, then I have proper network access to both networks. Also in MaaS I have configured the two NICS with “auto-assign”.
But nothing worked so far. Is there any tooling available to debug this?
Getting a step further. It seems the the endpoint of the app (in this example hello-juju) is exposed to the IP on the infrastructure and the IP on the computing network. This is what network-get shows:
I can curl on both subnets and the endpoint for the hello-juju app returns. Am I missing something here to only restrict it really to the space I want (space computing)? And why does juju summary and the web UI show then the wrong IP?
Seems the hello-juju charm does not support binding to specific interfaces. If I interprete the code below (from the charm), then it binds to all available interfaces 0.0.0.0: