Bug 2084208 - Failed to establish novnc session due to certificate PermissionError: [Errno 13] Permission denied
Summary: Failed to establish novnc session due to certificate PermissionError: [Errno ...
Keywords:
Status: CLOSED DUPLICATE of bug 2084193
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-tripleo
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: OSP Team
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-11 16:35 UTC by James Parker
Modified: 2023-09-15 01:54 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-17 13:28:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-15153 0 None None None 2022-05-11 16:40:45 UTC

Description James Parker 2022-05-11 16:35:19 UTC
Description of problem: This could potentially be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2084193.  NoVNC tempest testcase is failing because it cannot establish a connection.  Logs are reporting a permssion error when the session attempts to establish:

2022-05-11 01:42:21.763 7 DEBUG nova.console.websocketproxy [-] 192.168.24.32: new handler Process vmsg /usr/lib/python3.6/site-packages/websockify/websockifyserver.py:634
2022-05-11 01:42:21.779 1741 INFO nova.console.websocketproxy [-] handler exception: [Errno 13] Permission denied
2022-05-11 01:42:21.781 1741 DEBUG nova.console.websocketproxy [-] exception vmsg /usr/lib/python3.6/site-packages/websockify/websockifyserver.py:634
2022-05-11 01:42:21.781 1741 ERROR nova.console.websocketproxy Traceback (most recent call last):
2022-05-11 01:42:21.781 1741 ERROR nova.console.websocketproxy   File "/usr/lib/python3.6/site-packages/websockify/websockifyserver.py", line 691, in top_new_client
2022-05-11 01:42:21.781 1741 ERROR nova.console.websocketproxy     client = self.do_handshake(startsock, address)
2022-05-11 01:42:21.781 1741 ERROR nova.console.websocketproxy   File "/usr/lib/python3.6/site-packages/websockify/websockifyserver.py", line 578, in do_handshake
2022-05-11 01:42:21.781 1741 ERROR nova.console.websocketproxy     context.load_cert_chain(certfile=self.cert, keyfile=self.key, password=self.key_password)
2022-05-11 01:42:21.781 1741 ERROR nova.console.websocketproxy PermissionError: [Errno 13] Permission denied
2022-05-11 01:42:21.781 1741 ERROR nova.console.websocketproxy 


Version-Release number of selected component (if applicable):
RHOS-16.2-RHEL-8-20220427.n.3

How reproducible:
100%

Steps to Reproduce:
1. Deploy tls-e environment with above puddle
2. Execute tempest test tempest.api.compute.servers.test_novnc.NoVNCConsoleTestJSON.test_novnc

Actual results:
Unable to establish connection with novnc url

Expected results:
novnc url is accessible and test passes


Additional info:
Build Info: https://rhos-ci-staging-jenkins.lab.eng.tlv2.redhat.com/job/DFG-all-unified-16.2_director-rhel-virthost-3cont_2comp_3ceph_1freeipa-ipv4-geneve-ceph-nfs-ganesha-default/14/
Test Failure: https://rhos-ci-staging-jenkins.lab.eng.tlv2.redhat.com/job/DFG-all-unified-16.2_director-rhel-virthost-3cont_2comp_3ceph_1freeipa-ipv4-geneve-ceph-nfs-ganesha-default/14/testReport/tempest.api.compute.servers.test_novnc/NoVNCConsoleTestJSON/test_novnc_id_c640fdff_8ab4_45a4_a5d8_7e6146cbd0dc_/

Comment 1 Ade Lee 2022-05-16 16:06:55 UTC
We expect this to be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2079767

Please try again with puppet-tripleo-11.7.0-2.20220405015037.el8ost  and let us know if the problem persists.

Adding Compute DFG here as this is likely fixed by a fix from compute DFG.

Comment 5 Bogdan Dobrelya 2022-05-17 13:28:31 UTC

*** This bug has been marked as a duplicate of bug 2084193 ***

Comment 7 Red Hat Bugzilla 2023-09-15 01:54:43 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days


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