Ask Your Question
0

Error received from ovsdb monitor

asked 2015-02-19 21:44:23 -0500

rohit gravatar image

I have a three node setup of openstack installation. All these three nodes are running on virtual machines. I am following the instructions given in http://docs.openstack.org/juno/instal...

I am not able to see openvswitch running on compute on my controller node as mentioned in the document. neutron agent-list doesn't contain any neutron-openvswitch-agent running on compute node

this is the log on my compute node openvswitch-agent.log http://paste.openstack.org/show/178093/ I also get the warning "WARNING neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-ef6e49dd-3876-4e71-a6cd-baa67707f378 None] Unable to create tunnel port. Invalid remote IP: INSTANCE_TUNNELS_INTERFACE_IP_ADDRESS"

I have replaced INSTANCE_TUNNELS_INTERFACE_IP_ADDRESS with compute node's ip address (I have only one interface on my VM. So, I gave it the only ip address my compute node has). For the first time when I ran I forgot to replace it with the ip address. But, later even after replacing it, I get this warning

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-02-20 00:11:08 -0500

dbaxps gravatar image

updated 2015-02-20 03:51:13 -0500

You can add second VNIC to Compute VM and Network VM
Assign second VNIC IPs from newly created non-default libvirt subnet
Then update [ovs] section of ml2_conf.ini and set local_ip= IP_of_second_VNIC from created non-default libvirt subnet in case of KVM Hypervisor/Libvirt configuration.
Otherwise, set local_ip = IP_of_VM on each one of nodes.
Snaphot bellow :-
image description

edit flag offensive delete link more

Comments

My hardware has only one nic. So, second ip might not work for me. I did local_i= my ip address in compute node. do I need to do it everywhere?

rohit gravatar imagerohit ( 2015-02-20 01:40:38 -0500 )edit

Your openstack nodes are running on VMs , VM may have several VNICs. I may create several libvirt subnets assign IPs from first subnet to VMs, assign IPs from second subnet to VXLAN endpoints, when working KVM Hypervisor ( I just don't work with VMWARE virtualization).

dbaxps gravatar imagedbaxps ( 2015-02-20 02:44:29 -0500 )edit

But, local_ip on Compute node VM in worst case scenario is IP of VM. Your hardware NIC is only responsible for handling bridge from your LAN to VMs subnet or subnets. View for instance
http://bderzhavets.blogspot.com/2014/...

dbaxps gravatar imagedbaxps ( 2015-02-20 02:51:30 -0500 )edit

The part considering creating non-default libvirt subnets : one, two,. . . . .
Creating each one on F21 on CentOS 7 will automatically generating MASQUERADE iptables rule and create virbr1,virbr2,... even my physical box has only one NIC.

dbaxps gravatar imagedbaxps ( 2015-02-20 02:56:58 -0500 )edit

Thanks a lot dbaxps ! I will try this approach and come back to you :)

rohit gravatar imagerohit ( 2015-02-20 05:43:38 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-02-19 21:44:23 -0500

Seen: 486 times

Last updated: Feb 20 '15