"test_dualnet_dhcp6_stateless_from_os" failures seen in the gate
Bug #1509004 reported by
Swaminathan Vasudevan
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
High
|
Miguel Lavalle |
Bug Description
"test_dualnet_
tags: | added: gate-failure |
Changed in neutron: | |
importance: | Medium → Critical |
Changed in neutron: | |
status: | New → Confirmed |
tags: | added: l3-ipam-dhcp |
Changed in neutron: | |
assignee: | James Anziano (janzian) → Miguel Lavalle (minsel) |
To post a comment you must log in.
While triaging the issue, I found that: scenario/ manager. py ScenarioTest: create_ server( ) calls client. create_ server( name=name, imageRef=image,
flavorRef= flavor,
**create_ kwargs) ['server' ]
In tempest/
servers_
With ports (1 on each subnet) passed in create_kwargs.
However, the returned server does not consistently have proper port mapping.
This port_mapping is needed for fip creation. ports(device_ id=server[ 'id'], status='ACTIVE',
fixed_ ip=ip_addr)
As queried here:
ports = self._list_
I also noticed some comments in the same function that may be relevant here:
# The instance retrieved on creation is missing network
# details, necessitating retrieval after it becomes active to
# ensure correct details.
The trace in the failed test: scenario/ test_network_ v6.py", line 248, in test_dualnet_ multi_prefix_ dhcpv6_ stateless scenario/ test_network_ v6.py", line 158, in _prepare_and_test server( networks= net_list) scenario/ test_network_ v6.py", line 126, in prepare_server floating_ ip(thing= srv) scenario/ manager. py", line 778, in create_floating_ip server_ port_id_ and_ip4( thing) scenario/ manager. py", line 759, in _get_server_ port_id_ and_ip4 new/tempest/ .tox/full/ local/lib/ python2. 7/site- packages/ testtools/ testcase. py", line 350, in assertEqual assertThat( observed, matcher, message) new/tempest/ .tox/full/ local/lib/ python2. 7/site- packages/ testtools/ testcase. py", line 435, in assertThat matchers. _impl.MismatchE rror: 0 != 1: Found multiple IPv4 addresses: []. Unable to determine which port to target.
Traceback (most recent call last):
File "tempest/test.py", line 127, in wrapper
return f(self, *func_args, **func_kwargs)
File "tempest/
dualnet=True)
File "tempest/
sshv4_2, ips_from_api_2, sid2 = self.prepare_
File "tempest/
fip = self.create_
File "tempest/
port_id, ip4 = self._get_
File "tempest/
% port_map)
File "/opt/stack/
self.
File "/opt/stack/
raise mismatch_error
testtools.