Previously, the openstack-neutron package did not depend on the python-keystoneclient package. However, the OpenStack Networking service (provided by openstack-neutron) required modules provided by python-keystoneclient. As a result, users could unknowingly deploy a Neutron server that could not start.
This fix adds the required dependency, ensuring that users install all the modules required by the OpenStack Networking service.
Description of problem:
=======================
I installed neutron as a standalone node (Via packstack).
It fails to start with a missing import:
TRACE neutron.common.config ImportError: No module named keystoneclient.middleware.auth_token
Version-Release number of selected component (if applicable):
=============================================================
puddle: 2013-10-15.1
python-neutron-2013.2-0.12.rc1.el6ost.noarch
python-neutronclient-2.2.6-1.el6ost.noarch
openstack-neutron-2013.2-0.12.rc1.el6ost.noarch
How reproducible:
=================
Always
Steps to Reproduce:
===================
1. Install OpenStack via packstack, Make sure that the node you configure to run Neutron Server is only used with CONFIG_NEUTRON_SERVER_HOST.
2. Via CLI, check Neutron server status:
# service neutron-server status
3. Check neutron-server log
Actual results:
===============
neutron-server status:
neutron dead but pid file exists
nova-cert log:
TRACE neutron.common.config ImportError: No module named keystoneclient.middleware.auth_token
Expected results:
=================
neutron-server should be up and running post installation.
Additional Info:
================
To work around the issue:
1. install python-cinderclient
# yum install python-keystoneclient
2. and restarted the neutron-server service.
# service neutron-server restart
Verified on Havana
Version-Release number of selected component (if applicable):
=============================================================
puddle 2013-11-08.1
python-neutronclient-2.3.1-2.el6ost.noarch
python-neutron-2013.2-5.el6ost.noarch
openstack-neutron-2013.2-5.el6ost.noarch
Results:
========
neutron (pid 1718) is running...
Attachements:
=============
verified server.log
Comments:
=========
Can be seen a know bug in the log, which is specified here:
https://bugs.launchpad.net/neutron/+bug/1210121
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.
http://rhn.redhat.com/errata/RHEA-2013-1859.html