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 1684478 - [kubevirt] virt-who fails incorrectly even if the config file given
Summary: [kubevirt] virt-who fails incorrectly even if the config file given
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-who
Version: 7.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: Eko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-01 11:07 UTC by Vatsal Parekh
Modified: 2019-10-28 07:21 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-06 12:41:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin virt-who pull 194 0 None closed [kubevirt] Correct the config file logic 2020-07-13 09:54:45 UTC
Red Hat Product Errata RHBA-2019:2070 0 None None None 2019-08-06 12:41:27 UTC

Description Vatsal Parekh 2019-03-01 11:07:07 UTC
Description of problem:
Even if the kubeconfig was shared, virt-who was complaining that the config file was not found
```
2019-03-01 09:51:14,687 [virtwho.rhsm_log WARNING] MainProcess(9008):MainThread @config.py:init_config:1510 - [virt-who-config-3]: Kubeconfig file was not found at /etc/virt-who.d/config
```

Version-Release number of selected component (if applicable):
virt-who-0.24.2-1.el7.noarch

How reproducible:


Steps to Reproduce:
1.add virt-who profile for kubevirt
2.check the rhsm log or run virt-who
3.

Actual results:
Errors config not found even if the config was available at the path

Expected results:
Should detect the file

Additional info:

Comment 2 Vatsal Parekh 2019-03-01 11:11:54 UTC
This seemed like a logic issue
Sent the patch https://github.com/candlepin/virt-who/pull/194

Comment 3 Piotr Kliczewski 2019-03-13 10:19:52 UTC
The fix was merged and it is pending downstream release.

Comment 9 errata-xmlrpc 2019-08-06 12:41:17 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/RHBA-2019:2070


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