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 1436811 - [RFE] Respect the interval setting independently for each destination
Summary: [RFE] Respect the interval setting independently for each destination
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-who
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Chris Snyder
QA Contact: Eko
Yehuda Zimmerman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-28 17:49 UTC by Chris Snyder
Modified: 2019-10-28 07:22 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
*virt-who* respects independent interval settings With this update, the "virt-who" command reports each interval on all sources that have updates. In addition, if "virt-who" is configured to send updates to more than one destination, for example to an Red Hat Satellite instance and the Red Hat Subscription Management (RHSM), the interval for each is maintained separately. This means that all updates can be sent to each configured destination, regardless of the state of communication with other destinations.
Clone Of:
Environment:
Last Closed: 2017-08-01 19:24:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rhsm log and virt-who config file (3.21 KB, application/x-gzip)
2017-05-09 09:47 UTC, yuefliu
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github virt-who virt-who pull 59 0 None None None 2017-03-31 20:03:41 UTC
Red Hat Product Errata RHBA-2017:2084 0 normal SHIPPED_LIVE virt-who bug fix and enhancement update 2017-08-01 18:14:28 UTC

Description Chris Snyder 2017-03-28 17:49:52 UTC
Description of problem:

Given an instance of virt-who configured to report on multiple sources to multiple destinations (for example a satellite 6 instance and hosted rhsm),
it will take number_of_sources * number_of_destinations * interval amount of time (at a minimum) to send all reports.

As an example if there are 4 sources and we use the default interval of 4 hours, going just to one destination it will take 16 hours to send at least one update on all sources.

Additional info:

See upstream virt-who branch feature/interval_design (https://github.com/virt-who/virt-who/tree/feature/interval_design) for current work on this feature

Comment 1 Chris Snyder 2017-04-05 13:38:47 UTC
The posted PR has been merged upstream.
Moving to POST.

Comment 3 yuefliu 2017-05-09 07:23:03 UTC
it still exists with virt-who-0.19-4

Comment 4 yuefliu 2017-05-09 09:38:20 UTC
update comment3, check the bug with virt-who-0.19-4, the steps and result as below:

packages:
virt-who-0.19-4.el7.noarch
subscription-manager-1.19.12-1.el7.x86_64
python-rhsm-1.19.6-1.el7.x86_64

steps:
1. configure virt-who run in ESX & HYPERV sources against Stage Candlepin server and Libvirt & XEN sources against Satellite6.2.9 server, refer to attachment for config file.

2. start virt-who with 300s interval, it will send all sources mapping info to their server immediately the first run.
# virt-who -d -i 300

3. make 'shutdown/power off' trigger for guest of each hypervisor source, the mapping update info of the four hypervisors cannot be sent together after 300s, 
some are sent one by one each 300s. 

Please refer to attachment - "rhsm log and virt-who config file"

Comment 5 yuefliu 2017-05-09 09:47:28 UTC
Created attachment 1277340 [details]
rhsm log and virt-who config file

Comment 6 yuefliu 2017-06-07 06:02:58 UTC
Verified the bug with virt-who-0.19-5, when configure virt-who run in multi hypervisor modes, after restart virt-who service, it can fetch and send all the hypervisors mapping to server in the first interval, no time delay.

Comment 9 errata-xmlrpc 2017-08-01 19:24:47 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-2017:2084


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