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.
Bug 1623756 - vm's name could not be added into settings file
Summary: vm's name could not be added into settings file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-viewer
Version: 7.6
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Virt Viewer Maint
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1750706
TreeView+ depends on / blocked
 
Reported: 2018-08-30 06:29 UTC by Xiaodai Wang
Modified: 2019-09-10 09:59 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1750706 (view as bug list)
Environment:
Last Closed: 2019-08-06 13:07:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:2229 0 None None None 2019-08-06 13:07:49 UTC

Description Xiaodai Wang 2018-08-30 06:29:49 UTC
Description of problem:
vm's name could not be added into settings file

Version-Release number of selected component (if applicable):
virt-viewer-5.0-11.el7.x86_64
How reproducible:
100%

Steps to Reproduce:
1. Add any comments before the vm's uuid(da685339-302e-48ae-8f74-e2988faf1a2e).

[b17b3be1-a881-460b-9b17-f20e1ae8169d]
#monitor-mapping=2:1

[da685339-302e-48ae-8f74-e2988faf1a2e]

2. Open the vm (da685339-302e-48ae-8f74-e2988faf1a2e) by virt-viewer.
3. Check the settings file.

Actual results:
The vm's name is not added before it's uuid.

Expected results:
It's better to improve the logic of adding vm's name into settings file.
so the vm's name still can be added when some normal comments exist.

Additional info:

Comment 1 Victor Toso 2018-08-30 11:58:49 UTC
Patch sent:
https://www.redhat.com/archives/virt-tools-list/2018-August/msg00050.html

It is fair request as we already have code in place to set the guest name there based on uuid.

Comment 3 zhoujunqin 2019-04-29 05:58:55 UTC
I can reproduce this issue with package:
virt-viewer-5.0-11.el7.x86_64

Steps:
1. Add any comments before the vm's uuid(bc5eeeef-e26b-483a-a662-992373f90c5c).
$ cat .config/virt-viewer/settings 
[virt-viewer]
#monitor-mapping=2:1
ask-quit=true

#testcomment
[bc5eeeef-e26b-483a-a662-992373f90c5c]

2. Open the vm (bc5eeeef-e26b-483a-a662-992373f90c5c) by virt-viewer.
$ virt-viewer -c qemu:///system  bc5eeeef-e26b-483a-a662-992373f90c5c
3. Check the settings file.

$ cat .config/virt-viewer/settings 
[virt-viewer]
#monitor-mapping=2:1
ask-quit=true

#testcomment

[bc5eeeef-e26b-483a-a662-992373f90c5c]

Result: VM's name is not added before its uuid.

Then try to verify this bug with new build:
virt-viewer-5.0-13.el7.x86_64

Steps:

1. Add any comments before the vm's uuid(bc5eeeef-e26b-483a-a662-992373f90c5c).
$ cat .config/virt-viewer/settings 
[virt-viewer]
#monitor-mapping=2:1
ask-quit=true

#testcomment
[bc5eeeef-e26b-483a-a662-992373f90c5c]

2. Open the vm (bc5eeeef-e26b-483a-a662-992373f90c5c) by virt-viewer.
$ virt-viewer -c qemu:///system  bc5eeeef-e26b-483a-a662-992373f90c5c
3. Check the settings file.
$ cat .config/virt-viewer/settings 
[virt-viewer]
#monitor-mapping=2:1
ask-quit=true

#testcomment

#rhel7.6
[bc5eeeef-e26b-483a-a662-992373f90c5c]

Result: VM's name is added before its uuid successfully, so I move this bug from ON_QA to VERIFIED.

Comment 5 errata-xmlrpc 2019-08-06 13:07:26 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, 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/RHSA-2019:2229


Note You need to log in before you can comment on or make changes to this bug.