Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to follow RDO instruction Adding a compute node for IceHouse ML2 ?

My question follows up recent feedback https://ask.openstack.org/en/question/46405/i-want-to-create-private-cloud-for-my-computer-science-department-at-university-how-should-i-start-i-am-new-for-cloud-i-have-one-dell-workstation-and/
which recommends follow RDO PAGE https://openstack.redhat.com/Adding_a_compute_node.

After AIO successful  install on CentOS 7 fragment of answer file responsible 
for plugin.ini -> /etc/neutron/plugins/ml2/ml2_conf.ini  configuration looks like :-

    CONFIG_NEUTRON_L2_PLUGIN=ml2
    CONFIG_NEUTRON_METADATA_PW=0509cbf1d897480a
    CONFIG_LBAAS_INSTALL=n
    CONFIG_NEUTRON_METERING_AGENT_INSTALL=n
    CONFIG_NEUTRON_FWAAS=n
    CONFIG_NEUTRON_ML2_TYPE_DRIVERS=vxlan
    CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=vxlan
    CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS=openvswitch
    CONFIG_NEUTRON_ML2_FLAT_NETWORKS=*
    CONFIG_NEUTRON_ML2_VLAN_RANGES=
    CONFIG_NEUTRON_ML2_TUNNEL_ID_RANGES=
    CONFIG_NEUTRON_ML2_VXLAN_GROUP=
    CONFIG_NEUTRON_ML2_VNI_RANGES=10:100
    CONFIG_NEUTRON_L2_AGENT=openvswitch
    CONFIG_NEUTRON_LB_TENANT_NETWORK_TYPE=local
    CONFIG_NEUTRON_LB_VLAN_RANGES=
    CONFIG_NEUTRON_LB_INTERFACE_MAPPINGS=
    CONFIG_NEUTRON_OVS_TENANT_NETWORK_TYPE=vxlan
    CONFIG_NEUTRON_OVS_VLAN_RANGES=
    CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=
    CONFIG_NEUTRON_OVS_BRIDGE_IFACES=
    CONFIG_NEUTRON_OVS_TUNNEL_RANGES=
    CONFIG_NEUTRON_OVS_TUNNEL_IF=
    CONFIG_NEUTRON_OVS_VXLAN_UDP_PORT=4789

If I will update answer-file as suggested on https://openstack.redhat.com/Adding_a_compute_node , plugin.ini -> /etc/neutron/plugins/ml2/ml2_conf.ini on Controller and compute nodes (after packstack = --./answer-file) would never look as follows :-

[root@icehouse1 ~(keystone_admin)]# cat /etc/neutron/plugin.ini
[ml2]
type_drivers = vxlan
tenant_network_types = vxlan
mechanism_drivers =openvswitch
[ml2_type_flat]
[ml2_type_vlan]
[ml2_type_gre]
[ml2_type_vxlan]
vni_ranges =1001:2000
vxlan_group =239.1.1.2
[OVS]
local_ip=192.168.1.127  
enable_tunneling=True
integration_bridge=br-int
tunnel_bridge=br-tun
[securitygroup]
enable_security_group = True
firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
[agent]
polling_interval=2

OVS section won't be created as required.

How to follow RDO instruction Adding a compute node for IceHouse ML2 ML2&OVS&VXLAN ?

My question follows up recent feedback https://ask.openstack.org/en/question/46405/i-want-to-create-private-cloud-for-my-computer-science-department-at-university-how-should-i-start-i-am-new-for-cloud-i-have-one-dell-workstation-and/
which recommends follow RDO PAGE https://openstack.redhat.com/Adding_a_compute_node.

After AIO successful  install on CentOS 7 fragment of answer file responsible 
for plugin.ini -> /etc/neutron/plugins/ml2/ml2_conf.ini  configuration looks like :-

    CONFIG_NEUTRON_L2_PLUGIN=ml2
    CONFIG_NEUTRON_METADATA_PW=0509cbf1d897480a
    CONFIG_LBAAS_INSTALL=n
    CONFIG_NEUTRON_METERING_AGENT_INSTALL=n
    CONFIG_NEUTRON_FWAAS=n
    CONFIG_NEUTRON_ML2_TYPE_DRIVERS=vxlan
    CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=vxlan
    CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS=openvswitch
    CONFIG_NEUTRON_ML2_FLAT_NETWORKS=*
    CONFIG_NEUTRON_ML2_VLAN_RANGES=
    CONFIG_NEUTRON_ML2_TUNNEL_ID_RANGES=
    CONFIG_NEUTRON_ML2_VXLAN_GROUP=
    CONFIG_NEUTRON_ML2_VNI_RANGES=10:100
    CONFIG_NEUTRON_L2_AGENT=openvswitch
    CONFIG_NEUTRON_LB_TENANT_NETWORK_TYPE=local
    CONFIG_NEUTRON_LB_VLAN_RANGES=
    CONFIG_NEUTRON_LB_INTERFACE_MAPPINGS=
    CONFIG_NEUTRON_OVS_TENANT_NETWORK_TYPE=vxlan
    CONFIG_NEUTRON_OVS_VLAN_RANGES=
    CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=
    CONFIG_NEUTRON_OVS_BRIDGE_IFACES=
    CONFIG_NEUTRON_OVS_TUNNEL_RANGES=
    CONFIG_NEUTRON_OVS_TUNNEL_IF=
    CONFIG_NEUTRON_OVS_VXLAN_UDP_PORT=4789

