tempest tests are all failing on all OVB jobs in c8/c9 master

Bug #1959930 reported by Ronelle Landy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp-featureset001-master and periodic-tripleo-ci-centos-9-ovb-3ctlr_1comp-featureset001-network-master and all fs001 jobs in the component lines are failing all tempest tests.

Logs are included below:

https://logserver.rdoproject.org/56/36256/44/check/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp-featureset001-network-master/be79af9/logs/undercloud/var/log/tempest/stestr_results.html.gz

https://logserver.rdoproject.org/openstack-periodic-integration-main-centos8/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-1ctlr_2comp-featureset020-master/44cdfac/logs/undercloud/var/log/tempest/stestr_results.html.gz

https://logserver.rdoproject.org/53/21853/42/check/periodic-tripleo-ci-centos-9-ovb-3ctlr_1comp-featureset001-network-master/43e33cb/logs/undercloud/var/log/tempest/stestr_results.html.gz

Both the c8 and c9 tests were impacted by mirror issues or other bugs and did not run to tempest for a few days.

The error:

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 169, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3.9/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/usr/lib/python3.9/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 101] Network is unreachable
....
  conn = self._new_conn()
  File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 181, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f5f23557340>: Failed to establish a new connection: [Errno 101] Network is unreachable

Ronelle Landy (rlandy)
Changed in tripleo:
milestone: none → yoga-1
importance: Undecided → Critical
status: New → Triaged
tags: added: promotion-blocker
summary: - tempest tests are all failing on fs001 OVB jobs in c8/c9 master
+ tempest tests are all failing on all OVB jobs in c8/c9 master
Revision history for this message
Ronelle Landy (rlandy) wrote :
Revision history for this message
Ronelle Landy (rlandy) wrote :

https://logserver.rdoproject.org/56/36256/44/check/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp-featureset001-network-master/be79af9/logs/undercloud/var/log/containers/stdouts/neutron_api.log.txt.gz

2022-02-03T17:40:15.811635221+00:00 stderr P keystoneauth1.exceptions.discovery.DiscoveryFailure: Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Unable to establish connection to http://192.168.24.3:5000: HTTPConnectionPool(host='192.168.24.3', port=5000): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fe96e71e2b0>: Failed to establish a new connection:
2022-02-03T17:40:15.811974520+00:00 stderr F [Errno 111] ECONNREFUSED',))
2022-02-03T17:40:15.811974520+00:00 stderr F Removing descriptor: 15

Revision history for this message
Ronelle Landy (rlandy) wrote :

Notes from IRC:

<mwhahaha> undercloud won't have access to internal_api
<mwhahaha> which is why it was always ctlplane

<mwhahaha> https://github.com/openstack/tempest/blob/master/tempest/config.py#L155
<mwhahaha> need to configure v3_endpoint_type = external
<mwhahaha> it defaults to admin
<mwhahaha> since we switched it, that's no longer ctlplane

<mwhahaha> so yea https://opendev.org/openstack/tripleo-heat-templates/commit/ad97bd70592a57708313d2b87a61f0be01c7b004 broke it
<mwhahaha> but the fix is to set the correct endpoint type in tempest
<mwhahaha> because we should be using external for tempest from UC

Revision history for this message
Ronelle Landy (rlandy) wrote :

so in our case, that lands up being public

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart-extras (master)
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-quickstart-extras (master)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-quickstart-extras (master)

Change abandoned by "Harald Jensås <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/827767
Reason: arxcruz> hjensas yup, validate-tempest is deprecated

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/827779
Committed: https://opendev.org/openstack/tripleo-quickstart-extras/commit/67cf0fbabc101affc3b53dee3e23e4f66946073d
Submitter: "Zuul (22348)"
Branch: master

commit 67cf0fbabc101affc3b53dee3e23e4f66946073d
Author: Arx Cruz <email address hidden>
Date: Fri Feb 4 00:57:27 2022 +0100

    Add identity.v3_endpoint_type to extra facts in tempestconf

    Some tests are failing because it's using the adminURL instead of
    publicURL. This patch add the config option to tempestconf to force the
    use of the publicURL.

    Change-Id: I3d5146041df88fbcaad6b0f6d6dcb05d734251b0
    Related-Bug: #1959930

Douglas Viroel (dviroel)
Changed in tripleo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.