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:
Virt-who presently allows for specifying both the source (the management framework or other API) from which to gather information as well as the destination (where to report information from this source) on the CLI.
The options used to configure virt-who to do this on the CLI increase the complexity of virt-who configuration parsing.
I believe to ease the use of virt-who, only those options which affect the overall operation of virt-who should be allowed (see the following):
* "-c": Add a configuration to be read.
* "-p": Gather information from sources, print the information that would be sent but do not send it.
* "-d": enable debug output
* "-o": Run once, then exit (oneshot mode)
* "-i": Set the interval on which information is gathered from sources and delivered from destinations
All other options should be removed from the CLI.
In order to ease the transition, the first patch for this RFE should output messages indicating that the options to be removed are deprecated.
The next release of virt-who after the deprecation warnings are out should remove the options entirely.
Hi Chris, I absolutely agree with you,
Further more, could we also remove the backend from /etc/sysconfig/virt-who and only keep the global options, that means the backend only can be configured by /etc/virt-who.d/xxx.conf,
when running virt-who by CLI or by systemctl service, if no config files in /etc/virt-who.d, virt-who will run as local libvirt mode, otherwise, it will run all the backend according to /etc/virt-who.d/.
To be clear for the dev that implements this: This RFE is not to actually remove the CLI options but to provide warning messages that the CLI options will be removed and to provide a temporary (debug) method of converting existing configuration involving CLI options to the format expected in files in /etc/virt-who.d/*.conf.
Verified the bug with virt-who-0.21.0-1.el7.noarch, when run virt-who by CLI it will give warning that - "The option --hypervisor_mode is deprecated and will be removed in the next release. Please see 'man virt-who-config' for details on adding a configuration section."
And NEW open Bug 1509606 about Comment 8
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-2018:0895