Bug 1271687

Summary: os-apply-config should not install unit tests
Product: Red Hat OpenStack Reporter: Mike Burns <mburns>
Component: os-apply-configAssignee: Mike Burns <mburns>
Status: CLOSED ERRATA QA Contact: Marius Cornea <mcornea>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0 (Kilo)CC: dmacpher, mburns, rhel-osp-director-maint, sasha, yeylon
Target Milestone: y2Keywords: Triaged
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: os-apply-config-0.1.31-2.el7ost Doc Type: Bug Fix
Doc Text:
The os-apply-config tool included unit tests as part of its installation. These tests were meant to be omitted. This fix updates the spec file to remove these tests. Unit test are no longer included with os-apply-config.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-21 16:56:07 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:48:16 UTC
os-apply-config is currently installing unit tests and those should not be shipped.  This is with the latest OSPd 7.1 package.

Comment 6 Marius Cornea 2015-12-09 20:03:45 UTC
stack@instack:~>>> rpm -qa | grep os-apply-config 
os-apply-config-0.1.31-2.el7ost.noarch
stack@instack:~>>> ls -l /usr/lib/python2.7/site-packages/os_apply_config/
total 140
-rw-r--r--. 1 root root 14298 May 11  2015 apply_config.py
-rw-r--r--. 2 root root 13497 Oct 14 11:49 apply_config.pyc
-rw-r--r--. 2 root root 13497 Oct 14 11:49 apply_config.pyo
-rw-r--r--. 1 root root  2437 May 11  2015 collect_config.py
-rw-r--r--. 2 root root  2417 Oct 14 11:49 collect_config.pyc
-rw-r--r--. 2 root root  2417 Oct 14 11:49 collect_config.pyo
-rw-r--r--. 1 root root   655 May 11  2015 config_exception.py
-rw-r--r--. 2 root root   388 Oct 14 11:49 config_exception.pyc
-rw-r--r--. 2 root root   388 Oct 14 11:49 config_exception.pyo
-rw-r--r--. 1 root root     0 May 11  2015 __init__.py
-rw-r--r--. 2 root root   147 Oct 14 11:49 __init__.pyc
-rw-r--r--. 2 root root   147 Oct 14 11:49 __init__.pyo
-rw-r--r--. 1 root root  4246 May 11  2015 oac_file.py
-rw-r--r--. 2 root root  5047 Oct 14 11:49 oac_file.pyc
-rw-r--r--. 2 root root  5047 Oct 14 11:49 oac_file.pyo
-rw-r--r--. 1 root root  1517 May 11  2015 renderers.py
-rw-r--r--. 2 root root  1216 Oct 14 11:49 renderers.pyc
-rw-r--r--. 2 root root  1216 Oct 14 11:49 renderers.pyo
-rw-r--r--. 1 root root  1604 May 11  2015 value_types.py
-rw-r--r--. 2 root root  1207 Oct 14 11:49 value_types.pyc
-rw-r--r--. 2 root root  1207 Oct 14 11:49 value_types.pyo
-rw-r--r--. 1 root root   717 Oct 14 11:49 version.py
-rw-r--r--. 2 root root   272 Oct 14 11:49 version.pyc
-rw-r--r--. 2 root root   272 Oct 14 11:49 version.pyo

Comment 8 errata-xmlrpc 2015-12-21 16:56:07 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