Bug 1780537

Summary: [machines] The Console is not at the right position on the page after Import VM
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.2CC: kkoukiou, mmarusak, wshi, ymao, yunyang
Target Milestone: rc   
Target Release: 8.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 233.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:53:08 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:
Attachments:
Description Flags
wrong position
none
2.png none

Description Xianghua Chen 2019-12-06 10:20:39 UTC
Created attachment 1642601 [details]
wrong position

Description of problem:
The Console is not at the right position on the page after Import VM

Version-Release number of selected component (if applicable):
cockpit-machines-208-1.el8.noarch
libvirt-dbus-1.2.0-3.module+el8.1.0+4066+0f1aadab.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Click Import VM
2. Enter name, installation source, os , click create

Actual results:
The console is not at the middle of the page, see attachment 1 [details] for details.
Then after a while, it may change to the left part, see attachment 2 [details] for details.
Sometimes it may stay as attachment 1 [details] show and doesn't change position anymore.

Expected results:
The console should be at the middle part on the page.

Additional info:
The same situation may occur when Create VM, not 100% occurs.

Comment 1 Xianghua Chen 2019-12-06 10:21:56 UTC
Created attachment 1642602 [details]
2.png

Comment 2 Katerina Koukiou 2020-01-03 14:46:39 UTC
This is an issue with our custom CSS for VNC console. See https://github.com/cockpit-project/cockpit/blob/master/pkg/machines/components/consoles.css

This CSS should be moved to the react-console module and fixed appropriately there.

Comment 4 Katerina Koukiou 2020-11-19 10:46:35 UTC
This has been fixed upstream in release 231, when we changed the design of the main VM page. Now the console lives on separate page, with the rest of the VM details.

Comment 5 Xianghua Chen 2020-12-02 09:52:45 UTC
Pre verified with:
cockpit-machines-233.1-1.el8.noarch

The VM page is newly designed in a seperate page, so change the Steps to:
1. Click Import VM
2. Enter name, installation source, os , click create
3. Click the name of the vm to enter the vm sub-page, the console is in the Console window
4. Click Expand, you will get a console sub-page ,click vm name in navigation bars to get back to the vm sub-page

All pages looks good.
So set as verify:tested.

Comment 9 Xianghua Chen 2020-12-14 06:21:59 UTC
Verified with:
cockpit-224.2-1.el8.x86_64
cockpit-machines-233.1-1.el8.noarch
libvirt-dbus-1.3.0-2.module+el8.3.0+6423+e4cb6418.x86_64

Steps:
1. Click Import VM
2. Enter name, installation source, os , click create
3. Click the name of the vm to enter the vm sub-page, the console is in the Console window
4. Click Expand, you will get a console sub-page ,click vm name in navigation bars to get back to the vm sub-page
All pages looks good.
So verified.

Comment 10 Xianghua Chen 2020-12-14 06:22:04 UTC
Verified with:
cockpit-224.2-1.el8.x86_64
cockpit-machines-233.1-1.el8.noarch
libvirt-dbus-1.3.0-2.module+el8.3.0+6423+e4cb6418.x86_64

Steps:
1. Click Import VM
2. Enter name, installation source, os , click create
3. Click the name of the vm to enter the vm sub-page, the console is in the Console window
4. Click Expand, you will get a console sub-page ,click vm name in navigation bars to get back to the vm sub-page
All pages looks good.
So verified.

Comment 12 errata-xmlrpc 2021-05-18 15:53:08 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