Ask Your Question
1

Attempt to build Two Node IceHouse Ml2&OVS&VLAN Cluster on F20

asked 2014-06-21 01:07:34 -0500

dbaxps gravatar image

updated 2014-06-21 05:53:12 -0500

    [root@ip-192-169-142-127 ~]# ls -l /etc/neutron
    total 80
    -rw-r--r--. 1 root root      197 Jun 20 11:18 api-paste.ini
    -rw-r-----. 1 root neutron  3855 Jun 21 08:17 dhcp_agent.ini
    -rw-r-----. 1 root neutron   109 Apr 17 15:50 fwaas_driver.ini
    -rw-r-----. 1 root neutron  3431 Jun 20 14:42 l3_agent.ini
    -rw-r-----. 1 root neutron  1400 Apr 17 15:50 lbaas_agent.ini
    -rw-r-----. 1 root neutron   328 Jun 20 14:58 metadata_agent.ini
    -rw-r--r--. 1 root root      328 Jun 20 14:24 metadata_agent.out
    lrwxrwxrwx. 1 root root       37 Jun 20 11:58 ml2_conf.ini -> /etc/neutron/plugins/ml2/ml2_conf.ini
    -rw-r--r--. 1 root root      237 Jun 20 12:54 ml2_conf.out
    -rw-r-----. 1 root neutron 19105 Jun 20 11:18 neutron.conf
    lrwxrwxrwx. 1 root root       55 Jun 20 12:09 plugin.ini -> /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
    drwxr-xr-x. 4 root root     4096 Jun 20 11:18 plugins
    -rw-r-----. 1 root neutron  6148 Apr 17 15:50 policy.json
    -rw-r--r--. 1 root root       80 May 19 19:53 release
    -rw-r--r--. 1 root root     1216 Apr 17 15:50 rootwrap.conf

    plugin.ini same as ml2_conf.ini

    [ml2]
    type_drivers = vlan
    tenant_network_types = vlan
    mechanism_drivers = openvswitch

    [ml2_type_vlan]
    network_vlan_ranges = physnet1:100:200

    [ovs]
    network_vlan_ranges = physnet1:100:200
    tenant_network_type = vlan
    enable_tunneling = False
    integration_bridge = br-int
    bridge_mappings = physnet1:br-eth1
    local_ip = 192.169.142.127
    [AGENT]
    polling_interval = 2
    [SECURITYGROUP]
    firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

   This message comes up every time I try to launch the VM     
    openvswitch-agent.log:-
 2014-06-21 08:51:14.205 1048 ERROR neutron.agent.linux.ovsdb_monitor [req-28d72383-c1e6-417a-94ae-6b90413efbae None] Error received from ovsdb monitor: 2014-06-21T04:51:13Z|00001|fatal_signal|WARN|terminating with signal 15 (Terminated)

    Instance CirrOS,Ubuntu  spawned OK , but doesn't get IP address
edit retag flag offensive close merge delete

Comments

Answer file here

dbaxps gravatar imagedbaxps ( 2014-06-21 01:49:31 -0500 )edit

Finally I got :-

[root@ip-192-169-142-137 neutron]# service neutron-openvswitch-agent status -l
Redirecting to /bin/systemctl status  -l neutron-openvswitch-agent.service
neutron-openvswitch-agent.service - OpenStack Neutron Open vSwitch Agent
   Loaded: loaded (/usr/lib/systemd/system/neutron-openvswitch-agent.service; enabled)
   Active: active (running) since Sun 2014-06-22 08:47:30 MSK; 1h 24min ago
 Main PID: 2005 (neutron-openvsw)
   CGroup: /system.slice/neutron-openvswitch-agent.service
           ├─2005 /usr/bin/python /usr/bin/neutron-openvswitch-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini --log-file /var/log/neutron/openvswitch-agent.log
           ├─2084 sudo neutron-rootwrap /etc/neutron/rootwrap.conf ovsdb-client monitor Interface name,ofport --format=json
           ├─2086 /usr/bin/python /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovsdb-client monitor Interface name,ofport --format=json
           └─2088 /bin/ovsdb-client monitor Interface name,ofport --format=json

