the wrong sliver was being used to get controller when syncing user-created networkslivers
diff --git a/xos/openstack_observer/steps/sync_network_slivers.py b/xos/openstack_observer/steps/sync_network_slivers.py
index 6746418..62eb513 100644
--- a/xos/openstack_observer/steps/sync_network_slivers.py
+++ b/xos/openstack_observer/steps/sync_network_slivers.py
@@ -144,7 +144,7 @@
# that don't have neutron ports, and create them.
for networkSliver in NetworkSliver.objects.filter(port_id__isnull=True, sliver__isnull=False):
#logger.info("XXX working on networksliver %s" % networkSliver)
- controller = sliver.node.site_deployment.controller
+ controller = networkSliver.sliver.node.site_deployment.controller
if controller:
cn=networkSliver.network.controllernetworks.filter(controller=controller)
if not cn: