Fix broken debug messages

Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
This commit is contained in:
Simental Magana, Marcos
2016-02-04 11:36:06 -06:00
parent c3b0cbabba
commit 56d5ce1170
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -234,11 +234,11 @@ class Neutron(OpenStackService):
def create_router(self, router, gw, interfaces):
try:
LOG.debug("checking if router '{0}' exists".format(name))
LOG.debug("checking if router '{0}' exists".format(router))
util.run_command("neutron router-show %s" % router,
environ=self._env)
except:
LOG.debug("creating router '{0}'".format(name))
LOG.debug("creating router '{0}'".format(router))
util.run_command("neutron router-create %s" % router,
environ=self._env)
util.run_command("neutron router-gateway-set %s %s"
+1 -1
View File
@@ -88,7 +88,7 @@ class Swift(OpenStackService):
with open(name, 'wb') as f:
f.seek(1024 * 1024 * 1024 * size - 1)
f.write(b"\0")
LOG.("formatting '{0}' as XFS".format(name))
LOG.debug("formatting '{0}' as XFS".format(name))
util.run_command("mkfs.xfs %s" % name)
devs = CONF['CONFIG_SWIFT_STORAGES']