Do not provision the OLT until the Tech-profile has been pushed into ETCD
Change-Id: I78671e63acfaab1ac8d865b22f12a4ca35c11fc1
diff --git a/xos/synchronizer/steps/sync_tech_profile.py b/xos/synchronizer/steps/sync_tech_profile.py
index 3c36f36..dcd5f52 100644
--- a/xos/synchronizer/steps/sync_tech_profile.py
+++ b/xos/synchronizer/steps/sync_tech_profile.py
@@ -39,7 +39,7 @@
observes = TechnologyProfile
def update_etcd(self, operation, key, value):
- log.info('Update Etcd store: ', operation=operation, key=key, value=value)
+ log.info('Update Etcd store: ', operation=operation, key=PREFIX + key, value=value)
etcd = etcd3.client(host=ETCD_HOST_URL, port=ETCD_PORT)
if operation == 'PUT':
@@ -55,6 +55,7 @@
log.warning('Invalid or unsupported Etcd operation: %s' % operation)
def sync_record(self, model):
+
log.info('Synching TechnologyProfile', object=str(model), **model.tologdict())
log.info('TechnologyProfile: %s : %s' % (model.technology, model.profile_id))