diff --git a/neutron_tempest_plugin/scenario/test_ports.py b/neutron_tempest_plugin/scenario/test_ports.py index fb2d2b08..c661d39a 100644 --- a/neutron_tempest_plugin/scenario/test_ports.py +++ b/neutron_tempest_plugin/scenario/test_ports.py @@ -107,8 +107,8 @@ class PortsTest(base.BaseTempestTestCase): if port is not None: break except Exception as e: - LOG.warn('Failed to create Port, using Fixed_IP:{}, ' - 'the Error was:{}'.format(ip, e)) + LOG.warning('Failed to create Port, using Fixed_IP:{}, ' + 'the Error was:{}'.format(ip, e)) fip, server = self._create_instance_with_port(port) self.check_connectivity(fip[0]['floating_ip_address'], CONF.validation.image_ssh_user,