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 1393854 - The error info is not accurate when setting invalid VIRT_ADMIN_DEBUG
Summary: The error info is not accurate when setting invalid VIRT_ADMIN_DEBUG
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: 7.4
Assignee: Erik Skultety
QA Contact: Yanqiu Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-10 13:09 UTC by Lili Zhu
Modified: 2017-08-01 23:59 UTC (History)
6 users (show)

Fixed In Version: libvirt-2.5.0-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 17:19:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1846 0 normal SHIPPED_LIVE libvirt bug fix and enhancement update 2017-08-01 18:02:50 UTC

Description Lili Zhu 2016-11-10 13:09:13 UTC
Description of problem:
The error info is not accurate when setting invalid VIRT_ADMIN_DEBUG

How producible
100%

Version:
libvirt-2.0.0-10.el7_3.1.x86_64


Steps to Reproduce:
1. # export VIRT_ADMIN_DEBUG=-1
2. # virt-admin


Actual results:
 error: VSH_DEBUG not set with a valid numeric value


Expected results:
 error: VIRT_ADMIN_DEBUG not set with a valid numeric value

Comment 1 Erik Skultety 2016-11-11 12:58:30 UTC
Fixed upstream by:

commit 7b8e1dff1af5146db50c78b5b6912aba6f8ea52b
Author:     Erik Skultety <eskultet>
AuthorDate: Fri Nov 11 13:39:45 2016 +0100
Commit:     Erik Skultety <eskultet>
CommitDate: Fri Nov 11 13:44:40 2016 +0100

    vsh: Fix the incorrect environment variable prefix in error message
    
    Unlike the other error messages in vshInitDebug, this one relied on a hardcoded
    name of a variable instead of using the prefix of the tool calling the init
    routine.
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1393854
    
    Signed-off-by: Erik Skultety <eskultet>

v2.4.0-79-g7b8e1df

Comment 3 Yanqiu Zhang 2017-02-03 08:52:54 UTC
Reproduce this bug on libvirt-2.0.0-10.el7.x86_64
Steps to reproduce:
1.# export VIRT_ADMIN_DEBUG=-1
  # virt-admin
error: VSH_DEBUG not set with a valid numeric value
......


Verify this bug on libvirt-2.5.0-1.el7.x86_64
Steps to verify:
1.# export VIRT_ADMIN_DEBUG=-1
  # virt-admin                
error: VIRT_ADMIN_DEBUG not set with a valid numeric value
......

2.# export VIRSH_DEBUG=-1
   # virsh                 
error: VIRSH_DEBUG not set with a valid numeric value
......

Since the results are as expected, mark this bug as verified.

Comment 4 errata-xmlrpc 2017-08-01 17:19:14 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/RHEA-2017:1846

Comment 5 errata-xmlrpc 2017-08-01 23:59:00 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/RHEA-2017:1846


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