Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1360149

Summary: Fail to execute 'tempest.scenario.test_network_v6.TestGettingAddress.test_multi_prefix_dhcpv6_stateless'
Product: Red Hat OpenStack Reporter: Arie Bregman <abregman>
Component: openstack-neutronAssignee: Jakub Libosvar <jlibosva>
Status: CLOSED ERRATA QA Contact: GenadiC <gcheresh>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: abregman, amuller, chrisw, jlibosva, nyechiel, srevivo
Target Milestone: asyncKeywords: AutomationBlocker, Triaged, ZStream
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-7.2.0-5.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-21 16:43:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Arie Bregman 2016-07-26 06:19:59 UTC
Description of problem:

Fail to execute the following tempest test, *each* build:

tempest.scenario.test_network_v6.TestGettingAddress.test_multi_prefix_slaac

Occasionally it also fails to execute:
tempest.scenario.test_network_v6.TestGettingAddress.test_multi_prefix_dhcpv6_stateless

Version-Release number of selected component (if applicable):
openstack-neutron-7.1.1-3.el7ost.noarch

How reproducible: 100%

Steps to Reproduce:
1. Deploy RHOSP 8 (3 controllers, 2 compute, 1 undercloud)
2. Run tempest tests

Actual results:
-----------------------
Traceback (most recent call last):
  File "tempest/test.py", line 112, in wrapper
    return f(self, *func_args, **func_kwargs)
  File "tempest/scenario/test_network_v6.py", line 231, in test_multi_prefix_dhcpv6_stateless
    self._prepare_and_test(address6_mode='dhcpv6-stateless', n_subnets6=2)
  File "tempest/scenario/test_network_v6.py", line 164, in _prepare_and_test
    sshv4_1, ips_from_api_1, sid1 = self.prepare_server(networks=net_list)
  File "tempest/scenario/test_network_v6.py", line 137, in prepare_server
    username=username)
  File "tempest/scenario/manager.py", line 364, in get_remote_client
    linux_client.validate_authentication()
  File "tempest/common/utils/linux/remote_client.py", line 55, in wrapper
    six.reraise(*original_exception)
  File "tempest/common/utils/linux/remote_client.py", line 36, in wrapper
    return function(self, *args, **kwargs)
  File "tempest/common/utils/linux/remote_client.py", line 100, in validate_authentication
    self.ssh_client.test_connection_auth()
  File "tempest/lib/common/ssh.py", line 173, in test_connection_auth
    connection = self._get_ssh_connection()
  File "tempest/lib/common/ssh.py", line 88, in _get_ssh_connection
    password=self.password)
tempest.lib.exceptions.SSHTimeout: Connection to the 192.0.2.143 via SSH timed out.
User: cirros, Password: None
-----------------------

Expected results: Test passed successfully

Additional info:
Deployment done using OVB (verified it also happens in non-OVB deployments)
In OSP 7 and 9 this test pass successfully.

Comment 2 Assaf Muller 2016-10-17 14:08:02 UTC
@Arie can you reproduce after the latest change from qemu to KVM?

Comment 3 Arie Bregman 2016-10-17 16:25:11 UTC
@Assaf the qemu -> KVM was mentioned in context of scenario tests (and OSP 10). Are we expecting it to also solve this API test failure of OSP 8?

Comment 4 Arie Bregman 2016-10-17 16:28:28 UTC
s/API/scenario/g

Comment 6 Jakub Libosvar 2016-11-15 11:20:30 UTC
At first sight I see there are no keepalived processes running for HA routers, so all routers are in standby. That means FIP is not handled by anybody:

[stack@neutron-1201-1479202730-tempest--undercloud ~]$ neutron l3-agent-list-hosting-router 505dcb2d-79d6-418e-a1f1-8872a4f78b04
+--------------------------------------+------------------------------------+----------------+-------+----------+
| id                                   | host                               | admin_state_up | alive | ha_state |
+--------------------------------------+------------------------------------+----------------+-------+----------+
| e0e80a28-e9ba-4631-abc6-06e026cfb0d1 | overcloud-controller-2.localdomain | True           | :-)   | standby  |
| 5f8c5592-f605-4323-9dcc-c2f6993c2360 | overcloud-controller-0.localdomain | True           | :-)   | standby  |
| 4303dd12-3d5e-44cb-b44e-c471915a6f8a | overcloud-controller-1.localdomain | True           | :-)   | standby  |
+--------------------------------------+------------------------------------+----------------+-------+----------+

Comment 8 GenadiC 2016-11-21 14:15:43 UTC
Verified in openstack-neutron-7.2.0-5.el7ost.noarch

Comment 10 errata-xmlrpc 2016-12-21 16:43:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2988.html