Install networking support on a dedicated compute node in OpenStack Installation Guide for Ubuntu 12.04 (LTS)  - havana

Bug #1251096 reported by Matt Kassawara
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
High
Edgar Magana

Bug Description

This section lacks a step for adding directives to nova.conf to tell the compute node about Neutron. Without these directives, attempting to launch an instance results in the following error in nova-compute.log on the associated compute node:

2013-11-13 18:07:30.599 4650 TRACE nova.openstack.common.rpc.amqp Timeout: Timeout while waiting on RPC response - topic: "network", RPC method: "get_instance_nw_info" info: "<unknown>"

Executing "nova list" shows the instance in "error" state and executing "nova delete <server>" will not delete it.

Adding the following directives to nova.conf on the compute node and restarting the nova-compute service resolves this issue for me.

network_api_class = nova.network.neutronv2.api.API
neutron_url = http://controller:9696
neutron_auth_strategy = keystone
neutron_admin_tenant_name = service
neutron_admin_username = neutron
neutron_admin_password = password
neutron_admin_auth_url = http://controller:35357/v2.0
linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver

In the section regarding configuration of Neutron on the controller node, step 6 provides similar directives for nova.conf to tell it about Neutron.

http://docs.openstack.org/trunk/install-guide/install/apt/content/install-neutron.dedicated-controller-node.html

-----------------------------------
Built: 2013-11-13T23:57:15 00:00
git SHA: 04a3b78e3ee980c69fd108d306255ad05db484b1
URL: http://docs.openstack.org/trunk/install-guide/install/apt/content/install-neutron.dedicated-compute-node.html
source File: file:/home/jenkins/workspace/openstack-install-deploy-guide-ubuntu/doc/install-guide/section_neutron-install.xml
xml:id: install-neutron.dedicated-compute-node

tags: added: install-guide
Revision history for this message
Anne Gentle (annegentle) wrote :

Looks like linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver is what you're saying is missing?

Revision history for this message
Anne Gentle (annegentle) wrote :
Anne Gentle (annegentle)
Changed in openstack-manuals:
status: New → Incomplete
Revision history for this message
Matt Kassawara (ionosphere80) wrote :

I'm a bit confused by your comment. I checked the latest version of the page referenced by this bug and it still lacks the additional directives for nova.conf provided in the original report. In other words, Nova on the compute nodes needs to know about Neutron.

Revision history for this message
Tom Fifield (fifieldt) wrote :

Anne, I think you just followed the link to the controller section, rather than the compute section :) The compute section lacks the directives.

Changed in openstack-manuals:
status: Incomplete → Confirmed
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
Edgar Magana (emagana) wrote :

I should be able to work on this.

Changed in openstack-manuals:
assignee: nobody → Edgar Magana (emagana)
Revision history for this message
Tom Fifield (fifieldt) wrote :

Hi Edgar,

Do you have time to work on this? We've had another similar report recently ...

Revision history for this message
Edgar Magana (emagana) wrote :

Let me push the patch right now!

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/60993

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

Reviewed: https://review.openstack.org/60993
Committed: http://github.com/openstack/openstack-manuals/commit/9e6486112777887e8b02e7d55fc342f27cb021ef
Submitter: Jenkins
Branch: master

commit 9e6486112777887e8b02e7d55fc342f27cb021ef
Author: Edgar Magana <email address hidden>
Date: Mon Dec 9 18:21:09 2013 -0800

    Add a missing config value for Compute Nodes

    Includes the linuxnet_interface_driver config parameter when
    Neutron is enabled in Computes Nodes

    Closes-Bug: #1251096
    Change-Id: Ib1871970b6feb74364d77099999c4403190417d8

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

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/61076

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (stable/havana)

Reviewed: https://review.openstack.org/61076
Committed: http://github.com/openstack/openstack-manuals/commit/1c2c7aa61cb3ce2d12678b8123809a603362b108
Submitter: Jenkins
Branch: stable/havana

commit 1c2c7aa61cb3ce2d12678b8123809a603362b108
Author: Edgar Magana <email address hidden>
Date: Mon Dec 9 18:21:09 2013 -0800

    Add a missing config value for Compute Nodes

    Includes the linuxnet_interface_driver config parameter when
    Neutron is enabled in Computes Nodes

    Closes-Bug: #1251096
    Change-Id: Ib1871970b6feb74364d77099999c4403190417d8
    (cherry picked from commit 9e6486112777887e8b02e7d55fc342f27cb021ef)

tags: added: in-stable-havana
Revision history for this message
Matt Kassawara (ionosphere80) wrote :

Why does this fix seem to address the controller node rather than the compute node?

Anne Gentle (annegentle)
Changed in openstack-manuals:
status: Fix Released → Triaged
assignee: Edgar Magana (emagana) → nobody
Revision history for this message
Matt Kassawara (ionosphere80) wrote :

Upon further investigation, a patch for another bug fixed this issue.

Changed in openstack-manuals:
status: Triaged → Fix Released
Revision history for this message
Edgar Magana (emagana) wrote :

It seems that this has been already fixed in two parts, by the initial commit https://review.openstack.org/60993 and a consecutive one.

Changed in openstack-manuals:
assignee: nobody → Edgar Magana (emagana)
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  Edit
Everyone can see this information.

Other bug subscribers