Bug 1833770

Summary: Getting "WebSocket Proxy certificate signed successfully" log message when it actually fails
Product: [oVirt] ovirt-engine Reporter: Asaf Rachmani <arachman>
Component: WebSocket ProxyAssignee: Yedidyah Bar David <didi>
WebSocket Proxy sub component: General QA Contact: Guilherme Santos <gdeolive>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: medium    
Priority: high CC: bugs, didi
Version: 4.4.0Flags: sbonazzo: ovirt-4.4?
sbonazzo: planning_ack?
sbonazzo: devel_ack+
lleistne: testing_ack+
Target Milestone: ovirt-4.4.1   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhv-4.4.1-3 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-05 06:25:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1624732, 1626064    
Bug Blocks:    

Description Asaf Rachmani 2020-05-10 12:31:02 UTC
Description of problem:
Getting "WebSocket Proxy certificate signed successfully" log message when it actually fails

Version-Release number of selected component (if applicable):
ovirt-engine-websocket-proxy-4.4.0-1.el8.noarch

Steps to Reproduce:
1. Install engine with no WebSocket Proxy.
2. Install WebSocketProxy on a separate host.

Actual results:
[ ERROR ] Failed to sign WebSocket Proxy certificate on engine server
          Trying again...
[ ERROR ] Failed to sign WebSocket Proxy certificate on engine server
          Trying again...
:
:
[ ERROR ] Failed to sign WebSocket Proxy certificate on engine server
[ INFO  ] WebSocket Proxy certificate signed successfully
[ ERROR ] Failed to execute stage 'Environment customization': HTTP Error 500: Internal Server Error
[ INFO  ] Stage: Clean up

Expected results:
[ ERROR ] Failed to sign WebSocket Proxy certificate on engine server
          Trying again...
[ ERROR ] Failed to sign WebSocket Proxy certificate on engine server
          Trying again...
:
:
[ ERROR ] Failed to sign WebSocket Proxy certificate on engine server
[ ERROR ] Failed to execute stage 'Environment customization': HTTP Error 500: Internal Server Error
[ INFO  ] Stage: Clean up

Comment 1 Yedidyah Bar David 2020-06-03 09:54:30 UTC
Since Asaf is busy with other stuff, I am taking over this bug, and allow myself to change the expected behavior - if we fail to get a good cert, we'll abort setup.

Comment 2 Guilherme Santos 2020-07-09 07:53:22 UTC
Verified on:
ovirt-engine-4.4.1.7-0.3.el8ev.noarch
ovirt-engine-websocket-proxy-4.4.1.7-0.3.el8ev.noarch

Steps: 
1. Installed engine without websocket on engine A
2. Installed websocket on engine B
3. Trusted the engine A certificate in the browser
4. Accessed a noVNC console in engine A

Results
No errors on installation, websocket noVNC console working as expected

Comment 3 Sandro Bonazzola 2020-08-05 06:25:27 UTC
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.1 release, it has been closed with a resolution of CURRENT RELEASE.

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