If I will update answer-file as suggested on https://openstack.redhat.com/Adding_a_compute_node , plugin.ini -> /etc/neutron/plugins/ml2/ml2_conf.ini on Controller and compute nodes (after packstack = --./answer-file) would never look as follows :-

[root@icehouse1 ~(keystone_admin)]# cat /etc/neutron/plugin.ini
[ml2]
type_drivers = vxlan
tenant_network_types = vxlan
mechanism_drivers =openvswitch
[ml2_type_flat]
[ml2_type_vlan]
[ml2_type_gre]
[ml2_type_vxlan]
vni_ranges =1001:2000
vxlan_group =239.1.1.2
[OVS]
local_ip=192.168.1.127  
enable_tunneling=True
integration_bridge=br-int
tunnel_bridge=br-tun
[securitygroup]
enable_security_group = True
firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
[agent]
polling_interval=2

OVS section won't be created as required.

How to follow RDO instruction Adding a compute node for IceHouse ML2&OVS&VXLAN ?

My question follows up recent feedback https://ask.openstack.org/en/question/46405/i-want-to-create-private-cloud-for-my-computer-science-department-at-university-how-should-i-start-i-am-new-for-cloud-i-have-one-dell-workstation-and/
which recommends follow RDO PAGE https://openstack.redhat.com/Adding_a_compute_node.

After AIO successful install on CentOS 7 fragment of answer file responsible for plugin.ini -> /etc/neutron/plugins/ml2/ml2_conf.ini configuration looks like :- :-

    CONFIG_NEUTRON_L2_PLUGIN=ml2
    CONFIG_NEUTRON_METADATA_PW=0509cbf1d897480a
    CONFIG_LBAAS_INSTALL=n
    CONFIG_NEUTRON_METERING_AGENT_INSTALL=n
    CONFIG_NEUTRON_FWAAS=n
    CONFIG_NEUTRON_ML2_TYPE_DRIVERS=vxlan
    CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=vxlan
    CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS=openvswitch
    CONFIG_NEUTRON_ML2_FLAT_NETWORKS=*
    CONFIG_NEUTRON_ML2_VLAN_RANGES=
    CONFIG_NEUTRON_ML2_TUNNEL_ID_RANGES=
    CONFIG_NEUTRON_ML2_VXLAN_GROUP=
    CONFIG_NEUTRON_ML2_VNI_RANGES=10:100
    CONFIG_NEUTRON_L2_AGENT=openvswitch
    CONFIG_NEUTRON_LB_TENANT_NETWORK_TYPE=local
    CONFIG_NEUTRON_LB_VLAN_RANGES=
    CONFIG_NEUTRON_LB_INTERFACE_MAPPINGS=
    CONFIG_NEUTRON_OVS_TENANT_NETWORK_TYPE=vxlan
    CONFIG_NEUTRON_OVS_VLAN_RANGES=
    CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=
    CONFIG_NEUTRON_OVS_BRIDGE_IFACES=
    CONFIG_NEUTRON_OVS_TUNNEL_RANGES=
    CONFIG_NEUTRON_OVS_TUNNEL_IF=
    CONFIG_NEUTRON_OVS_VXLAN_UDP_PORT=4789

If I will update answer-file as suggested on https://openstack.redhat.com/Adding_a_compute_node , plugin.ini -> /etc/neutron/plugins/ml2/ml2_conf.ini on Controller and compute nodes (after packstack = --./answer-file) would never look as follows :-

[root@icehouse1 ~(keystone_admin)]# cat /etc/neutron/plugin.ini
[ml2]
type_drivers = vxlan
tenant_network_types = vxlan
mechanism_drivers =openvswitch
[ml2_type_flat]
[ml2_type_vlan]
[ml2_type_gre]
[ml2_type_vxlan]
vni_ranges =1001:2000
vxlan_group =239.1.1.2
[OVS]
local_ip=192.168.1.127  
enable_tunneling=True
integration_bridge=br-int
tunnel_bridge=br-tun
[securitygroup]
enable_security_group = True
firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
[agent]
polling_interval=2

OVS section won't be created as required.