Comment 3 for bug 1785314

Revision history for this message
Mike Pontillo (mpontillo) wrote :

I do think it would be better if Juju doesn't send the space=-1 constraint. (It seems fairly meaningless to say "I want to allocate a machine that is not in a space".) It would be preferable to not send the space constraint to MAAS at all, in that case.

An alternative workaround would be to define spaces for each VLAN you want to use with Juju. That way, there is no need to use the 'undefined' space.

It might be nice to support the "give me a machine not in a space" concept in MAAS, but it still doesn't seem like a very meaningful request. The constraints are powerful enough that you should be able to alternatively specify either no constraints at all, or "give me a machine in subnet X.X.X.X/Y", which would be more likely to give you back what you wanted.