moved subnets do not get updated by reload-spaces

Bug #1747998 reported by Peter Matulis
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Canonical Juju

Bug Description

Juju's notion of spaces does not correspond to what is in MAAS.

What I did:

What is in the MAAS database:


juju 2.3.2-xenial-amd64
maas 2.3.0-6434-gd354690-0ubuntu1

Tags: docteam
Revision history for this message
John A Meinel (jameinel) wrote :

I thought we had a bug already for this, but the only one I could find was

There are a few things you can do in MAAS that Juju does not currently track appropriately.
a) Rename space (we consider the name of a space its primary identifier, and thus renaming it just looks like a different space, we could track it differently as MAAS has a *different* primary key)
b) Move a subnet from one space to another (we'd like to support this generally, but have always been concerned because if you have deployed units that are using a given subnet, moving a subnet to another space has fairly profound impact to bindings and promises to charmers/operators.)
c) changing the definition of a subnet ( becomes Again we consider the CIDR to be the primary identifier, so those look like 2 different subnets to us.
d) We don't handle subnets that overlap very well. See (c) above which should be conflicting, you shouldn't be able to have both.
e) multiple networks that are not connected having the same subnet

summary: - spaces do not correspond to MAAS spaces
+ moved subnets do not get updated by reload-spaces
Changed in juju:
importance: Undecided → High
status: New → Triaged
Revision history for this message
John A Meinel (jameinel) wrote :

If you rebootstrap, the new juju will see the spaces that MAAS has after the update. 'reload-spaces' currently only really supports adding new spaces or new subnets.

Revision history for this message
Florian Guitton (f-guitton) wrote :


I hope everybody is all right !

Do we have an ETA on this ?
We are currently in the process of updating our IP ranges and this is severely breaking Juju.

Best wishes,

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.