Bug 1271700

Summary: os-collect-config should not install unit tests
Product: Red Hat OpenStack Reporter: Mike Burns <mburns>
Component: os-collect-configAssignee: Mike Burns <mburns>
Status: CLOSED ERRATA QA Contact: yeylon <yeylon>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0 (Kilo)CC: apevec, dmacpher, dyasny, lhh, mburns, rhel-osp-director-maint, sasha, sclewis, srevivo, yeylon
Target Milestone: y2Keywords: Triaged
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: os-collect-config-0.1.35-3.el7ost Doc Type: Bug Fix
Doc Text:
The base RPMs included unit tests. This meant the director had unnecessary files that consumed extra space. This fix removes the tests from the base RPMs. Unit tests are now only shipped with the source RPMs.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-21 16:56:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1271670    

Description Mike Burns 2015-10-14 13:57:26 UTC
os-collect-config is currently installing unit tests and those should not be shipped.  This is with the latest OSPd 7.1 package.

Comment 4 Dan Yasny 2015-10-22 18:09:10 UTC
Checked that the tests directory /usr/lib/python2.7/site-packages/os_collect_config/tests is missing in the new RPM os-collect-config-0.1.35-5.el7ost.noarch

rpm -ql os-collect-config-0.1.35-5.el7ost.noarch |grep tests 

returns empty

Comment 5 Dan Yasny 2015-10-22 18:31:17 UTC
verified in os-collect-config-0.1.35-5.el7ost.noarch

Comment 8 errata-xmlrpc 2015-12-21 16:56:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2015:2651