Bug 1085578

Summary: Neutron L3 agent fails to start without installing python-novaclient
Product: [Community] RDO Reporter: Matt Kassawara <mkassawara>
Component: openstack-neutronAssignee: Terry Wilson <twilson>
Status: CLOSED CURRENTRELEASE QA Contact: Ofer Blaut <oblaut>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: chrisw, ihrachys, lpeer, mkassawara, sgordon, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-30 16:40:23 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:

Description Matt Kassawara 2014-04-09 00:35:10 UTC
Description of problem: On Icehouse RC1, the neutron L3 agent fails to start without installing python-novaclient.

Version-Release number of selected component (if applicable): openstack-neutron-2014.1-0.13.rc1.el6.noarch

How reproducible: Consistent.

Steps to Reproduce:
1. Install RC1 neutron packages on dedicated network node (i.e., without Nova components).
2. Attempt to start the neutron L3 agent.

Actual results:

The init script fails to start the neutron L3 agent. Nothing appears in /var/log/neutron/l3-agent.log. Attempting to start the agent manually provides additional information:

# sudo -u neutron /usr/bin/neutron-l3-agent
Traceback (most recent call last):
  File "/usr/bin/neutron-l3-agent", line 6, in <module>
    from neutron.agent.l3_agent import main
  File "/usr/lib/python2.6/site-packages/neutron/agent/l3_agent.py", line 44, in <module>
    from neutron.services.firewall.agents.l3reference import firewall_l3_agent
  File "/usr/lib/python2.6/site-packages/neutron/services/firewall/agents/l3reference/firewall_l3_agent.py", line 28, in <module>
    from neutron.extensions import firewall as fw_ext
  File "/usr/lib/python2.6/site-packages/neutron/extensions/firewall.py", line 27, in <module>
    from neutron.api.v2 import resource_helper
  File "/usr/lib/python2.6/site-packages/neutron/api/v2/resource_helper.py", line 20, in <module>
    from neutron.api.v2 import base
  File "/usr/lib/python2.6/site-packages/neutron/api/v2/base.py", line 30, in <module>
    from neutron.notifiers import nova
  File "/usr/lib/python2.6/site-packages/neutron/notifiers/nova.py", line 16, in <module>
    import novaclient.v1_1.client as nclient
ImportError: No module named novaclient.v1_1.client

Expected results: Neutron L3 agent starts.

Comment 1 Stephen Gordon 2014-04-09 13:24:07 UTC
Livnat looks like there is a missing dependency on our neutron package?

Comment 2 lpeer 2014-04-10 09:57:37 UTC
(In reply to Stephen Gordon from comment #1)
> Livnat looks like there is a missing dependency on our neutron package?

adding Terry to take a look and fix if needed.

Comment 3 Matt Kassawara 2014-04-10 20:05:23 UTC
This issue also appears to affect neutron-server.

Comment 4 Ihar Hrachyshka 2014-10-30 16:40:23 UTC
novaclient dependency is present in both Icehouse and Juno builds for RDO.