"provides" is deprecated and may not be present in step definitions
Change-Id: I55bbbde8c1c068f0f927ebd7ce315eed23a673ee
diff --git a/xos/synchronizers/new_base/backend.py b/xos/synchronizers/new_base/backend.py
index 1f3034d..0089638 100644
--- a/xos/synchronizers/new_base/backend.py
+++ b/xos/synchronizers/new_base/backend.py
@@ -64,7 +64,7 @@
if inspect.isclass(c):
base_names = [b.__name__ for b in c.__bases__]
- if ('SyncStep' in base_names or 'OpenStackSyncStep' in base_names or 'SyncInstanceUsingAnsible' in base_names) and hasattr(c,"provides") and (c not in sync_steps):
+ if ('SyncStep' in base_names or 'OpenStackSyncStep' in base_names or 'SyncInstanceUsingAnsible' in base_names) and (hasattr(c,"provides") or hasattr(c,"observes")) and (c not in sync_steps):
sync_steps.append(c)
self.log.info("Loaded sync steps", steps = sync_steps)