DHCP agent: log when reloading allocations for a new VM port
This will help us to see more clearly if failing DHCP for a new VM -
as seen in failures such as the following traceback from [1] - is
caused by DHCP configuration being too slow, as suggested by the
referenced bug.
Traceback (most recent call last):
File "/home/aqua/tempest/tempest/test.py", line 125, in wrapper
return f(self, *func_args, **func_kwargs)
File "/home/aqua/tempest/tempest/scenario/test_server_basic_ops_38.py", line 105, in test_server_basicops self.verify_ssh()
File "/home/aqua/tempest/tempest/scenario/test_server_basic_ops_38.py", line 95, in verify_ssh private_key=self.keypair['private_key'])
File "/home/aqua/tempest/tempest/scenario/manager.py", line 310, in get_remote_client linux_client.validate_authentication()
File "/home/aqua/tempest/tempest/common/utils/linux/remote_client.py", line 55, in validate_authentication self.ssh_client.test_connection_auth()
File "/home/aqua/tempest/tempest/common/ssh.py", line 150, in test_connection_auth
connection = self._get_ssh_connection()
File "/home/aqua/tempest/tempest/common/ssh.py", line 87, in _get_ssh_connection password=self.password)
tempest.exceptions.SSHTimeout: Connection to the 172.17.205.21 via SSH timed out.
User: cirros, Password: None
Reviewed: https:/ /review. openstack. org/219706 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=b9cebd18cfc 1c4fa0a221d4d25 18f7f94d6fc938
Committed: https:/
Submitter: Jenkins
Branch: master
commit b9cebd18cfc1c4f a0a221d4d2518f7 f94d6fc938
Author: Neil Jerram <email address hidden>
Date: Wed Sep 2 15:14:30 2015 +0100
DHCP agent: log when reloading allocations for a new VM port
This will help us to see more clearly if failing DHCP for a new VM -
as seen in failures such as the following traceback from [1] - is
caused by DHCP configuration being too slow, as suggested by the
referenced bug.
Traceback (most recent call last): aqua/tempest/ tempest/ test.py" , line 125, in wrapper aqua/tempest/ tempest/ scenario/ test_server_ basic_ops_ 38.py", line 105, in test_server_ basicops
self.verify_ ssh() aqua/tempest/ tempest/ scenario/ test_server_ basic_ops_ 38.py", line 95, in verify_ssh
private_ key=self. keypair[ 'private_ key']) aqua/tempest/ tempest/ scenario/ manager. py", line 310, in get_remote_client
linux_ client. validate_ authentication( ) aqua/tempest/ tempest/ common/ utils/linux/ remote_ client. py", line 55, in validate_ authentication
self.ssh_ client. test_connection _auth() aqua/tempest/ tempest/ common/ ssh.py" , line 150, in test_connection _auth ssh_connection( ) aqua/tempest/ tempest/ common/ ssh.py" , line 87, in _get_ssh_connection
password= self.password) exceptions. SSHTimeout: Connection to the 172.17.205.21 via SSH timed out.
File "/home/
return f(self, *func_args, **func_kwargs)
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
connection = self._get_
File "/home/
tempest.
User: cirros, Password: None
[1] http:// logs.openstack. org/39/ 194939/ 19/check/ gate-grenade- dsvm-neutron/ 82a7e58/
Change-Id: I5d77762bf8d4ca a2e6f8b3527a30b f80bac62085
Related-Bug: #1453350