Bug 1940836 - [OSP16.1] test_novnc fails with "Token must be invalid because the connection closed"
Summary: [OSP16.1] test_novnc fails with "Token must be invalid because the connection...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z7
: 16.1 (Train on RHEL 8.2)
Assignee: Martin Schuppert
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On: 1879609 1940834
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-19 10:22 UTC by Martin Schuppert
Modified: 2021-12-09 20:18 UTC (History)
17 users (show)

Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20210720153309.29a02c1, puppet-tripleo-11.5.0-1.20210622133307.f716ef5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1940834
Environment:
Last Closed: 2021-12-09 20:18:11 UTC
Target Upstream Version: Train
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1917719 0 None None None 2021-03-19 10:22:17 UTC
OpenStack gerrit 781613 0 None MERGED Fix novavnc haproxy network 2021-04-21 06:25:49 UTC
OpenStack gerrit 781614 0 None MERGED Use single NovaLibvirtNetwork to configure instance console components 2021-04-26 05:32:30 UTC
OpenStack gerrit 798834 0 None NEW Remove NovaVncProxyNetwork from ServiceNetMap 2021-06-30 11:07:40 UTC
Red Hat Issue Tracker OSP-1457 0 None None None 2021-11-18 11:31:08 UTC
Red Hat Product Errata RHBA-2021:3762 0 None None None 2021-12-09 20:18:44 UTC

Description Martin Schuppert 2021-03-19 10:22:18 UTC
+++ This bug was initially created as a clone of Bug #1940834 +++

+++ This bug was initially created as a clone of Bug #1879609 +++

Description of problem: RHOS 13 TLS E deployment with the following extra THT param deploy, fails test_novnc test with mentioned error:
ServiceNetMap.NovaLibvirtNetwork=ctlplane

How reproducible: always

Steps to Reproduce:
1. Deploy RHOS 13 with TLS Everywhere and following THT parameter:
    ServiceNetMap
        NovaLibvirtNetwork=ctlplane
2. Run tempest test tempest.api.compute.servers.test_novnc.NoVNCConsoleTestJSON.test_novnc
3. Test fails

Actual results:
       Body: {"os-getVNCConsole": {"type": "novnc"}}
    Response - Headers: {'status': '200', u'content-length': '144', 'content-location': 'https://overcloud.redhat.local:13774/v2.1/servers/21a9b536-1162-43d5-8e38-4f4d68bbf788/action', u'x-compute-request-id': 'req-80c6f4bd-9aab-4c50-8db8-d46da77d930e', u'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version,Accept-Encoding', u'server': 'Apache', u'openstack-api-version': 'compute 2.1', u'connection': 'close', u'x-openstack-nova-api-version': '2.1', u'date': 'Wed, 16 Sep 2020 14:38:46 GMT', u'content-type': 'application/json', u'x-openstack-request-id': 'req-80c6f4bd-9aab-4c50-8db8-d46da77d930e'}
        Body: {"console": {"url": "https://overcloud.redhat.local:13080/vnc_auto.html?path=%3Ftoken%3D885cd4b8-3c0a-487c-91b8-33fe326bc9f1", "type": "novnc"}}
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tempest/api/compute/servers/test_novnc.py", line 188, in test_novnc
    self._validate_rfb_negotiation()
  File "/usr/lib/python2.7/site-packages/tempest/api/compute/servers/test_novnc.py", line 91, in _validate_rfb_negotiation
    'Token must be invalid because the connection '
  File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 672, in assertFalse
    raise self.failureException(msg)
AssertionError: True is not false : Token must be invalid because the connection closed.

Expected results:
Test passed

Additional info:
Logs and job in #c1

Comment 27 errata-xmlrpc 2021-12-09 20:18:11 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 (Red Hat OpenStack Platform 16.1.7 (Train) bug fix and enhancement 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://access.redhat.com/errata/RHBA-2021:3762


Note You need to log in before you can comment on or make changes to this bug.