Bug 1002443
Summary: | filtering with non existing plugin returns empty list | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Laszlo Hornyak <lhornyak> |
Component: | ovirt-scheduler-proxy | Assignee: | Doron Fediuck <dfediuck> |
Status: | CLOSED DUPLICATE | QA Contact: | Artyom <alukiano> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.3.0 | CC: | acathrow, dfediuck, iheim, jmoskovc, mavital, srevivo |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | 3.3.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | sla | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-01-22 11:55:41 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1078909, 1142926 |
Description
Laszlo Hornyak
2013-08-29 08:36:01 UTC
proxy part merged c9773f898698f2b84b47e3410a4357698cb66b6c Verified on is25, no exception in engine.log After discussion with Doron and Martin revealed that, if filter is corrupted or missing external scheduler must return all hosts and vm must run. Checked on is26, Can't run vm, when corrupted filter function is added to ovirt-sheduler-proxy engine.log: Cant find VDS to run the VM 687e60b6-5632-4c97-80c1-23a63f61c550 on, so this VM will not be run ovirt-sheduler-proxy.log Fri, 06 Dec 2013 08:53:55 DEBUG [process:MainProcess, thread:Thread-7] [Request:2c9637ac-5e43-11e3-9f2b-001a4a1697fa][Method:run_filters] - Waiting for filters to finish Fri, 06 Dec 2013 08:53:55 ERROR [process:MainProcess, thread:Thread-8] [Request:2c9637ac-5e43-11e3-9f2b-001a4a1697fa][Method:PythonMethodRunner] - script ['python', '-c', "import max_vm_filter; max_vm_filter.max_vms().do_filter(['1ab5d0d9-5f2d-4994-8f6e-773870b1d1a0'], '687e60b6-5632-4c97-80c1-23a63f61c550', {})"] got error Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named max_vm_filter Fri, 06 Dec 2013 08:53:55 DEBUG [process:MainProcess, thread:Thread-7] [Request:2c9637ac-5e43-11e3-9f2b-001a4a1697fa][Method:run_filters] - Aggregating results Fri, 06 Dec 2013 08:53:55 WARNING [process:MainProcess, thread:Thread-7] Error in ['python', '-c', "import max_vm_filter; max_vm_filter.max_vms().do_filter(['1ab5d0d9-5f2d-4994-8f6e-773870b1d1a0'], '687e60b6-5632-4c97-80c1-23a63f61c550', {})"] (errno: 1, errors: Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named max_vm_filter ) Fri, 06 Dec 2013 08:53:55 INFO [process:MainProcess, thread:Thread-7] [Request:2c9637ac-5e43-11e3-9f2b-001a4a1697fa][Method:run_filters] - returning: [] So if module not exist on rhevm but exist in db, run vms is failed *** This bug has been marked as a duplicate of bug 1002444 *** Not sure that it's duplicate bugs, because you have different conditions and also different reproduce steps (In reply to Artyom from comment #11) > Not sure that it's duplicate bugs, because you have different conditions and > also different reproduce steps It's a nuance on what causes an empty list using the same backing code. Not worth monitoring and testing twice since we unify these scenarios now. |