Bug 1400219 - RPM remove action does not clear all files from provider directory
Summary: RPM remove action does not clear all files from provider directory
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-provider-ovn
Classification: oVirt
Component: provider
Version: unspecified
Hardware: x86_64
OS: Linux
high
low
Target Milestone: ovirt-4.1.0-beta
: ---
Assignee: Marcin Mirecki
QA Contact: Mor
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-30 17:18 UTC by Mor
Modified: 2017-02-15 14:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-15 14:58:30 UTC
oVirt Team: Network
rule-engine: ovirt-4.1+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 67884 0 master MERGED Include .pyc and .pyo files in the rpm 2016-12-14 10:35:28 UTC
oVirt gerrit 69006 0 master MERGED Remove direcories during rpm remove 2016-12-23 09:05:33 UTC

Description Mor 2016-11-30 17:18:27 UTC
Description of problem:
yum remove ovirt-provider-ovn does not remove Python compiled files from the provider directory.

Version-Release number of selected component (if applicable):
oVirt Engine Version: 4.1.0-0.0.master.20161127231313.git9bb30a5.el7.centos
oVirt Provider OVN: ovirt-provider-ovn-0.1-1

How reproducible:
100%

Steps to Reproduce:
1. Install ovirt-provider-ovn package. (yum -y install <provider_package>.rpm)
2. Start & stop ovirt-provider-ovn service.
3. Remove ovirt-provider-ovn package (yum -y remove <provider_package>)

Actual results:
There are ".pyc" files in the provider directory.

Expected results:
All .pyc files should be removed.

Comment 1 Mor 2016-12-19 11:54:42 UTC
I tried to verify it with today's build from git://gerrit.ovirt.org/ovirt-provider-ovn. 
Post removal, directories: /usr/share/ovirt-provider-ovn/, /etc/ovirt-provider-ovn exists in the machine.

Comment 2 Mor 2016-12-28 07:53:09 UTC
I verified the fix with build from today. RPM name: ovirt-provider-ovn-1.0-1.20161228093622.git3b3d6e1.fc24.noarch


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