[Openstack] Re: The Neutron networkmodel - VLAN solution
LIU Yulong
yeuleon at qq.com
Tue Dec 10 01:55:45 UTC 2013
hi,
root at network-1:/home/network-1# neutron --os-username=neutron --os-password=12345 --os-tenant-name=service --os-auth-url=http://controller:5000/v2.0 agent-list
+--------------------------------------+--------------------+------------+-------+----------------+
| id | agent_type | host | alive | admin_state_up |
+--------------------------------------+--------------------+------------+-------+----------------+
| 0b9aac91-8555-4a13-bb5d-bb3f93d3b327 | Open vSwitch agent | controller | :-) | True |
| 2ac00e72-21b1-4f88-ae1b-3e36ee7b0892 | L3 agent | network-1 | :-) | True |
| 6ef88b60-cc89-45ef-aeb5-44dc1232bcdf | DHCP agent | network-1 | :-) | True |
| 7b803c32-120d-47eb-a3a0-ee57ee12831c | Open vSwitch agent | network-1 | :-) | True |
| 8b56a9aa-2f8a-43b2-aa66-605ab7a09b7a | Open vSwitch agent | compute1 | :-) | True |
+--------------------------------------+--------------------+------------+-------+----------------+
root at network-1:/home/network-1# ovs-vsctl show
82641592-50d0-4c4e-b10d-941745ab5542
Bridge br-int
Port "int-br-eth2"
Interface "int-br-eth2"
Port br-int
Interface br-int
type: internal
Port "qr-54a78b95-4d"
tag: 1
Interface "qr-54a78b95-4d"
type: internal
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Port "qg-19d9b2ab-fe"
Interface "qg-19d9b2ab-fe"
type: internal
Port "eth1"
Interface "eth1"
Bridge "br-eth2"
Port "br-eth2"
Interface "br-eth2"
type: internal
Port "phy-br-eth2"
Interface "phy-br-eth2"
Port "eth2"
Interface "eth2"
ovs_version: "1.10.2"
root at network-1:/home/network-1# ip netns list
qrouter-99d4298d-73c4-46bd-baba-1889e2526ac4
------------------ 原始邮件 ------------------
发件人: "Nick Maslov";<azpekt at gmail.com>;
发送时间: 2013年12月9日(星期一) 晚上10:23
收件人: "LIU Yulong"<yeuleon at qq.com>; "openstack at lists.openstack.org"<openstack at lists.openstack.org>;
主题: Re: [Openstack] Re: The Neutron networkmodel - VLAN solution
Hm,
do you have namespaces created?
What`s the output of “ip netns list” on your network node?
Cheers,
NM
--
Nick Maslov
Sent with Airmail
On December 7, 2013 at 2:42:11 PM, LIU Yulong (yeuleon at qq.com) wrote:
Hi Nick Maslov,
I followed here http://docs.openstack.org/havana/install-guide/install/apt/content/ (http://docs.openstack.org/havana/install-guide/install/apt/openstack-install-guide-apt-havana.pdf). Msekni Bilel's install guide used GRE.
I noticed that openstack.org Configure OVS to use VLANS. Edit the /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini file:
[ovs]
tenant_network_type = vlan
network_vlan_ranges = physnet1:1:4094
bridge_mappings = physnet1:br-DATA_INTERFACE
There is no settings about br-int. But gre mode has.
[ovs]
tenant_network_type = gre
tunnel_id_ranges = 1:1000
enable_tunneling = True
integration_bridge = br-int
tunnel_bridge = br-tun
local_ip = DATA_INTERFACE_IP
Edit /etc/nova/nova-compute.conf file
[DEFAULT] libvirt_type=kvm libvirt_ovs_bridge=br-int libvirt_vif_type=ethernet libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver libvirt_use_virtio_for_bridges=True
I think my br-int settings cause the problem that cannot ping the VMs.
regards,
Yeuleon
------------------ 原始邮件 ------------------
发件人: "Nick Maslov";<azpekt at gmail.com>;
发送时间: 2013年12月7日(星期六) 晚上7:15
收件人: "LIU Yulong"<yeuleon at qq.com>; "openstack at lists.openstack.org"<openstack at lists.openstack.org>;
主题: Re: [Openstack] The Neutron network model - VLAN solution
What manual have you followed?
try to use this one - https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide
changing the quantum to neutron, correspondingly.
--
Nick Maslov
Sent with Airmail
On December 7, 2013 at 1:59:37 AM, LIU Yulong (yeuleon at qq.com) wrote:
Hi stackers,
I installed Neutron SDN to manage network with VLAN model.
But I still not successful.
I can not ping the VM-instance,rounters,subnets,Virtual-nets.
Could someone help me to configure the neutron please?
I have 3 ubuntu12.04.3 AMD64 server , each server has 3 NIC,
MGMT_INTERFACE NIC
DATA_INTERFACE NIC
EXTERNAL_INTERFACE NIC.
In controller node I install
(Keystone
Glance
Cinder
Dashboard
Nova-*(with compute)
Neutron-server
Neutron-openvswitch-plugin).
The controller Network settings is
MGMT_INTERFACE NIC 192.168.1.160
DATA_INTERFACE NIC 172.16.1.10
EXTERNAL_INTERFACE NIC 10.0.1.3
In additonal compute node I install
(Nova-compute
Neutron-openvswitch-plugin).
The additonal compute settings is
MGMT_INTERFACE NIC 192.168.1.160
DATA_INTERFACE NIC 172.16.1.11
EXTERNAL_INTERFACE NIC 10.0.1.2
In network node I install
(Neutron-L3-anent Neutron-DHCP-agent).
The network node Network settings is
MGMT_INTERFACE NIC 192.168.1.162
DATA_INTERFACE NIC 172.16.1.12
EXTERNAL_INTERFACE NIC 10.0.1.1
How to setting network node?
How to setting controller node?
How to setting additonal compute node?
There are so many net bridges,such as br-ex,br-int,br-eth2 etc.
I confuse with these bridges.
Best regards,
Yeuleon
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131210/23c09321/attachment.html>
More information about the Openstack
mailing list