Separated "provides" and "observes" declarations in sync steps. Provides is for dependency management and observes is for retrieving obejcts that have changed.
diff --git a/planetstack/openstack_observer/steps/sync_controller_networks.py b/planetstack/openstack_observer/steps/sync_controller_networks.py
index 1071ef7..83cf8ea 100644
--- a/planetstack/openstack_observer/steps/sync_controller_networks.py
+++ b/planetstack/openstack_observer/steps/sync_controller_networks.py
@@ -11,11 +11,14 @@
from util.logger import Logger, logging
from observer.ansible import *
+import pdb
+
logger = Logger(level=logging.INFO)
class SyncControllerNetworks(OpenStackSyncStep):
requested_interval = 0
provides=[Network]
+ observes=ControllerNetwork
def alloc_subnet(self, uuid):
# 16 bits only