Bug 1069198 - Remove ovirt-scheduler-proxy external module failed
Summary: Remove ovirt-scheduler-proxy external module failed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.4.0
Assignee: Martin Sivák
QA Contact: Artyom
URL:
Whiteboard: sla
Depends On: 1065914
Blocks: 1076691 rhev3.4snap1
TreeView+ depends on / blocked
 
Reported: 2014-02-24 13:03 UTC by Martin Sivák
Modified: 2016-02-10 20:16 UTC (History)
10 users (show)

Fixed In Version: av4
Doc Type: Bug Fix
Doc Text:
Clone Of: 1065914
: 1076691 (view as bug list)
Environment:
Last Closed:
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


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

Description Martin Sivák 2014-02-24 13:03:31 UTC
+++ This bug was initially created as a clone of Bug #1065914 +++

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:

--- Additional comment from Artyom on 2014-02-17 04:47:28 EST ---

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).

--- Additional comment from Itamar Heim on 2014-02-23 03:28:13 EST ---

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 Artyom 2014-03-24 14:56:17 UTC
Verified on av4

Comment 4 Itamar Heim 2014-06-12 14:08:11 UTC
Closing as part of 3.4.0


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