Bug 1065914 - Remove ovirt-scheduler-proxy external module failed
Summary: Remove ovirt-scheduler-proxy external module failed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.4.1
Assignee: Martin Sivák
QA Contact: bugs@ovirt.org
URL:
Whiteboard: sla
Depends On:
Blocks: 1069198
TreeView+ depends on / blocked
 
Reported: 2014-02-17 09:35 UTC by Artyom
Modified: 2014-05-08 13:37 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
: 1069198 (view as bug list)
Environment:
Last Closed: 2014-05-08 13:37:19 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)
engine log (196.35 KB, text/x-log)
2014-02-17 09:35 UTC, Artyom
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 24953 0 None MERGED engine: Fix a possible NPE when the user removes stale policy unit Never
oVirt gerrit 25308 0 None MERGED engine: Fix a possible NPE when the user removes stale policy unit Never

Description Artyom 2014-02-17 09:35:59 UTC
Created attachment 864007 [details]
engine log

Description of problem:
Remove ovirt-scheduler-proxy external module failed with NullPointerException

Version-Release number of selected component (if applicable):
ovirt-scheduler-proxy-0.1.3-1.20140102.gitffebbc4.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Enable scheduler proxy via engine config
2. Add some new external module under /usr/share/ovirt-scheduler-proxy/plugins, it can be filter, score or balance function, run:
service ovirt-scheduler-proxy restart && service ovirt-engine restart
Chech that new module appear under Configure->Cluster Policies
3. Delete module from /usr/share/ovirt-scheduler-proxy/plugins and run service ovirt-scheduler-proxy restart && service ovirt-engine restart, try to remove module under Configure->Cluster Policies->Manage Policy Units

Actual results:
Remove failed, with java NullPointerException in engine.log

Expected results:
Module must removed

Additional info:

Comment 1 Artyom 2014-02-17 09:47:28 UTC
Also if you have some module for example max_vms_filter.py under /usr/share/ovirt-scheduler-proxy/plugins and edit file and change name of class from max_vms to max_vms_1 under Manage Policy Units I see two filters one that disabled max_vms and one enabled max_vms_1(also it happening after service ovirt-scheduler-proxy restart && service ovirt-engine restart).

Comment 2 Itamar Heim 2014-02-23 08:28:13 UTC
Setting target release to current version for consideration and review. please
do not push non-RFE bugs to an undefined target release to make sure bugs are
reviewed for relevancy, fix, closure, etc.

Comment 3 Itamar Heim 2014-03-06 17:45:05 UTC
changed TR to 3.4.1. if this is needed for 3.4.0, it needs to be backported to 3.4.0 branch as well

Comment 4 Sandro Bonazzola 2014-05-08 13:37:19 UTC
This is an automated message

oVirt 3.4.1 has been released:
 * should fix your issue
 * should be available at your local mirror within two days.

If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.