]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Move replication volume manager warnings to info
authorEric Harney <eharney@redhat.com>
Tue, 1 Mar 2016 15:44:52 +0000 (10:44 -0500)
committerEric Harney <eharney@redhat.com>
Tue, 1 Mar 2016 15:54:05 +0000 (10:54 -0500)
These two messages are printing at the warning level
when starting c-vol.

Since these don't seem to be something that demands
attention, they should be logged at a lower level.

Change-Id: I3db6ed3956348895b3534cdc9f3f72bb4c878aca

cinder/volume/manager.py

index 2dbb6394f577c174e7fdd76be50c81a8c9356008..207be480e52d5852ff1ed44c5e065ca09f4dba20 100644 (file)
@@ -250,9 +250,9 @@ class VolumeManager(manager.SchedulerDependentManager):
                 CONF.volume_topic)
         except exception.ServiceNotFound:
             # NOTE(jdg): This is to solve problems with unit tests
-            LOG.warning(_LW("Service not found for updating "
-                            "active_backend_id, assuming default"
-                            "for driver init."))
+            LOG.info(_LI("Service not found for updating "
+                         "active_backend_id, assuming default "
+                         "for driver init."))
         else:
             curr_active_backend_id = service.active_backend_id
 
@@ -508,8 +508,8 @@ class VolumeManager(manager.SchedulerDependentManager):
                 CONF.volume_topic)
         except exception.ServiceNotFound:
             # FIXME(jdg): no idea what we'd do if we hit this case
-            LOG.warning(_LW("Service not found for updating "
-                            "replication_status."))
+            LOG.info(_LI("Service not found for updating "
+                         "replication_status."))
         else:
             if service.replication_status == (
                     fields.ReplicationStatus.FAILED_OVER):