Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: The remote console proxy cleanup process is never started because of some bugs in the code Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. open consoles in a proxy setup 2. watch the system_consoles table grow Actual results: Opening consoles to the same VM creates more and more records in the system_consoles table. select port from system_consoles where host_name = '123.123.123.123' group by port having count(port)>1; port ------ 6052 Expected results: No VM should have more than one record. Additional info:
Merged upstream PR: https://github.com/ManageIQ/manageiq/pull/13659
I was successfully able to create the environment and produce the scenario to validate it. Reproduction steps are given below for future reference. Steps: - Took 2 CFME Appliances - Configured both to use same VMDB - Enabled Web Socket and UI Role on one appliance, turning off all other roles that were Turned On by default - Disabled Web Socket and UI role on other appliance leaving other roles as they were by default - Added VMware as provider - Opened HTML5 VNC console for one of the VMware VMs and then checked the vmdb with select query by SSHing the appliance and running psql Outcome: I never saw any duplicate entries in the system_consoles table when I opened multiple VM Consoles for any given VM.