Comment 7 for bug 1828076

Revision history for this message
Peter Sabaini (peter-sabaini) wrote :

I'm seeing this in a similar (but not the same) env. As in the case above, I have machine #0 which is added via ssh before deploying the bundle:

$ juju add-machine --constraints "tags=infra,spaces=space-mgmt,space-api,space-sta" ssh:user@ipaddr
$ juju deploy --debug ./$BUNDLE0 --map-machines=existing

This results in "suitable availability zone for machine X not found" messages for all AZ1 nodes, even though in fact there are plenty of nodes avail. in Maas in AZ1.

juju status: https://private-fileshare.canonical.com/~sabaini/lp1828076/juju-status.txt

Minimal test bundle: https://pastebin.canonical.com/p/rp6rTSG9mC/

> Are you able to provide a list of potential machines from MAAS?

Here:
$ maas maas-root nodes read zone=AZ1 | jq -r '.[] | "\(.system_id) \(.zone.name) \(.tag_names)"' | sort
6cpceq AZ1 ["physical","os-cs-vplus"]
8kwayw AZ1 ["physical","os-cs-vnf"]
d3cp3w AZ1 ["physical","os-cs-vnf"]
dxbn87 AZ1 ["physical","os-cs-vnf"]
eka6sd AZ1 ["physical","os-cs-vplus"]
ew8rw3 AZ1 ["physical","os-cs-vnf"]
ffbbse AZ1 ["physical","os-cs-vnf"]
gdrhba AZ1 ["physical","os-cs-vnf"]
h3pf8x AZ1 ["physical","os-cs-vnf"]
hawfsg AZ1 ["physical","os-cs-vplus"]
kgfkrc AZ1 ["physical","os-cs-vplus"]
rcmmkm AZ1 ["physical","os-cs-vnf"]
wtrfwr AZ1 ["physical","os-cs-vnf"]
x7dkdm AZ1 ["physical","os-cs-vplus"]
xqswcf AZ1 ["virtual","juju"]
yp83ae AZ1 ["physical","os-cs-vnf"]

> It is also somewhat unclear what the underlying problem is.
>
> Is it that the bundle doesn't deploy?

Right, the bundle doesn't deploy as it's missing nodes from AZ1.

The expectation would be that upon bundle deploy juju recognizes the machine #0 already added machine and request the additional machines named in the bundle.

If it helps, here are TRACE logs from the controller: https://private-fileshare.canonical.com/~sabaini/lp1828076/juju-ctrl-logs.tar.gz