Jun 22 10:11:01 ip-192-169-142-137.ip.secureserver.net sudo[4038]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron ...
(more)
dbaxps gravatar imagedbaxps ( 2014-06-22 01:16:36 -0500 )edit

1 answer

Sort by » oldest newest most voted
1

answered 2014-06-22 02:41:25 -0500

dbaxps gravatar image

updated 2014-06-22 02:45:38 -0500

 Interfaces eth1's on Controller && Compute nodes (KVMs) assigned IPs
    192.168.122.137
    192.168.122.127
    Link plugin.ini recreated :-
    [root@ip-192-169-142-127 neutron]# ls -l
    total 84
    -rw-r--r--. 1 root root      197 Jun 20 11:18 api-paste.ini
    -rw-r-----. 1 root neutron  3855 Jun 21 08:17 dhcp_agent.ini
    -rw-r--r--. 1 root root      333 Jun 21 13:35 dhcp_agent.out
    -rw-r-----. 1 root neutron   109 Apr 17 15:50 fwaas_driver.ini
    -rw-r-----. 1 root neutron  3431 Jun 20 14:42 l3_agent.ini
    -rw-r-----. 1 root neutron  1400 Apr 17 15:50 lbaas_agent.ini
    -rw-r-----. 1 root neutron   328 Jun 20 14:58 metadata_agent.ini
    -rw-r-----. 1 root neutron 19057 Jun 21 13:47 neutron.conf
    lrwxrwxrwx. 1 root root       37 Jun 21 15:30 plugin.ini -> /etc/neutron/plugins/ml2/ml2_conf.ini
    drwxr-xr-x. 4 root root     4096 Jun 20 11:18 plugins
    -rw-r-----. 1 root neutron  6148 Apr 17 15:50 policy.json
    -rw-r--r--. 1 root root       80 May 19 19:53 release
    -rw-r--r--. 1 root root     1216 Apr 17 15:50 rootwrap.conf

    [root@ip-192-169-142-127 neutron]# cat plugin.ini
    [ml2]
    type_drivers = vlan
    tenant_network_types = vlan
    mechanism_drivers = openvswitch
    [ml2_type_vlan]
    network_vlan_ranges = physnet1:100:200
    [ovs]
    network_vlan_ranges = physnet1:100:200
    tenant_network_type = vlan
    enable_tunneling = False
    integration_bridge = br-int
    bridge_mappings = physnet1:br-eth1
    local_ip = 192.168.122.127
    [AGENT]
    polling_interval = 2
    [SECURITYGROUP]
    firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

    Private network recreated.
    Checksum offloading disabled on eth1 of Compute Node
   [root@ip-192-169-142-137 neutron]# /usr/sbin/ethtool --offload eth1 tx off
Actual changes:
tx-checksumming: off
    tx-checksum-ip-generic: off
tcp-segmentation-offload: off
    tx-tcp-segmentation: off [requested on]
    tx-tcp-ecn-segmentation: off [requested on]
    tx-tcp6-segmentation: off [requested on]
udp-fragmentation-offload: off [requested on]
edit flag offensive delete link more

Comments

Similar file work for physical nodes :-

[root@icehouse1 neutron(keystone_admin)]# cat plugin.ini
[ml2]
type_drivers = vlan
tenant_network_types = vlan
mechanism_drivers = openvswitch
[ml2_type_vlan]
network_vlan_ranges = physnet1:100:200
[ovs]
network_vlan_ranges = physnet1:100:200
tenant_network_type = vlan
enable_tunneling = False
integration_bridge = br-int
bridge_mappings = physnet1:br-p4p1
local_ip = 192.168.0.127
[AGENT]
polling_interval = 2
[SECURITYGROUP]
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
dbaxps gravatar imagedbaxps ( 2014-06-23 05:31:10 -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: 2014-06-21 01:07:34 -0500

Seen: 398 times

Last updated: Jun 22 '14