Bug 1138573
| Summary: | Create_fs function failed with signal only works in main thread error | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Timothy Asir <tjeyasin> |
| Component: | openlmi-tools | Assignee: | Peter Hatina <phatina> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | agk, miminar, phatina, tsmetana |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openlmi-tools-0.9.2-3.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-08 18:53:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
openlmi-tools-0.9.2-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/openlmi-tools-0.9.2-3.fc20 Package openlmi-tools-0.9.2-3.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing openlmi-tools-0.9.2-3.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-11337/openlmi-tools-0.9.2-3.fc20 then log in and leave karma (feedback). openlmi-tools-0.9.2-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Create_fs function failed with signal only works in main thread error when its called thru vdsm client. Version-Release number of selected component (if applicable): openlmi-scripts version: 0.3.0-1 How reproducible: It works well if its been called directly, however it fails when its been consumed by another client like vdsm-client and called. Actual results: MainProcess|Thread-16::ERROR::2014-09-05 13:26:45,847::storageconf::445::Openlmi::(brickCreate) signal only works in main thread Traceback (most recent call last): File "/usr/share/vdsm/gluster/storageconf.py", line 438, in brickCreate fs.create_fs(ns, [lvName], fsys) File "/usr/lib/python2.7/site-packages/lmi/scripts/storage/fs.py", line 194, in create_fs (ret, outparams, err) = service.SyncLMI_CreateFileSystem(**args) File "/usr/lib/python2.7/site-packages/lmi/shell/LMIMethod.py", line 550, in __call__ (rval, call_rparams, call_errorstr) = self.__handle_synchro_method_call_polling(job_inst) File "/usr/lib/python2.7/site-packages/lmi/shell/LMIMethod.py", line 422, in __handle_synchro_method_call_polling LMISignalHelper().signal_attach() File "/usr/lib/python2.7/site-packages/lmi/shell/LMIMethod.py", line 86, in signal_attach self._handler_sigint = signal.signal(signal.SIGINT, LMISignalHelper.__signal_handler) ValueError: signal only works in main thread