summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2019-09-26 18:37:16 +1200
committerLingxian Kong <anlin.kong@gmail.com>2019-09-26 18:37:18 +1200
commit17885d9e98c6d4bb5e3b925f9fb6fc75383cb757 (patch)
treee633dd906eabc4783ddd648acecd3b2d3095fd36
parentf729b9e05d0efa54bc97853a283f0a4db0b5d6d6 (diff)
downloadtrove-17885d9e98c6d4bb5e3b925f9fb6fc75383cb757.tar.gz
Remove the annoying debug logs
Even though those are debug level logs, it doesn't make sense for the operators. If it's timeout or error occurs, the operator could see the VM status and service status from the CLI. Change-Id: I3fc9ff9e9343c1c884eece4955f15766230ff9a0
-rwxr-xr-xtrove/taskmanager/models.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/trove/taskmanager/models.py b/trove/taskmanager/models.py
index 104a7cfb..0d944737 100755
--- a/trove/taskmanager/models.py
+++ b/trove/taskmanager/models.py
@@ -774,8 +774,6 @@ class FreshInstanceTasks(FreshInstance, NotifyMixin, ConfigurationMixin):
"""
service = InstanceServiceStatus.find_by(instance_id=self.id)
status = service.get_status()
- LOG.debug("Service status of instance %(instance)s is %(status)s",
- {"instance": self.id, "status": status})
if (status == rd_instance.ServiceStatuses.RUNNING or
status == rd_instance.ServiceStatuses.INSTANCE_READY):
return True
@@ -788,7 +786,6 @@ class FreshInstanceTasks(FreshInstance, NotifyMixin, ConfigurationMixin):
c_id = self.db_info.compute_instance_id
server = self.nova_client.servers.get(c_id)
server_status = server.status
- LOG.debug("Server status of instance %s is %s", self.id, server_status)
if server_status in [InstanceStatus.ERROR,
InstanceStatus.FAILED]:
server_fault_message = 'No fault found'