Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1256238

Summary: Scheduler fails when policy filters is null
Product: Red Hat Enterprise Virtualization Manager Reporter: Dudi Maroshi <dmaroshi>
Component: ovirt-engineAssignee: Roy Golan <rgolan>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: gklein, lpeer, lsurette, mavital, michal.skrivanek, rbalakri, rgolan, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ovirt-3.6.2Keywords: Triaged
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 01:28:06 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:

Description Dudi Maroshi 2015-08-24 07:04:25 UTC
Description of problem:
When there are no policies in the scheduling policies.
Running a VM or migrating a VM fails.


Version-Release number of selected component (if applicable):
3.6


How reproducible:
1. Create a new scheduling policy.
2. Remove any filter from the empty-scheduling policy.
3. Save empty-scheduling policy.
4. Create a new cluster.
5. Apply empty-scheduling to cluster.
6. Try run a VM on the new cluster. 

Actual results:
Run VM operation fails.
engine.log report null pointer exception in SchedulingManger.java

Comment 1 Sandro Bonazzola 2015-10-26 12:50:01 UTC
this is an automated message. oVirt 3.6.0 RC3 has been released and GA is targeted to next week, Nov 4th 2015.
Please review this bug and if not a blocker, please postpone to a later release.
All bugs not postponed on GA release will be automatically re-targeted to

- 3.6.1 if severity >= high
- 4.0 if severity < high

Comment 2 Martin Betak 2015-11-24 11:41:55 UTC
*** Bug 1276380 has been marked as a duplicate of this bug. ***

Comment 3 Eyal Edri 2015-12-17 13:57:50 UTC
RHEV 3.6.0 BETA2 is out, any open bugs are moved to the BETA3 milestone.

Comment 4 Artyom 2015-12-27 14:22:23 UTC
Verified on rhevm-3.6.2-0.1.el6.noarch
1) Create new empty cluster policy
2) Attach new policy to cluster
3) Start vm
4) Migrate vm
succeed