Missing python-novaclient package in 'Configure network node'

Bug #1307334 reported by Jeff Shantz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Undecided
Jeff Shantz

Bug Description

The end of this section instructs the reader to start the neutron-l3-agent service. This service fails to start, with no log file written.

If we manually run the same command as is run by /etc/init.d/neutron-l3-agent, we see the problem:

=====
# /usr/bin/neutron-l3-agent --log-file /var/log/neutron/l3-agent.log --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/l3_agent.ini --config-file /etc/neutron/fwaas_driver.ini
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
=====

After installing the python-novaclient package, the service starts fine:

=====
# service neutron-l3-agent start
# tail l3-agent.log
2014-04-14 07:25:26.476 3556 INFO neutron.common.config [-] Logging enabled!
2014-04-14 07:25:26.561 3556 INFO neutron.openstack.common.rpc.impl_qpid [req-f219ccf4-23c4-4450-9b71-a37991f998c1 None] Connected to AMQP server on controller:5672
2014-04-14 07:25:26.566 3556 INFO neutron.openstack.common.rpc.impl_qpid [req-f219ccf4-23c4-4450-9b71-a37991f998c1 None] Connected to AMQP server on controller:5672
2014-04-14 07:25:26.601 3556 INFO neutron.openstack.common.rpc.impl_qpid [req-f219ccf4-23c4-4450-9b71-a37991f998c1 None] Connected to AMQP server on controller:5672
2014-04-14 07:25:26.615 3556 INFO neutron.agent.l3_agent [req-f219ccf4-23c4-4450-9b71-a37991f998c1 None] L3 agent started
2014-04-14 07:25:26.633 3556 INFO neutron.openstack.common.rpc.impl_qpid [req-f219ccf4-23c4-4450-9b71-a37991f998c1 None] Connected to AMQP server on controller:5672
=====

I should mention that I did grep the install guide XML files for python-novaclient, and have verified that no instruction was ever given to install this package on the network node.

-----------------------------------
Built: 2014-04-14T05:54:22 00:00
git SHA: 69e9a932b042f09d26067dbca287e4bfb1fdbf11
URL: http://docs.openstack.org/trunk/install-guide/install/yum/content/neutron-ml2-network-node.html
source File: file:/home/jenkins/workspace/openstack-install-deploy-guide-fedora/doc/install-guide/section_neutron-ml2-network-node.xml
xml:id: neutron-ml2-network-node

Jeff Shantz (jeffshantz)
Changed in openstack-manuals:
assignee: nobody → Jeff Shantz (jeffshantz)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

Fix proposed to branch: master
Review: https://review.openstack.org/87182

Changed in openstack-manuals:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/87182
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=a6f1eb59a830d2362312f9af469ba2159c69b943
Submitter: Jenkins
Branch: master

commit a6f1eb59a830d2362312f9af469ba2159c69b943
Author: Jeff Shantz <email address hidden>
Date: Mon Apr 14 03:33:11 2014 -0400

    Add python-novaclient to package list

    The neutron-l3-agent service fails to start without this package
    being installed, due to a Python ImportError:
    "No module named novaclient.v1_1.client"

    Change-Id: Idc88677b80c93ed2415cedb6de7febc00a975e7f
    Closes-Bug: #1307334

Changed in openstack-manuals:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.