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.
The DomainMonitorThread attribute produces an attribute error when a connection to the NFS ISO domain is blocked. The onDomainConnectivityStateChange event was erroneously being reported as an attribute of DomainMonitorThread which triggers the attribute error when onDomainConnectivityStateChange is being called. onDomainConnectivityStateChange is now properly called as an event and not an attribute.
Created attachment 609037[details]
VDSM + engine logs
Description of problem:
When a domain's status is changing to invalid, the following error is visible in the logs:
Thread-151::WARNING::2012-08-30 13:28:07,651::domainMonitor::207::Storage.DomainMonitorThread::(_monitorDomain) Could not emit domain state change event
Traceback (most recent call last):
File "/usr/share/vdsm/storage/domainMonitor.py", line 203, in _monitorDomain
self.onDomainConnectivityStateChange.emit(
AttributeError: 'DomainMonitorThread' object has no attribute 'onDomainConnectivityStateChange'
Version-Release number of selected component (if applicable):
4.9-31.0
How reproducible:
?
Steps to Reproduce:
1. Block connection to NFS ISO domain (with 1 host, 1 storage domain)
2. Error appears in VDSM logs
VSDM logs attached
Comment 5Federico Simoncelli
2012-09-06 12:59:00 UTC
Fix onDomainConnectivityStateChange in DomainMonitorThread
The onDomainConnectivityStateChange event is not a DomainMonitorThread
attribute.
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=853703
Signed-off-by: Federico Simoncelli <fsimonce>
Change-Id: If3b7e7c788b54726a3c820f4f2180884c74d93ef
http://gerrit.ovirt.org/#/c/7772/
verified on vdsm 4.9.6-39.
after blocking ISO domain, I no longer gets the error but the following print:
Thread-720::DEBUG::2012-10-24 21:57:02,862::domainMonitor::216::Storage.DomainMonitorThread::(_monitorDomain) Domain 3580fd98-876a-4de0-8fe5-c4aadf5180d4 changed its status to Invalid
Thread-776::DEBUG::2012-10-24 21:57:02,863::misc::1165::Event.Storage.DomainMonitor.onDomainConnectivityStateChange::(_emit) Emitting event
Thread-776::DEBUG::2012-10-24 21:57:02,864::misc::1176::Event.Storage.DomainMonitor.onDomainConnectivityStateChange::(_emit) Calling registered method `<functools.partial object at 0x7fdb78067f18>`
Thread-776::DEBUG::2012-10-24 21:57:02,865::misc::1186::Event.Storage.DomainMonitor.onDomainConnectivityStateChange::(_emit) Event emitted
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.
http://rhn.redhat.com/errata/RHSA-2012-1508.html
Created attachment 609037 [details] VDSM + engine logs Description of problem: When a domain's status is changing to invalid, the following error is visible in the logs: Thread-151::WARNING::2012-08-30 13:28:07,651::domainMonitor::207::Storage.DomainMonitorThread::(_monitorDomain) Could not emit domain state change event Traceback (most recent call last): File "/usr/share/vdsm/storage/domainMonitor.py", line 203, in _monitorDomain self.onDomainConnectivityStateChange.emit( AttributeError: 'DomainMonitorThread' object has no attribute 'onDomainConnectivityStateChange' Version-Release number of selected component (if applicable): 4.9-31.0 How reproducible: ? Steps to Reproduce: 1. Block connection to NFS ISO domain (with 1 host, 1 storage domain) 2. Error appears in VDSM logs VSDM logs attached