Bug 1280013

Summary: Non-python data files missing from test package
Product: Red Hat OpenStack Reporter: Brent Eagles <beagles>
Component: openstack-neutronAssignee: Brent Eagles <beagles>
Status: CLOSED ERRATA QA Contact: Toni Freger <tfreger>
Severity: high Docs Contact:
Priority: high    
Version: 7.0 (Kilo)CC: amuller, apevec, beagles, chrisw, nyechiel, ohochman, sclewis, tfreger, yeylon
Target Milestone: z3Keywords: Triaged, ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-2015.1.2-2.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1281831 (view as bug list) Environment:
Last Closed: 2015-12-21 17:00:31 UTC Type: Bug
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: 1281831    

Description Brent Eagles 2015-11-10 17:50:16 UTC
python-neutron-tests is missing the contents of neutron/tests/etc. Tests for subprojects such as VPNaaS depend on these files so they need to be included.

How reproducible:
Every time

Steps to Reproduce:
1. install python-neutron-tests
2. try running vpnaas tests in the current environment (site-packages or without a virtual env)

Actual results:

Tests will fail when trying to load neutron.conf.test, etc.


Expected results:

Tests pass, or at least fail for other reasons.

Comment 2 Brent Eagles 2015-11-10 19:32:33 UTC
Setting priorities and severity because while the issue probably doesn't affect neutron core users, it does impact testing of subproject packages.

Comment 6 Alan Pevec 2015-11-12 13:54:20 UTC
Please fix this in rpm-master first.

Comment 7 Brent Eagles 2015-11-12 18:27:41 UTC
Alan - thanks for the reminder. In this case I think I'm safe since the fix was actually a cherry picked commit from https://review.gerrithub.io/#/c/249748 - so it should be fixed in rpm-master already.

Comment 9 Toni Freger 2015-11-23 13:03:12 UTC
Verified on AIO openstack-neutron-2015.1.2-2.el7ost.noarch
Rhel7.2


All required files are exist under:
/usr/lib/python2.7/site-packages/neutron/tests/etc
#ls -la
4 -rw-r--r-- 1 root root  290 Oct 13 20:35 api-paste.ini.test
4 -rw-r--r-- 1 root root  550 Oct 13 20:35 neutron.conf.test
8 -rw-r--r-- 1 root root 7576 Oct 13 20:35 policy.json

Comment 11 errata-xmlrpc 2015-12-21 17:00:31 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:2652