Do not catch and ignore network instantiation errors, as doing so lets them pass...
Sapan Bhatia [Fri, 23 Jan 2015 16:22:27 +0000 (16:22 +0000)]
planetstack/openstack_observer/steps/sync_controller_networks.py

index 47a50a0..655b07d 100644 (file)
@@ -70,15 +70,8 @@ class SyncControllerNetworks(OpenStackSyncStep):
             return
 
         if controller_network.network.owner and controller_network.network.owner.creator:
-            try:
-                # update manager context
-               # Bring back
-                self.save_controller_network(controller_network)
-                logger.info("saved network controller: %s" % (controller_network))
-            except Exception,e:
-                logger.log_exc("save network controller failed: %s" % controller_network)
-                raise e
-
+           self.save_controller_network(controller_network)
+           logger.info("saved network controller: %s" % (controller_network))
 
     def delete_record(self, controller_network):
         driver = OpenStackDriver().client_driver(caller=controller_network.network.owner.creator,