summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Erdfelt <johannes.erdfelt@rackspace.com>2012-04-20 15:44:52 +0000
committerJohannes Erdfelt <johannes.erdfelt@rackspace.com>2012-04-20 22:46:50 +0000
commit820b470e938dd4b490cbda9c9bc1b2d22785629d (patch)
tree6f1bc42fe3695fd3663832406e5e195cd6fe9e28
parentf8aa96679552935e22bc47851a30e712beadd629 (diff)
downloadnova-820b470e938dd4b490cbda9c9bc1b2d22785629d.tar.gz
nova-820b470e938dd4b490cbda9c9bc1b2d22785629d.tar.xz
nova-820b470e938dd4b490cbda9c9bc1b2d22785629d.zip
Remove unnecessary power state translation messages
The messages don't provide any extra value in debugging since compile_info is only called in a few cases. Also, they are anonymous and don't include information about what instance the power state is for. Change-Id: Ib4dae30a2e9c14d8b3bb9c47fe54742897dd3492
-rw-r--r--nova/virt/xenapi/vm_utils.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/nova/virt/xenapi/vm_utils.py b/nova/virt/xenapi/vm_utils.py
index d8402c779..b88f65178 100644
--- a/nova/virt/xenapi/vm_utils.py
+++ b/nova/virt/xenapi/vm_utils.py
@@ -1057,10 +1057,6 @@ class VMHelper(xenapi.HelperBase):
@classmethod
def compile_info(cls, record):
"""Fill record with VM status information"""
- LOG.info(_("(VM_UTILS) xenserver vm state -> |%s|"),
- record['power_state'])
- LOG.info(_("(VM_UTILS) xenapi power_state -> |%s|"),
- XENAPI_POWER_STATE[record['power_state']])
return {'state': XENAPI_POWER_STATE[record['power_state']],
'max_mem': long(record['memory_static_max']) >> 10,
'mem': long(record['memory_dynamic_max']) >> 10,