[Openstack-operators] IceHouse Neutron ML2 Plugin with Vlans

Edgar Magana edgar.magana at workday.com
Thu Aug 14 18:38:12 UTC 2014


Let me include a couple of gurus in network documentation.

Matt and Phil,

Are you aware of any docs for running Neutron Server in a separate host from the other core services?

Edgar

From: raju <raju.roks at gmail.com<mailto:raju.roks at gmail.com>>
Date: Thursday, August 14, 2014 at 11:02 AM
To: Edgar Magana <edgar.magana at workday.com<mailto:edgar.magana at workday.com>>
Cc: "openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>" <openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>>
Subject: Re: [Openstack-operators] IceHouse Neutron ML2 Plugin with Vlans

I've seen those links before nothing works for me, not sure where I am missing. is there any document on configuring neutron node as separate node other than openstack doc?


On Thu, Aug 14, 2014 at 12:59 PM, Edgar Magana <edgar.magana at workday.com<mailto:edgar.magana at workday.com>> wrote:
It seems that you are hitting any of these issues:

https://bugs.launchpad.net/nova/+bug/1298640
https://ask.openstack.org/en/question/26938/virtualinterfacecreateexception-virtual-interface-creation-failed/

Did you check those links before?

Edgar

From: raju <raju.roks at gmail.com<mailto:raju.roks at gmail.com>>
Date: Thursday, August 14, 2014 at 9:01 AM

To: Edgar Magana <edgar.magana at workday.com<mailto:edgar.magana at workday.com>>
Cc: "openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>" <openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>>
Subject: Re: [Openstack-operators] IceHouse Neutron ML2 Plugin with Vlans

Hi Edgar,

Here is the exact log while am trying to create a instance:


2014-08-14 11:39:11.320 26120 WARNING nova.virt.libvirt.driver [req-0a959663-40b1-4485-a8aa-c418a3bff22d 0c361436c4cb4ad1889bb1309006fd86 c1550b9c6a4a4bf1a52c6e7b7568fbad] Timeout waiting for vif plugging callback for instance 9c41f240-fbd3-485b-9e85-2a0a970573c4

2014-08-14 11:39:12.523 26120 ERROR nova.compute.manager [req-0a959663-40b1-4485-a8aa-c418a3bff22d 0c361436c4cb4ad1889bb1309006fd86 c1550b9c6a4a4bf1a52c6e7b7568fbad] [instance: 9c41f240-fbd3-485b-9e85-2a0a970573c4] Instance failed to spawn


http://pastebin.ca/2832597

Thanks,
Raju


On Wed, Aug 13, 2014 at 7:19 PM, Edgar Magana <edgar.magana at workday.com<mailto:edgar.magana at workday.com>> wrote:
I see in your logs nova-cpu trying to remove old tap devices, can you clean your environment and have new logs.
It is hard to find what the problem is with all previous errors.

Make sure you have your DB clean as well, maybe there are old resources stored there that are causing these problems.
You can just DROP you DBs and re-create them again.

Edgar

From: raju <raju.roks at gmail.com<mailto:raju.roks at gmail.com>>
Date: Wednesday, August 13, 2014 at 4:03 PM

To: Edgar Magana <edgar.magana at workday.com<mailto:edgar.magana at workday.com>>
Cc: "openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>" <openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>>
Subject: Re: [Openstack-operators] IceHouse Neutron ML2 Plugin with Vlans

is it the latest log entry after 4 PM? in Morning I have issue connecting to neutron and its resolved.


On Wed, Aug 13, 2014 at 6:54 PM, Edgar Magana <edgar.magana at workday.com<mailto:edgar.magana at workday.com>> wrote:
I see the same error over an over:

RescheduledException: Build of instance dc48b2c6-e6f9-4952-b864-e96bd7f2699d was re-scheduled: Connection to neutron failed: [Errno 111] ECONNREFUSED

It seems that nova does not how to get neutron, maybe the end point configuration is wrong

Edgar

From: raju <raju.roks at gmail.com<mailto:raju.roks at gmail.com>>
Date: Wednesday, August 13, 2014 at 3:26 PM

To: Edgar Magana <edgar.magana at workday.com<mailto:edgar.magana at workday.com>>
Cc: "openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>" <openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>>
Subject: Re: [Openstack-operators] IceHouse Neutron ML2 Plugin with Vlans


I have this vif config in my compute node nova.conf file

vif_driver=nova.virt.libvirt.vif.LibvirtGenericVIFDriver
vif_plugging_is_fatal=True
vif_plugging_timeout=300

If I remove the above config able to create instance but unable to get IP to instance from DHCP, If enable the above config am getting the below error


"Error: Failed to launch instance "test200": Please try again later [Error: Virtual Interface creation failed]."

here is the compute log file

http://filebin.ca/1WjOZLfVHZ1y


Thanks,
Raju




On Wed, Aug 13, 2014 at 5:29 PM, Edgar Magana <edgar.magana at workday.com<mailto:edgar.magana at workday.com>> wrote:
That configuration should definitely work.
Let's take a look to the logs.. Can you paste a link to your logs?

Edgar

From: raju <raju.roks at gmail.com<mailto:raju.roks at gmail.com>>
Date: Wednesday, August 13, 2014 at 2:10 PM
To: Edgar Magana <edgar.magana at workday.com<mailto:edgar.magana at workday.com>>
Cc: "openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>" <openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>>
Subject: Re: [Openstack-operators] IceHouse Neutron ML2 Plugin with Vlans

Hi Edgar,

Appreciate your quick reply, I have deployed neutron-server, ovs, ml2, l3 and dhcp on neutron node and configured my neutron node as endpoint, and my compute node just running ovs and dhcp will this work?  am getting vif "unable to create virtual interface" errors while spinning up instances.

I have tested previously with just 2 nodes controller and compute node using packstack and worked fine. I am unable to figure out what is the manual configuration I need to at controller/neutron/compute end to make VLANs work using ml2 plugin


Thanks,
Raju


On Wed, Aug 13, 2014 at 4:55 PM, Edgar Magana <edgar.magana at workday.com<mailto:edgar.magana at workday.com>> wrote:
Raju,

Take a look to this link:
http://docs.openstack.org/icehouse/install-guide/install/yum/content/ch_overview.html#architecture_example-architectures

Basically, the Controller will run Neutron Server (API) configure for the ML2 plugin and the Network Node will run the following ones:

  *   L2 OVS/ or LB agent (you can chose the one that you want)
  *   L3 agent
  *   DHCP agent

The compute node only needs to run the

  *   L2 OVS/ or LB agent

Cheers,

Edgar

From: raju <raju.roks at gmail.com<mailto:raju.roks at gmail.com>>
Date: Wednesday, August 13, 2014 at 11:10 AM
To: "openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>" <openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>>
Subject: [Openstack-operators] IceHouse Neutron ML2 Plugin with Vlans

Hi Team,

I am trying to create a multi node POC environment using Icehouse, I have followed Openstack Icehouse Linux doc

http://docs.openstack.org/icehouse/install-guide/install/yum/content/section_neutron-networking.html

to install and configure Neutron with ML2 plugin I am confused with that doc as it says we need to run neutron services on controller node, if we have neutron node separately  why should we run neutron services on control node? and we just install OVS plugin on compute node

Can someone give me the working document to configure Neutron as separate node with Ml2 plugin +Vlan configuration.








-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20140814/4ddd54a7/attachment-0001.html>


More information about the OpenStack-operators mailing list