CentOS 6
Sponsored Link

OpenStack Grizzly - Configure Quantum#32013/09/12

 
Configure OpenStack Network Service (Quantum).
This example shows to configure Quantum on the environment below.
                                |
+------------------+            |            +------------------------+
| [ Control Node ] |10.0.0.30   |   10.0.0.31|    [ Network Node ]    |
|     Keystone     |------------+------------|        DHCP Agent      |
|  Quantum Server  |            |            |        L3 Agent        |
+------------------+            |            |        L2 Agent        |
                                |            +------------------------+
                                |
                                |10.0.0.51
                      +--------------------+
                      |  [ Compute Node ]  |
                      |       L2 Agent     |
                      +--------------------+
 
Configure Compute Node on here.
By the way, it's necessarry to select plugin-software to configure Quantum and this example selects linuxbridge plugin.
[1] Install L2 Agent
# install from EPEL OpenStack, EPEL

[root@node01 ~]#
yum --enablerepo=epel-openstack-grizzly,epel -y install openstack-quantum-linuxbridge
[2] Configure L2 Agent
[root@node01 ~]#
quantum-node-setup --plugin linuxbridge

Quantum plugin: openvswitch
Please enter the Quantum hostname:
10.0.0.30
   
# specify QPID's hostname or IP address

Would you like to update the nova configuration files? (y/n):
y

Configuration updates complete!
[root@node01 ~]#
vi /etc/quantum/plugins/linuxbridge/linuxbridge_conf.ini
# line 11: add

tenant_network_type = vlan
# line 22: add

network_vlan_ranges = physnet0:1000:2999
# line 29: comment out and add sql_connection for Quantum

#
sql_connection = sqlite://
sql_connection = mysql://quantum:quantum@10.0.0.30/quantum_linux_bridge
# line 53: add

physical_interface = eth0
# line 63: add

physical_interface_mappings = physnet0:eth0
[root@node01 ~]#
vi /etc/nova/nova.conf
# line 12: comment out

#
network_manager = nova.network.manager.FlatDHCPManager
# comment out other network settings like follows

#
public_interface = eth0
#
flat_interface = lo
#
flat_network_bridge = br100
#
auto_assign_floating_ip = True
# change or add like follows

network_api_class = nova.network.quantumv2.api.API
quantum_admin_username =
quantum

quantum_admin_password =
servicepassword

quantum_admin_auth_url =
http://10.0.0.30:35357/v2.0/

quantum_auth_strategy = keystone
quantum_admin_tenant_name =
service

quantum_url =
http://10.0.0.30:9696/

security_group_api = quantum
quantum_use_dhcp = true
network_manager = nova.network.quantum.manager.QuantumManager
libvirt_vif_driver = nova.virt.libvirt.vif.QuantumLinuxBridgeVIFDriver
linuxnet_interface_driver = nova.network.linux_net.QuantumLinuxBridgeInterfaceDriver
[root@node01 ~]#
chkconfig openstack-nova-network off

[root@node01 ~]#
chkconfig quantum-linuxbridge-agent on

[root@node01 ~]#  
# reboot to finish configuration

Matched Content