Bug 1007235 - Filters/Weights/Balancers are disabled instead of removed in webadmin, when python script is removed.
Summary: Filters/Weights/Balancers are disabled instead of removed in webadmin, when p...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.3.0
Assignee: Nobody
QA Contact:
URL:
Whiteboard: sla
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-12 07:44 UTC by Ondra Machacek
Modified: 2016-02-10 20:17 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-16 13:55:42 UTC
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ondra Machacek 2013-09-12 07:44:11 UTC
Description of problem:
When python script with filter/weight/balancer is removed from direcotory
for those scripts, then in webadmin it is still visible as disabled.

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

How reproducible:
always

Steps to Reproduce:
1. Create some easy filter and add it to /usr/share/ovirt-scheduler-proxy/plugins/
2. enable external filters rhevm-config -s ExternalSchedulerEnabled=true
3. service ovirt-scheduler-proxy start
4. service ovirt-engine restart
5. Now in webadmin we can use this filter.
6. Remove that script from /usr/share/ovirt-scheduler-proxy/plugins/
7. service ovirt-scheduler-proxy restart
8. service ovirt-engine restart
9. Try to create new cluster policy (configure->cluster policies)

Actual results:
We can still see removed external filter.

Expected results:
We cannot see external filter, which don't longer exists.

Additional info:

Comment 1 Doron Fediuck 2013-09-16 13:55:42 UTC
Ondra this is by design.
Removal of elements should be done manually, since it may effect several
policies. So there is a way to manually remove the disabled policy elements,
once you verified it is indeed no longer needed and/or being used.


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