Bug 1913621

Summary: [machines] The vm console shows "Disconnected" after click Run in the vm details page
Product: Red Hat Enterprise Linux 8 Reporter: Xianghua Chen <xchen>
Component: cockpit-appstreamAssignee: Katerina Koukiou <kkoukiou>
Status: CLOSED ERRATA QA Contact: Xianghua Chen <xchen>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.4CC: mmarusak, wshi, ymao, yunyang
Target Milestone: rc   
Target Release: 8.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:53:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Xianghua Chen 2021-01-07 09:23:37 UTC
Description of problem: 
The vm console shows "Disconnected" after click Run in the vm details page

Version-Release number of selected component (if applicable):
cockpit-machines-234-1.el8.noarch
libvirt-dbus-1.3.0-2.module+el8.3.0+6423+e4cb6418.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Prepare an off vm
2. Click the vm name to enter the vm details page, click Run


Actual results:
It shows  "Disconnected" in the Console tab in step 2.

But after return to the Virtual machines page and enter the vm details page again, the console tab shows fine. 



Expected results:
It should show the running vm console directly after click Run in Step 2.

Additional info:

Comment 1 Katerina Koukiou 2021-01-15 12:12:34 UTC
This will be fixed in cockpit-machines-236.

This upstream commit should should have fixed the problem.
 
commit 7924a15f7284b5f2977051f4bed243ee93e5f0a5
Author: Katerina Koukiou <kkoukiou>
Date:   Wed Dec 9 17:12:42 2020 +0100

    package.json: upgrade the react-console dependency

Comment 2 Xianghua Chen 2021-02-03 07:03:26 UTC
Pre verified with package:
cockpit-machines-236-1.el8.noarch

Steps :
1. Prepare an off vm
2. Click the vm name to enter the vm details page, click Run

It shows the running vm console directly after click Run in Step 2.

So pre-verified.

Comment 5 Xianghua Chen 2021-02-05 11:07:34 UTC
re verified with package:
cockpit-machines-237-1.el8.noarch

Steps :
1. Prepare an off vm
2. Click the vm name to enter the vm details page, click Run

It shows the running vm console directly after click Run in Step 2.

So verified.

Comment 7 errata-xmlrpc 2021-05-18 15:53:30 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 (cockpit-appstream bug fix and enhancement update), 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:1875