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 1200374 - virt-who rebase
Summary: virt-who rebase
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-who
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Radek Novacek
QA Contact: Li Bin Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-10 12:39 UTC by Radek Novacek
Modified: 2019-10-10 09:40 UTC (History)
8 users (show)

Fixed In Version: virt-who-0.14-1.el7
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Rebase package(s) to version: 0.14 Highlights, important fixes, or notable enhancements: Rebased version of virt-who focuses on improving performance especially in large environments, better handling of errors and faults of various kinds. It also brings new features and bugfixes.
Clone Of:
Environment:
Last Closed: 2015-11-19 11:56:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2370 0 normal SHIPPED_LIVE virt-who bug fix and enhancement update 2015-11-19 10:39:27 UTC

Description Radek Novacek 2015-03-10 12:39:07 UTC
virt-who should be rebased to latest upstream version.

There are lots of improvements and optimizations in the upstream repository since version that is in RHEL-7.1. I would highly recommend doing a rebase here.

There's a more recent version in RHEL-6.7 that has quite a few improvements, I would be nice if customer can use them also in RHEL-7.

Comment 1 Radek Novacek 2015-06-23 13:36:11 UTC
Virt-who is now rebased to 0.14 upstream version: virt-who-0.14-1.el7.

Comment 3 John Call 2015-07-21 19:06:13 UTC
Radek,

I'm trying to read the source code and find the VMware optimizations that were made.  I'd like to see the query / queries being sent to vCenter.  Would you please tell me where to look?

Thanks,
John

Comment 4 Radek Novacek 2015-07-30 06:53:52 UTC
John,

you can find all the code for handling VMWare in this file:

https://github.com/virt-who/virt-who/blob/master/virt/esx/esx.py

Optimizations in this version are basically three:

* Simplify the inventory traversal - not all the objects in the hierarchy needs to be obtained as we're only interested in host/guest association (see buildFullTraversal method in that file)

* Use WaitForUpdatesEx method instead of RetrievePropertiesEx to get only updated data not all of them. This also allows to listen for updates instead of polling.

* Do not download vim schema from ESX and have local (stripped down) copy instead.

Is this answer enough or do you need some more details?

Comment 5 Liushihui 2015-09-23 08:13:17 UTC
Verified it on virt-who-0.14-8.el7.noarch since the package got rebase and there are no known regressions. Therefore, verify it.

Comment 6 errata-xmlrpc 2015-11-19 11:56:12 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://rhn.redhat.com/errata/RHBA-2015-2370.html


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