| Summary: | OVN provider driver RPM does not clean all changes on removal | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-provider-ovn | Reporter: | Mor <mkalfon> |
| Component: | driver | Assignee: | Marcin Mirecki <mmirecki> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mor <mkalfon> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | danken, myakove, ylavi |
| Target Milestone: | ovirt-4.1.0-beta | Flags: | rule-engine:
ovirt-4.1+
|
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-02-15 14:58:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
br-int is created by ovn-controller, and I am not sure if it should remove it automatically (as it could provide connectivity to something). pyc files must be collected. pyc files will be cleaned br-int is the ovn integration bridge. It can be used for more than just the ovirt networking. It should only be removed by the ovn admin. I tried to verify it on today's build. Directory: /usr/libexec/vdsm/hooks/ovirt-provider-ovn exists on removal. I verified it on version: ovirt-provider-ovn-driver-1.0-1.20161228093622.git3b3d6e1.fc24.noarch |
Description of problem: OVN provider driver removal action does not remove all changes done by the installation and OVN configuration actions. 1. Python compiled file exists in: /usr/lib/python2.7/site-packages/vdsm/tool/ovn_config.pyc This is also relevant to (but not yet tested): /usr/libexec/vdsm/hooks/before_device_create/ovirt_provider_ovn_hook.pyc /usr/libexec/vdsm/hooks/before_nic_hotplug/ovirt_provider_ovn_hook.pyc 2. OVN bridge interface is not removed (created by setup_ovn_controller.sh): ovs-vsctl show output: Bridge br-int fail_mode: secure Port br-int Interface br-int type: internal Port "ovn-9abf38-0" Interface "ovn-9abf38-0" type: geneve options: {csum="true", key=flow, remote_ip="10.35.128.5"} ovs_version: "2.6.90" Version-Release number of selected component (if applicable): ovirt-provider-ovn-driver: 1.0-1.fc24 How reproducible: 100% Steps to Reproduce: 1. Install ovirt-provider-ovn-driver RPM on OVN node. 2. Use vdsm-tool ovn-config {provider_ip} {host_ip} to configure OVN tunnel. 3. Remove ovirt-provider-ovn-driver RPM from OVN node. Actual results: There are leftovers. Expected results: 1. .pyc files should be removed from the installation directories. 2. Bridge interface should be removed. Additional info: