Bug 546676
| Summary: | frequent status updates from virtualization/poller.py resulting into 'Abuse of Service' messages | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Milan Zázrivec <mzazrivec> |
| Component: | Virtualization | Assignee: | Milan Zázrivec <mzazrivec> |
| Status: | CLOSED ERRATA | QA Contact: | Petr Sklenar <psklenar> |
| Severity: | medium | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 530 | CC: | asari, cperry, dave-bugzilla, menthos, psklenar, raud, tao, ubeck, xdmoon |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-01-13 11:25:25 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 518256 | ||
|
Description
Milan Zázrivec
2009-12-11 16:37:07 UTC
Interim workaround options for this bug, choose one: 1. Revert the errata http://rhn.redhat.com/errata/RHEA-2009-1491.html and go back to previous version of the rhn-virtualzation*12 packages on the client. 2. Revert *only* the following section of the patch (http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h=41df363e238ffb345f2dce35eb013c9f1a7c2f26#patch2) that caused the issue: --- a/client/tools/rhn-virtualization/virtualization/constants.py +++ b/client/tools/rhn-virtualization/virtualization/constants.py @@ -52,11 +52,17 @@ class PropertyType: # This structure maps the libvirt state enumeration to labels that RHN # understands. # -VIRT_STATE_NAME_MAP = ( StateType.RUNNING, # VIR_DOMAIN_NOSTATE +VIRT_STATE_NAME_MAP = ( StateType.NOSTATE, # VIR_DOMAIN_NOSTATE StateType.RUNNING, # VIR_DOMAIN_RUNNING - StateType.RUNNING, # VIR_DOMAIN_BLOCKED + StateType.BLOCKED, # VIR_DOMAIN_BLOCKED Before making changes backup constants.py. #cp /usr/share/rhn/virtualization/constants.py Under /usr/share/rhn/virtualization/constants.py.org 3. If user doesn't want to make code changes, adjust the cron job from 2 minutes to, say, 30 or 60 mins, to prevent client from checking in too often, After any of the above options - delete the system profile and re-register. spacewalk.git master: 72e10709b87fa115cf75fb3451cf4494e34f2bcb satellite.git SATELLITE-5.3: c48ca2fa02b9cb6dc801ca4fe6c611a49248253b Built & tagged rhn-virtualization-5.3.0-15.el5sat I followed test procedure from Comment #0 and "checked in" was not changed when switching between "running" and "blocked" state of virt-guest. tried on xen-host x8664, guest xen-pv i386 and x8664, xen-pv i386 kvm-host x8664, kvm-guest x8664 all rhel55 with rhn-virtualization-5.3.0-15.el5sat connected to rhn.redhat.com -- moving to Verified An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0031.html |