Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Should update abbreviation(-r) only be short for --auto-resize option in the virt-viewer manual page
Version-Release number of selected component (if applicable):
virt-viewer-10.0-3.el9.x86_64
qemu-kvm-6.0.0-13.el9.x86_64
libvirt-7.6.0-2.el9.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Check virt-viewer help info
# virt-viewer --help
...
-r, --auto-resize=<never|always> Automatically resize remote framebuffer
--reconnect Reconnect to domain upon restart
2. Check virt-viewer manual page info
# man virt-viewer
...
-r, --reconnect
Automatically reconnect to the domain if it shuts down and restarts
...
-r <always|never>, --auto-resize <always|never>
Controls whether it is permitted to attempt to resize the remote framebuffer to match the local window size. This
currently defaults to on, but note that not all servers will support this.
Actual results:
As the description.
Expected results:
Fix it.
Additional info:
# virt-viewer -c qemu+ssh://10.72.13.79/system rhel8.5-vgpu -r -d
--auto-resize expects 'always' or 'never'
Run 'virt-viewer --help' to see a full list of available command line options
Included upstream in 11.0 release with
commit a8c781e85cee90dcebc2996cc4d6dfd7a453c9bb
Author: Daniel P. Berrangé <berrange>
Date: Tue Sep 7 13:01:04 2021 +0100
Delete '-r' shortcut for --auto-resize
The '-r' shortcut was alread used for '--reconnect' in virt-viewer.
The --auto-resize arg is a fairly niche use case so doesn't really
need a shortcut.
Signed-off-by: Daniel P. Berrangé <berrange>
Try to verify this bug with packages:
qemu-kvm-6.2.0-1.el9.x86_64
virt-viewer-11.0-1.el9.x86_64
1. Check virt-viewer help info
# virt-viewer --help |grep '\-r'
--auto-resize=<never|always> Automatically resize remote framebuffer
-r, --reconnect Reconnect to domain upon restart
2. Check virt-viewer manual page info
# man virt-viewer
...
-r, --reconnect
Automatically reconnect to the domain if it shuts down and restarts
...
3. Functional test
3.1 Connect to a remote VM with '-r' option
# virt-viewer -c qemu+ssh://$remote-host/system win10 -r testvm2
3.2 Destroy the VM after VM console displaying.
# virsh destroy testvm2
Domain 'testvm2' destroyed
Test result: The VM's console shows - Waiting for guest domain to re-start.
3.3 Restart the VM again
# virsh start testvm2
Domain 'testvm2' started
Test result - VM's console shows again.
Summary
1. The '-r' shortcut was only used for '--reconnect' in virt-viewer.
2. Functional test passed.
So I move this bug from ON_QA to VERIFIED status.
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 (new packages: virt-viewer), 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-2022:2536
Description of problem: Should update abbreviation(-r) only be short for --auto-resize option in the virt-viewer manual page Version-Release number of selected component (if applicable): virt-viewer-10.0-3.el9.x86_64 qemu-kvm-6.0.0-13.el9.x86_64 libvirt-7.6.0-2.el9.x86_64 How reproducible: 100% Steps to Reproduce: 1. Check virt-viewer help info # virt-viewer --help ... -r, --auto-resize=<never|always> Automatically resize remote framebuffer --reconnect Reconnect to domain upon restart 2. Check virt-viewer manual page info # man virt-viewer ... -r, --reconnect Automatically reconnect to the domain if it shuts down and restarts ... -r <always|never>, --auto-resize <always|never> Controls whether it is permitted to attempt to resize the remote framebuffer to match the local window size. This currently defaults to on, but note that not all servers will support this. Actual results: As the description. Expected results: Fix it. Additional info: # virt-viewer -c qemu+ssh://10.72.13.79/system rhel8.5-vgpu -r -d --auto-resize expects 'always' or 'never' Run 'virt-viewer --help' to see a full list of available command line options