Description of problem:
distutils contains only python files https://docs.python.org/2/distutils/sourcedist.html#manifest
neutron/db/migration/alembic_migrations/versions directory and its subdirectories don't have __init__.py because it's not an actual python package. When using "python setup.py egg_info", the SOURCE.txt file is generated by pbr based on git data. If package is built from e.g. tarball then pbr doesn't have access to git data and the whole versions directory is not packaged.
Version-Release number of selected component (if applicable):
openstack-neutron-2015.1.1-9.el7ost
How reproducible:
100%
Steps to Reproduce:
1. Install neutron rpm packages
2. Prepare database and fill connection string to neutron.conf
3. Run neutron-db-manage --config-file /etc/neutron/neutron.conf upgrade head
Actual results:
command fails due to missing versions in neutron package
Expected results:
DB is popupaleted
Additional info:
Comment 3Alexander Chuzhoy
2015-10-13 18:00:44 UTC
Verification steps performed on AIO via following tutorial - https://access.redhat.com/articles/1317243
From osp6 -openstack-neutron-2014.2.3-24.el7ost.src.rpm
To osp7 -openstack-neutron-2015.1.2-2.el7ost.noarch
Upgrade with one VM internal and external connectivity tested before and after upgrade.
No issues were found
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