Bug 1021227

Summary: Neutron server failed to start due to missing hard dependency
Product: Red Hat OpenStack Reporter: Nir Magnezi <nmagnezi>
Component: openstack-neutronAssignee: Terry Wilson <twilson>
Status: CLOSED ERRATA QA Contact: Roey Dekel <rdekel>
Severity: high Docs Contact:
Priority: high    
Version: 4.0CC: ajeain, chrisw, ddomingo, hateya, lars, oblaut, yeylon
Target Milestone: rcKeywords: EasyFix
Target Release: 4.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard: network
Fixed In Version: openstack-neutron-2013.2-5.el6ost Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-20 00:30:01 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:
Attachments:
Description Flags
neutron server log
none
Verified server.log none

Description Nir Magnezi 2013-10-20 14:32:44 UTC
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

Comment 1 Nir Magnezi 2013-10-20 14:33:22 UTC
Created attachment 814222 [details]
neutron server log

Comment 3 Lon Hohberger 2013-10-29 17:31:23 UTC
*** Bug 1024093 has been marked as a duplicate of this bug. ***

Comment 5 Roey Dekel 2013-11-14 08:18:20 UTC
Created attachment 823811 [details]
Verified server.log

Comment 6 Roey Dekel 2013-11-14 08:23:59 UTC
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

Comment 8 errata-xmlrpc 2013-12-20 00:30:01 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.

http://rhn.redhat.com/errata/RHEA-2013-1859.html